/*! abcjs_midi v3.3.0 Copyright © 2009-2018 Paul Rosen and Gregory Dyke (http://abcjs.net) */ /*! midi.js Copyright © Michael Deal (http://mudcu.be) */ /*! For license information please see abcjs_midi_3.3.0-min.js.LICENSE */ !function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=15)}([function(t,e,i){"use strict";var n={};n.clone=function(t){var e={};for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},n.cloneArray=function(t){for(var e=[],i=0;i=0&&t.lastIndexOf(e)===i},n.each=function(t,e,i){for(var n=0,r=t.length;nthis.top&&(this.top=this.pitch2),this.bottom=n,void 0!==this.pitch2&&this.pitch20?this.top+=r.stemHeight:this.bottom+=r.stemHeight);var a=r.height?r.height:4;switch(this.centerVertically=!1,this.type){case"debug":this.chordHeightAbove=a;break;case"lyric":r.position&&"below"===r.position?this.lyricHeightBelow=a:this.lyricHeightAbove=a;break;case"chord":r.position&&"below"===r.position?this.chordHeightBelow=a:this.chordHeightAbove=a;break;case"text":void 0===this.pitch?r.position&&"below"===r.position?this.chordHeightBelow=a:this.chordHeightAbove=a:this.centerVertically=!0;break;case"part":this.partHeightAbove=a}};n.prototype.setX=function(t){this.x=t+this.dx},n.prototype.draw=function(t,e){void 0===this.pitch&&window.console.error(this.type+" Relative Element y-coordinate not set.");var i=t.calcY(this.pitch);switch(this.type){case"symbol":if(null===this.c)return null;var n="symbol";this.klass&&(n+=" "+this.klass),this.graphelem=t.printSymbol(this.x,this.pitch,this.c,this.scalex,this.scaley,t.addClasses(n));break;case"debug":this.graphelem=t.renderText(this.x,t.calcY(15),""+this.c,"debugfont","debug-msg","start");break;case"barNumber":this.graphelem=t.renderText(this.x,i,""+this.c,"measurefont","bar-number","middle");break;case"lyric":this.graphelem=t.renderText(this.x,i,this.c,"vocalfont","abc-lyric","middle");break;case"chord":this.graphelem=t.renderText(this.x,i,this.c,"gchordfont","chord","middle");break;case"decoration":this.graphelem=t.renderText(this.x,i,this.c,"annotationfont","annotation","middle",!0);break;case"text":this.graphelem=t.renderText(this.x,i,this.c,"annotationfont","annotation","start",this.centerVertically);break;case"part":this.graphelem=t.renderText(this.x,i,this.c,"partsfont","part","start");break;case"bar":this.graphelem=t.printStem(this.x,this.linewidth,i,e||t.calcY(this.pitch2));break;case"stem":this.graphelem=t.printStem(this.x,this.linewidth,i,t.calcY(this.pitch2));break;case"ledger":this.graphelem=t.printStaveLine(this.x,this.x+this.w,this.pitch)}return 1!==this.scalex&&this.graphelem&&this.graphelem.scale(this.scalex,this.scaley,this.x,i),this.graphelem},t.exports=n},function(t,e,i){"use strict";var n=i(1);t.exports=new function(){var t={0:{d:[["M",4.83,-14.97],["c",.33,-.03,1.11,0,1.47,.06],["c",1.68,.36,2.97,1.59,3.78,3.6],["c",1.2,2.97,.81,6.96,-.9,9.27],["c",-.78,1.08,-1.71,1.71,-2.91,1.95],["c",-.45,.09,-1.32,.09,-1.77,0],["c",-.81,-.18,-1.47,-.51,-2.07,-1.02],["c",-2.34,-2.07,-3.15,-6.72,-1.74,-10.2],["c",.87,-2.16,2.28,-3.42,4.14,-3.66],["z"],["m",1.11,.87],["c",-.21,-.06,-.69,-.09,-.87,-.06],["c",-.54,.12,-.87,.42,-1.17,.99],["c",-.36,.66,-.51,1.56,-.6,3],["c",-.03,.75,-.03,4.59,0,5.31],["c",.09,1.5,.27,2.4,.6,3.06],["c",.24,.48,.57,.78,.96,.9],["c",.27,.09,.78,.09,1.05,0],["c",.39,-.12,.72,-.42,.96,-.9],["c",.33,-.66,.51,-1.56,.6,-3.06],["c",.03,-.72,.03,-4.56,0,-5.31],["c",-.09,-1.47,-.27,-2.37,-.6,-3.03],["c",-.24,-.48,-.54,-.78,-.93,-.9],["z"]],w:10.78,h:14.959},1:{d:[["M",3.3,-15.06],["c",.06,-.06,.21,-.03,.66,.15],["c",.81,.39,1.08,.39,1.83,.03],["c",.21,-.09,.39,-.15,.42,-.15],["c",.12,0,.21,.09,.27,.21],["c",.06,.12,.06,.33,.06,5.94],["c",0,3.93,0,5.85,.03,6.03],["c",.06,.36,.15,.69,.27,.96],["c",.36,.75,.93,1.17,1.68,1.26],["c",.3,.03,.39,.09,.39,.3],["c",0,.15,-.03,.18,-.09,.24],["c",-.06,.06,-.09,.06,-.48,.06],["c",-.42,0,-.69,-.03,-2.1,-.24],["c",-.9,-.15,-1.77,-.15,-2.67,0],["c",-1.41,.21,-1.68,.24,-2.1,.24],["c",-.39,0,-.42,0,-.48,-.06],["c",-.06,-.06,-.06,-.09,-.06,-.24],["c",0,-.21,.06,-.27,.36,-.3],["c",.75,-.09,1.32,-.51,1.68,-1.26],["c",.12,-.27,.21,-.6,.27,-.96],["c",.03,-.18,.03,-1.59,.03,-4.29],["c",0,-3.87,0,-4.05,-.06,-4.14],["c",-.09,-.15,-.18,-.24,-.39,-.24],["c",-.12,0,-.15,.03,-.21,.06],["c",-.03,.06,-.45,.99,-.96,2.13],["c",-.48,1.14,-.9,2.1,-.93,2.16],["c",-.06,.15,-.21,.24,-.33,.24],["c",-.24,0,-.42,-.18,-.42,-.39],["c",0,-.06,3.27,-7.62,3.33,-7.74],["z"]],w:8.94,h:15.058},2:{d:[["M",4.23,-14.97],["c",.57,-.06,1.68,0,2.34,.18],["c",.69,.18,1.5,.54,2.01,.9],["c",1.35,.96,1.95,2.25,1.77,3.81],["c",-.15,1.35,-.66,2.34,-1.68,3.15],["c",-.6,.48,-1.44,.93,-3.12,1.65],["c",-1.32,.57,-1.8,.81,-2.37,1.14],["c",-.57,.33,-.57,.33,-.24,.27],["c",.39,-.09,1.26,-.09,1.68,0],["c",.72,.15,1.41,.45,2.1,.9],["c",.99,.63,1.86,.87,2.55,.75],["c",.24,-.06,.42,-.15,.57,-.3],["c",.12,-.09,.3,-.42,.3,-.51],["c",0,-.09,.12,-.21,.24,-.24],["c",.18,-.03,.39,.12,.39,.3],["c",0,.12,-.15,.57,-.3,.87],["c",-.54,1.02,-1.56,1.74,-2.79,2.01],["c",-.42,.09,-1.23,.09,-1.62,.03],["c",-.81,-.18,-1.32,-.45,-2.01,-1.11],["c",-.45,-.45,-.63,-.57,-.96,-.69],["c",-.84,-.27,-1.89,.12,-2.25,.9],["c",-.12,.21,-.21,.54,-.21,.72],["c",0,.12,-.12,.21,-.27,.24],["c",-.15,0,-.27,-.03,-.33,-.15],["c",-.09,-.21,.09,-1.08,.33,-1.71],["c",.24,-.66,.66,-1.26,1.29,-1.89],["c",.45,-.45,.9,-.81,1.92,-1.56],["c",1.29,-.93,1.89,-1.44,2.34,-1.98],["c",.87,-1.05,1.26,-2.19,1.2,-3.63],["c",-.06,-1.29,-.39,-2.31,-.96,-2.91],["c",-.36,-.33,-.72,-.51,-1.17,-.54],["c",-.84,-.03,-1.53,.42,-1.59,1.05],["c",-.03,.33,.12,.6,.57,1.14],["c",.45,.54,.54,.87,.42,1.41],["c",-.15,.63,-.54,1.11,-1.08,1.38],["c",-.63,.33,-1.2,.33,-1.83,0],["c",-.24,-.12,-.33,-.18,-.54,-.39],["c",-.18,-.18,-.27,-.3,-.36,-.51],["c",-.24,-.45,-.27,-.84,-.21,-1.38],["c",.12,-.75,.45,-1.41,1.02,-1.98],["c",.72,-.72,1.74,-1.17,2.85,-1.32],["z"]],w:10.764,h:14.97},3:{d:[["M",3.78,-14.97],["c",.3,-.03,1.41,0,1.83,.06],["c",2.22,.3,3.51,1.32,3.72,2.91],["c",.03,.33,.03,1.26,-.03,1.65],["c",-.12,.84,-.48,1.47,-1.05,1.77],["c",-.27,.15,-.36,.24,-.45,.39],["c",-.09,.21,-.09,.36,0,.57],["c",.09,.15,.18,.24,.51,.39],["c",.75,.42,1.23,1.14,1.41,2.13],["c",.06,.42,.06,1.35,0,1.71],["c",-.18,.81,-.48,1.38,-1.02,1.95],["c",-.75,.72,-1.8,1.2,-3.18,1.38],["c",-.42,.06,-1.56,.06,-1.95,0],["c",-1.89,-.33,-3.18,-1.29,-3.51,-2.64],["c",-.03,-.12,-.03,-.33,-.03,-.6],["c",0,-.36,0,-.42,.06,-.63],["c",.12,-.3,.27,-.51,.51,-.75],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.36,.33,.57,.75,.6,1.2],["c",0,.21,0,.27,-.06,.42],["c",-.09,.18,-.12,.24,-.54,.54],["c",-.51,.36,-.63,.54,-.6,.87],["c",.06,.54,.54,.9,1.38,.99],["c",.36,.06,.72,.03,.96,-.06],["c",.81,-.27,1.29,-1.23,1.44,-2.79],["c",.03,-.45,.03,-1.95,-.03,-2.37],["c",-.09,-.75,-.33,-1.23,-.75,-1.44],["c",-.33,-.18,-.45,-.18,-1.98,-.18],["c",-1.35,0,-1.41,0,-1.5,-.06],["c",-.18,-.12,-.24,-.39,-.12,-.6],["c",.12,-.15,.15,-.15,1.68,-.15],["c",1.5,0,1.62,0,1.89,-.15],["c",.18,-.09,.42,-.36,.54,-.57],["c",.18,-.42,.27,-.9,.3,-1.95],["c",.03,-1.2,-.06,-1.8,-.36,-2.37],["c",-.24,-.48,-.63,-.81,-1.14,-.96],["c",-.3,-.06,-1.08,-.06,-1.38,.03],["c",-.6,.15,-.9,.42,-.96,.84],["c",-.03,.3,.06,.45,.63,.84],["c",.33,.24,.42,.39,.45,.63],["c",.03,.72,-.57,1.5,-1.32,1.65],["c",-1.05,.27,-2.1,-.57,-2.1,-1.65],["c",0,-.45,.15,-.96,.39,-1.38],["c",.12,-.21,.54,-.63,.81,-.81],["c",.57,-.42,1.38,-.69,2.25,-.81],["z"]],w:9.735,h:14.967},4:{d:[["M",8.64,-14.94],["c",.27,-.09,.42,-.12,.54,-.03],["c",.09,.06,.15,.21,.15,.3],["c",-.03,.06,-1.92,2.31,-4.23,5.04],["c",-2.31,2.73,-4.23,4.98,-4.26,5.01],["c",-.03,.06,.12,.06,2.55,.06],["l",2.61,0],["l",0,-2.37],["c",0,-2.19,.03,-2.37,.06,-2.46],["c",.03,-.06,.21,-.18,.57,-.42],["c",1.08,-.72,1.38,-1.08,1.86,-2.16],["c",.12,-.3,.24,-.54,.27,-.57],["c",.12,-.12,.39,-.06,.45,.12],["c",.06,.09,.06,.57,.06,3.96],["l",0,3.9],["l",1.08,0],["c",1.05,0,1.11,0,1.2,.06],["c",.24,.15,.24,.54,0,.69],["c",-.09,.06,-.15,.06,-1.2,.06],["l",-1.08,0],["l",0,.33],["c",0,.57,.09,1.11,.3,1.53],["c",.36,.75,.93,1.17,1.68,1.26],["c",.3,.03,.39,.09,.39,.3],["c",0,.15,-.03,.18,-.09,.24],["c",-.06,.06,-.09,.06,-.48,.06],["c",-.42,0,-.69,-.03,-2.1,-.24],["c",-.9,-.15,-1.77,-.15,-2.67,0],["c",-1.41,.21,-1.68,.24,-2.1,.24],["c",-.39,0,-.42,0,-.48,-.06],["c",-.06,-.06,-.06,-.09,-.06,-.24],["c",0,-.21,.06,-.27,.36,-.3],["c",.75,-.09,1.32,-.51,1.68,-1.26],["c",.21,-.42,.3,-.96,.3,-1.53],["l",0,-.33],["l",-2.7,0],["c",-2.91,0,-2.85,0,-3.09,-.15],["c",-.18,-.12,-.3,-.39,-.27,-.54],["c",.03,-.06,.18,-.24,.33,-.45],["c",.75,-.9,1.59,-2.07,2.13,-3.03],["c",.33,-.54,.84,-1.62,1.05,-2.16],["c",.57,-1.41,.84,-2.64,.9,-4.05],["c",.03,-.63,.06,-.72,.24,-.81],["l",.12,-.06],["l",.45,.12],["c",.66,.18,1.02,.24,1.47,.27],["c",.6,.03,1.23,-.09,2.01,-.33],["z"]],w:11.795,h:14.994},5:{d:[["M",1.02,-14.94],["c",.12,-.09,.03,-.09,1.08,.06],["c",2.49,.36,4.35,.36,6.96,-.06],["c",.57,-.09,.66,-.06,.81,.06],["c",.15,.18,.12,.24,-.15,.51],["c",-1.29,1.26,-3.24,2.04,-5.58,2.31],["c",-.6,.09,-1.2,.12,-1.71,.12],["c",-.39,0,-.45,0,-.57,.06],["c",-.09,.06,-.15,.12,-.21,.21],["l",-.06,.12],["l",0,1.65],["l",0,1.65],["l",.21,-.21],["c",.66,-.57,1.41,-.96,2.19,-1.14],["c",.33,-.06,1.41,-.06,1.95,0],["c",2.61,.36,4.02,1.74,4.26,4.14],["c",.03,.45,.03,1.08,-.03,1.44],["c",-.18,1.02,-.78,2.01,-1.59,2.7],["c",-.72,.57,-1.62,1.02,-2.49,1.2],["c",-1.38,.27,-3.03,.06,-4.2,-.54],["c",-1.08,-.54,-1.71,-1.32,-1.86,-2.28],["c",-.09,-.69,.09,-1.29,.57,-1.74],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.36,.33,.57,.75,.6,1.2],["c",0,.21,0,.27,-.06,.42],["c",-.09,.18,-.12,.24,-.54,.54],["c",-.18,.12,-.36,.3,-.42,.33],["c",-.36,.42,-.18,.99,.36,1.26],["c",.51,.27,1.47,.36,2.01,.27],["c",.93,-.21,1.47,-1.17,1.65,-2.91],["c",.06,-.45,.06,-1.89,0,-2.31],["c",-.15,-1.2,-.51,-2.1,-1.05,-2.55],["c",-.21,-.18,-.54,-.36,-.81,-.39],["c",-.3,-.06,-.84,-.03,-1.26,.06],["c",-.93,.18,-1.65,.6,-2.16,1.2],["c",-.15,.21,-.27,.3,-.39,.3],["c",-.15,0,-.3,-.09,-.36,-.18],["c",-.06,-.09,-.06,-.15,-.06,-3.66],["c",0,-3.39,0,-3.57,.06,-3.66],["c",.03,-.06,.09,-.15,.15,-.18],["z"]],w:10.212,h:14.997},6:{d:[["M",4.98,-14.97],["c",.36,-.03,1.2,0,1.59,.06],["c",.9,.15,1.68,.51,2.25,1.05],["c",.57,.51,.87,1.23,.84,1.98],["c",-.03,.51,-.21,.9,-.6,1.26],["c",-.24,.24,-.45,.39,-.75,.51],["c",-.21,.06,-.27,.06,-.6,.06],["c",-.33,0,-.39,0,-.6,-.06],["c",-.3,-.12,-.51,-.27,-.75,-.51],["c",-.39,-.36,-.57,-.78,-.57,-1.26],["c",0,-.27,0,-.3,.09,-.42],["c",.03,-.09,.18,-.21,.3,-.3],["c",.12,-.09,.3,-.21,.39,-.27],["c",.09,-.06,.21,-.18,.27,-.24],["c",.06,-.12,.09,-.15,.09,-.33],["c",0,-.18,-.03,-.24,-.09,-.36],["c",-.24,-.39,-.75,-.6,-1.38,-.57],["c",-.54,.03,-.9,.18,-1.23,.48],["c",-.81,.72,-1.08,2.16,-.96,5.37],["l",0,.63],["l",.3,-.12],["c",.78,-.27,1.29,-.33,2.1,-.27],["c",1.47,.12,2.49,.54,3.27,1.29],["c",.48,.51,.81,1.11,.96,1.89],["c",.06,.27,.06,.42,.06,.93],["c",0,.54,0,.69,-.06,.96],["c",-.15,.78,-.48,1.38,-.96,1.89],["c",-.54,.51,-1.17,.87,-1.98,1.08],["c",-1.14,.3,-2.4,.33,-3.24,.03],["c",-1.5,-.48,-2.64,-1.89,-3.27,-4.02],["c",-.36,-1.23,-.51,-2.82,-.42,-4.08],["c",.3,-3.66,2.28,-6.3,4.95,-6.66],["z"],["m",.66,7.41],["c",-.27,-.09,-.81,-.12,-1.08,-.06],["c",-.72,.18,-1.08,.69,-1.23,1.71],["c",-.06,.54,-.06,3,0,3.54],["c",.18,1.26,.72,1.77,1.8,1.74],["c",.39,-.03,.63,-.09,.9,-.27],["c",.66,-.42,.9,-1.32,.9,-3.24],["c",0,-2.22,-.36,-3.12,-1.29,-3.42],["z"]],w:9.956,h:14.982},7:{d:[["M",.21,-14.97],["c",.21,-.06,.45,0,.54,.15],["c",.06,.09,.06,.15,.06,.39],["c",0,.24,0,.33,.06,.42],["c",.06,.12,.21,.24,.27,.24],["c",.03,0,.12,-.12,.24,-.21],["c",.96,-1.2,2.58,-1.35,3.99,-.42],["c",.15,.12,.42,.3,.54,.45],["c",.48,.39,.81,.57,1.29,.6],["c",.69,.03,1.5,-.3,2.13,-.87],["c",.09,-.09,.27,-.3,.39,-.45],["c",.12,-.15,.24,-.27,.3,-.3],["c",.18,-.06,.39,.03,.51,.21],["c",.06,.18,.06,.24,-.27,.72],["c",-.18,.24,-.54,.78,-.78,1.17],["c",-2.37,3.54,-3.54,6.27,-3.87,9],["c",-.03,.33,-.03,.66,-.03,1.26],["c",0,.9,0,1.08,.15,1.89],["c",.06,.45,.06,.48,.03,.6],["c",-.06,.09,-.21,.21,-.3,.21],["c",-.03,0,-.27,-.06,-.54,-.15],["c",-.84,-.27,-1.11,-.3,-1.65,-.3],["c",-.57,0,-.84,.03,-1.56,.27],["c",-.6,.18,-.69,.21,-.81,.15],["c",-.12,-.06,-.21,-.18,-.21,-.3],["c",0,-.15,.6,-1.44,1.2,-2.61],["c",1.14,-2.22,2.73,-4.68,5.1,-8.01],["c",.21,-.27,.36,-.48,.33,-.48],["c",0,0,-.12,.06,-.27,.12],["c",-.54,.3,-.99,.39,-1.56,.39],["c",-.75,.03,-1.2,-.18,-1.83,-.75],["c",-.99,-.9,-1.83,-1.17,-2.31,-.72],["c",-.18,.15,-.36,.51,-.45,.84],["c",-.06,.24,-.06,.33,-.09,1.98],["c",0,1.62,-.03,1.74,-.06,1.8],["c",-.15,.24,-.54,.24,-.69,0],["c",-.06,-.09,-.06,-.15,-.06,-3.57],["c",0,-3.42,0,-3.48,.06,-3.57],["c",.03,-.06,.09,-.12,.15,-.15],["z"]],w:10.561,h:15.093},8:{d:[["M",4.98,-14.97],["c",.33,-.03,1.02,-.03,1.32,0],["c",1.32,.12,2.49,.6,3.21,1.32],["c",.39,.39,.66,.81,.78,1.29],["c",.09,.36,.09,1.08,0,1.44],["c",-.21,.84,-.66,1.59,-1.59,2.55],["l",-.3,.3],["l",.27,.18],["c",1.47,.93,2.31,2.31,2.25,3.75],["c",-.03,.75,-.24,1.35,-.63,1.95],["c",-.45,.66,-1.02,1.14,-1.83,1.53],["c",-1.8,.87,-4.2,.87,-6,.03],["c",-1.62,-.78,-2.52,-2.16,-2.46,-3.66],["c",.06,-.99,.54,-1.77,1.8,-2.97],["c",.54,-.51,.54,-.54,.48,-.57],["c",-.39,-.27,-.96,-.78,-1.2,-1.14],["c",-.75,-1.11,-.87,-2.4,-.3,-3.6],["c",.69,-1.35,2.25,-2.25,4.2,-2.4],["z"],["m",1.53,.69],["c",-.42,-.09,-1.11,-.12,-1.38,-.06],["c",-.3,.06,-.6,.18,-.81,.3],["c",-.21,.12,-.6,.51,-.72,.72],["c",-.51,.87,-.42,1.89,.21,2.52],["c",.21,.21,.36,.3,1.95,1.23],["c",.96,.54,1.74,.99,1.77,1.02],["c",.09,0,.63,-.6,.99,-1.11],["c",.21,-.36,.48,-.87,.57,-1.23],["c",.06,-.24,.06,-.36,.06,-.72],["c",0,-.45,-.03,-.66,-.15,-.99],["c",-.39,-.81,-1.29,-1.44,-2.49,-1.68],["z"],["m",-1.44,8.07],["l",-1.89,-1.08],["c",-.03,0,-.18,.15,-.39,.33],["c",-1.2,1.08,-1.65,1.95,-1.59,3],["c",.09,1.59,1.35,2.85,3.21,3.24],["c",.33,.06,.45,.06,.93,.06],["c",.63,0,.81,-.03,1.29,-.27],["c",.9,-.42,1.47,-1.41,1.41,-2.4],["c",-.06,-.66,-.39,-1.29,-.9,-1.65],["c",-.12,-.09,-1.05,-.63,-2.07,-1.23],["z"]],w:10.926,h:14.989},9:{d:[["M",4.23,-14.97],["c",.42,-.03,1.29,0,1.62,.06],["c",.51,.12,.93,.3,1.38,.57],["c",1.53,1.02,2.52,3.24,2.73,5.94],["c",.18,2.55,-.48,4.98,-1.83,6.57],["c",-1.05,1.26,-2.4,1.89,-3.93,1.83],["c",-1.23,-.06,-2.31,-.45,-3.03,-1.14],["c",-.57,-.51,-.87,-1.23,-.84,-1.98],["c",.03,-.51,.21,-.9,.6,-1.26],["c",.24,-.24,.45,-.39,.75,-.51],["c",.21,-.06,.27,-.06,.6,-.06],["c",.33,0,.39,0,.6,.06],["c",.3,.12,.51,.27,.75,.51],["c",.39,.36,.57,.78,.57,1.26],["c",0,.27,0,.3,-.09,.42],["c",-.03,.09,-.18,.21,-.3,.3],["c",-.12,.09,-.3,.21,-.39,.27],["c",-.09,.06,-.21,.18,-.27,.24],["c",-.06,.12,-.06,.15,-.06,.33],["c",0,.18,0,.24,.06,.36],["c",.24,.39,.75,.6,1.38,.57],["c",.54,-.03,.9,-.18,1.23,-.48],["c",.81,-.72,1.08,-2.16,.96,-5.37],["l",0,-.63],["l",-.3,.12],["c",-.78,.27,-1.29,.33,-2.1,.27],["c",-1.47,-.12,-2.49,-.54,-3.27,-1.29],["c",-.48,-.51,-.81,-1.11,-.96,-1.89],["c",-.06,-.27,-.06,-.42,-.06,-.96],["c",0,-.51,0,-.66,.06,-.93],["c",.15,-.78,.48,-1.38,.96,-1.89],["c",.15,-.12,.33,-.27,.42,-.36],["c",.69,-.51,1.62,-.81,2.76,-.93],["z"],["m",1.17,.66],["c",-.21,-.06,-.57,-.06,-.81,-.03],["c",-.78,.12,-1.26,.69,-1.41,1.74],["c",-.12,.63,-.15,1.95,-.09,2.79],["c",.12,1.71,.63,2.4,1.77,2.46],["c",1.08,.03,1.62,-.48,1.8,-1.74],["c",.06,-.54,.06,-3,0,-3.54],["c",-.15,-1.05,-.51,-1.53,-1.26,-1.68],["z"]],w:9.959,h:14.986},"rests.whole":{d:[["M",.06,.03],["l",.09,-.06],["l",5.46,0],["l",5.49,0],["l",.09,.06],["l",.06,.09],["l",0,2.19],["l",0,2.19],["l",-.06,.09],["l",-.09,.06],["l",-5.49,0],["l",-5.46,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.half":{d:[["M",.06,-4.62],["l",.09,-.06],["l",5.46,0],["l",5.49,0],["l",.09,.06],["l",.06,.09],["l",0,2.19],["l",0,2.19],["l",-.06,.09],["l",-.09,.06],["l",-5.49,0],["l",-5.46,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.quarter":{d:[["M",1.89,-11.82],["c",.12,-.06,.24,-.06,.36,-.03],["c",.09,.06,4.74,5.58,4.86,5.82],["c",.21,.39,.15,.78,-.15,1.26],["c",-.24,.33,-.72,.81,-1.62,1.56],["c",-.45,.36,-.87,.75,-.96,.84],["c",-.93,.99,-1.14,2.49,-.6,3.63],["c",.18,.39,.27,.48,1.32,1.68],["c",1.92,2.25,1.83,2.16,1.83,2.34],["c",0,.18,-.18,.36,-.36,.39],["c",-.15,0,-.27,-.06,-.48,-.27],["c",-.75,-.75,-2.46,-1.29,-3.39,-1.08],["c",-.45,.09,-.69,.27,-.9,.69],["c",-.12,.3,-.21,.66,-.24,1.14],["c",-.03,.66,.09,1.35,.3,2.01],["c",.15,.42,.24,.66,.45,.96],["c",.18,.24,.18,.33,.03,.42],["c",-.12,.06,-.18,.03,-.45,-.3],["c",-1.08,-1.38,-2.07,-3.36,-2.4,-4.83],["c",-.27,-1.05,-.15,-1.77,.27,-2.07],["c",.21,-.12,.42,-.15,.87,-.15],["c",.87,.06,2.1,.39,3.3,.9],["l",.39,.18],["l",-1.65,-1.95],["c",-2.52,-2.97,-2.61,-3.09,-2.7,-3.27],["c",-.09,-.24,-.12,-.48,-.03,-.75],["c",.15,-.48,.57,-.96,1.83,-2.01],["c",.45,-.36,.84,-.72,.93,-.78],["c",.69,-.75,1.02,-1.8,.9,-2.79],["c",-.06,-.33,-.21,-.84,-.39,-1.11],["c",-.09,-.15,-.45,-.6,-.81,-1.05],["c",-.36,-.42,-.69,-.81,-.72,-.87],["c",-.09,-.18,0,-.42,.21,-.51],["z"]],w:7.888,h:21.435},"rests.8th":{d:[["M",1.68,-6.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.12,0,.18,0,.33,-.09],["c",.39,-.18,1.32,-1.29,1.68,-1.98],["c",.09,-.21,.24,-.3,.39,-.3],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.27,1.11,-1.86,6.42],["c",-1.02,3.48,-1.89,6.39,-1.92,6.42],["c",0,.03,-.12,.12,-.24,.15],["c",-.18,.09,-.21,.09,-.45,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.15,-.57,1.68,-4.92],["c",.96,-2.67,1.74,-4.89,1.71,-4.89],["l",-.51,.15],["c",-1.08,.36,-1.74,.48,-2.55,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:7.534,h:13.883},"rests.16th":{d:[["M",3.33,-6.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.15,.39,.57,.57,.87,.42],["c",.39,-.18,1.2,-1.23,1.62,-2.07],["c",.06,-.15,.24,-.24,.36,-.24],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.45,1.86,-2.67,10.17],["c",-1.5,5.55,-2.73,10.14,-2.76,10.17],["c",-.03,.03,-.12,.12,-.24,.15],["c",-.18,.09,-.21,.09,-.45,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.12,-.57,1.44,-4.92],["c",.81,-2.67,1.47,-4.86,1.47,-4.89],["c",-.03,0,-.27,.06,-.54,.15],["c",-1.08,.36,-1.77,.48,-2.58,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.09,.09,.27,.18,.45,.21],["c",.12,0,.18,0,.33,-.09],["c",.33,-.15,1.02,-.93,1.41,-1.59],["c",.12,-.21,.18,-.39,.39,-1.08],["c",.66,-2.1,1.17,-3.84,1.17,-3.87],["c",0,0,-.21,.06,-.42,.15],["c",-.51,.15,-1.2,.33,-1.68,.42],["c",-.33,.06,-.51,.06,-.96,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:9.724,h:21.383},"rests.32nd":{d:[["M",4.23,-13.62],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.12,0,.18,0,.27,-.06],["c",.33,-.21,.99,-1.11,1.44,-1.98],["c",.09,-.24,.21,-.33,.39,-.33],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.57,2.67,-3.21,13.89],["c",-1.8,7.62,-3.3,13.89,-3.3,13.92],["c",-.03,.06,-.12,.12,-.24,.18],["c",-.21,.09,-.24,.09,-.48,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.09,-.57,1.23,-4.92],["c",.69,-2.67,1.26,-4.86,1.29,-4.89],["c",0,-.03,-.12,-.03,-.48,.12],["c",-1.17,.39,-2.22,.57,-3,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.12,.09,.3,.18,.48,.21],["c",.12,0,.18,0,.3,-.09],["c",.42,-.21,1.29,-1.29,1.56,-1.89],["c",.03,-.12,1.23,-4.59,1.23,-4.65],["c",0,-.03,-.18,.03,-.39,.12],["c",-.63,.18,-1.2,.36,-1.74,.45],["c",-.39,.06,-.54,.06,-1.02,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.18,.18,.51,.27,.72,.15],["c",.3,-.12,.69,-.57,1.08,-1.17],["c",.42,-.6,.39,-.51,1.05,-3.03],["c",.33,-1.26,.6,-2.31,.6,-2.34],["c",0,0,-.21,.03,-.45,.12],["c",-.57,.18,-1.14,.33,-1.62,.42],["c",-.33,.06,-.51,.06,-.96,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:11.373,h:28.883},"rests.64th":{d:[["M",5.13,-13.62],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.21,.54,.3,.75,.18],["c",.24,-.12,.63,-.66,1.08,-1.56],["c",.33,-.66,.39,-.72,.6,-.72],["c",.12,0,.27,.09,.33,.18],["c",.03,.06,-.69,3.66,-3.54,17.64],["c",-1.95,9.66,-3.57,17.61,-3.57,17.64],["c",-.03,.06,-.12,.12,-.24,.18],["c",-.21,.09,-.24,.09,-.48,.09],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.06,-.57,1.05,-4.95],["c",.6,-2.7,1.08,-4.89,1.08,-4.92],["c",0,0,-.24,.06,-.51,.15],["c",-.66,.24,-1.2,.36,-1.77,.48],["c",-.42,.06,-.57,.06,-1.05,.06],["c",-.69,0,-.87,-.03,-1.35,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.72,-1.05,2.22,-1.23,3.06,-.42],["c",.3,.33,.42,.6,.6,1.38],["c",.09,.45,.21,.78,.33,.9],["c",.09,.09,.27,.18,.45,.21],["c",.21,.03,.39,-.09,.72,-.42],["c",.45,-.45,1.02,-1.26,1.17,-1.65],["c",.03,-.09,.27,-1.14,.54,-2.34],["c",.27,-1.2,.48,-2.19,.51,-2.22],["c",0,-.03,-.09,-.03,-.48,.12],["c",-1.17,.39,-2.22,.57,-3,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.15,.39,.57,.57,.9,.42],["c",.36,-.18,1.2,-1.26,1.47,-1.89],["c",.03,-.09,.3,-1.2,.57,-2.43],["l",.51,-2.28],["l",-.54,.18],["c",-1.11,.36,-1.8,.48,-2.61,.48],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.21,.21,.54,.3,.75,.18],["c",.36,-.18,.93,-.93,1.29,-1.68],["c",.12,-.24,.18,-.48,.63,-2.55],["l",.51,-2.31],["c",0,-.03,-.18,.03,-.39,.12],["c",-1.14,.36,-2.1,.54,-2.82,.51],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:12.453,h:36.383},"rests.128th":{d:[["M",6.03,-21.12],["c",.66,-.09,1.23,.09,1.68,.51],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.21,0,.33,-.06,.54,-.36],["c",.15,-.21,.54,-.93,.78,-1.47],["c",.15,-.33,.18,-.39,.3,-.48],["c",.18,-.09,.45,0,.51,.15],["c",.03,.09,-7.11,42.75,-7.17,42.84],["c",-.03,.03,-.15,.09,-.24,.15],["c",-.18,.06,-.24,.06,-.45,.06],["c",-.24,0,-.3,0,-.48,-.06],["c",-.09,-.06,-.21,-.12,-.21,-.15],["c",-.06,-.03,.03,-.57,.84,-4.98],["c",.51,-2.7,.93,-4.92,.9,-4.92],["c",0,0,-.15,.06,-.36,.12],["c",-.78,.27,-1.62,.48,-2.31,.57],["c",-.15,.03,-.54,.03,-.81,.03],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.63,.48],["c",.12,0,.18,0,.3,-.09],["c",.42,-.21,1.14,-1.11,1.5,-1.83],["c",.12,-.27,.12,-.27,.54,-2.52],["c",.24,-1.23,.42,-2.25,.39,-2.25],["c",0,0,-.24,.06,-.51,.18],["c",-1.26,.39,-2.25,.57,-3.06,.54],["c",-.42,-.03,-.75,-.12,-1.11,-.3],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.21,.51,.3,.75,.18],["c",.36,-.15,1.05,-.99,1.41,-1.77],["l",.15,-.3],["l",.42,-2.25],["c",.21,-1.26,.42,-2.28,.39,-2.28],["l",-.51,.15],["c",-1.11,.39,-1.89,.51,-2.7,.51],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.15,.63,.21,.81,.33,.96],["c",.18,.18,.48,.27,.72,.21],["c",.33,-.12,1.14,-1.26,1.41,-1.95],["c",0,-.09,.21,-1.11,.45,-2.34],["c",.21,-1.2,.39,-2.22,.39,-2.28],["c",.03,-.03,0,-.03,-.45,.12],["c",-.57,.18,-1.2,.33,-1.71,.42],["c",-.3,.06,-.51,.06,-.93,.06],["c",-.66,0,-.84,-.03,-1.32,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.36,-.54,.96,-.87,1.65,-.93],["c",.54,-.03,1.02,.15,1.41,.54],["c",.27,.3,.39,.54,.57,1.26],["c",.09,.33,.18,.66,.21,.72],["c",.12,.27,.33,.45,.6,.48],["c",.18,0,.36,-.09,.57,-.33],["c",.33,-.36,.78,-1.14,.93,-1.56],["c",.03,-.12,.24,-1.2,.45,-2.4],["c",.24,-1.2,.42,-2.22,.42,-2.28],["c",.03,-.03,0,-.03,-.39,.09],["c",-1.05,.36,-1.8,.48,-2.58,.48],["c",-.63,0,-.84,-.03,-1.29,-.27],["c",-1.32,-.63,-1.77,-2.16,-1.02,-3.3],["c",.33,-.45,.84,-.81,1.38,-.9],["z"]],w:12.992,h:43.883},"accidentals.sharp":{d:[["M",5.73,-11.19],["c",.21,-.12,.54,-.03,.66,.24],["c",.06,.12,.06,.21,.06,2.31],["c",0,1.23,0,2.22,.03,2.22],["c",0,0,.27,-.12,.6,-.24],["c",.69,-.27,.78,-.3,.96,-.15],["c",.21,.15,.21,.18,.21,1.38],["c",0,1.02,0,1.11,-.06,1.2],["c",-.03,.06,-.09,.12,-.12,.15],["c",-.06,.03,-.42,.21,-.84,.36],["l",-.75,.33],["l",-.03,2.43],["c",0,1.32,0,2.43,.03,2.43],["c",0,0,.27,-.12,.6,-.24],["c",.69,-.27,.78,-.3,.96,-.15],["c",.21,.15,.21,.18,.21,1.38],["c",0,1.02,0,1.11,-.06,1.2],["c",-.03,.06,-.09,.12,-.12,.15],["c",-.06,.03,-.42,.21,-.84,.36],["l",-.75,.33],["l",-.03,2.52],["c",0,2.28,-.03,2.55,-.06,2.64],["c",-.21,.36,-.72,.36,-.93,0],["c",-.03,-.09,-.06,-.33,-.06,-2.43],["l",0,-2.31],["l",-1.29,.51],["l",-1.26,.51],["l",0,2.43],["c",0,2.58,0,2.52,-.15,2.67],["c",-.06,.09,-.27,.18,-.36,.18],["c",-.12,0,-.33,-.09,-.39,-.18],["c",-.15,-.15,-.15,-.09,-.15,-2.43],["c",0,-1.23,0,-2.22,-.03,-2.22],["c",0,0,-.27,.12,-.6,.24],["c",-.69,.27,-.78,.3,-.96,.15],["c",-.21,-.15,-.21,-.18,-.21,-1.38],["c",0,-1.02,0,-1.11,.06,-1.2],["c",.03,-.06,.09,-.12,.12,-.15],["c",.06,-.03,.42,-.21,.84,-.36],["l",.78,-.33],["l",0,-2.43],["c",0,-1.32,0,-2.43,-.03,-2.43],["c",0,0,-.27,.12,-.6,.24],["c",-.69,.27,-.78,.3,-.96,.15],["c",-.21,-.15,-.21,-.18,-.21,-1.38],["c",0,-1.02,0,-1.11,.06,-1.2],["c",.03,-.06,.09,-.12,.12,-.15],["c",.06,-.03,.42,-.21,.84,-.36],["l",.78,-.33],["l",0,-2.52],["c",0,-2.28,.03,-2.55,.06,-2.64],["c",.21,-.36,.72,-.36,.93,0],["c",.03,.09,.06,.33,.06,2.43],["l",.03,2.31],["l",1.26,-.51],["l",1.26,-.51],["l",0,-2.43],["c",0,-2.28,0,-2.43,.06,-2.55],["c",.06,-.12,.12,-.18,.27,-.24],["z"],["m",-.33,10.65],["l",0,-2.43],["l",-1.29,.51],["l",-1.26,.51],["l",0,2.46],["l",0,2.43],["l",.09,-.03],["c",.06,-.03,.63,-.27,1.29,-.51],["l",1.17,-.48],["l",0,-2.46],["z"]],w:8.25,h:22.462},"accidentals.halfsharp":{d:[["M",2.43,-10.05],["c",.21,-.12,.54,-.03,.66,.24],["c",.06,.12,.06,.21,.06,2.01],["c",0,1.05,0,1.89,.03,1.89],["l",.72,-.48],["c",.69,-.48,.69,-.51,.87,-.51],["c",.15,0,.18,.03,.27,.09],["c",.21,.15,.21,.18,.21,1.41],["c",0,1.11,-.03,1.14,-.09,1.23],["c",-.03,.03,-.48,.39,-1.02,.75],["l",-.99,.66],["l",0,2.37],["c",0,1.32,0,2.37,.03,2.37],["l",.72,-.48],["c",.69,-.48,.69,-.51,.87,-.51],["c",.15,0,.18,.03,.27,.09],["c",.21,.15,.21,.18,.21,1.41],["c",0,1.11,-.03,1.14,-.09,1.23],["c",-.03,.03,-.48,.39,-1.02,.75],["l",-.99,.66],["l",0,2.25],["c",0,1.95,0,2.28,-.06,2.37],["c",-.06,.12,-.12,.21,-.24,.27],["c",-.27,.12,-.54,.03,-.69,-.24],["c",-.06,-.12,-.06,-.21,-.06,-2.01],["c",0,-1.05,0,-1.89,-.03,-1.89],["l",-.72,.48],["c",-.69,.48,-.69,.48,-.87,.48],["c",-.15,0,-.18,0,-.27,-.06],["c",-.21,-.15,-.21,-.18,-.21,-1.41],["c",0,-1.11,.03,-1.14,.09,-1.23],["c",.03,-.03,.48,-.39,1.02,-.75],["l",.99,-.66],["l",0,-2.37],["c",0,-1.32,0,-2.37,-.03,-2.37],["l",-.72,.48],["c",-.69,.48,-.69,.48,-.87,.48],["c",-.15,0,-.18,0,-.27,-.06],["c",-.21,-.15,-.21,-.18,-.21,-1.41],["c",0,-1.11,.03,-1.14,.09,-1.23],["c",.03,-.03,.48,-.39,1.02,-.75],["l",.99,-.66],["l",0,-2.25],["c",0,-2.13,0,-2.28,.06,-2.4],["c",.06,-.12,.12,-.18,.27,-.24],["z"]],w:5.25,h:20.174},"accidentals.nat":{d:[["M",.21,-11.4],["c",.24,-.06,.78,0,.99,.15],["c",.03,.03,.03,.48,0,2.61],["c",-.03,1.44,-.03,2.61,-.03,2.61],["c",0,.03,.75,-.09,1.68,-.24],["c",.96,-.18,1.71,-.27,1.74,-.27],["c",.15,.03,.27,.15,.36,.3],["l",.06,.12],["l",.09,8.67],["c",.09,6.96,.12,8.67,.09,8.67],["c",-.03,.03,-.12,.06,-.21,.09],["c",-.24,.09,-.72,.09,-.96,0],["c",-.09,-.03,-.18,-.06,-.21,-.09],["c",-.03,-.03,-.03,-.48,0,-2.61],["c",.03,-1.44,.03,-2.61,.03,-2.61],["c",0,-.03,-.75,.09,-1.68,.24],["c",-.96,.18,-1.71,.27,-1.74,.27],["c",-.15,-.03,-.27,-.15,-.36,-.3],["l",-.06,-.15],["l",-.09,-7.53],["c",-.06,-4.14,-.09,-8.04,-.12,-8.67],["l",0,-1.11],["l",.15,-.06],["c",.09,-.03,.21,-.06,.27,-.09],["z"],["m",3.75,8.4],["c",0,-.33,0,-.42,-.03,-.42],["c",-.12,0,-2.79,.45,-2.79,.48],["c",-.03,0,-.09,6.3,-.09,6.33],["c",.03,0,2.79,-.45,2.82,-.48],["c",0,0,.09,-4.53,.09,-5.91],["z"]],w:5.4,h:22.8},"accidentals.flat":{d:[["M",-.36,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.36,-.03,5.25],["c",-.06,2.85,-.09,5.19,-.09,5.19],["c",0,.03,.12,-.03,.24,-.12],["c",.63,-.42,1.41,-.66,2.19,-.72],["c",.81,-.03,1.47,.21,2.04,.78],["c",.57,.54,.87,1.26,.93,2.04],["c",.03,.57,-.09,1.08,-.36,1.62],["c",-.42,.81,-1.02,1.38,-2.82,2.61],["c",-1.14,.78,-1.44,1.02,-1.8,1.44],["c",-.18,.18,-.39,.39,-.45,.42],["c",-.27,.18,-.57,.15,-.81,-.06],["c",-.06,-.09,-.12,-.18,-.15,-.27],["c",-.03,-.06,-.09,-3.27,-.18,-8.34],["c",-.09,-4.53,-.15,-8.58,-.18,-9.03],["l",0,-.78],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",3.18,11.01],["c",-.21,-.12,-.54,-.15,-.81,-.06],["c",-.54,.15,-.99,.63,-1.17,1.26],["c",-.06,.3,-.12,2.88,-.06,3.87],["c",.03,.42,.03,.81,.06,.9],["l",.03,.12],["l",.45,-.39],["c",.63,-.54,1.26,-1.17,1.56,-1.59],["c",.3,-.42,.6,-.99,.72,-1.41],["c",.18,-.69,.09,-1.47,-.18,-2.07],["c",-.15,-.3,-.33,-.51,-.6,-.63],["z"]],w:6.75,h:18.801},"accidentals.halfflat":{d:[["M",4.83,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.6,-.12,9.06],["c",-.09,5.55,-.15,9.06,-.18,9.12],["c",-.03,.09,-.09,.18,-.15,.27],["c",-.24,.21,-.54,.24,-.81,.06],["c",-.06,-.03,-.27,-.24,-.45,-.42],["c",-.36,-.42,-.66,-.66,-1.8,-1.44],["c",-1.23,-.84,-1.83,-1.32,-2.25,-1.77],["c",-.66,-.78,-.96,-1.56,-.93,-2.46],["c",.09,-1.41,1.11,-2.58,2.4,-2.79],["c",.3,-.06,.84,-.03,1.23,.06],["c",.54,.12,1.08,.33,1.53,.63],["c",.12,.09,.24,.15,.24,.12],["c",0,0,-.12,-8.37,-.18,-9.75],["l",0,-.66],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",-1.65,10.95],["c",-.6,-.18,-1.08,.09,-1.38,.69],["c",-.27,.6,-.36,1.38,-.18,2.07],["c",.12,.42,.42,.99,.72,1.41],["c",.3,.42,.93,1.05,1.56,1.59],["l",.48,.39],["l",0,-.12],["c",.03,-.09,.03,-.48,.06,-.9],["c",.03,-.57,.03,-1.08,0,-2.22],["c",-.03,-1.62,-.03,-1.62,-.24,-2.07],["c",-.21,-.42,-.6,-.75,-1.02,-.84],["z"]],w:6.728,h:18.801},"accidentals.dblflat":{d:[["M",-.36,-14.07],["c",.33,-.06,.87,0,1.08,.15],["c",.06,.03,.06,.33,-.03,4.89],["c",-.06,2.67,-.09,5.01,-.09,5.22],["l",0,.36],["l",.15,-.15],["c",.36,-.3,.75,-.51,1.2,-.63],["c",.33,-.09,.96,-.09,1.26,-.03],["c",.27,.09,.63,.27,.87,.45],["l",.21,.15],["l",0,-.27],["c",0,-.15,-.03,-2.43,-.09,-5.1],["c",-.09,-4.56,-.09,-4.86,-.03,-4.89],["c",.15,-.12,.39,-.15,.72,-.15],["c",.3,0,.54,.03,.69,.15],["c",.06,.03,.06,.33,-.03,4.95],["c",-.06,2.7,-.09,5.04,-.09,5.22],["l",.03,.3],["l",.21,-.15],["c",.69,-.48,1.44,-.69,2.28,-.69],["c",.51,0,.78,.03,1.2,.21],["c",1.32,.63,2.01,2.28,1.53,3.69],["c",-.21,.57,-.51,1.02,-1.05,1.56],["c",-.42,.42,-.81,.72,-1.92,1.5],["c",-1.26,.87,-1.5,1.08,-1.86,1.5],["c",-.39,.45,-.54,.54,-.81,.51],["c",-.18,0,-.21,0,-.33,-.06],["l",-.21,-.21],["l",-.06,-.12],["l",-.03,-.99],["c",-.03,-.54,-.03,-1.29,-.06,-1.68],["l",0,-.69],["l",-.21,.24],["c",-.36,.42,-.75,.75,-1.8,1.62],["c",-1.02,.84,-1.2,.99,-1.44,1.38],["c",-.36,.51,-.54,.6,-.9,.51],["c",-.15,-.03,-.39,-.27,-.42,-.42],["c",-.03,-.06,-.09,-3.27,-.18,-8.34],["c",-.09,-4.53,-.15,-8.58,-.18,-9.03],["l",0,-.78],["l",.12,-.06],["c",.06,-.03,.18,-.09,.27,-.12],["z"],["m",2.52,10.98],["c",-.18,-.09,-.48,-.12,-.66,-.06],["c",-.39,.15,-.69,.54,-.84,1.14],["c",-.06,.24,-.06,.39,-.09,1.74],["c",-.03,1.44,0,2.73,.06,3.18],["l",.03,.15],["l",.27,-.27],["c",.93,-.96,1.5,-1.95,1.74,-3.06],["c",.06,-.27,.06,-.39,.06,-.96],["c",0,-.54,0,-.69,-.06,-.93],["c",-.09,-.51,-.27,-.81,-.51,-.93],["z"],["m",5.43,0],["c",-.18,-.09,-.51,-.12,-.72,-.06],["c",-.54,.12,-.96,.63,-1.17,1.26],["c",-.06,.3,-.12,2.88,-.06,3.9],["c",.03,.42,.03,.81,.06,.9],["l",.03,.12],["l",.36,-.3],["c",.42,-.36,1.02,-.96,1.29,-1.29],["c",.36,-.45,.66,-.99,.81,-1.41],["c",.42,-1.23,.15,-2.76,-.6,-3.12],["z"]],w:11.613,h:18.804},"accidentals.dblsharp":{d:[["M",-.18,-3.96],["c",.06,-.03,.12,-.06,.15,-.06],["c",.09,0,2.76,.27,2.79,.3],["c",.12,.03,.15,.12,.15,.51],["c",.06,.96,.24,1.59,.57,2.1],["c",.06,.09,.15,.21,.18,.24],["l",.09,.06],["l",.09,-.06],["c",.03,-.03,.12,-.15,.18,-.24],["c",.33,-.51,.51,-1.14,.57,-2.1],["c",0,-.39,.03,-.45,.12,-.51],["c",.03,0,.66,-.09,1.44,-.15],["c",1.47,-.15,1.5,-.15,1.56,-.03],["c",.03,.06,0,.42,-.09,1.44],["c",-.09,.72,-.15,1.35,-.15,1.38],["c",0,.03,-.03,.09,-.06,.12],["c",-.06,.06,-.12,.09,-.51,.09],["c",-1.08,.06,-1.8,.3,-2.28,.75],["l",-.12,.09],["l",.09,.09],["c",.12,.15,.39,.33,.63,.45],["c",.42,.18,.96,.27,1.68,.33],["c",.39,0,.45,.03,.51,.09],["c",.03,.03,.06,.09,.06,.12],["c",0,.03,.06,.66,.15,1.38],["c",.09,1.02,.12,1.38,.09,1.44],["c",-.06,.12,-.09,.12,-1.56,-.03],["c",-.78,-.06,-1.41,-.15,-1.44,-.15],["c",-.09,-.06,-.12,-.12,-.12,-.54],["c",-.06,-.93,-.24,-1.56,-.57,-2.07],["c",-.06,-.09,-.15,-.21,-.18,-.24],["l",-.09,-.06],["l",-.09,.06],["c",-.03,.03,-.12,.15,-.18,.24],["c",-.33,.51,-.51,1.14,-.57,2.07],["c",0,.42,-.03,.48,-.12,.54],["c",-.03,0,-.66,.09,-1.44,.15],["c",-1.47,.15,-1.5,.15,-1.56,.03],["c",-.03,-.06,0,-.42,.09,-1.44],["c",.09,-.72,.15,-1.35,.15,-1.38],["c",0,-.03,.03,-.09,.06,-.12],["c",.06,-.06,.12,-.09,.51,-.09],["c",.72,-.06,1.26,-.15,1.68,-.33],["c",.24,-.12,.51,-.3,.63,-.45],["l",.09,-.09],["l",-.12,-.09],["c",-.48,-.45,-1.2,-.69,-2.28,-.75],["c",-.39,0,-.45,-.03,-.51,-.09],["c",-.03,-.03,-.06,-.09,-.06,-.12],["c",0,-.03,-.06,-.63,-.12,-1.38],["c",-.09,-.72,-.15,-1.35,-.15,-1.38],["z"]],w:7.95,h:7.977},"dots.dot":{d:[["M",1.32,-1.68],["c",.09,-.03,.27,-.06,.39,-.06],["c",.96,0,1.74,.78,1.74,1.71],["c",0,.96,-.78,1.74,-1.71,1.74],["c",-.96,0,-1.74,-.78,-1.74,-1.71],["c",0,-.78,.54,-1.5,1.32,-1.68],["z"]],w:3.45,h:3.45},"noteheads.dbl":{d:[["M",-.69,-4.02],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["c",.06,.15,.06,.18,.06,1.41],["l",0,1.23],["l",.12,-.18],["c",.72,-1.26,2.64,-2.31,4.86,-2.64],["c",.81,-.15,1.11,-.15,2.13,-.15],["c",.99,0,1.29,0,2.1,.15],["c",.75,.12,1.38,.27,2.04,.54],["c",1.35,.51,2.34,1.26,2.82,2.1],["l",.12,.18],["l",0,-1.23],["c",0,-1.2,0,-1.26,.06,-1.38],["c",.09,-.18,.15,-.24,.33,-.33],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,3.54],["l",0,3.54],["l",-.06,.15],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.06,-.12,-.06,-.18,-.06,-1.38],["l",0,-1.23],["l",-.12,.18],["c",-.48,.84,-1.47,1.59,-2.82,2.1],["c",-.84,.33,-1.71,.54,-2.85,.66],["c",-.45,.06,-2.16,.06,-2.61,0],["c",-1.14,-.12,-2.01,-.33,-2.85,-.66],["c",-1.35,-.51,-2.34,-1.26,-2.82,-2.1],["l",-.12,-.18],["l",0,1.23],["c",0,1.23,0,1.26,-.06,1.38],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["l",-.06,-.15],["l",0,-3.54],["c",0,-3.48,0,-3.54,.06,-3.66],["c",.09,-.18,.15,-.24,.33,-.33],["z"],["m",7.71,.63],["c",-.36,-.06,-.9,-.06,-1.14,0],["c",-.3,.03,-.66,.24,-.87,.42],["c",-.6,.54,-.9,1.62,-.75,2.82],["c",.12,.93,.51,1.68,1.11,2.31],["c",.75,.72,1.83,1.2,2.85,1.26],["c",1.05,.06,1.83,-.54,2.1,-1.65],["c",.21,-.9,.12,-1.95,-.24,-2.82],["c",-.36,-.81,-1.08,-1.53,-1.95,-1.95],["c",-.3,-.15,-.78,-.3,-1.11,-.39],["z"]],w:16.83,h:8.145},"noteheads.whole":{d:[["M",6.51,-4.05],["c",.51,-.03,2.01,0,2.52,.03],["c",1.41,.18,2.64,.51,3.72,1.08],["c",1.2,.63,1.95,1.41,2.19,2.31],["c",.09,.33,.09,.9,0,1.23],["c",-.24,.9,-.99,1.68,-2.19,2.31],["c",-1.08,.57,-2.28,.9,-3.75,1.08],["c",-.66,.06,-2.31,.06,-2.97,0],["c",-1.47,-.18,-2.67,-.51,-3.75,-1.08],["c",-1.2,-.63,-1.95,-1.41,-2.19,-2.31],["c",-.09,-.33,-.09,-.9,0,-1.23],["c",.24,-.9,.99,-1.68,2.19,-2.31],["c",1.2,-.63,2.61,-.99,4.23,-1.11],["z"],["m",.57,.66],["c",-.87,-.15,-1.53,0,-2.04,.51],["c",-.15,.15,-.24,.27,-.33,.48],["c",-.24,.51,-.36,1.08,-.33,1.77],["c",.03,.69,.18,1.26,.42,1.77],["c",.6,1.17,1.74,1.98,3.18,2.22],["c",1.11,.21,1.95,-.15,2.34,-.99],["c",.24,-.51,.36,-1.08,.33,-1.8],["c",-.06,-1.11,-.45,-2.04,-1.17,-2.76],["c",-.63,-.63,-1.47,-1.05,-2.4,-1.2],["z"]],w:14.985,h:8.097},"noteheads.half":{d:[["M",7.44,-4.05],["c",.06,-.03,.27,-.03,.48,-.03],["c",1.05,0,1.71,.24,2.1,.81],["c",.42,.6,.45,1.35,.18,2.4],["c",-.42,1.59,-1.14,2.73,-2.16,3.39],["c",-1.41,.93,-3.18,1.44,-5.4,1.53],["c",-1.17,.03,-1.89,-.21,-2.28,-.81],["c",-.42,-.6,-.45,-1.35,-.18,-2.4],["c",.42,-1.59,1.14,-2.73,2.16,-3.39],["c",.63,-.42,1.23,-.72,1.98,-.96],["c",.9,-.3,1.65,-.42,3.12,-.54],["z"],["m",1.29,.87],["c",-.27,-.09,-.63,-.12,-.9,-.03],["c",-.72,.24,-1.53,.69,-3.27,1.8],["c",-2.34,1.5,-3.3,2.25,-3.57,2.79],["c",-.36,.72,-.06,1.5,.66,1.77],["c",.24,.12,.69,.09,.99,0],["c",.84,-.3,1.92,-.93,4.14,-2.37],["c",1.62,-1.08,2.37,-1.71,2.61,-2.19],["c",.36,-.72,.06,-1.5,-.66,-1.77],["z"]],w:10.37,h:8.132},"noteheads.quarter":{d:[["M",6.09,-4.05],["c",.36,-.03,1.2,0,1.53,.06],["c",1.17,.24,1.89,.84,2.16,1.83],["c",.06,.18,.06,.3,.06,.66],["c",0,.45,0,.63,-.15,1.08],["c",-.66,2.04,-3.06,3.93,-5.52,4.38],["c",-.54,.09,-1.44,.09,-1.83,.03],["c",-1.23,-.27,-1.98,-.87,-2.25,-1.86],["c",-.06,-.18,-.06,-.3,-.06,-.66],["c",0,-.45,0,-.63,.15,-1.08],["c",.24,-.78,.75,-1.53,1.44,-2.22],["c",1.2,-1.2,2.85,-2.01,4.47,-2.22],["z"]],w:9.81,h:8.094},"noteheads.slash.nostem":{d:[["M",9.3,-7.77],["c",.06,-.06,.18,-.06,1.71,-.06],["l",1.65,0],["l",.09,.09],["c",.06,.06,.06,.09,.06,.15],["c",-.03,.12,-9.21,15.24,-9.3,15.33],["c",-.06,.06,-.18,.06,-1.71,.06],["l",-1.65,0],["l",-.09,-.09],["c",-.06,-.06,-.06,-.09,-.06,-.15],["c",.03,-.12,9.21,-15.24,9.3,-15.33],["z"]],w:12.81,h:15.63},"noteheads.indeterminate":{d:[["M",.78,-4.05],["c",.12,-.03,.24,-.03,.36,.03],["c",.03,.03,.93,.72,1.95,1.56],["l",1.86,1.5],["l",1.86,-1.5],["c",1.02,-.84,1.92,-1.53,1.95,-1.56],["c",.21,-.12,.33,-.09,.75,.24],["c",.3,.27,.36,.36,.36,.54],["c",0,.03,-.03,.12,-.06,.18],["c",-.03,.06,-.9,.75,-1.89,1.56],["l",-1.8,1.47],["c",0,.03,.81,.69,1.8,1.5],["c",.99,.81,1.86,1.5,1.89,1.56],["c",.03,.06,.06,.15,.06,.18],["c",0,.18,-.06,.27,-.36,.54],["c",-.42,.33,-.54,.36,-.75,.24],["c",-.03,-.03,-.93,-.72,-1.95,-1.56],["l",-1.86,-1.5],["l",-1.86,1.5],["c",-1.02,.84,-1.92,1.53,-1.95,1.56],["c",-.21,.12,-.33,.09,-.75,-.24],["c",-.3,-.27,-.36,-.36,-.36,-.54],["c",0,-.03,.03,-.12,.06,-.18],["c",.03,-.06,.9,-.75,1.89,-1.56],["l",1.8,-1.47],["c",0,-.03,-.81,-.69,-1.8,-1.5],["c",-.99,-.81,-1.86,-1.5,-1.89,-1.56],["c",-.06,-.12,-.09,-.21,-.03,-.36],["c",.03,-.09,.57,-.57,.72,-.63],["z"]],w:9.843,h:8.139},"scripts.ufermata":{d:[["M",-.75,-10.77],["c",.12,0,.45,-.03,.69,-.03],["c",2.91,-.03,5.55,1.53,7.41,4.35],["c",1.17,1.71,1.95,3.72,2.43,6.03],["c",.12,.51,.12,.57,.03,.69],["c",-.12,.21,-.48,.27,-.69,.12],["c",-.12,-.09,-.18,-.24,-.27,-.69],["c",-.78,-3.63,-3.42,-6.54,-6.78,-7.38],["c",-.78,-.21,-1.2,-.24,-2.07,-.24],["c",-.63,0,-.84,0,-1.2,.06],["c",-1.83,.27,-3.42,1.08,-4.8,2.37],["c",-1.41,1.35,-2.4,3.21,-2.85,5.19],["c",-.09,.45,-.15,.6,-.27,.69],["c",-.21,.15,-.57,.09,-.69,-.12],["c",-.09,-.12,-.09,-.18,.03,-.69],["c",.33,-1.62,.78,-3,1.47,-4.38],["c",1.77,-3.54,4.44,-5.67,7.56,-5.97],["z"],["m",.33,7.47],["c",1.38,-.3,2.58,.9,2.31,2.25],["c",-.15,.72,-.78,1.35,-1.47,1.5],["c",-1.38,.27,-2.58,-.93,-2.31,-2.31],["c",.15,-.69,.78,-1.29,1.47,-1.44],["z"]],w:19.748,h:11.289},"scripts.dfermata":{d:[["M",-9.63,-.42],["c",.15,-.09,.36,-.06,.51,.03],["c",.12,.09,.18,.24,.27,.66],["c",.78,3.66,3.42,6.57,6.78,7.41],["c",.78,.21,1.2,.24,2.07,.24],["c",.63,0,.84,0,1.2,-.06],["c",1.83,-.27,3.42,-1.08,4.8,-2.37],["c",1.41,-1.35,2.4,-3.21,2.85,-5.22],["c",.09,-.42,.15,-.57,.27,-.66],["c",.21,-.15,.57,-.09,.69,.12],["c",.09,.12,.09,.18,-.03,.69],["c",-.33,1.62,-.78,3,-1.47,4.38],["c",-1.92,3.84,-4.89,6,-8.31,6],["c",-3.42,0,-6.39,-2.16,-8.31,-6],["c",-.48,-.96,-.84,-1.92,-1.14,-2.97],["c",-.18,-.69,-.42,-1.74,-.42,-1.92],["c",0,-.12,.09,-.27,.24,-.33],["z"],["m",9.21,0],["c",1.2,-.27,2.34,.63,2.34,1.86],["c",0,.9,-.66,1.68,-1.5,1.89],["c",-1.38,.27,-2.58,-.93,-2.31,-2.31],["c",.15,-.69,.78,-1.29,1.47,-1.44],["z"]],w:19.744,h:11.274},"scripts.sforzato":{d:[["M",-6.45,-3.69],["c",.06,-.03,.15,-.06,.18,-.06],["c",.06,0,2.85,.72,6.24,1.59],["l",6.33,1.65],["c",.33,.06,.45,.21,.45,.51],["c",0,.3,-.12,.45,-.45,.51],["l",-6.33,1.65],["c",-3.39,.87,-6.18,1.59,-6.21,1.59],["c",-.21,0,-.48,-.24,-.51,-.45],["c",0,-.15,.06,-.36,.18,-.45],["c",.09,-.06,.87,-.27,3.84,-1.05],["c",2.04,-.54,3.84,-.99,4.02,-1.02],["c",.15,-.06,1.14,-.24,2.22,-.42],["c",1.05,-.18,1.92,-.36,1.92,-.36],["c",0,0,-.87,-.18,-1.92,-.36],["c",-1.08,-.18,-2.07,-.36,-2.22,-.42],["c",-.18,-.03,-1.98,-.48,-4.02,-1.02],["c",-2.97,-.78,-3.75,-.99,-3.84,-1.05],["c",-.12,-.09,-.18,-.3,-.18,-.45],["c",.03,-.15,.15,-.3,.3,-.39],["z"]],w:13.5,h:7.5},"scripts.staccato":{d:[["M",-.36,-1.47],["c",.93,-.21,1.86,.51,1.86,1.47],["c",0,.93,-.87,1.65,-1.8,1.47],["c",-.54,-.12,-1.02,-.57,-1.14,-1.08],["c",-.21,-.81,.27,-1.65,1.08,-1.86],["z"]],w:2.989,h:3.004},"scripts.tenuto":{d:[["M",-4.2,-.48],["l",.12,-.06],["l",4.08,0],["l",4.08,0],["l",.12,.06],["c",.39,.21,.39,.75,0,.96],["l",-.12,.06],["l",-4.08,0],["l",-4.08,0],["l",-.12,-.06],["c",-.39,-.21,-.39,-.75,0,-.96],["z"]],w:8.985,h:1.08},"scripts.umarcato":{d:[["M",-.15,-8.19],["c",.15,-.12,.36,-.03,.45,.15],["c",.21,.42,3.45,7.65,3.45,7.71],["c",0,.12,-.12,.27,-.21,.3],["c",-.03,.03,-.51,.03,-1.14,.03],["c",-1.05,0,-1.08,0,-1.17,-.06],["c",-.09,-.06,-.24,-.36,-1.17,-2.4],["c",-.57,-1.29,-1.05,-2.34,-1.08,-2.34],["c",0,-.03,-.51,1.02,-1.08,2.34],["c",-.93,2.07,-1.08,2.34,-1.14,2.4],["c",-.06,.03,-.15,.06,-.18,.06],["c",-.15,0,-.33,-.18,-.33,-.33],["c",0,-.06,3.24,-7.32,3.45,-7.71],["c",.03,-.06,.09,-.15,.15,-.15],["z"]],w:7.5,h:8.245},"scripts.dmarcato":{d:[["M",-3.57,.03],["c",.03,0,.57,-.03,1.17,-.03],["c",1.05,0,1.08,0,1.17,.06],["c",.09,.06,.24,.36,1.17,2.4],["c",.57,1.29,1.05,2.34,1.08,2.34],["c",0,.03,.51,-1.02,1.08,-2.34],["c",.93,-2.07,1.08,-2.34,1.14,-2.4],["c",.06,-.03,.15,-.06,.18,-.06],["c",.15,0,.33,.18,.33,.33],["c",0,.09,-3.45,7.74,-3.54,7.83],["c",-.12,.12,-.3,.12,-.42,0],["c",-.09,-.09,-3.54,-7.74,-3.54,-7.83],["c",0,-.09,.12,-.27,.18,-.3],["z"]],w:7.5,h:8.25},"scripts.stopped":{d:[["M",-.27,-4.08],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,1.5],["l",0,1.47],["l",1.47,0],["l",1.5,0],["l",.15,.06],["c",.15,.09,.21,.15,.3,.33],["c",.09,.18,.09,.36,0,.54],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.12,.06,-.18,.06,-1.62,.06],["l",-1.47,0],["l",0,1.47],["l",0,1.47],["l",-.06,.15],["c",-.09,.18,-.15,.24,-.33,.33],["c",-.18,.09,-.36,.09,-.54,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["l",-.06,-.15],["l",0,-1.47],["l",0,-1.47],["l",-1.47,0],["c",-1.44,0,-1.5,0,-1.62,-.06],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.09,-.36,0,-.54],["c",.09,-.18,.15,-.24,.33,-.33],["l",.15,-.06],["l",1.47,0],["l",1.47,0],["l",0,-1.47],["c",0,-1.44,0,-1.5,.06,-1.62],["c",.09,-.18,.15,-.24,.33,-.33],["z"]],w:8.295,h:8.295},"scripts.upbow":{d:[["M",-4.65,-15.54],["c",.12,-.09,.36,-.06,.48,.03],["c",.03,.03,.09,.09,.12,.15],["c",.03,.06,.66,2.13,1.41,4.62],["c",1.35,4.41,1.38,4.56,2.01,6.96],["l",.63,2.46],["l",.63,-2.46],["c",.63,-2.4,.66,-2.55,2.01,-6.96],["c",.75,-2.49,1.38,-4.56,1.41,-4.62],["c",.06,-.15,.18,-.21,.36,-.24],["c",.15,0,.3,.06,.39,.18],["c",.15,.21,.24,-.18,-2.1,7.56],["c",-1.2,3.96,-2.22,7.32,-2.25,7.41],["c",0,.12,-.06,.27,-.09,.3],["c",-.12,.21,-.6,.21,-.72,0],["c",-.03,-.03,-.09,-.18,-.09,-.3],["c",-.03,-.09,-1.05,-3.45,-2.25,-7.41],["c",-2.34,-7.74,-2.25,-7.35,-2.1,-7.56],["c",.03,-.03,.09,-.09,.15,-.12],["z"]],w:9.73,h:15.608},"scripts.downbow":{d:[["M",-5.55,-9.93],["l",.09,-.06],["l",5.46,0],["l",5.46,0],["l",.09,.06],["l",.06,.09],["l",0,4.77],["c",0,5.28,0,4.89,-.18,5.01],["c",-.18,.12,-.42,.06,-.54,-.12],["c",-.06,-.09,-.06,-.18,-.06,-2.97],["l",0,-2.85],["l",-4.83,0],["l",-4.83,0],["l",0,2.85],["c",0,2.79,0,2.88,-.06,2.97],["c",-.15,.24,-.51,.24,-.66,0],["c",-.06,-.09,-.06,-.21,-.06,-4.89],["l",0,-4.77],["z"]],w:11.22,h:9.992},"scripts.turn":{d:[["M",-4.77,-3.9],["c",.36,-.06,1.05,-.06,1.44,.03],["c",.78,.15,1.5,.51,2.34,1.14],["c",.6,.45,1.05,.87,2.22,2.01],["c",1.11,1.08,1.62,1.5,2.22,1.86],["c",.6,.36,1.32,.57,1.92,.57],["c",.9,0,1.71,-.57,1.89,-1.35],["c",.24,-.93,-.39,-1.89,-1.35,-2.1],["l",-.15,-.06],["l",-.09,.15],["c",-.03,.09,-.15,.24,-.24,.33],["c",-.72,.72,-2.04,.54,-2.49,-.36],["c",-.48,-.93,.03,-1.86,1.17,-2.19],["c",.3,-.09,1.02,-.09,1.35,0],["c",.99,.27,1.74,.87,2.25,1.83],["c",.69,1.41,.63,3,-.21,4.26],["c",-.21,.3,-.69,.81,-.99,1.02],["c",-.3,.21,-.84,.45,-1.17,.54],["c",-1.23,.36,-2.49,.15,-3.72,-.6],["c",-.75,-.48,-1.41,-1.02,-2.85,-2.46],["c",-1.11,-1.08,-1.62,-1.5,-2.22,-1.86],["c",-.6,-.36,-1.32,-.57,-1.92,-.57],["c",-.9,0,-1.71,.57,-1.89,1.35],["c",-.24,.93,.39,1.89,1.35,2.1],["l",.15,.06],["l",.09,-.15],["c",.03,-.09,.15,-.24,.24,-.33],["c",.72,-.72,2.04,-.54,2.49,.36],["c",.48,.93,-.03,1.86,-1.17,2.19],["c",-.3,.09,-1.02,.09,-1.35,0],["c",-.99,-.27,-1.74,-.87,-2.25,-1.83],["c",-.69,-1.41,-.63,-3,.21,-4.26],["c",.21,-.3,.69,-.81,.99,-1.02],["c",.48,-.33,1.11,-.57,1.74,-.66],["z"]],w:16.366,h:7.893},"scripts.trill":{d:[["M",-.51,-16.02],["c",.12,-.09,.21,-.18,.21,-.18],["l",-.81,4.02],["l",-.81,4.02],["c",.03,0,.51,-.27,1.08,-.6],["c",.6,-.3,1.14,-.63,1.26,-.66],["c",1.14,-.54,2.31,-.6,3.09,-.18],["c",.27,.15,.54,.36,.6,.51],["l",.06,.12],["l",.21,-.21],["c",.9,-.81,2.22,-.99,3.12,-.42],["c",.6,.42,.9,1.14,.78,2.07],["c",-.15,1.29,-1.05,2.31,-1.95,2.25],["c",-.48,-.03,-.78,-.3,-.96,-.81],["c",-.09,-.27,-.09,-.9,-.03,-1.2],["c",.21,-.75,.81,-1.23,1.59,-1.32],["l",.24,-.03],["l",-.09,-.12],["c",-.51,-.66,-1.62,-.63,-2.31,.03],["c",-.39,.42,-.3,.09,-1.23,4.77],["l",-.81,4.14],["c",-.03,0,-.12,-.03,-.21,-.09],["c",-.33,-.15,-.54,-.18,-.99,-.18],["c",-.42,0,-.66,.03,-1.05,.18],["c",-.12,.06,-.21,.09,-.21,.09],["c",0,-.03,.36,-1.86,.81,-4.11],["c",.9,-4.47,.87,-4.26,.69,-4.53],["c",-.21,-.36,-.66,-.51,-1.17,-.36],["c",-.15,.06,-2.22,1.14,-2.58,1.38],["c",-.12,.09,-.12,.09,-.21,.6],["l",-.09,.51],["l",.21,.24],["c",.63,.75,1.02,1.47,1.2,2.19],["c",.06,.27,.06,.36,.06,.81],["c",0,.42,0,.54,-.06,.78],["c",-.15,.54,-.33,.93,-.63,1.35],["c",-.18,.24,-.57,.63,-.81,.78],["c",-.24,.15,-.63,.36,-.84,.42],["c",-.27,.06,-.66,.06,-.87,.03],["c",-.81,-.18,-1.32,-1.05,-1.38,-2.46],["c",-.03,-.6,.03,-.99,.33,-2.46],["c",.21,-1.08,.24,-1.32,.21,-1.29],["c",-1.2,.48,-2.4,.75,-3.21,.72],["c",-.69,-.06,-1.17,-.3,-1.41,-.72],["c",-.39,-.75,-.12,-1.8,.66,-2.46],["c",.24,-.18,.69,-.42,1.02,-.51],["c",.69,-.18,1.53,-.15,2.31,.09],["c",.3,.09,.75,.3,.99,.45],["c",.12,.09,.15,.09,.15,.03],["c",.03,-.03,.33,-1.59,.72,-3.45],["c",.36,-1.86,.66,-3.42,.69,-3.45],["c",0,-.03,.03,-.03,.21,.03],["c",.21,.06,.27,.06,.48,.06],["c",.42,-.03,.78,-.18,1.26,-.48],["c",.15,-.12,.36,-.27,.48,-.39],["z"],["m",-5.73,7.68],["c",-.27,-.03,-.96,-.06,-1.2,-.03],["c",-.81,.12,-1.35,.57,-1.5,1.2],["c",-.18,.66,.12,1.14,.75,1.29],["c",.66,.12,1.92,-.12,3.18,-.66],["l",.33,-.15],["l",.09,-.39],["c",.06,-.21,.09,-.42,.09,-.45],["c",0,-.03,-.45,-.3,-.75,-.45],["c",-.27,-.15,-.66,-.27,-.99,-.36],["z"],["m",4.29,3.63],["c",-.24,-.39,-.51,-.75,-.51,-.69],["c",-.06,.12,-.39,1.92,-.45,2.28],["c",-.09,.54,-.12,1.14,-.06,1.38],["c",.06,.42,.21,.6,.51,.57],["c",.39,-.06,.75,-.48,.93,-1.14],["c",.09,-.33,.09,-1.05,0,-1.38],["c",-.09,-.39,-.24,-.69,-.42,-1.02],["z"]],w:17.963,h:16.49},"scripts.segno":{d:[["M",-3.72,-11.22],["c",.78,-.09,1.59,.03,2.31,.42],["c",1.2,.6,2.01,1.71,2.31,3.09],["c",.09,.42,.09,1.2,.03,1.5],["c",-.15,.45,-.39,.81,-.66,.93],["c",-.33,.18,-.84,.21,-1.23,.15],["c",-.81,-.18,-1.32,-.93,-1.26,-1.89],["c",.03,-.36,.09,-.57,.24,-.9],["c",.15,-.33,.45,-.6,.72,-.75],["c",.12,-.06,.18,-.09,.18,-.12],["c",0,-.03,-.03,-.15,-.09,-.24],["c",-.18,-.45,-.54,-.87,-.96,-1.08],["c",-1.11,-.57,-2.34,-.18,-2.88,.9],["c",-.24,.51,-.33,1.11,-.24,1.83],["c",.27,1.92,1.5,3.54,3.93,5.13],["c",.48,.33,1.26,.78,1.29,.78],["c",.03,0,1.35,-2.19,2.94,-4.89],["l",2.88,-4.89],["l",.84,0],["l",.87,0],["l",-.03,.06],["c",-.15,.21,-6.15,10.41,-6.15,10.44],["c",0,0,.21,.15,.48,.27],["c",2.61,1.47,4.35,3.03,5.13,4.65],["c",1.14,2.34,.51,5.07,-1.44,6.39],["c",-.66,.42,-1.32,.63,-2.13,.69],["c",-2.01,.09,-3.81,-1.41,-4.26,-3.54],["c",-.09,-.42,-.09,-1.2,-.03,-1.5],["c",.15,-.45,.39,-.81,.66,-.93],["c",.33,-.18,.84,-.21,1.23,-.15],["c",.81,.18,1.32,.93,1.26,1.89],["c",-.03,.36,-.09,.57,-.24,.9],["c",-.15,.33,-.45,.6,-.72,.75],["c",-.12,.06,-.18,.09,-.18,.12],["c",0,.03,.03,.15,.09,.24],["c",.18,.45,.54,.87,.96,1.08],["c",1.11,.57,2.34,.18,2.88,-.9],["c",.24,-.51,.33,-1.11,.24,-1.83],["c",-.27,-1.92,-1.5,-3.54,-3.93,-5.13],["c",-.48,-.33,-1.26,-.78,-1.29,-.78],["c",-.03,0,-1.35,2.19,-2.91,4.89],["l",-2.88,4.89],["l",-.87,0],["l",-.87,0],["l",.03,-.06],["c",.15,-.21,6.15,-10.41,6.15,-10.44],["c",0,0,-.21,-.15,-.48,-.3],["c",-2.61,-1.44,-4.35,-3,-5.13,-4.62],["c",-.9,-1.89,-.72,-4.02,.48,-5.52],["c",.69,-.84,1.68,-1.41,2.73,-1.53],["z"],["m",8.76,9.09],["c",.03,-.03,.15,-.03,.27,-.03],["c",.33,.03,.57,.18,.72,.48],["c",.09,.18,.09,.57,0,.75],["c",-.09,.18,-.21,.3,-.36,.39],["c",-.15,.06,-.21,.06,-.39,.06],["c",-.21,0,-.27,0,-.39,-.06],["c",-.3,-.15,-.48,-.45,-.48,-.75],["c",0,-.39,.24,-.72,.63,-.84],["z"],["m",-10.53,2.61],["c",.03,-.03,.15,-.03,.27,-.03],["c",.33,.03,.57,.18,.72,.48],["c",.09,.18,.09,.57,0,.75],["c",-.09,.18,-.21,.3,-.36,.39],["c",-.15,.06,-.21,.06,-.39,.06],["c",-.21,0,-.27,0,-.39,-.06],["c",-.3,-.15,-.48,-.45,-.48,-.75],["c",0,-.39,.24,-.72,.63,-.84],["z"]],w:15,h:22.504},"scripts.coda":{d:[["M",-.21,-10.47],["c",.18,-.12,.42,-.06,.54,.12],["c",.06,.09,.06,.18,.06,1.5],["l",0,1.38],["l",.18,0],["c",.39,.06,.96,.24,1.38,.48],["c",1.68,.93,2.82,3.24,3.03,6.12],["c",.03,.24,.03,.45,.03,.45],["c",0,.03,.6,.03,1.35,.03],["c",1.5,0,1.47,0,1.59,.18],["c",.09,.12,.09,.3,0,.42],["c",-.12,.18,-.09,.18,-1.59,.18],["c",-.75,0,-1.35,0,-1.35,.03],["c",0,0,0,.21,-.03,.42],["c",-.24,3.15,-1.53,5.58,-3.45,6.36],["c",-.27,.12,-.72,.24,-.96,.27],["l",-.18,0],["l",0,1.38],["c",0,1.32,0,1.41,-.06,1.5],["c",-.15,.24,-.51,.24,-.66,0],["c",-.06,-.09,-.06,-.18,-.06,-1.5],["l",0,-1.38],["l",-.18,0],["c",-.39,-.06,-.96,-.24,-1.38,-.48],["c",-1.68,-.93,-2.82,-3.24,-3.03,-6.15],["c",-.03,-.21,-.03,-.42,-.03,-.42],["c",0,-.03,-.6,-.03,-1.35,-.03],["c",-1.5,0,-1.47,0,-1.59,-.18],["c",-.09,-.12,-.09,-.3,0,-.42],["c",.12,-.18,.09,-.18,1.59,-.18],["c",.75,0,1.35,0,1.35,-.03],["c",0,0,0,-.21,.03,-.45],["c",.24,-3.12,1.53,-5.55,3.45,-6.33],["c",.27,-.12,.72,-.24,.96,-.27],["l",.18,0],["l",0,-1.38],["c",0,-1.53,0,-1.5,.18,-1.62],["z"],["m",-.18,6.93],["c",0,-2.97,0,-3.15,-.06,-3.15],["c",-.09,0,-.51,.15,-.66,.21],["c",-.87,.51,-1.38,1.62,-1.56,3.51],["c",-.06,.54,-.12,1.59,-.12,2.16],["l",0,.42],["l",1.2,0],["l",1.2,0],["l",0,-3.15],["z"],["m",1.17,-3.06],["c",-.09,-.03,-.21,-.06,-.27,-.09],["l",-.12,0],["l",0,3.15],["l",0,3.15],["l",1.2,0],["l",1.2,0],["l",0,-.81],["c",-.06,-2.4,-.33,-3.69,-.93,-4.59],["c",-.27,-.39,-.66,-.69,-1.08,-.81],["z"],["m",-1.17,10.14],["l",0,-3.15],["l",-1.2,0],["l",-1.2,0],["l",0,.81],["c",.03,.96,.06,1.47,.15,2.13],["c",.24,2.04,.96,3.12,2.13,3.36],["l",.12,0],["l",0,-3.15],["z"],["m",3.18,-2.34],["l",0,-.81],["l",-1.2,0],["l",-1.2,0],["l",0,3.15],["l",0,3.15],["l",.12,0],["c",1.17,-.24,1.89,-1.32,2.13,-3.36],["c",.09,-.66,.12,-1.17,.15,-2.13],["z"]],w:16.035,h:21.062},"scripts.comma":{d:[["M",1.14,-4.62],["c",.3,-.12,.69,-.03,.93,.15],["c",.12,.12,.36,.45,.51,.78],["c",.9,1.77,.54,4.05,-1.08,6.75],["c",-.36,.63,-.87,1.38,-.96,1.44],["c",-.18,.12,-.42,.06,-.54,-.12],["c",-.09,-.18,-.09,-.3,.12,-.6],["c",.96,-1.44,1.44,-2.97,1.38,-4.35],["c",-.06,-.93,-.3,-1.68,-.78,-2.46],["c",-.27,-.39,-.33,-.63,-.24,-.96],["c",.09,-.27,.36,-.54,.66,-.63],["z"]],w:3.042,h:9.237},"scripts.roll":{d:[["M",1.95,-6],["c",.21,-.09,.36,-.09,.57,0],["c",.39,.15,.63,.39,1.47,1.35],["c",.66,.75,.78,.87,1.08,1.05],["c",.75,.45,1.65,.42,2.4,-.06],["c",.12,-.09,.27,-.27,.54,-.6],["c",.42,-.54,.51,-.63,.69,-.63],["c",.09,0,.3,.12,.36,.21],["c",.09,.12,.12,.3,.03,.42],["c",-.06,.12,-3.15,3.9,-3.3,4.08],["c",-.06,.06,-.18,.12,-.27,.18],["c",-.27,.12,-.6,.06,-.99,-.27],["c",-.27,-.21,-.42,-.39,-1.08,-1.14],["c",-.63,-.72,-.81,-.9,-1.17,-1.08],["c",-.36,-.18,-.57,-.21,-.99,-.21],["c",-.39,0,-.63,.03,-.93,.18],["c",-.36,.15,-.51,.27,-.9,.81],["c",-.24,.27,-.45,.51,-.48,.54],["c",-.12,.09,-.27,.06,-.39,0],["c",-.24,-.15,-.33,-.39,-.21,-.6],["c",.09,-.12,3.18,-3.87,3.33,-4.02],["c",.06,-.06,.18,-.15,.24,-.21],["z"]],w:10.817,h:6.125},"scripts.prall":{d:[["M",-4.38,-3.69],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["c",.03,0,.57,-.84,1.23,-1.83],["c",1.14,-1.68,1.23,-1.83,1.35,-1.89],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["l",.48,-.69],["c",.51,-.78,.54,-.84,.69,-.9],["c",.42,-.18,.87,.15,.81,.6],["c",-.03,.12,-.3,.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["c",-.03,0,-.57,.84,-1.23,1.83],["c",-1.14,1.68,-1.23,1.83,-1.35,1.89],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-.48,.69],["c",-.51,.78,-.54,.84,-.69,.9],["c",-.42,.18,-.87,-.15,-.81,-.6],["c",.03,-.12,.3,-.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["z"]],w:15.011,h:7.5},"scripts.mordent":{d:[["M",-.21,-4.95],["c",.27,-.15,.63,0,.75,.27],["c",.06,.12,.06,.24,.06,1.44],["l",0,1.29],["l",.57,-.84],["c",.51,-.75,.57,-.84,.69,-.9],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["l",.48,-.69],["c",.51,-.78,.54,-.84,.69,-.9],["c",.42,-.18,.87,.15,.81,.6],["c",-.03,.12,-.3,.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.83,-1.89],["c",-.81,-.99,-1.5,-1.8,-1.53,-1.86],["c",-.06,-.03,-.06,-.03,-.12,.03],["c",-.06,.06,-.06,.15,-.06,2.28],["c",0,1.95,0,2.25,-.06,2.34],["c",-.18,.45,-.81,.48,-1.05,.03],["c",-.03,-.06,-.06,-.24,-.06,-1.41],["l",0,-1.35],["l",-.57,.84],["c",-.54,.78,-.6,.87,-.72,.93],["c",-.06,.03,-.18,.06,-.24,.06],["c",-.3,0,-.27,.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-.48,.69],["c",-.51,.78,-.54,.84,-.69,.9],["c",-.42,.18,-.87,-.15,-.81,-.6],["c",.03,-.12,.3,-.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["c",.06,-.03,.18,-.06,.24,-.06],["c",.3,0,.27,-.03,1.89,1.95],["l",1.53,1.83],["c",.03,0,.06,-.06,.09,-.09],["c",.06,-.12,.06,-.15,.06,-2.28],["c",0,-1.92,0,-2.22,.06,-2.31],["c",.06,-.15,.15,-.24,.3,-.3],["z"]],w:15.011,h:10.012},"flags.u8th":{d:[["M",-.42,3.75],["l",0,-3.75],["l",.21,0],["l",.21,0],["l",0,.18],["c",0,.3,.06,.84,.12,1.23],["c",.24,1.53,.9,3.12,2.13,5.16],["l",.99,1.59],["c",.87,1.44,1.38,2.34,1.77,3.09],["c",.81,1.68,1.2,3.06,1.26,4.53],["c",.03,1.53,-.21,3.27,-.75,5.01],["c",-.21,.69,-.51,1.5,-.6,1.59],["c",-.09,.12,-.27,.21,-.42,.21],["c",-.15,0,-.42,-.12,-.51,-.21],["c",-.15,-.18,-.18,-.42,-.09,-.66],["c",.15,-.33,.45,-1.2,.57,-1.62],["c",.42,-1.38,.6,-2.58,.6,-3.9],["c",0,-.66,0,-.81,-.06,-1.11],["c",-.39,-2.07,-1.8,-4.26,-4.59,-7.14],["l",-.42,-.45],["l",-.21,0],["l",-.21,0],["l",0,-3.75],["z"]],w:6.692,h:22.59},"flags.u16th":{d:[["M",-.42,7.5],["l",0,-7.5],["l",.21,0],["l",.21,0],["l",0,.39],["c",.06,1.08,.39,2.19,.99,3.39],["c",.45,.9,.87,1.59,1.95,3.12],["c",1.29,1.86,1.77,2.64,2.22,3.57],["c",.45,.93,.72,1.8,.87,2.64],["c",.06,.51,.06,1.5,0,1.92],["c",-.12,.6,-.3,1.2,-.54,1.71],["l",-.09,.24],["l",.18,.45],["c",.51,1.2,.72,2.22,.69,3.42],["c",-.06,1.53,-.39,3.03,-.99,4.53],["c",-.3,.75,-.36,.81,-.57,.9],["c",-.15,.09,-.33,.06,-.48,0],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.12,-.75],["c",.66,-1.41,1.02,-2.88,1.08,-4.32],["c",0,-.6,-.03,-1.05,-.18,-1.59],["c",-.3,-1.2,-.99,-2.4,-2.25,-3.87],["c",-.42,-.48,-1.53,-1.62,-2.19,-2.22],["l",-.45,-.42],["l",-.03,1.11],["l",0,1.11],["l",-.21,0],["l",-.21,0],["l",0,-7.5],["z"],["m",1.65,.09],["c",-.3,-.3,-.69,-.72,-.9,-.87],["l",-.33,-.33],["l",0,.15],["c",0,.3,.06,.81,.15,1.26],["c",.27,1.29,.87,2.61,2.04,4.29],["c",.15,.24,.6,.87,.96,1.38],["l",1.08,1.53],["l",.42,.63],["c",.03,0,.12,-.36,.21,-.72],["c",.06,-.33,.06,-1.2,0,-1.62],["c",-.33,-1.71,-1.44,-3.48,-3.63,-5.7],["z"]],w:6.693,h:26.337},"flags.u32nd":{d:[["M",-.42,11.25],["l",0,-11.25],["l",.21,0],["l",.21,0],["l",0,.36],["c",.09,1.68,.69,3.27,2.07,5.46],["l",.87,1.35],["c",1.02,1.62,1.47,2.37,1.86,3.18],["c",.48,1.02,.78,1.92,.93,2.88],["c",.06,.48,.06,1.5,0,1.89],["c",-.09,.42,-.21,.87,-.36,1.26],["l",-.12,.3],["l",.15,.39],["c",.69,1.56,.84,2.88,.54,4.38],["c",-.09,.45,-.27,1.08,-.45,1.47],["l",-.12,.24],["l",.18,.36],["c",.33,.72,.57,1.56,.69,2.34],["c",.12,1.02,-.06,2.52,-.42,3.84],["c",-.27,.93,-.75,2.13,-.93,2.31],["c",-.18,.15,-.45,.18,-.66,.09],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.06,-.6],["c",.21,-.36,.42,-.9,.57,-1.38],["c",.51,-1.41,.69,-3.06,.48,-4.08],["c",-.15,-.81,-.57,-1.68,-1.2,-2.55],["c",-.72,-.99,-1.83,-2.13,-3.3,-3.33],["l",-.48,-.42],["l",-.03,1.53],["l",0,1.56],["l",-.21,0],["l",-.21,0],["l",0,-11.25],["z"],["m",1.26,-3.96],["c",-.27,-.3,-.54,-.6,-.66,-.72],["l",-.18,-.21],["l",0,.42],["c",.06,.87,.24,1.74,.66,2.67],["c",.36,.87,.96,1.86,1.92,3.18],["c",.21,.33,.63,.87,.87,1.23],["c",.27,.39,.6,.84,.75,1.08],["l",.27,.39],["l",.03,-.12],["c",.12,-.45,.15,-1.05,.09,-1.59],["c",-.27,-1.86,-1.38,-3.78,-3.75,-6.33],["z"],["m",-.27,6.09],["c",-.27,-.21,-.48,-.42,-.51,-.45],["c",-.06,-.03,-.06,-.03,-.06,.21],["c",0,.9,.3,2.04,.81,3.09],["c",.48,1.02,.96,1.77,2.37,3.63],["c",.6,.78,1.05,1.44,1.29,1.77],["c",.06,.12,.15,.21,.15,.18],["c",.03,-.03,.18,-.57,.24,-.87],["c",.06,-.45,.06,-1.32,-.03,-1.74],["c",-.09,-.48,-.24,-.9,-.51,-1.44],["c",-.66,-1.35,-1.83,-2.7,-3.75,-4.38],["z"]],w:6.697,h:32.145},"flags.u64th":{d:[["M",-.42,15],["l",0,-15],["l",.21,0],["l",.21,0],["l",0,.36],["c",.06,1.2,.39,2.37,1.02,3.66],["c",.39,.81,.84,1.56,1.8,3.09],["c",.81,1.26,1.05,1.68,1.35,2.22],["c",.87,1.5,1.35,2.79,1.56,4.08],["c",.06,.54,.06,1.56,-.03,2.04],["c",-.09,.48,-.21,.99,-.36,1.35],["l",-.12,.27],["l",.12,.27],["c",.09,.15,.21,.45,.27,.66],["c",.69,1.89,.63,3.66,-.18,5.46],["l",-.18,.39],["l",.15,.33],["c",.3,.66,.51,1.44,.63,2.1],["c",.06,.48,.06,1.35,0,1.71],["c",-.15,.57,-.42,1.2,-.78,1.68],["l",-.21,.27],["l",.18,.33],["c",.57,1.05,.93,2.13,1.02,3.18],["c",.06,.72,0,1.83,-.21,2.79],["c",-.18,1.02,-.63,2.34,-1.02,3.09],["c",-.15,.33,-.48,.45,-.78,.3],["c",-.18,-.09,-.27,-.18,-.33,-.33],["c",-.09,-.18,-.06,-.3,.03,-.54],["c",.75,-1.5,1.23,-3.45,1.17,-4.89],["c",-.06,-1.02,-.42,-2.01,-1.17,-3.15],["c",-.48,-.72,-1.02,-1.35,-1.89,-2.22],["c",-.57,-.57,-1.56,-1.5,-1.92,-1.77],["l",-.12,-.09],["l",0,1.68],["l",0,1.68],["l",-.21,0],["l",-.21,0],["l",0,-15],["z"],["m",.93,-8.07],["c",-.27,-.3,-.48,-.54,-.51,-.54],["c",0,0,0,.69,.03,1.02],["c",.15,1.47,.75,2.94,2.04,4.83],["l",1.08,1.53],["c",.39,.57,.84,1.2,.99,1.44],["c",.15,.24,.3,.45,.3,.45],["c",0,0,.03,-.09,.06,-.21],["c",.36,-1.59,-.15,-3.33,-1.47,-5.4],["c",-.63,-.93,-1.35,-1.83,-2.52,-3.12],["z"],["m",.06,6.72],["c",-.24,-.21,-.48,-.42,-.51,-.45],["l",-.06,-.06],["l",0,.33],["c",0,1.2,.3,2.34,.93,3.6],["c",.45,.9,.96,1.68,2.25,3.51],["c",.39,.54,.84,1.17,1.02,1.44],["c",.21,.33,.33,.51,.33,.48],["c",.06,-.09,.21,-.63,.3,-.99],["c",.06,-.33,.06,-.45,.06,-.96],["c",0,-.6,-.03,-.84,-.18,-1.35],["c",-.3,-1.08,-1.02,-2.28,-2.13,-3.57],["c",-.39,-.45,-1.44,-1.47,-2.01,-1.98],["z"],["m",0,6.72],["c",-.24,-.21,-.48,-.39,-.51,-.42],["l",-.06,-.06],["l",0,.33],["c",0,1.41,.45,2.82,1.38,4.35],["c",.42,.72,.72,1.14,1.86,2.73],["c",.36,.45,.75,.99,.87,1.2],["c",.15,.21,.3,.36,.3,.36],["c",.06,0,.3,-.48,.39,-.75],["c",.09,-.36,.12,-.63,.12,-1.05],["c",-.06,-1.05,-.45,-2.04,-1.2,-3.18],["c",-.57,-.87,-1.11,-1.53,-2.07,-2.49],["c",-.36,-.33,-.84,-.78,-1.08,-1.02],["z"]],w:6.682,h:39.694},"flags.d8th":{d:[["M",5.67,-21.63],["c",.24,-.12,.54,-.06,.69,.15],["c",.06,.06,.21,.36,.39,.66],["c",.84,1.77,1.26,3.36,1.32,5.1],["c",.03,1.29,-.21,2.37,-.81,3.63],["c",-.6,1.23,-1.26,2.13,-3.21,4.38],["c",-1.35,1.53,-1.86,2.19,-2.4,2.97],["c",-.63,.93,-1.11,1.92,-1.38,2.79],["c",-.15,.54,-.27,1.35,-.27,1.8],["l",0,.15],["l",-.21,0],["l",-.21,0],["l",0,-3.75],["l",0,-3.75],["l",.21,0],["l",.21,0],["l",.48,-.3],["c",1.83,-1.11,3.12,-2.1,4.17,-3.12],["c",.78,-.81,1.32,-1.53,1.71,-2.31],["c",.45,-.93,.6,-1.74,.51,-2.88],["c",-.12,-1.56,-.63,-3.18,-1.47,-4.68],["c",-.12,-.21,-.15,-.33,-.06,-.51],["c",.06,-.15,.15,-.24,.33,-.33],["z"]],w:8.492,h:21.691},"flags.ugrace":{d:[["M",6.03,6.93],["c",.15,-.09,.33,-.06,.51,0],["c",.15,.09,.21,.15,.3,.33],["c",.09,.18,.06,.39,-.03,.54],["c",-.06,.15,-10.89,8.88,-11.07,8.97],["c",-.15,.09,-.33,.06,-.48,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.06,-.39,.03,-.54],["c",.06,-.15,10.89,-8.88,11.07,-8.97],["z"]],w:12.019,h:9.954},"flags.dgrace":{d:[["M",-6.06,-15.93],["c",.18,-.09,.33,-.12,.48,-.06],["c",.18,.09,14.01,8.04,14.1,8.1],["c",.12,.12,.18,.33,.18,.51],["c",-.03,.21,-.15,.39,-.36,.48],["c",-.18,.09,-.33,.12,-.48,.06],["c",-.18,-.09,-14.01,-8.04,-14.1,-8.1],["c",-.12,-.12,-.18,-.33,-.18,-.51],["c",.03,-.21,.15,-.39,.36,-.48],["z"]],w:15.12,h:9.212},"flags.d16th":{d:[["M",6.84,-22.53],["c",.27,-.12,.57,-.06,.72,.15],["c",.15,.15,.33,.87,.45,1.56],["c",.06,.33,.06,1.35,0,1.65],["c",-.06,.33,-.15,.78,-.27,1.11],["c",-.12,.33,-.45,.96,-.66,1.32],["l",-.18,.27],["l",.09,.18],["c",.48,1.02,.72,2.25,.69,3.3],["c",-.06,1.23,-.42,2.28,-1.26,3.45],["c",-.57,.87,-.99,1.32,-3,3.39],["c",-1.56,1.56,-2.22,2.4,-2.76,3.45],["c",-.42,.84,-.66,1.8,-.66,2.55],["l",0,.15],["l",-.21,0],["l",-.21,0],["l",0,-7.5],["l",0,-7.5],["l",.21,0],["l",.21,0],["l",0,1.14],["l",0,1.11],["l",.27,-.15],["c",1.11,-.57,1.77,-.99,2.52,-1.47],["c",2.37,-1.56,3.69,-3.15,4.05,-4.83],["c",.03,-.18,.03,-.39,.03,-.78],["c",0,-.6,-.03,-.93,-.24,-1.5],["c",-.06,-.18,-.12,-.39,-.15,-.45],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.63,7.5],["c",-.06,-.18,-.15,-.36,-.15,-.36],["c",-.03,0,-.03,.03,-.06,.06],["c",-.06,.12,-.96,1.02,-1.95,1.98],["c",-.63,.57,-1.26,1.17,-1.44,1.35],["c",-1.53,1.62,-2.28,2.85,-2.55,4.32],["c",-.03,.18,-.03,.54,-.06,.99],["l",0,.69],["l",.18,-.09],["c",.93,-.54,2.1,-1.29,2.82,-1.83],["c",.69,-.51,1.02,-.81,1.53,-1.29],["c",1.86,-1.89,2.37,-3.66,1.68,-5.82],["z"]],w:8.475,h:22.591},"flags.d32nd":{d:[["M",6.84,-29.13],["c",.27,-.12,.57,-.06,.72,.15],["c",.12,.12,.27,.63,.36,1.11],["c",.33,1.59,.06,3.06,-.81,4.47],["l",-.18,.27],["l",.09,.15],["c",.12,.24,.33,.69,.45,1.05],["c",.63,1.83,.45,3.57,-.57,5.22],["l",-.18,.3],["l",.15,.27],["c",.42,.87,.6,1.71,.57,2.61],["c",-.06,1.29,-.48,2.46,-1.35,3.78],["c",-.54,.81,-.93,1.29,-2.46,3],["c",-.51,.54,-1.05,1.17,-1.26,1.41],["c",-1.56,1.86,-2.25,3.36,-2.37,5.01],["l",0,.33],["l",-.21,0],["l",-.21,0],["l",0,-11.25],["l",0,-11.25],["l",.21,0],["l",.21,0],["l",0,1.35],["l",.03,1.35],["l",.78,-.39],["c",1.38,-.69,2.34,-1.26,3.24,-1.92],["c",1.38,-1.02,2.28,-2.13,2.64,-3.21],["c",.15,-.48,.18,-.72,.18,-1.29],["c",0,-.57,-.06,-.9,-.24,-1.47],["c",-.06,-.18,-.12,-.39,-.15,-.45],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.63,7.2],["c",-.09,-.18,-.12,-.21,-.12,-.15],["c",-.03,.09,-1.02,1.08,-2.04,2.04],["c",-1.17,1.08,-1.65,1.56,-2.07,2.04],["c",-.84,.96,-1.38,1.86,-1.68,2.76],["c",-.21,.57,-.27,.99,-.3,1.65],["l",0,.54],["l",.66,-.33],["c",3.57,-1.86,5.49,-3.69,5.94,-5.7],["c",.06,-.39,.06,-1.2,-.03,-1.65],["c",-.06,-.39,-.24,-.9,-.36,-1.2],["z"],["m",-.06,7.2],["c",-.06,-.15,-.12,-.33,-.15,-.45],["l",-.06,-.18],["l",-.18,.21],["l",-1.83,1.83],["c",-.87,.9,-1.77,1.8,-1.95,2.01],["c",-1.08,1.29,-1.62,2.31,-1.89,3.51],["c",-.06,.3,-.06,.51,-.09,.93],["l",0,.57],["l",.09,-.06],["c",.75,-.45,1.89,-1.26,2.52,-1.74],["c",.81,-.66,1.74,-1.53,2.22,-2.16],["c",1.26,-1.53,1.68,-3.06,1.32,-4.47],["z"]],w:8.385,h:29.191},"flags.d64th":{d:[["M",7.08,-32.88],["c",.3,-.12,.66,-.03,.78,.24],["c",.18,.33,.27,2.1,.15,2.64],["c",-.09,.39,-.21,.78,-.39,1.08],["l",-.15,.3],["l",.09,.27],["c",.03,.12,.09,.45,.12,.69],["c",.27,1.44,.18,2.55,-.3,3.6],["l",-.12,.33],["l",.06,.42],["c",.27,1.35,.33,2.82,.21,3.63],["c",-.12,.6,-.3,1.23,-.57,1.8],["l",-.15,.27],["l",.03,.42],["c",.06,1.02,.06,2.7,.03,3.06],["c",-.15,1.47,-.66,2.76,-1.74,4.41],["c",-.45,.69,-.75,1.11,-1.74,2.37],["c",-1.05,1.38,-1.5,1.98,-1.95,2.73],["c",-.93,1.5,-1.38,2.82,-1.44,4.2],["l",0,.42],["l",-.21,0],["l",-.21,0],["l",0,-15],["l",0,-15],["l",.21,0],["l",.21,0],["l",0,1.86],["l",0,1.89],["c",0,0,.21,-.03,.45,-.09],["c",2.22,-.39,4.08,-1.11,5.19,-2.01],["c",.63,-.54,1.02,-1.14,1.2,-1.8],["c",.06,-.3,.06,-1.14,-.03,-1.65],["c",-.03,-.18,-.06,-.39,-.09,-.48],["c",-.03,-.24,.12,-.48,.36,-.6],["z"],["m",-.45,6.15],["c",-.03,-.18,-.06,-.42,-.06,-.54],["l",-.03,-.18],["l",-.33,.3],["c",-.42,.36,-.87,.72,-1.68,1.29],["c",-1.98,1.38,-2.25,1.59,-2.85,2.16],["c",-.75,.69,-1.23,1.44,-1.47,2.19],["c",-.15,.45,-.18,.63,-.21,1.35],["l",0,.66],["l",.39,-.18],["c",1.83,-.9,3.45,-1.95,4.47,-2.91],["c",.93,-.9,1.53,-1.83,1.74,-2.82],["c",.06,-.33,.06,-.87,.03,-1.32],["z"],["m",-.27,4.86],["c",-.03,-.21,-.06,-.36,-.06,-.36],["c",0,-.03,-.12,.09,-.24,.24],["c",-.39,.48,-.99,1.08,-2.16,2.19],["c",-1.47,1.38,-1.92,1.83,-2.46,2.49],["c",-.66,.87,-1.08,1.74,-1.29,2.58],["c",-.09,.42,-.15,.87,-.15,1.44],["l",0,.54],["l",.48,-.33],["c",1.5,-1.02,2.58,-1.89,3.51,-2.82],["c",1.47,-1.47,2.25,-2.85,2.4,-4.26],["c",.03,-.39,.03,-1.17,-.03,-1.71],["z"],["m",-.66,7.68],["c",.03,-.15,.03,-.6,.03,-.99],["l",0,-.72],["l",-.27,.33],["l",-1.74,1.98],["c",-1.77,1.92,-2.43,2.76,-2.97,3.9],["c",-.51,1.02,-.72,1.77,-.75,2.91],["c",0,.63,0,.63,.06,.6],["c",.03,-.03,.3,-.27,.63,-.54],["c",.66,-.6,1.86,-1.8,2.31,-2.31],["c",1.65,-1.89,2.52,-3.54,2.7,-5.16],["z"]],w:8.485,h:32.932},"clefs.C":{d:[["M",.06,-14.94],["l",.09,-.06],["l",1.92,0],["l",1.92,0],["l",.09,.06],["l",.06,.09],["l",0,14.85],["l",0,14.82],["l",-.06,.09],["l",-.09,.06],["l",-1.92,0],["l",-1.92,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-14.82],["l",0,-14.85],["z"],["m",5.37,0],["c",.09,-.06,.09,-.06,.57,-.06],["c",.45,0,.45,0,.54,.06],["l",.06,.09],["l",0,7.14],["l",0,7.11],["l",.09,-.06],["c",.18,-.18,.72,-.84,.96,-1.2],["c",.3,-.45,.66,-1.17,.84,-1.65],["c",.36,-.9,.57,-1.83,.6,-2.79],["c",.03,-.48,.03,-.54,.09,-.63],["c",.12,-.18,.36,-.21,.54,-.12],["c",.18,.09,.21,.15,.24,.66],["c",.06,.87,.21,1.56,.57,2.22],["c",.51,1.02,1.26,1.68,2.22,1.92],["c",.21,.06,.33,.06,.78,.06],["c",.45,0,.57,0,.84,-.06],["c",.45,-.12,.81,-.33,1.08,-.6],["c",.57,-.57,.87,-1.41,.99,-2.88],["c",.06,-.54,.06,-3,0,-3.57],["c",-.21,-2.58,-.84,-3.87,-2.16,-4.5],["c",-.48,-.21,-1.17,-.36,-1.77,-.36],["c",-.69,0,-1.29,.27,-1.5,.72],["c",-.06,.15,-.06,.21,-.06,.42],["c",0,.24,0,.3,.06,.45],["c",.12,.24,.24,.39,.63,.66],["c",.42,.3,.57,.48,.69,.72],["c",.06,.15,.06,.21,.06,.48],["c",0,.39,-.03,.63,-.21,.96],["c",-.3,.6,-.87,1.08,-1.5,1.26],["c",-.27,.06,-.87,.06,-1.14,0],["c",-.78,-.24,-1.44,-.87,-1.65,-1.68],["c",-.12,-.42,-.09,-1.17,.09,-1.71],["c",.51,-1.65,1.98,-2.82,3.81,-3.09],["c",.84,-.09,2.46,.03,3.51,.27],["c",2.22,.57,3.69,1.8,4.44,3.75],["c",.36,.93,.57,2.13,.57,3.36],["c",0,1.44,-.48,2.73,-1.38,3.81],["c",-1.26,1.5,-3.27,2.43,-5.28,2.43],["c",-.48,0,-.51,0,-.75,-.09],["c",-.15,-.03,-.48,-.21,-.78,-.36],["c",-.69,-.36,-.87,-.42,-1.26,-.42],["c",-.27,0,-.3,0,-.51,.09],["c",-.57,.3,-.81,.9,-.81,2.1],["c",0,1.23,.24,1.83,.81,2.13],["c",.21,.09,.24,.09,.51,.09],["c",.39,0,.57,-.06,1.26,-.42],["c",.3,-.15,.63,-.33,.78,-.36],["c",.24,-.09,.27,-.09,.75,-.09],["c",2.01,0,4.02,.93,5.28,2.4],["c",.9,1.11,1.38,2.4,1.38,3.84],["c",0,1.5,-.3,2.88,-.84,3.96],["c",-.78,1.59,-2.19,2.64,-4.17,3.15],["c",-1.05,.24,-2.67,.36,-3.51,.27],["c",-1.83,-.27,-3.3,-1.44,-3.81,-3.09],["c",-.18,-.54,-.21,-1.29,-.09,-1.74],["c",.15,-.6,.63,-1.2,1.23,-1.47],["c",.36,-.18,.57,-.21,.99,-.21],["c",.42,0,.63,.03,1.02,.21],["c",.42,.21,.84,.63,1.05,1.05],["c",.18,.36,.21,.6,.21,.96],["c",0,.3,0,.36,-.06,.51],["c",-.12,.24,-.27,.42,-.69,.72],["c",-.57,.42,-.69,.63,-.69,1.08],["c",0,.24,0,.3,.06,.45],["c",.12,.21,.3,.39,.57,.54],["c",.42,.18,.87,.21,1.53,.15],["c",1.08,-.15,1.8,-.57,2.34,-1.32],["c",.54,-.75,.84,-1.83,.99,-3.51],["c",.06,-.57,.06,-3.03,0,-3.57],["c",-.12,-1.47,-.42,-2.31,-.99,-2.88],["c",-.27,-.27,-.63,-.48,-1.08,-.6],["c",-.27,-.06,-.39,-.06,-.84,-.06],["c",-.45,0,-.57,0,-.78,.06],["c",-1.14,.27,-2.01,1.17,-2.46,2.49],["c",-.21,.57,-.3,.99,-.33,1.65],["c",-.03,.51,-.06,.57,-.24,.66],["c",-.12,.06,-.27,.06,-.39,0],["c",-.21,-.09,-.21,-.15,-.24,-.75],["c",-.09,-1.92,-.78,-3.72,-2.01,-5.19],["c",-.18,-.21,-.36,-.42,-.39,-.45],["l",-.09,-.06],["l",0,7.11],["l",0,7.14],["l",-.06,.09],["c",-.09,.06,-.09,.06,-.54,.06],["c",-.48,0,-.48,0,-.57,-.06],["l",-.06,-.09],["l",0,-14.82],["l",0,-14.85],["z"]],w:20.31,h:29.97},"clefs.F":{d:[["M",6.3,-7.8],["c",.36,-.03,1.65,0,2.13,.03],["c",3.6,.42,6.03,2.1,6.93,4.86],["c",.27,.84,.36,1.5,.36,2.58],["c",0,.9,-.03,1.35,-.18,2.16],["c",-.78,3.78,-3.54,7.08,-8.37,9.96],["c",-1.74,1.05,-3.87,2.13,-6.18,3.12],["c",-.39,.18,-.75,.33,-.81,.36],["c",-.06,.03,-.15,.06,-.18,.06],["c",-.15,0,-.33,-.18,-.33,-.33],["c",0,-.15,.06,-.21,.51,-.48],["c",3,-1.77,5.13,-3.21,6.84,-4.74],["c",.51,-.45,1.59,-1.5,1.95,-1.95],["c",1.89,-2.19,2.88,-4.32,3.15,-6.78],["c",.06,-.42,.06,-1.77,0,-2.19],["c",-.24,-2.01,-.93,-3.63,-2.04,-4.71],["c",-.63,-.63,-1.29,-1.02,-2.07,-1.2],["c",-1.62,-.39,-3.36,.15,-4.56,1.44],["c",-.54,.6,-1.05,1.47,-1.32,2.22],["l",-.09,.21],["l",.24,-.12],["c",.39,-.21,.63,-.24,1.11,-.24],["c",.3,0,.45,0,.66,.06],["c",1.92,.48,2.85,2.55,1.95,4.38],["c",-.45,.99,-1.41,1.62,-2.46,1.71],["c",-1.47,.09,-2.91,-.87,-3.39,-2.25],["c",-.18,-.57,-.21,-1.32,-.03,-2.28],["c",.39,-2.25,1.83,-4.2,3.81,-5.19],["c",.69,-.36,1.59,-.6,2.37,-.69],["z"],["m",11.58,2.52],["c",.84,-.21,1.71,.3,1.89,1.14],["c",.3,1.17,-.72,2.19,-1.89,1.89],["c",-.99,-.21,-1.5,-1.32,-1.02,-2.25],["c",.18,-.39,.6,-.69,1.02,-.78],["z"],["m",0,7.5],["c",.84,-.21,1.71,.3,1.89,1.14],["c",.21,.87,-.3,1.71,-1.14,1.89],["c",-.87,.21,-1.71,-.3,-1.89,-1.14],["c",-.21,-.84,.3,-1.71,1.14,-1.89],["z"]],w:20.153,h:23.142},"clefs.G":{d:[["M",9.69,-37.41],["c",.09,-.09,.24,-.06,.36,0],["c",.12,.09,.57,.6,.96,1.11],["c",1.77,2.34,3.21,5.85,3.57,8.73],["c",.21,1.56,.03,3.27,-.45,4.86],["c",-.69,2.31,-1.92,4.47,-4.23,7.44],["c",-.3,.39,-.57,.72,-.6,.75],["c",-.03,.06,0,.15,.18,.78],["c",.54,1.68,1.38,4.44,1.68,5.49],["l",.09,.42],["l",.39,0],["c",1.47,.09,2.76,.51,3.96,1.29],["c",1.83,1.23,3.06,3.21,3.39,5.52],["c",.09,.45,.12,1.29,.06,1.74],["c",-.09,1.02,-.33,1.83,-.75,2.73],["c",-.84,1.71,-2.28,3.06,-4.02,3.72],["l",-.33,.12],["l",.03,1.26],["c",0,1.74,-.06,3.63,-.21,4.62],["c",-.45,3.06,-2.19,5.49,-4.47,6.21],["c",-.57,.18,-.9,.21,-1.59,.21],["c",-.69,0,-1.02,-.03,-1.65,-.21],["c",-1.14,-.27,-2.13,-.84,-2.94,-1.65],["c",-.99,-.99,-1.56,-2.16,-1.71,-3.54],["c",-.09,-.81,.06,-1.53,.45,-2.13],["c",.63,-.99,1.83,-1.56,3,-1.53],["c",1.5,.09,2.64,1.32,2.73,2.94],["c",.06,1.47,-.93,2.7,-2.37,2.97],["c",-.45,.06,-.84,.03,-1.29,-.09],["l",-.21,-.09],["l",.09,.12],["c",.39,.54,.78,.93,1.32,1.26],["c",1.35,.87,3.06,1.02,4.35,.36],["c",1.44,-.72,2.52,-2.28,2.97,-4.35],["c",.15,-.66,.24,-1.5,.3,-3.03],["c",.03,-.84,.03,-2.94,0,-3],["c",-.03,0,-.18,0,-.36,.03],["c",-.66,.12,-.99,.12,-1.83,.12],["c",-1.05,0,-1.71,-.06,-2.61,-.3],["c",-4.02,-.99,-7.11,-4.35,-7.8,-8.46],["c",-.12,-.66,-.12,-.99,-.12,-1.83],["c",0,-.84,0,-1.14,.15,-1.92],["c",.36,-2.28,1.41,-4.62,3.3,-7.29],["l",2.79,-3.6],["c",.54,-.66,.96,-1.2,.96,-1.23],["c",0,-.03,-.09,-.33,-.18,-.69],["c",-.96,-3.21,-1.41,-5.28,-1.59,-7.68],["c",-.12,-1.38,-.15,-3.09,-.06,-3.96],["c",.33,-2.67,1.38,-5.07,3.12,-7.08],["c",.36,-.42,.99,-1.05,1.17,-1.14],["z"],["m",2.01,4.71],["c",-.15,-.3,-.3,-.54,-.3,-.54],["c",-.03,0,-.18,.09,-.3,.21],["c",-2.4,1.74,-3.87,4.2,-4.26,7.11],["c",-.06,.54,-.06,1.41,-.03,1.89],["c",.09,1.29,.48,3.12,1.08,5.22],["c",.15,.42,.24,.78,.24,.81],["c",0,.03,.84,-1.11,1.23,-1.68],["c",1.89,-2.73,2.88,-5.07,3.15,-7.53],["c",.09,-.57,.12,-1.74,.06,-2.37],["c",-.09,-1.23,-.27,-1.92,-.87,-3.12],["z"],["m",-2.94,20.7],["c",-.21,-.72,-.39,-1.32,-.42,-1.32],["c",0,0,-1.2,1.47,-1.86,2.37],["c",-2.79,3.63,-4.02,6.3,-4.35,9.3],["c",-.03,.21,-.03,.69,-.03,1.08],["c",0,.69,0,.75,.06,1.11],["c",.12,.54,.27,.99,.51,1.47],["c",.69,1.38,1.83,2.55,3.42,3.42],["c",.96,.54,2.07,.9,3.21,1.08],["c",.78,.12,2.04,.12,2.94,-.03],["c",.51,-.06,.45,-.03,.42,-.3],["c",-.24,-3.33,-.72,-6.33,-1.62,-10.08],["c",-.09,-.39,-.18,-.75,-.18,-.78],["c",-.03,-.03,-.42,0,-.81,.09],["c",-.9,.18,-1.65,.57,-2.22,1.14],["c",-.72,.72,-1.08,1.65,-1.05,2.64],["c",.06,.96,.48,1.83,1.23,2.58],["c",.36,.36,.72,.63,1.17,.9],["c",.33,.18,.36,.21,.42,.33],["c",.18,.42,-.18,.9,-.6,.87],["c",-.18,-.03,-.84,-.36,-1.26,-.63],["c",-.78,-.51,-1.38,-1.11,-1.86,-1.83],["c",-1.77,-2.7,-.99,-6.42,1.71,-8.19],["c",.3,-.21,.81,-.48,1.17,-.63],["c",.3,-.09,1.02,-.3,1.14,-.3],["c",.06,0,.09,0,.09,-.03],["c",.03,-.03,-.51,-1.92,-1.23,-4.26],["z"],["m",3.78,7.41],["c",-.18,-.03,-.36,-.06,-.39,-.06],["c",-.03,0,0,.21,.18,1.02],["c",.75,3.18,1.26,6.3,1.5,9.09],["c",.06,.72,0,.69,.51,.42],["c",.78,-.36,1.44,-.96,1.98,-1.77],["c",1.08,-1.62,1.2,-3.69,.3,-5.55],["c",-.81,-1.62,-2.31,-2.79,-4.08,-3.15],["z"]],w:19.051,h:57.057},"clefs.perc":{d:[["M",5.07,-7.44],["l",.09,-.06],["l",1.53,0],["l",1.53,0],["l",.09,.06],["l",.06,.09],["l",0,7.35],["l",0,7.32],["l",-.06,.09],["l",-.09,.06],["l",-1.53,0],["l",-1.53,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-7.32],["l",0,-7.35],["z"],["m",6.63,0],["l",.09,-.06],["l",1.53,0],["l",1.53,0],["l",.09,.06],["l",.06,.09],["l",0,7.35],["l",0,7.32],["l",-.06,.09],["l",-.09,.06],["l",-1.53,0],["l",-1.53,0],["l",-.09,-.06],["l",-.06,-.09],["l",0,-7.32],["l",0,-7.35],["z"]],w:9.99,h:14.97},"timesig.common":{d:[["M",6.66,-7.83],["c",.72,-.06,1.41,-.03,1.98,.09],["c",1.2,.27,2.34,.96,3.09,1.92],["c",.63,.81,1.08,1.86,1.14,2.73],["c",.06,1.02,-.51,1.92,-1.44,2.22],["c",-.24,.09,-.3,.09,-.63,.09],["c",-.33,0,-.42,0,-.63,-.06],["c",-.66,-.24,-1.14,-.63,-1.41,-1.2],["c",-.15,-.3,-.21,-.51,-.24,-.9],["c",-.06,-1.08,.57,-2.04,1.56,-2.37],["c",.18,-.06,.27,-.06,.63,-.06],["l",.45,0],["c",.06,.03,.09,.03,.09,0],["c",0,0,-.09,-.12,-.24,-.27],["c",-1.02,-1.11,-2.55,-1.68,-4.08,-1.5],["c",-1.29,.15,-2.04,.69,-2.4,1.74],["c",-.36,.93,-.42,1.89,-.42,5.37],["c",0,2.97,.06,3.96,.24,4.77],["c",.24,1.08,.63,1.68,1.41,2.07],["c",.81,.39,2.16,.45,3.18,.09],["c",1.29,-.45,2.37,-1.53,3.03,-2.97],["c",.15,-.33,.33,-.87,.39,-1.17],["c",.09,-.24,.15,-.36,.3,-.39],["c",.21,-.03,.42,.15,.39,.36],["c",-.06,.39,-.42,1.38,-.69,1.89],["c",-.96,1.8,-2.49,2.94,-4.23,3.18],["c",-.99,.12,-2.58,-.06,-3.63,-.45],["c",-.96,-.36,-1.71,-.84,-2.4,-1.5],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-.06,-.6,-.06,-2.01,0,-2.61],["c",.24,-1.95,.9,-3.45,2.01,-4.56],["c",.69,-.66,1.44,-1.11,2.37,-1.47],["c",.63,-.24,1.47,-.42,2.22,-.48],["z"]],w:13.038,h:15.689},"timesig.cut":{d:[["M",6.24,-10.44],["c",.09,-.06,.09,-.06,.48,-.06],["c",.36,0,.36,0,.45,.06],["l",.06,.09],["l",0,1.23],["l",0,1.26],["l",.27,0],["c",1.26,0,2.49,.45,3.48,1.29],["c",1.05,.87,1.8,2.28,1.89,3.48],["c",.06,1.02,-.51,1.92,-1.44,2.22],["c",-.24,.09,-.3,.09,-.63,.09],["c",-.33,0,-.42,0,-.63,-.06],["c",-.66,-.24,-1.14,-.63,-1.41,-1.2],["c",-.15,-.3,-.21,-.51,-.24,-.9],["c",-.06,-1.08,.57,-2.04,1.56,-2.37],["c",.18,-.06,.27,-.06,.63,-.06],["l",.45,0],["c",.06,.03,.09,.03,.09,0],["c",0,-.03,-.45,-.51,-.66,-.69],["c",-.87,-.69,-1.83,-1.05,-2.94,-1.11],["l",-.42,0],["l",0,7.17],["l",0,7.14],["l",.42,0],["c",.69,-.03,1.23,-.18,1.86,-.51],["c",1.05,-.51,1.89,-1.47,2.46,-2.7],["c",.15,-.33,.33,-.87,.39,-1.17],["c",.09,-.24,.15,-.36,.3,-.39],["c",.21,-.03,.42,.15,.39,.36],["c",-.03,.24,-.21,.78,-.39,1.2],["c",-.96,2.37,-2.94,3.9,-5.13,3.9],["l",-.3,0],["l",0,1.26],["l",0,1.23],["l",-.06,.09],["c",-.09,.06,-.09,.06,-.45,.06],["c",-.39,0,-.39,0,-.48,-.06],["l",-.06,-.09],["l",0,-1.29],["l",0,-1.29],["l",-.21,-.03],["c",-1.23,-.21,-2.31,-.63,-3.21,-1.29],["c",-.15,-.09,-.45,-.36,-.66,-.57],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-.06,-.6,-.06,-2.01,0,-2.61],["c",.24,-1.95,.93,-3.45,2.04,-4.59],["c",.42,-.39,.78,-.66,1.26,-.93],["c",.75,-.45,1.65,-.75,2.61,-.9],["l",.21,-.03],["l",0,-1.29],["l",0,-1.29],["z"],["m",-.06,10.44],["c",0,-5.58,0,-6.99,-.03,-6.99],["c",-.15,0,-.63,.27,-.87,.45],["c",-.45,.36,-.75,.93,-.93,1.77],["c",-.18,.81,-.24,1.8,-.24,4.74],["c",0,2.97,.06,3.96,.24,4.77],["c",.24,1.08,.66,1.68,1.41,2.07],["c",.12,.06,.3,.12,.33,.15],["l",.09,0],["l",0,-6.96],["z"]],w:13.038,h:20.97},f:{d:[["M",9.93,-14.28],["c",1.53,-.18,2.88,.45,3.12,1.5],["c",.12,.51,0,1.32,-.27,1.86],["c",-.15,.3,-.42,.57,-.63,.69],["c",-.69,.36,-1.56,.03,-1.83,-.69],["c",-.09,-.24,-.09,-.69,0,-.87],["c",.06,-.12,.21,-.24,.45,-.42],["c",.42,-.24,.57,-.45,.6,-.72],["c",.03,-.33,-.09,-.39,-.63,-.42],["c",-.3,0,-.45,0,-.6,.03],["c",-.81,.21,-1.35,.93,-1.74,2.46],["c",-.06,.27,-.48,2.25,-.48,2.31],["c",0,.03,.39,.03,.9,.03],["c",.72,0,.9,0,.99,.06],["c",.42,.15,.45,.72,.03,.9],["c",-.12,.06,-.24,.06,-1.17,.06],["l",-1.05,0],["l",-.78,2.55],["c",-.45,1.41,-.87,2.79,-.96,3.06],["c",-.87,2.37,-2.37,4.74,-3.78,5.91],["c",-1.05,.9,-2.04,1.23,-3.09,1.08],["c",-1.11,-.18,-1.89,-.78,-2.04,-1.59],["c",-.12,-.66,.15,-1.71,.54,-2.19],["c",.69,-.75,1.86,-.54,2.22,.39],["c",.06,.15,.09,.27,.09,.48],["c",0,.24,-.03,.27,-.12,.42],["c",-.03,.09,-.15,.18,-.27,.27],["c",-.09,.06,-.27,.21,-.36,.27],["c",-.24,.18,-.36,.36,-.39,.6],["c",-.03,.33,.09,.39,.63,.42],["c",.42,0,.63,-.03,.9,-.15],["c",.6,-.3,.96,-.96,1.38,-2.64],["c",.09,-.42,.63,-2.55,1.17,-4.77],["l",1.02,-4.08],["c",0,-.03,-.36,-.03,-.81,-.03],["c",-.72,0,-.81,0,-.93,-.06],["c",-.42,-.18,-.39,-.75,.03,-.9],["c",.09,-.06,.27,-.06,1.05,-.06],["l",.96,0],["l",0,-.09],["c",.06,-.18,.3,-.72,.51,-1.17],["c",1.2,-2.46,3.3,-4.23,5.34,-4.5],["z"]],w:16.155,h:19.445},m:{d:[["M",2.79,-8.91],["c",.09,0,.3,-.03,.45,-.03],["c",.24,.03,.3,.03,.45,.12],["c",.36,.15,.63,.54,.75,1.02],["l",.03,.21],["l",.33,-.3],["c",.69,-.69,1.38,-1.02,2.07,-1.02],["c",.27,0,.33,0,.48,.06],["c",.21,.09,.48,.36,.63,.6],["c",.03,.09,.12,.27,.18,.42],["c",.03,.15,.09,.27,.12,.27],["c",0,0,.09,-.09,.18,-.21],["c",.33,-.39,.87,-.81,1.29,-.99],["c",.78,-.33,1.47,-.21,2.01,.33],["c",.3,.33,.48,.69,.6,1.14],["c",.09,.42,.06,.54,-.54,3.06],["c",-.33,1.29,-.57,2.4,-.57,2.43],["c",0,.12,.09,.21,.21,.21],["c",.24,0,.75,-.3,1.2,-.72],["c",.45,-.39,.6,-.45,.78,-.27],["c",.18,.18,.09,.36,-.45,.87],["c",-1.05,.96,-1.83,1.47,-2.58,1.71],["c",-.93,.33,-1.53,.21,-1.8,-.33],["c",-.06,-.15,-.06,-.21,-.06,-.45],["c",0,-.24,.03,-.48,.6,-2.82],["c",.42,-1.71,.6,-2.64,.63,-2.79],["c",.03,-.57,-.3,-.75,-.84,-.48],["c",-.24,.12,-.54,.39,-.66,.63],["c",-.03,.09,-.42,1.38,-.9,3],["c",-.9,3.15,-.84,3,-1.14,3.15],["l",-.15,.09],["l",-.78,0],["c",-.6,0,-.78,0,-.84,-.06],["c",-.09,-.03,-.18,-.18,-.18,-.27],["c",0,-.03,.36,-1.38,.84,-2.97],["c",.57,-2.04,.81,-2.97,.84,-3.12],["c",.03,-.54,-.3,-.72,-.84,-.45],["c",-.24,.12,-.57,.42,-.66,.63],["c",-.06,.09,-.51,1.44,-1.05,2.97],["c",-.51,1.56,-.99,2.85,-.99,2.91],["c",-.06,.12,-.21,.24,-.36,.3],["c",-.12,.06,-.21,.06,-.9,.06],["c",-.6,0,-.78,0,-.84,-.06],["c",-.09,-.03,-.18,-.18,-.18,-.27],["c",0,-.03,.45,-1.38,.99,-2.97],["c",1.05,-3.18,1.05,-3.18,.93,-3.45],["c",-.12,-.27,-.39,-.3,-.72,-.15],["c",-.54,.27,-1.14,1.17,-1.56,2.4],["c",-.06,.15,-.15,.3,-.18,.36],["c",-.21,.21,-.57,.27,-.72,.09],["c",-.09,-.09,-.06,-.21,.06,-.63],["c",.48,-1.26,1.26,-2.46,2.01,-3.21],["c",.57,-.54,1.2,-.87,1.83,-1.02],["z"]],w:14.687,h:9.126},p:{d:[["M",1.92,-8.7],["c",.27,-.09,.81,-.06,1.11,.03],["c",.54,.18,.93,.51,1.17,.99],["c",.09,.15,.15,.33,.18,.36],["l",0,.12],["l",.3,-.27],["c",.66,-.6,1.35,-1.02,2.13,-1.2],["c",.21,-.06,.33,-.06,.78,-.06],["c",.45,0,.51,0,.84,.09],["c",1.29,.33,2.07,1.32,2.25,2.79],["c",.09,.81,-.09,2.01,-.45,2.79],["c",-.54,1.26,-1.86,2.55,-3.18,3.03],["c",-.45,.18,-.81,.24,-1.29,.24],["c",-.69,-.03,-1.35,-.18,-1.86,-.45],["c",-.3,-.15,-.51,-.18,-.69,-.09],["c",-.09,.03,-.18,.09,-.18,.12],["c",-.09,.12,-1.05,2.94,-1.05,3.06],["c",0,.24,.18,.48,.51,.63],["c",.18,.06,.54,.15,.75,.15],["c",.21,0,.36,.06,.42,.18],["c",.12,.18,.06,.42,-.12,.54],["c",-.09,.03,-.15,.03,-.78,0],["c",-1.98,-.15,-3.81,-.15,-5.79,0],["c",-.63,.03,-.69,.03,-.78,0],["c",-.24,-.15,-.24,-.57,.03,-.66],["c",.06,-.03,.48,-.09,.99,-.12],["c",.87,-.06,1.11,-.09,1.35,-.21],["c",.18,-.06,.33,-.18,.39,-.3],["c",.06,-.12,3.24,-9.42,3.27,-9.6],["c",.06,-.33,.03,-.57,-.15,-.69],["c",-.09,-.06,-.12,-.06,-.3,-.06],["c",-.69,.06,-1.53,1.02,-2.28,2.61],["c",-.09,.21,-.21,.45,-.27,.51],["c",-.09,.12,-.33,.24,-.48,.24],["c",-.18,0,-.36,-.15,-.36,-.3],["c",0,-.24,.78,-1.83,1.26,-2.55],["c",.72,-1.11,1.47,-1.74,2.28,-1.92],["z"],["m",5.37,1.47],["c",-.27,-.12,-.75,-.03,-1.14,.21],["c",-.75,.48,-1.47,1.68,-1.89,3.15],["c",-.45,1.47,-.42,2.34,0,2.7],["c",.45,.39,1.26,.21,1.83,-.36],["c",.51,-.51,.99,-1.68,1.38,-3.27],["c",.3,-1.17,.33,-1.74,.15,-2.13],["c",-.09,-.15,-.15,-.21,-.33,-.3],["z"]],w:14.689,h:13.127},r:{d:[["M",6.33,-9.12],["c",.27,-.03,.93,0,1.2,.06],["c",.84,.21,1.23,.81,1.02,1.53],["c",-.24,.75,-.9,1.17,-1.56,.96],["c",-.33,-.09,-.51,-.3,-.66,-.75],["c",-.03,-.12,-.09,-.24,-.12,-.3],["c",-.09,-.15,-.3,-.24,-.48,-.24],["c",-.57,0,-1.38,.54,-1.65,1.08],["c",-.06,.15,-.33,1.17,-.9,3.27],["c",-.57,2.31,-.81,3.12,-.87,3.21],["c",-.03,.06,-.12,.15,-.18,.21],["l",-.12,.06],["l",-.81,.03],["c",-.69,0,-.81,0,-.9,-.03],["c",-.09,-.06,-.18,-.21,-.18,-.3],["c",0,-.06,.39,-1.62,.9,-3.51],["c",.84,-3.24,.87,-3.45,.87,-3.72],["c",0,-.21,0,-.27,-.03,-.36],["c",-.12,-.15,-.21,-.24,-.42,-.24],["c",-.24,0,-.45,.15,-.78,.42],["c",-.33,.36,-.45,.54,-.72,1.14],["c",-.03,.12,-.21,.24,-.36,.27],["c",-.12,0,-.15,0,-.24,-.06],["c",-.18,-.12,-.18,-.21,-.06,-.54],["c",.21,-.57,.42,-.93,.78,-1.32],["c",.54,-.51,1.2,-.81,1.95,-.87],["c",.81,-.03,1.53,.3,1.92,.87],["l",.12,.18],["l",.09,-.09],["c",.57,-.45,1.41,-.84,2.19,-.96],["z"]],w:9.41,h:9.132},s:{d:[["M",4.47,-8.73],["c",.09,0,.36,-.03,.57,-.03],["c",.75,.03,1.29,.24,1.71,.63],["c",.51,.54,.66,1.26,.36,1.83],["c",-.24,.42,-.63,.57,-1.11,.42],["c",-.33,-.09,-.6,-.36,-.6,-.57],["c",0,-.03,.06,-.21,.15,-.39],["c",.12,-.21,.15,-.33,.18,-.48],["c",0,-.24,-.06,-.48,-.15,-.6],["c",-.15,-.21,-.42,-.24,-.75,-.15],["c",-.27,.06,-.48,.18,-.69,.36],["c",-.39,.39,-.51,.96,-.33,1.38],["c",.09,.21,.42,.51,.78,.72],["c",1.11,.69,1.59,1.11,1.89,1.68],["c",.21,.39,.24,.78,.15,1.29],["c",-.18,1.2,-1.17,2.16,-2.52,2.52],["c",-1.02,.24,-1.95,.12,-2.7,-.42],["c",-.72,-.51,-.99,-1.47,-.6,-2.19],["c",.24,-.48,.72,-.63,1.17,-.42],["c",.33,.18,.54,.45,.57,.81],["c",0,.21,-.03,.3,-.33,.51],["c",-.33,.24,-.39,.42,-.27,.69],["c",.06,.15,.21,.27,.45,.33],["c",.3,.09,.87,.09,1.2,0],["c",.75,-.21,1.23,-.72,1.29,-1.35],["c",.03,-.42,-.15,-.81,-.54,-1.2],["c",-.24,-.24,-.48,-.42,-1.41,-1.02],["c",-.69,-.42,-1.05,-.93,-1.05,-1.47],["c",0,-.39,.12,-.87,.3,-1.23],["c",.27,-.57,.78,-1.05,1.38,-1.35],["c",.24,-.12,.63,-.27,.9,-.3],["z"]],w:6.632,h:8.758},z:{d:[["M",2.64,-7.95],["c",.36,-.09,.81,-.03,1.71,.27],["c",.78,.21,.96,.27,1.74,.3],["c",.87,.06,1.02,.03,1.38,-.21],["c",.21,-.15,.33,-.15,.48,-.06],["c",.15,.09,.21,.3,.15,.45],["c",-.03,.06,-1.26,1.26,-2.76,2.67],["l",-2.73,2.55],["l",.54,.03],["c",.54,.03,.72,.03,2.01,.15],["c",.36,.03,.9,.06,1.2,.09],["c",.66,0,.81,-.03,1.02,-.24],["c",.3,-.3,.39,-.72,.27,-1.23],["c",-.06,-.27,-.06,-.27,-.03,-.39],["c",.15,-.3,.54,-.27,.69,.03],["c",.15,.33,.27,1.02,.27,1.5],["c",0,1.47,-1.11,2.7,-2.52,2.79],["c",-.57,.03,-1.02,-.09,-2.01,-.51],["c",-1.02,-.42,-1.23,-.48,-2.13,-.54],["c",-.81,-.06,-.96,-.03,-1.26,.18],["c",-.12,.06,-.24,.12,-.27,.12],["c",-.27,0,-.45,-.3,-.36,-.51],["c",.03,-.06,1.32,-1.32,2.91,-2.79],["l",2.88,-2.73],["c",-.03,0,-.21,.03,-.42,.06],["c",-.21,.03,-.78,.09,-1.23,.12],["c",-1.11,.12,-1.23,.15,-1.95,.27],["c",-.72,.15,-1.17,.18,-1.29,.09],["c",-.27,-.18,-.21,-.75,.12,-1.26],["c",.39,-.6,.93,-1.02,1.59,-1.2],["z"]],w:8.573,h:8.743},"+":{d:[["M",3.48,-9.3],["c",.18,-.09,.36,-.09,.54,0],["c",.18,.09,.24,.15,.33,.3],["l",.06,.15],["l",0,1.29],["l",0,1.29],["l",1.29,0],["c",1.23,0,1.29,0,1.41,.06],["c",.06,.03,.15,.09,.18,.12],["c",.12,.09,.21,.33,.21,.48],["c",0,.15,-.09,.39,-.21,.48],["c",-.03,.03,-.12,.09,-.18,.12],["c",-.12,.06,-.18,.06,-1.41,.06],["l",-1.29,0],["l",0,1.29],["c",0,1.23,0,1.29,-.06,1.41],["c",-.09,.18,-.15,.24,-.3,.33],["c",-.21,.09,-.39,.09,-.57,0],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.06,-.12,-.06,-.18,-.06,-1.41],["l",0,-1.29],["l",-1.29,0],["c",-1.23,0,-1.29,0,-1.41,-.06],["c",-.18,-.09,-.24,-.15,-.33,-.33],["c",-.09,-.18,-.09,-.36,0,-.54],["c",.09,-.18,.15,-.24,.33,-.33],["l",.15,-.06],["l",1.26,0],["l",1.29,0],["l",0,-1.29],["c",0,-1.23,0,-1.29,.06,-1.41],["c",.09,-.18,.15,-.24,.33,-.33],["z"]],w:7.507,h:7.515},",":{d:[["M",1.32,-3.36],["c",.57,-.15,1.17,.03,1.59,.45],["c",.45,.45,.6,.96,.51,1.89],["c",-.09,1.23,-.42,2.46,-.99,3.93],["c",-.3,.72,-.72,1.62,-.78,1.68],["c",-.18,.21,-.51,.18,-.66,-.06],["c",-.03,-.06,-.06,-.15,-.06,-.18],["c",0,-.06,.12,-.33,.24,-.63],["c",.84,-1.8,1.02,-2.61,.69,-3.24],["c",-.12,-.24,-.27,-.36,-.75,-.6],["c",-.36,-.15,-.42,-.21,-.6,-.39],["c",-.69,-.69,-.69,-1.71,0,-2.4],["c",.21,-.21,.51,-.39,.81,-.45],["z"]],w:3.452,h:8.143},"-":{d:[["M",.18,-5.34],["c",.09,-.06,.15,-.06,2.31,-.06],["c",2.46,0,2.37,0,2.46,.21],["c",.12,.21,.03,.42,-.15,.54],["c",-.09,.06,-.15,.06,-2.28,.06],["c",-2.16,0,-2.22,0,-2.31,-.06],["c",-.27,-.15,-.27,-.54,-.03,-.69],["z"]],w:5.001,h:.81},".":{d:[["M",1.32,-3.36],["c",1.05,-.27,2.1,.57,2.1,1.65],["c",0,1.08,-1.05,1.92,-2.1,1.65],["c",-.9,-.21,-1.5,-1.14,-1.26,-2.04],["c",.12,-.63,.63,-1.11,1.26,-1.26],["z"]],w:3.413,h:3.402},"scripts.wedge":{d:[["M",-3.66,-7.44],["c",.06,-.09,0,-.09,.81,.03],["c",1.86,.3,3.84,.3,5.73,0],["c",.78,-.12,.72,-.12,.78,-.03],["c",.15,.15,.12,.24,-.24,.6],["c",-.93,.93,-1.98,2.76,-2.67,4.62],["c",-.3,.78,-.51,1.71,-.51,2.13],["c",0,.15,0,.18,-.06,.27],["c",-.12,.09,-.24,.09,-.36,0],["c",-.06,-.09,-.06,-.12,-.06,-.27],["c",0,-.42,-.21,-1.35,-.51,-2.13],["c",-.69,-1.86,-1.74,-3.69,-2.67,-4.62],["c",-.36,-.36,-.39,-.45,-.24,-.6],["z"]],w:7.49,h:7.752},"scripts.thumb":{d:[["M",-.54,-3.69],["c",.15,-.03,.36,-.06,.51,-.06],["c",1.44,0,2.58,1.11,2.94,2.85],["c",.09,.48,.09,1.32,0,1.8],["c",-.27,1.41,-1.08,2.43,-2.16,2.73],["l",-.18,.06],["l",0,.12],["c",.03,.06,.06,.45,.09,.87],["c",.03,.57,.03,.78,0,.84],["c",-.09,.27,-.39,.48,-.66,.48],["c",-.27,0,-.57,-.21,-.66,-.48],["c",-.03,-.06,-.03,-.27,0,-.84],["c",.03,-.42,.06,-.81,.09,-.87],["l",0,-.12],["l",-.18,-.06],["c",-1.08,-.3,-1.89,-1.32,-2.16,-2.73],["c",-.09,-.48,-.09,-1.32,0,-1.8],["c",.15,-.84,.51,-1.53,1.02,-2.04],["c",.39,-.39,.84,-.63,1.35,-.75],["z"],["m",1.05,.9],["c",-.15,-.09,-.21,-.09,-.45,-.12],["c",-.15,0,-.3,.03,-.39,.03],["c",-.57,.18,-.9,.72,-1.08,1.74],["c",-.06,.48,-.06,1.8,0,2.28],["c",.15,.9,.42,1.44,.9,1.65],["c",.18,.09,.21,.09,.51,.09],["c",.3,0,.33,0,.51,-.09],["c",.48,-.21,.75,-.75,.9,-1.65],["c",.03,-.27,.03,-.54,.03,-1.14],["c",0,-.6,0,-.87,-.03,-1.14],["c",-.15,-.9,-.45,-1.44,-.9,-1.65],["z"]],w:5.955,h:9.75},"scripts.open":{d:[["M",-.54,-3.69],["c",.15,-.03,.36,-.06,.51,-.06],["c",1.44,0,2.58,1.11,2.94,2.85],["c",.09,.48,.09,1.32,0,1.8],["c",-.33,1.74,-1.47,2.85,-2.91,2.85],["c",-1.44,0,-2.58,-1.11,-2.91,-2.85],["c",-.09,-.48,-.09,-1.32,0,-1.8],["c",.15,-.84,.51,-1.53,1.02,-2.04],["c",.39,-.39,.84,-.63,1.35,-.75],["z"],["m",1.11,.9],["c",-.21,-.09,-.27,-.09,-.51,-.12],["c",-.3,0,-.42,.03,-.66,.15],["c",-.24,.12,-.51,.39,-.66,.63],["c",-.54,.93,-.63,2.64,-.21,3.81],["c",.21,.54,.51,.9,.93,1.11],["c",.21,.09,.24,.09,.54,.09],["c",.3,0,.33,0,.54,-.09],["c",.42,-.21,.72,-.57,.93,-1.11],["c",.36,-.99,.36,-2.37,0,-3.36],["c",-.21,-.54,-.51,-.9,-.9,-1.11],["z"]],w:5.955,h:7.5},"scripts.longphrase":{d:[["M",1.47,-15.09],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.54,.06,11.25],["l",0,11.25],["l",-.63,.15],["c",-.66,.18,-1.44,.39,-1.5,.39],["c",-.03,0,-.03,-3.39,-.03,-11.25],["l",0,-11.25],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:23.04},"scripts.mediumphrase":{d:[["M",1.47,-7.59],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.39,.06,7.5],["l",0,7.5],["l",-.63,.15],["c",-.66,.18,-1.44,.39,-1.5,.39],["c",-.03,0,-.03,-2.28,-.03,-7.5],["l",0,-7.5],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:15.54},"scripts.shortphrase":{d:[["M",1.47,-7.59],["c",.36,-.09,.66,-.18,.69,-.18],["c",.06,0,.06,.21,.06,3.75],["l",0,3.75],["l",-.42,.09],["c",-.57,.18,-1.65,.45,-1.71,.45],["c",-.03,0,-.03,-.72,-.03,-3.75],["l",0,-3.75],["l",.36,-.09],["c",.21,-.06,.66,-.18,1.05,-.27],["z"]],w:2.16,h:8.04},"scripts.snap":{d:[["M",4.5,-3.39],["c",.36,-.03,.96,-.03,1.35,0],["c",1.56,.15,3.15,.9,4.2,2.01],["c",.24,.27,.33,.42,.33,.6],["c",0,.27,.03,.24,-2.46,2.22],["c",-1.29,1.02,-2.4,1.86,-2.49,1.92],["c",-.18,.09,-.3,.09,-.48,0],["c",-.09,-.06,-1.2,-.9,-2.49,-1.92],["c",-2.49,-1.98,-2.46,-1.95,-2.46,-2.22],["c",0,-.18,.09,-.33,.33,-.6],["c",1.05,-1.08,2.64,-1.86,4.17,-2.01],["z"],["m",1.29,1.17],["c",-1.47,-.15,-2.97,.3,-4.14,1.2],["l",-.18,.15],["l",.06,.09],["c",.15,.12,3.63,2.85,3.66,2.85],["c",.03,0,3.51,-2.73,3.66,-2.85],["l",.06,-.09],["l",-.18,-.15],["c",-.84,-.66,-1.89,-1.08,-2.94,-1.2],["z"]],w:10.38,h:6.84}};t["noteheads.slash.whole"]={d:[["M",5,-5],["l",1,1],["l",-5,5],["l",-1,-1],["z"],["m",4,6],["l",-5,-5],["l",2,-2],["l",5,5],["z"],["m",0,-2],["l",1,1],["l",-5,5],["l",-1,-1],["z"],["m",-4,6],["l",-5,-5],["l",2,-2],["l",5,5],["z"]],w:10.81,h:15.63},t["noteheads.slash.quarter"]={d:[["M",9,-6],["l",0,4],["l",-9,9],["l",0,-4],["z"]],w:9,h:9},t["noteheads.harmonic.quarter"]={d:[["M",3.63,-4.02],["c",.09,-.06,.18,-.09,.24,-.03],["c",.03,.03,.87,.93,1.83,2.01],["c",1.5,1.65,1.8,1.98,1.8,2.04],["c",0,.06,-.3,.39,-1.8,2.04],["c",-.96,1.08,-1.8,1.98,-1.83,2.01],["c",-.06,.06,-.15,.03,-.24,-.03],["c",-.12,-.09,-3.54,-3.84,-3.6,-3.93],["c",-.03,-.03,-.03,-.09,-.03,-.15],["c",.03,-.06,3.45,-3.84,3.63,-3.96],["z"]],w:7.5,h:8.165},this.printSymbol=function(e,i,n,r,a){if(!t[n])return null;var s=this.pathClone(t[n].d);return s[0][1]+=e,s[0][2]+=i,r.path().attr({path:s,stroke:"none",fill:"#000000",class:a})},this.getPathForSymbol=function(e,i,n,r,a){if(r=r||1,a=a||1,!t[n])return null;var s=this.pathClone(t[n].d);return 1===r&&1===a||this.pathScale(s,r,a),s[0][1]+=e,s[0][2]+=i,s},this.getSymbolWidth=function(e){return t[e]?t[e].w:0},this.getSymbolHeight=function(e){return t[e]?t[e].h:0},this.symbolHeightInPitches=function(t){return this.getSymbolHeight(t)/n.STEP},this.getSymbolAlign=function(t){return"scripts"===t.substring(0,7)&&"scripts.roll"!==t?"center":"left"},this.pathClone=function(t){for(var e=[],i=0,n=t.length;ithis.w&&(this.w=t.dx+t.w),this.right[this.right.length]=t,this.addChild(t)},r.prototype.addCentered=function(t){var e=t.w/2;-ethis.w&&(this.w=t.dx+e),this.right[this.right.length]=t,this.addChild(t)},r.prototype.setLimit=function(t,e){e[t]&&(this.specialY[t]?this.specialY[t]=Math.max(this.specialY[t],e[t]):this.specialY[t]=e[t])},r.prototype.addChild=function(t){t.parent=this,this.children[this.children.length]=t,this.pushTop(t.top),this.pushBottom(t.bottom),this.setLimit("tempoHeightAbove",t),this.setLimit("partHeightAbove",t),this.setLimit("volumeHeightAbove",t),this.setLimit("dynamicHeightAbove",t),this.setLimit("endingHeightAbove",t),this.setLimit("chordHeightAbove",t),this.setLimit("lyricHeightAbove",t),this.setLimit("lyricHeightBelow",t),this.setLimit("chordHeightBelow",t),this.setLimit("volumeHeightBelow",t),this.setLimit("dynamicHeightBelow",t)},r.prototype.pushTop=function(t){void 0!==t&&(void 0===this.top?this.top=t:this.top=Math.max(t,this.top))},r.prototype.pushBottom=function(t){void 0!==t&&(void 0===this.bottom?this.bottom=t:this.bottom=Math.min(t,this.bottom))},r.prototype.setX=function(t){this.x=t;for(var e=0;e0&&(r.length>0&&" "!==r.charAt(r.length-1)&&(r+=" "),r+=t),this.elemset[n][0].setAttribute("class",r)}},r.prototype.highlight=function(t,e){void 0===t&&(t="note_selected"),void 0===e&&(e="#ff0000"),this.setClass(t,"",e)},r.prototype.unhighlight=function(t,e){void 0===t&&(t="note_selected"),void 0===e&&(e="#000000"),this.setClass("",t,e)},t.exports=r},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=i(0),a=i(11),s={};!function(){s.numberOfTunes=function(t){var e=t.split("\nX:").length;return 0===e&&(e=1),e};var t=s.TuneBook=function(t){for(var e=this,i="",n=(t=r.strip(t)).split("\nX:"),a=1;a1&&!r.startsWith(e.tunes[0].abc,"X:")){var o=e.tunes.shift().abc.split("\n");r.each(o,function(t){r.startsWith(t,"%%")&&(i+=t+"\n")})}e.header=i,r.each(e.tunes,function(t){var e=t.abc.indexOf("\n\n");e>0&&(t.abc=t.abc.substring(0,e)),t.pure=t.abc,t.abc=i+t.abc;var n=t.pure.split("T:");n.length>1?(n=n[1].split("\n"),t.title=n[0].replace(/^\s+|\s+$/g,"")):t.title="";var r=t.pure.substring(2,t.pure.indexOf("\n"));t.id=r.replace(/^\s+|\s+$/g,"")})};t.prototype.getTuneById=function(t){for(var e=0;e0?"+"+t:t,r=e[3]?"0"==e[3]?"0":e[3].charAt(1):" ",a=e[5]-String(t).length,i=e[5]?str_repeat(r,a):"",c.push(e[4]?t+i:i+t)}o=o.substring(e[0].length)}return c.join("")}},function(t,e,i){"use strict";var n=i(0),r={};!function(){var t,e,i,a;r.initialize=function(n,r,s,o){t=n,e=r,a=o,(i=s).annotationfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},i.gchordfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},i.historyfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.infofont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},i.measurefont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},i.partsfont={face:'"Times New Roman"',size:15,weight:"normal",style:"normal",decoration:"none"},i.repeatfont={face:'"Times New Roman"',size:13,weight:"normal",style:"normal",decoration:"none"},i.textfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.vocalfont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},i.wordsfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},a.formatting.composerfont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},a.formatting.subtitlefont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},a.formatting.tempofont={face:'"Times New Roman"',size:15,weight:"bold",style:"normal",decoration:"none"},a.formatting.titlefont={face:'"Times New Roman"',size:20,weight:"normal",style:"normal",decoration:"none"},a.formatting.footerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},a.formatting.headerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},a.formatting.voicefont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},a.formatting.annotationfont=i.annotationfont,a.formatting.gchordfont=i.gchordfont,a.formatting.historyfont=i.historyfont,a.formatting.infofont=i.infofont,a.formatting.measurefont=i.measurefont,a.formatting.partsfont=i.partsfont,a.formatting.repeatfont=i.repeatfont,a.formatting.textfont=i.textfont,a.formatting.vocalfont=i.vocalfont,a.formatting.wordsfont=i.wordsfont};var s={gchordfont:!0,measurefont:!0,partsfont:!0},o=function(t,i,n,r,a){function o(){var o=parseInt(t[0].token);return t.shift(),i?0===t.length?{face:i.face,weight:i.weight,style:i.style,decoration:i.decoration,size:o}:1===t.length&&"box"===t[0].token&&s[a]?{face:i.face,weight:i.weight,style:i.style,decoration:i.decoration,size:o,box:!0}:(e("Extra parameters in font definition.",n,r),{face:i.face,weight:i.weight,style:i.style,decoration:i.decoration,size:o}):(e("Can't set just the size of the font since there is no default value.",n,r),{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none",size:o})}if("*"===t[0].token){if(t.shift(),"number"===t[0].type)return o();e("Expected font size number after *.",n,r)}if("number"===t[0].type)return o();for(var c,l=[],h="normal",u="normal",f="none",d=!1,p="face",m=!1;t.length;){var g=t.shift(),v=g.token.toLowerCase();switch(p){case"face":m||"utf"!==v&&"number"!==g.type&&"bold"!==v&&"italic"!==v&&"underline"!==v&&"box"!==v?l.length>0&&"-"===g.token?(m=!0,l[l.length-1]=l[l.length-1]+g.token):m?(m=!1,l[l.length-1]=l[l.length-1]+g.token):l.push(g.token):"number"===g.type?(c?e("Font size specified twice in font definition.",n,r):c=g.token,p="modifier"):"bold"===v?h="bold":"italic"===v?u="italic":"underline"===v?f="underline":"box"===v?(s[a]?d=!0:e('This font style doesn\'t support "box"',n,r),p="finished"):"utf"===v?(g=t.shift(),p="size"):e("Unknown parameter "+g.token+" in font definition.",n,r);break;case"size":"number"===g.type?c?e("Font size specified twice in font definition.",n,r):c=g.token:e("Expected font size in font definition.",n,r),p="modifier";break;case"modifier":"bold"===v?h="bold":"italic"===v?u="italic":"underline"===v?f="underline":"box"===v?(s[a]?d=!0:e('This font style doesn\'t support "box"',n,r),p="finished"):e("Unknown parameter "+g.token+" in font definition.",n,r);break;case"finished":e('Extra characters found after "box" in font definition.',n,r)}}void 0===c?i?c=i.size:(e("Must specify the size of the font since there is no default value.",n,r),c=12):c=parseFloat(c);var b=function(t){switch(t){case"Arial-Italic":return{face:"Arial",weight:"normal",style:"italic",decoration:"none"};case"Arial-Bold":return{face:"Arial",weight:"bold",style:"normal",decoration:"none"};case"Bookman-Demi":return{face:"Bookman,serif",weight:"bold",style:"normal",decoration:"none"};case"Bookman-DemiItalic":return{face:"Bookman,serif",weight:"bold",style:"italic",decoration:"none"};case"Bookman-Light":return{face:"Bookman,serif",weight:"normal",style:"normal",decoration:"none"};case"Bookman-LightItalic":return{face:"Bookman,serif",weight:"normal",style:"italic",decoration:"none"};case"Courier":return{face:'"Courier New"',weight:"normal",style:"normal",decoration:"none"};case"Courier-Oblique":return{face:'"Courier New"',weight:"normal",style:"italic",decoration:"none"};case"Courier-Bold":return{face:'"Courier New"',weight:"bold",style:"normal",decoration:"none"};case"Courier-BoldOblique":return{face:'"Courier New"',weight:"bold",style:"italic",decoration:"none"};case"AvantGarde-Book":return{face:"AvantGarde,Arial",weight:"normal",style:"normal",decoration:"none"};case"AvantGarde-BookOblique":return{face:"AvantGarde,Arial",weight:"normal",style:"italic",decoration:"none"};case"AvantGarde-Demi":case"Avant-Garde-Demi":return{face:"AvantGarde,Arial",weight:"bold",style:"normal",decoration:"none"};case"AvantGarde-DemiOblique":return{face:"AvantGarde,Arial",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Oblique":return{face:"Helvetica",weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Bold":return{face:"Helvetica",weight:"bold",style:"normal",decoration:"none"};case"Helvetica-BoldOblique":return{face:"Helvetica",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Narrow":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"normal",decoration:"none"};case"Helvetica-Narrow-Oblique":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Narrow-Bold":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"normal",decoration:"none"};case"Helvetica-Narrow-BoldOblique":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"italic",decoration:"none"};case"Palatino-Roman":return{face:"Palatino",weight:"normal",style:"normal",decoration:"none"};case"Palatino-Italic":return{face:"Palatino",weight:"normal",style:"italic",decoration:"none"};case"Palatino-Bold":return{face:"Palatino",weight:"bold",style:"normal",decoration:"none"};case"Palatino-BoldItalic":return{face:"Palatino",weight:"bold",style:"italic",decoration:"none"};case"NewCenturySchlbk-Roman":return{face:'"New Century",serif',weight:"normal",style:"normal",decoration:"none"};case"NewCenturySchlbk-Italic":return{face:'"New Century",serif',weight:"normal",style:"italic",decoration:"none"};case"NewCenturySchlbk-Bold":return{face:'"New Century",serif',weight:"bold",style:"normal",decoration:"none"};case"NewCenturySchlbk-BoldItalic":return{face:'"New Century",serif',weight:"bold",style:"italic",decoration:"none"};case"Times":case"Times-Roman":case"Times-Narrow":case"Times-Courier":case"Times-New-Roman":return{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none"};case"Times-Italic":case"Times-Italics":return{face:'"Times New Roman"',weight:"normal",style:"italic",decoration:"none"};case"Times-Bold":return{face:'"Times New Roman"',weight:"bold",style:"normal",decoration:"none"};case"Times-BoldItalic":return{face:'"Times New Roman"',weight:"bold",style:"italic",decoration:"none"};case"ZapfChancery-MediumItalic":return{face:'"Zapf Chancery",cursive,serif',weight:"normal",style:"normal",decoration:"none"};default:return null}}(l=l.join(" ")),y={};return b?(y.face=b.face,y.weight=b.weight,y.style=b.style,y.decoration=b.decoration,y.size=c,d&&(y.box=!0),y):(y.face=l,y.weight=h,y.style=u,y.decoration=f,y.size=c,d&&(y.box=!0),y)},c=function(t,e,n){return 0===e.length?'Directive "'+t+'" requires a font as a parameter.':(i[t]=o(e,i[t],n,0,t),i.is_in_header&&(a.formatting[t]=i[t]),null)},l=function(t,e){var i="";n.each(e,function(t){i+=t.token});var r=parseFloat(i);if(isNaN(r)||0===r)return'Directive "'+t+'" requires a number as a parameter.';a.formatting.scale=r},h=function(t,e,n,r,a){if(1!==n.length||"number"!==n[0].type)return'Directive "'+e+'" requires a number as a parameter.';var s=n[0].intt;return void 0!==r&&sa?'Directive "'+e+'" requires a number less than or equal to '+a+" as a parameter.":(i[t]=s,null)},u=function(t,e,n){var r=h(t,e,n,0,1);return null!==r?r:(i[t]=1===i[t],null)},f=function(t,e,n,r){if(1!==n.length)return'Directive "'+e+'" requires one of [ '+r.join(", ")+" ] as a parameter.";for(var a=n[0].token,s=!1,o=0;!s&&o1&&i.setfont){for(var n=[{text:e[0]}],r=1;r1)return n}return t};var A=["auto","above","below","hidden"];r.addDirective=function(s){var _=t.tokenize(s,0,s.length);if(0===_.length||"alpha"!==_[0].type)return null;var S=s.substring(s.indexOf(_[0].token)+_[0].token.length);S=t.stripComment(S);var T,C,M,N,I,E,B,L,P,D=_.shift().token.toLowerCase(),H="";switch(D){case"bagpipes":a.formatting.bagpipes=!0;break;case"landscape":i.landscape=!0;break;case"papersize":i.papersize=S;break;case"slurgraces":a.formatting.slurgraces=!0;break;case"stretchlast":a.formatting.stretchlast=!0;break;case"titlecaps":i.titlecaps=!0;break;case"titleleft":a.formatting.titleleft=!0;break;case"measurebox":a.formatting.measurebox=!0;break;case"vocal":return f("vocalPosition",D,_,A);case"dynamic":return f("dynamicPosition",D,_,A);case"gchord":return f("chordPosition",D,_,A);case"ornament":return f("ornamentPosition",D,_,A);case"volume":return f("volumePosition",D,_,A);case"botmargin":case"botspace":case"composerspace":case"indent":case"leftmargin":case"linesep":case"musicspace":case"partsspace":case"pageheight":case"pagewidth":case"rightmargin":case"staffsep":case"staffwidth":case"subtitlespace":case"sysstaffsep":case"systemsep":case"textspace":case"titlespace":case"topmargin":case"topspace":case"vocalspace":case"wordsspace":return B=D,L=_,0===(P=t.getMeasurement(L)).used||0!==L.length?'Directive "'+B+'" requires a measurement as a parameter.':(a.formatting[B]=P.value,null);case"vskip":var z=(N=D,I=_,0===(E=t.getMeasurement(I)).used||0!==I.length?{error:'Directive "'+N+'" requires a measurement as a parameter.'}:E.value);return z.error?z.error:(a.addSpacing(z),null);case"scale":l(D,_);break;case"sep":if(0===_.length)a.addSeparator();else{var q=t.getMeasurement(_);if(0===q.used)return'Directive "'+D+'" requires 3 numbers: space above, space below, length of line';var V=q.value;if(0===(q=t.getMeasurement(_)).used)return'Directive "'+D+'" requires 3 numbers: space above, space below, length of line';var F=q.value;if(0===(q=t.getMeasurement(_)).used||0!==_.length)return'Directive "'+D+'" requires 3 numbers: space above, space below, length of line';var O=q.value;a.addSeparator(V,F,O)}break;case"barsperstaff":if(null!==(H=h("barsperstaff",D,_)))return H;break;case"staffnonote":if(null!==(H=u("staffnonote",D,_)))return H;break;case"printtempo":if(null!==(H=u("printTempo",D,_)))return H;break;case"partsbox":if(null!==(H=u("partsBox",D,_)))return H;break;case"measurenb":case"barnumbers":if(null!==(H=h("barNumbers",D,_)))return H;break;case"begintext":i.inTextBlock=!0;break;case"continueall":i.continueall=!0;break;case"beginps":i.inPsBlock=!0,e("Postscript ignored",s,0);break;case"deco":S.length>0&&i.ignoredDecorations.push(S.substring(0,S.indexOf(" "))),e("Decoration redefinition ignored",s,0);break;case"text":var R=t.translateString(S);a.addText(r.parseFontChangeLine(R));break;case"center":var j=t.translateString(S);a.addCentered(r.parseFontChangeLine(j));break;case"font":break;case"setfont":var U=t.tokenize(S,0,S.length);if(U.length>=4&&"-"===U[0].token&&"number"===U[1].type){var W=parseInt(U[1].token);W>=1&&W<=4&&(i.setfont||(i.setfont=[]),U.shift(),U.shift(),i.setfont[W]=o(U,i.setfont[W],s,0,"setfont"))}break;case"gchordfont":case"partsfont":case"vocalfont":case"textfont":case"annotationfont":case"historyfont":case"infofont":case"measurefont":case"repeatfont":case"wordsfont":return c(D,_,s);case"composerfont":case"subtitlefont":case"tempofont":case"titlefont":case"voicefont":case"footerfont":case"headerfont":return T=D,M=s,0===(C=_).length?'Directive "'+T+'" requires a font as a parameter.':(a.formatting[T]=o(C,a.formatting[T],M,0,T),null);case"barlabelfont":case"barnumberfont":case"barnumfont":return c("measurefont",_,s);case"staves":case"score":i.score_is_present=!0;for(var Y,G=function(t,e,r,a,s){(e||0===i.staves.length)&&i.staves.push({index:i.staves.length,numVoices:0});var o=n.last(i.staves);void 0!==r&&(o.bracket=r),void 0!==a&&(o.brace=a),s&&(o.connectBarLines="end"),void 0===i.voices[t]&&(i.voices[t]={staffNum:o.index,index:o.numVoices},o.numVoices++)},X=!1,K=!1,Z=!1,Q=!1,J=!1,$=!1,tt=!1,et=function(){if(tt=!0,Y){var t="start";Y.staffNum>0&&("start"!==i.staves[Y.staffNum-1].connectBarLines&&"continue"!==i.staves[Y.staffNum-1].connectBarLines||(t="continue")),i.staves[Y.staffNum].connectBarLines=t}};_.length;){var it=_.shift();switch(it.token){case"(":X?e("Can't nest parenthesis in %%score",s,it.start):(X=!0,Q=!0);break;case")":!X||Q?e("Unexpected close parenthesis in %%score",s,it.start):X=!1;break;case"[":K?e("Can't nest brackets in %%score",s,it.start):(K=!0,J=!0);break;case"]":!K||J?e("Unexpected close bracket in %%score",s,it.start):(K=!1,i.staves[Y.staffNum].bracket="end");break;case"{":Z?e("Can't nest braces in %%score",s,it.start):(Z=!0,$=!0);break;case"}":!Z||$?e("Unexpected close brace in %%score",s,it.start):(Z=!1,i.staves[Y.staffNum].brace="end");break;case"|":et();break;default:for(var nt="";("alpha"===it.type||"number"===it.type)&&(nt+=it.token,it.continueId);)it=_.shift();G(nt,!X||Q,J?"start":K?"continue":void 0,$?"start":Z?"continue":void 0,tt),Q=!1,J=!1,$=!1,tt=!1,Y=i.voices[nt],"staves"===D&&et()}}break;case"newpage":var rt=t.getInt(S);a.addNewPage(0===rt.digits?-1:rt.value);break;case"abc":var at=S.split(" ");switch(at[0]){case"-copyright":case"-creator":case"-edited-by":case"-version":case"-charset":var st=at.shift();a.addMetaText(D+st,at.join(" "));break;default:return"Unknown directive: "+D+at[0]}break;case"header":case"footer":var ot=t.getMeat(S,0,S.length);'"'===(ot=S.substring(ot.start,ot.end)).charAt(0)&&'"'===ot.charAt(ot.length-1)&&(ot=ot.substring(1,ot.length-1));var ct=ot.split("\t"),lt={};lt=1===ct.length?{left:"",center:ct[0],right:""}:2===ct.length?{left:ct[0],center:ct[1],right:""}:{left:ct[0],center:ct[1],right:ct[2]},ct.length>3&&e("Too many tabs in "+D+": "+ct.length+" found.",S,0),a.addMetaTextObj(D,lt);break;case"midi":var ht=t.tokenize(S,0,S.length,!0);ht.length>0&&"="===ht[0].token&&ht.shift(),0===ht.length?e("Expected midi command",S,0):function(t,i,n){var r=t.shift().token,a=[];if(d.indexOf(r)>=0)0!==t.length&&e("Unexpected parameter in MIDI "+r,n,0);else if(p.indexOf(r)>=0)1!==t.length?e("Expected one parameter in MIDI "+r,n,0):a.push(t[0].token);else if(m.indexOf(r)>=0)1!==t.length?e("Expected one parameter in MIDI "+r,n,0):"number"!==t[0].type?e("Expected one integer parameter in MIDI "+r,n,0):a.push(t[0].intt);else if(g.indexOf(r)>=0)1!==t.length&&2!==t.length?e("Expected one or two parameters in MIDI "+r,n,0):"number"!==t[0].type?e("Expected integer parameter in MIDI "+r,n,0):2===t.length&&"number"!==t[1].type?e("Expected integer parameter in MIDI "+r,n,0):(a.push(t[0].intt),2===t.length&&a.push(t[1].intt));else if(v.indexOf(r)>=0)2!==t.length?e("Expected two parameters in MIDI "+r,n,0):"number"!==t[0].type||"number"!==t[1].type?e("Expected two integer parameters in MIDI "+r,n,0):(a.push(t[0].intt),a.push(t[1].intt));else if(x.indexOf(r)>=0)2!==t.length?e("Expected two parameters in MIDI "+r,n,0):"alpha"!==t[0].type||"number"!==t[1].type?e("Expected one string and one integer parameters in MIDI "+r,n,0):(a.push(t[0].token),a.push(t[1].intt));else if(w.indexOf(r)>=0)3!==t.length?e("Expected fraction parameter in MIDI "+r,n,0):"number"!==t[0].type||"/"!==t[1].token||"number"!==t[2].type?e("Expected fraction parameter in MIDI "+r,n,0):(a.push(t[0].intt),a.push(t[2].intt));else if(b.indexOf(r)>=0)4!==t.length?e("Expected four parameters in MIDI "+r,n,0):"number"!==t[0].type||"number"!==t[1].type||"number"!==t[2].type||"number"!==t[3].type?e("Expected four integer parameters in MIDI "+r,n,0):(a.push(t[0].intt),a.push(t[1].intt),a.push(t[2].intt),a.push(t[3].intt));else if(y.indexOf(r)>=0)5!==t.length?e("Expected five parameters in MIDI "+r,n,0):"number"!==t[0].type||"number"!==t[1].type||"number"!==t[2].type||"number"!==t[3].type||"number"!==t[4].type?e("Expected five integer parameters in MIDI "+r,n,0):(a.push(t[0].intt),a.push(t[1].intt),a.push(t[2].intt),a.push(t[3].intt),a.push(t[4].intt));else if(g.indexOf(r)>=0)1!==t.length||4!==t.length?e("Expected one or two parameters in MIDI "+r,n,0):"number"!==t[0].type?e("Expected integer parameter in MIDI "+r,n,0):4===t.length?("octave"!==t[1].token&&e("Expected octave parameter in MIDI "+r,n,0),"="!==t[2].token&&e("Expected octave parameter in MIDI "+r,n,0),"number"!==t[3].type&&e("Expected integer parameter for octave in MIDI "+r,n,0)):(a.push(t[0].intt),4===t.length&&a.push(t[3].intt));else if(k.indexOf(r)>=0)if(t.length<2)e("Expected string parameter and at least one integer parameter in MIDI "+r,n,0);else if("alpha"!==t[0].type)e("Expected string parameter and at least one integer parameter in MIDI "+r,n,0);else{var s=t.shift();for(a.push(s.token);t.length>0;)"number"!==(s=t.shift()).type&&e("Expected integer parameter in MIDI "+r,n,0),a.push(s.intt)}i.hasBeginMusic()?i.appendElement("midi",-1,-1,{cmd:r,params:a}):(void 0===i.formatting.midi&&(i.formatting.midi={}),i.formatting.midi[r]=a)}(ht,a,S);break;case"playtempo":case"auquality":case"continuous":case"nobarcheck":a.formatting[D]=S;break;default:return"Unknown directive: "+D}return null},r.globalFormatting=function(i){for(var n in i)if(i.hasOwnProperty(n)){var r,a=""+i[n],s=t.tokenize(a,0,a.length);switch(n){case"titlefont":case"gchordfont":c(n,s,a);break;case"scale":l(n,s);break;case"partsbox":null!==(r=u("partsBox",n,s))&&e(r);break;default:e("Formatting directive unrecognized: ",n,0)}}}}(),t.exports=r},function(t,e,i){"use strict";var n=i(0),r=i(7),a={};!function(){var t,e,i,s;a.initialize=function(n,r,a,o){t=n,e=r,i=a,s=o},a.standardKey=function(t){var e={acc:"sharp",note:"f"},i={acc:"sharp",note:"c"},n={acc:"sharp",note:"g"},r={acc:"sharp",note:"d"},a={acc:"sharp",note:"A"},s={acc:"sharp",note:"e"},o={acc:"sharp",note:"B"},c={acc:"flat",note:"B"},l={acc:"flat",note:"e"},h={acc:"flat",note:"A"},u={acc:"flat",note:"d"},f={acc:"flat",note:"G"},d={acc:"flat",note:"c"},p={acc:"flat",note:"F"};return{"C#":[e,i,n,r,a,s,o],"A#m":[e,i,n,r,a,s,o],"G#Mix":[e,i,n,r,a,s,o],"D#Dor":[e,i,n,r,a,s,o],"E#Phr":[e,i,n,r,a,s,o],"F#Lyd":[e,i,n,r,a,s,o],"B#Loc":[e,i,n,r,a,s,o],"F#":[e,i,n,r,a,s],"D#m":[e,i,n,r,a,s],"C#Mix":[e,i,n,r,a,s],"G#Dor":[e,i,n,r,a,s],"A#Phr":[e,i,n,r,a,s],BLyd:[e,i,n,r,a,s],"E#Loc":[e,i,n,r,a,s],B:[e,i,n,r,a],"G#m":[e,i,n,r,a],"F#Mix":[e,i,n,r,a],"C#Dor":[e,i,n,r,a],"D#Phr":[e,i,n,r,a],ELyd:[e,i,n,r,a],"A#Loc":[e,i,n,r,a],E:[e,i,n,r],"C#m":[e,i,n,r],BMix:[e,i,n,r],"F#Dor":[e,i,n,r],"G#Phr":[e,i,n,r],ALyd:[e,i,n,r],"D#Loc":[e,i,n,r],A:[e,i,n],"F#m":[e,i,n],EMix:[e,i,n],BDor:[e,i,n],"C#Phr":[e,i,n],DLyd:[e,i,n],"G#Loc":[e,i,n],D:[e,i],Bm:[e,i],AMix:[e,i],EDor:[e,i],"F#Phr":[e,i],GLyd:[e,i],"C#Loc":[e,i],G:[e],Em:[e],DMix:[e],ADor:[e],BPhr:[e],CLyd:[e],"F#Loc":[e],C:[],Am:[],GMix:[],DDor:[],EPhr:[],FLyd:[],BLoc:[],F:[c],Dm:[c],CMix:[c],GDor:[c],APhr:[c],BbLyd:[c],ELoc:[c],Bb:[c,l],Gm:[c,l],FMix:[c,l],CDor:[c,l],DPhr:[c,l],EbLyd:[c,l],ALoc:[c,l],Eb:[c,l,h],Cm:[c,l,h],BbMix:[c,l,h],FDor:[c,l,h],GPhr:[c,l,h],AbLyd:[c,l,h],DLoc:[c,l,h],Ab:[c,l,h,u],Fm:[c,l,h,u],EbMix:[c,l,h,u],BbDor:[c,l,h,u],CPhr:[c,l,h,u],DbLyd:[c,l,h,u],GLoc:[c,l,h,u],Db:[c,l,h,u,f],Bbm:[c,l,h,u,f],AbMix:[c,l,h,u,f],EbDor:[c,l,h,u,f],FPhr:[c,l,h,u,f],GbLyd:[c,l,h,u,f],CLoc:[c,l,h,u,f],Gb:[c,l,h,u,f,d],Ebm:[c,l,h,u,f,d],DbMix:[c,l,h,u,f,d],AbDor:[c,l,h,u,f,d],BbPhr:[c,l,h,u,f,d],CbLyd:[c,l,h,u,f,d],FLoc:[c,l,h,u,f,d],Cb:[c,l,h,u,f,d,p],Abm:[c,l,h,u,f,d,p],GbMix:[c,l,h,u,f,d,p],DbDor:[c,l,h,u,f,d,p],EbPhr:[c,l,h,u,f,d,p],FbLyd:[c,l,h,u,f,d,p],BbLoc:[c,l,h,u,f,d,p],"A#":[c,l],"B#":[],"D#":[c,l,h],"E#":[c],"G#":[c,l,h,u],Gbm:[e,i,n,r,a,s,o]}[t]};var o={treble:{clef:"treble",pitch:4,mid:0},"treble+8":{clef:"treble+8",pitch:4,mid:0},"treble-8":{clef:"treble-8",pitch:4,mid:0},treble1:{clef:"treble",pitch:2,mid:2},treble2:{clef:"treble",pitch:4,mid:0},treble3:{clef:"treble",pitch:6,mid:-2},treble4:{clef:"treble",pitch:8,mid:-4},treble5:{clef:"treble",pitch:10,mid:-6},perc:{clef:"perc",pitch:6,mid:0},none:{clef:"none",mid:0},bass:{clef:"bass",pitch:8,mid:-12},"bass+8":{clef:"bass+8",pitch:8,mid:-12},"bass-8":{clef:"bass-8",pitch:8,mid:-12},"bass+16":{clef:"bass",pitch:8,mid:-12},"bass-16":{clef:"bass",pitch:8,mid:-12},bass1:{clef:"bass",pitch:2,mid:-6},bass2:{clef:"bass",pitch:4,mid:-8},bass3:{clef:"bass",pitch:6,mid:-10},bass4:{clef:"bass",pitch:8,mid:-12},bass5:{clef:"bass",pitch:10,mid:-14},tenor:{clef:"alto",pitch:8,mid:-8},tenor1:{clef:"alto",pitch:2,mid:-2},tenor2:{clef:"alto",pitch:4,mid:-4},tenor3:{clef:"alto",pitch:6,mid:-6},tenor4:{clef:"alto",pitch:8,mid:-8},tenor5:{clef:"alto",pitch:10,mid:-10},alto:{clef:"alto",pitch:6,mid:-6},alto1:{clef:"alto",pitch:2,mid:-2},alto2:{clef:"alto",pitch:4,mid:-4},alto3:{clef:"alto",pitch:6,mid:-6},alto4:{clef:"alto",pitch:8,mid:-8},alto5:{clef:"alto",pitch:10,mid:-10},"alto+8":{clef:"alto+8",pitch:6,mid:-6},"alto-8":{clef:"alto-8",pitch:6,mid:-6}},c=function(t,e){var i=o[t];return(i?i.mid:0)+e};a.fixClef=function(t){var e=o[t.type];e&&(t.clefPos=e.pitch,t.type=e.clef)},a.deepCopyKey=function(t){var e={accidentals:[],root:t.root,acc:t.acc,mode:t.mode};return n.each(t.accidentals,function(t){e.accidentals.push(n.clone(t))}),e};var l={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};a.addPosToKey=function(t,e){var i=t.verticalPos;n.each(e.accidentals,function(t){var e=l[t.note];e-=i,t.verticalPos=e}),e.impliedNaturals&&n.each(e.impliedNaturals,function(t){var e=l[t.note];e-=i,t.verticalPos=e}),i<-10?(n.each(e.accidentals,function(t){t.verticalPos-=7,(t.verticalPos>=11||10===t.verticalPos&&"flat"===t.acc)&&(t.verticalPos-=7),"A"===t.note&&"sharp"===t.acc&&(t.verticalPos-=7),"G"!==t.note&&"F"!==t.note||"flat"!==t.acc||(t.verticalPos-=7)}),e.impliedNaturals&&n.each(e.impliedNaturals,function(t){t.verticalPos-=7,(t.verticalPos>=11||10===t.verticalPos&&"flat"===t.acc)&&(t.verticalPos-=7),"A"===t.note&&"sharp"===t.acc&&(t.verticalPos-=7),"G"!==t.note&&"F"!==t.note||"flat"!==t.acc||(t.verticalPos-=7)})):i<-4?(n.each(e.accidentals,function(t){t.verticalPos-=7,-8!==i||"f"!==t.note&&"g"!==t.note||"sharp"!==t.acc||(t.verticalPos-=7)}),e.impliedNaturals&&n.each(e.impliedNaturals,function(t){t.verticalPos-=7,-8!==i||"f"!==t.note&&"g"!==t.note||"sharp"!==t.acc||(t.verticalPos-=7)})):i>=7&&(n.each(e.accidentals,function(t){t.verticalPos+=7}),e.impliedNaturals&&n.each(e.impliedNaturals,function(t){t.verticalPos+=7}))},a.fixKey=function(t,e){var i=n.clone(e);return a.addPosToKey(t,i),i};var h=function(t){for(var e=l[t.charAt(0)],i=1;i0){o.foundKey=!0;var h="",u="";s[0].token.length>1?s[0].token=s[0].token.substring(1):s.shift();var f=l.token;if(s.length>0){var d=t.getSharpFlat(s[0].token);if(d.len>0&&(s[0].token.length>1?s[0].token=s[0].token.substring(1):s.shift(),f+=d.token,h=d.token),s.length>0){var p=t.getMode(s[0].token);p.len>0&&(s.shift(),f+=p.token,u=p.token)}if(void 0===a.standardKey(f))return e("Unsupported key signature: "+f,n,0),o}var m=a.deepCopyKey(i.key);if(i.key=a.deepCopyKey({accidentals:a.standardKey(f)}),i.key.root=l.token,i.key.acc=h,i.key.mode=u,m){for(var g,v=0;v0;)switch(s[0].token){case"m":case"middle":if(s.shift(),0===s.length)return e("Expected = after middle",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after middle",n,b.start);break}if(0===s.length)return e("Expected parameter after middle=",n,0),o;var _=t.getPitchFromTokens(s);_.warn&&e(_.warn,n,0),_.position&&(i.clef.verticalPos=_.position-6);break;case"transpose":if(s.shift(),0===s.length)return e("Expected = after transpose",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after transpose",n,b.start);break}if(0===s.length)return e("Expected parameter after transpose=",n,0),o;if("number"!==s[0].type){e("Expected number after transpose",n,s[0].start);break}i.clef.transpose=s[0].intt,s.shift();break;case"stafflines":if(s.shift(),0===s.length)return e("Expected = after stafflines",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after stafflines",n,b.start);break}if(0===s.length)return e("Expected parameter after stafflines=",n,0),o;if("number"!==s[0].type){e("Expected number after stafflines",n,s[0].start);break}i.clef.stafflines=s[0].intt,s.shift();break;case"staffscale":if(s.shift(),0===s.length)return e("Expected = after staffscale",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after staffscale",n,b.start);break}if(0===s.length)return e("Expected parameter after staffscale=",n,0),o;if("number"!==s[0].type){e("Expected number after staffscale",n,s[0].start);break}i.clef.staffscale=s[0].floatt,s.shift();break;case"style":if(s.shift(),0===s.length)return e("Expected = after style",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after style",n,b.start);break}if(0===s.length)return e("Expected parameter after style=",n,0),o;switch(s[0].token){case"normal":case"harmonic":case"rhythm":case"x":i.style=s[0].token,s.shift();break;default:e("error parsing style element: "+s[0].token,n,s[0].start)}break;case"clef":if(s.shift(),0===s.length)return e("Expected = after clef",n,0),o;if("="!==(b=s.shift()).token){e("Expected = after clef",n,b.start);break}if(0===s.length)return e("Expected parameter after clef=",n,0),o;case"treble":case"bass":case"alto":case"tenor":case"perc":var S=s.shift();switch(S.token){case"treble":case"tenor":case"alto":case"bass":case"perc":case"none":break;case"C":S.token="alto";break;case"F":S.token="bass";break;case"G":S.token="treble";break;case"c":S.token="alto";break;case"f":S.token="bass";break;case"g":S.token="treble";break;default:e("Expected clef name. Found "+S.token,n,S.start)}s.length>0&&"number"===s[0].type&&(S.token+=s[0].token,s.shift()),s.length>1&&("-"===s[0].token||"+"===s[0].token)&&"8"===s[1].token&&(S.token+=s[0].token+s[1].token,s.shift(),s.shift()),i.clef={type:S.token,verticalPos:c(S.token,0)},i.currentVoice&&void 0!==i.currentVoice.transpose&&(i.clef.transpose=i.currentVoice.transpose),o.foundClef=!0;break;default:e("Unknown parameter: "+s[0].token,n,s[0].start),s.shift()}return o};a.parseVoice=function(n,r,a){var o=t.getMeat(n,r,a),l=o.start,u=o.end,f=t.getToken(n,l,u);if(0!==f.length){var d=!1;void 0===i.voices[f]&&(i.voices[f]={},d=!0,i.score_is_present&&e("Can't have an unknown V: id when the %score directive is present",n,l)),l+=f.length,l+=t.eatWhiteSpace(n,l);for(var p={startStaff:d},m=function(i){var r=t.getVoiceToken(n,l,u);void 0!==r.warn?e("Expected value for "+i+" in voice: "+r.warn,n,l):0===r.token.length&&'"'!==n.charAt(l)?e("Expected value for "+i+" in voice",n,l):p[i]=r.token,l+=r.len},g=function(r,a,s){var o=t.getVoiceToken(n,l,u);void 0!==o.warn?e("Expected value for "+a+" in voice: "+o.warn,n,l):0===o.token.length&&'"'!==n.charAt(l)?e("Expected value for "+a+" in voice",n,l):("number"===s&&(o.token=parseFloat(o.token)),i.voices[r][a]=o.token),l+=o.len};l=1e3&&delete s[o.shift()],o.push(a),s[a]=t[T](e,r),i?i(s[a]):s[a])}}function r(){return this.hex}function a(t,e){for(var i=[],n=0,r=t.length;r-2*!e>n;n+=2){var a=[{x:+t[n-2],y:+t[n-1]},{x:+t[n],y:+t[n+1]},{x:+t[n+2],y:+t[n+3]},{x:+t[n+4],y:+t[n+5]}];e?n?r-4==n?a[3]={x:+t[0],y:+t[1]}:r-2==n&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[r-2],y:+t[r-1]}:r-4==n?a[3]=a[2]:n||(a[0]={x:+t[n],y:+t[n+1]}),i.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return i}function s(t,e,i,n,r){return t*(t*(-3*e+9*i-9*n+3*r)+6*e-12*i+6*n)-3*e+3*i}function o(t,e,i,n,r,a,o,c,l){null==l&&(l=1);for(var h=(l=l>1?1:l<0?0:l)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var m=h*u[p]+h,g=s(m,t,i,r,o),v=s(m,e,n,a,c),b=g*g+v*v;d+=f[p]*D.sqrt(b)}return h*d}function c(t,e,i,n,r,a,s,o){if(!(H(t,i)H(r,s)||H(e,n)H(a,o))){var c=(t-i)*(a-o)-(e-n)*(r-s);if(c){var l=((t*n-e*i)*(r-s)-(t-i)*(r*o-a*s))/c,h=((t*n-e*i)*(a-o)-(e-n)*(r*o-a*s))/c,u=+l.toFixed(2),f=+h.toFixed(2);if(!(u<+z(t,i).toFixed(2)||u>+H(t,i).toFixed(2)||u<+z(r,s).toFixed(2)||u>+H(r,s).toFixed(2)||f<+z(e,n).toFixed(2)||f>+H(e,n).toFixed(2)||f<+z(a,o).toFixed(2)||f>+H(a,o).toFixed(2)))return{x:l,y:h}}}}function l(t,i,n){var r=e.bezierBBox(t),a=e.bezierBBox(i);if(!e.isBBoxIntersect(r,a))return n?0:[];for(var s=o.apply(0,t),l=o.apply(0,i),h=H(~~(s/5),1),u=H(~~(l/5),1),f=[],d=[],p={},m=n?0:[],g=0;g=0&&T<=1.001&&C>=0&&C<=1.001&&(n?m++:m.push({x:S.x,y:S.y,t1:z(T,1),t2:z(C,1)}))}}return m}function h(t,i,n){t=e._path2curve(t),i=e._path2curve(i);for(var r,a,s,o,c,h,u,f,d,p,m=n?0:[],g=0,v=t.length;gn)return n;for(;ia?i=r:n=r,r=(n-i)/2+i}return r}(t,1/(200*a)),((d*o+f)*o+u)*o}function p(t,e){var i=[],n={};if(this.ms=e,this.times=1,t){for(var r in t)t[k](r)&&(n[K(r)]=t[r],i.push(K(r)));i.sort(ot)}this.anim=n,this.top=i[i.length-1],this.percents=i}function m(i,n,r,a,s,o){r=K(r);var c,l,h,f,p,m,g=i.ms,v={},b={},x={};if(a)for(A=0,_=ne.length;A<_;A++){var w=ne[A];if(w.el.id==n.id&&w.anim==i){w.percent!=r?(ne.splice(A,1),h=1):l=w,n.attr(w.totalOrigin);break}}else a=+b;for(var A=0,_=i.percents.length;A<_;A++){if(i.percents[A]==r||i.percents[A]>a*i.top){r=i.percents[A],p=i.percents[A-1]||0,g=g/i.top*(r-p),f=i.percents[A+1],c=i.anim[r];break}a&&n.attr(i.anim[i.percents[A]])}if(c){if(l)l.initstatus=a,l.start=new Date-l.ms*a;else{for(var S in c)if(c[k](S)&&($[k](S)||n.paper.customAttributes[k](S)))switch(v[S]=n.attr(S),null==v[S]&&(v[S]=J[S]),b[S]=c[S],$[S]){case O:x[S]=(b[S]-v[S])/g;break;case"colour":v[S]=e.getRGB(v[S]);var T=e.getRGB(b[S]);x[S]={r:(T.r-v[S].r)/g,g:(T.g-v[S].g)/g,b:(T.b-v[S].b)/g};break;case"path":var M=Lt(v[S],b[S]),N=M[1];for(v[S]=M[0],x[S]=[],A=0,_=v[S].length;A<_;A++){x[S][A]=[0];for(var B=1,L=v[S][A].length;B',(dt=pt.firstChild).style.behavior="url(#default#VML)",!dt||"object"!=typeof dt.adj)return e.type="";pt=null}e.svg=!(e.vml="VML"==e.type),e._Paper=S,e.fn=b=S.prototype=e.prototype,e._id=0,e.is=function(t,e){return"finite"==(e=P.call(e))?!Y[k](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||U.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,i,n,r,a,s){if(null==a){var o=t-n,c=i-r;return o||c?(180+180*D.atan2(-c,-o)/F+360)%360:0}return e.angle(t,i,a,s)-e.angle(n,r,a,s)},e.rad=function(t){return t%360*F/180},e.deg=function(t){return Math.round(180*t/F%360*1e3)/1e3},e.snapTo=function(t,i,n){if(n=e.is(n,"finite")?n:10,e.is(t,j)){for(var r=t.length;r--;)if(q(t[r]-i)<=n)return t[r]}else{var a=i%(t=+t);if(at-n)return i-a+t}return i};var mt,gt;e.createUUID=(mt=/[xy]/g,gt=function(t){var e=16*D.random()|0;return("x"==t?e:3&e|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(mt,gt).toUpperCase()});e.setWindow=function(i){t("raphael.setWindow",e,A.win,i),A.win=i,A.doc=A.win.document,e._engine.initWin&&e._engine.initWin(A.win)};var vt=function(t){if(e.vml){var i,r=/^\s+|\s+$/g;try{var a=new ActiveXObject("htmlfile");a.write(""),a.close(),i=a.body}catch(t){i=createPopup().document.body}var s=i.createTextRange();vt=n(function(t){try{i.style.color=I(t).replace(r,"");var e=s.queryCommandValue("ForeColor");return"#"+("000000"+(e=(255&e)<<16|65280&e|(16711680&e)>>>16).toString(16)).slice(-6)}catch(t){return"none"}})}else{var o=A.doc.createElement("i");o.title="Raphaël Colour Picker",o.style.display="none",A.doc.body.appendChild(o),vt=n(function(t){return o.style.color=t,A.doc.defaultView.getComputedStyle(o,"").getPropertyValue("color")})}return vt(t)},bt=function(){return"hsb("+[this.h,this.s,this.b]+")"},yt=function(){return"hsl("+[this.h,this.s,this.l]+")"},xt=function(){return this.hex},wt=function(t,i,n){if(null==i&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,i=t.g,t=t.r),null==i&&e.is(t,R)){var r=e.getRGB(t);t=r.r,i=r.g,n=r.b}return(t>1||i>1||n>1)&&(t/=255,i/=255,n/=255),[t,i,n]},kt=function(t,i,n,r){var a={r:t*=255,g:i*=255,b:n*=255,hex:e.rgb(t,i,n),toString:xt};return e.is(r,"finite")&&(a.opacity=r),a};e.color=function(t){var i;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(i=e.hsb2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(i=e.hsl2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(i=e.rgb2hsl(t),t.h=i.h,t.s=i.s,t.l=i.l,i=e.rgb2hsb(t),t.v=i.b):(t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1),t.toString=xt,t},e.hsb2rgb=function(t,e,i,n){var r,a,s,o,c;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(i=t.b,e=t.s,n=t.o,t=t.h),o=(c=i*e)*(1-q((t=(t*=360)%360/60)%2-1)),r=a=s=i-c,kt(r+=[c,o,0,0,o,c][t=~~t],a+=[o,c,c,o,0,0][t],s+=[0,0,o,c,c,o][t],n)},e.hsl2rgb=function(t,e,i,n){var r,a,s,o,c;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(i=t.l,e=t.s,t=t.h),(t>1||e>1||i>1)&&(t/=360,e/=100,i/=100),t=(t*=360)%360/60,o=(c=2*e*(i<.5?i:1-i))*(1-q(t%2-1)),r=a=s=i-c/2,kt(r+=[c,o,0,0,o,c][t=~~t],a+=[o,c,c,o,0,0][t],s+=[0,0,o,c,c,o][t],n)},e.rgb2hsb=function(t,e,i){var n,r;return t=(i=wt(t,e,i))[0],e=i[1],i=i[2],{h:((0==(r=(n=H(t,e,i))-z(t,e,i))?null:n==t?(e-i)/r:n==e?(i-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/n,b:n,toString:bt}},e.rgb2hsl=function(t,e,i){var n,r,a,s;return t=(i=wt(t,e,i))[0],e=i[1],i=i[2],n=((r=H(t,e,i))+(a=z(t,e,i)))/2,{h:((0==(s=r-a)?null:r==t?(e-i)/s:r==e?(i-t)/s+2:(t-e)/s+4)+360)%6*60/360,s:0==s?0:n<.5?s/(2*n):s/(2-2*n),l:n,toString:yt}},e._path2string=function(){return this.join(",").replace(it,"$1")};e._preload=function(t,e){var i=A.doc.createElement("img");i.style.cssText="position:absolute;left:-9999em;top:-9999em",i.onload=function(){e.call(this),this.onload=null,A.doc.body.removeChild(this)},i.onerror=function(){A.doc.body.removeChild(this)},A.doc.body.appendChild(i),i.src=t};e.getRGB=n(function(t){if(!t||(t=I(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:r};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:r};!et[k](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=vt(t));var i,n,a,s,o,c,l=t.match(W);return l?(l[2]&&(a=Z(l[2].substring(5),16),n=Z(l[2].substring(3,5),16),i=Z(l[2].substring(1,3),16)),l[3]&&(a=Z((o=l[3].charAt(3))+o,16),n=Z((o=l[3].charAt(2))+o,16),i=Z((o=l[3].charAt(1))+o,16)),l[4]&&(c=l[4][E](tt),i=K(c[0]),"%"==c[0].slice(-1)&&(i*=2.55),n=K(c[1]),"%"==c[1].slice(-1)&&(n*=2.55),a=K(c[2]),"%"==c[2].slice(-1)&&(a*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(s=K(c[3])),c[3]&&"%"==c[3].slice(-1)&&(s/=100)),l[5]?(c=l[5][E](tt),i=K(c[0]),"%"==c[0].slice(-1)&&(i*=2.55),n=K(c[1]),"%"==c[1].slice(-1)&&(n*=2.55),a=K(c[2]),"%"==c[2].slice(-1)&&(a*=2.55),("deg"==c[0].slice(-3)||"°"==c[0].slice(-1))&&(i/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(s=K(c[3])),c[3]&&"%"==c[3].slice(-1)&&(s/=100),e.hsb2rgb(i,n,a,s)):l[6]?(c=l[6][E](tt),i=K(c[0]),"%"==c[0].slice(-1)&&(i*=2.55),n=K(c[1]),"%"==c[1].slice(-1)&&(n*=2.55),a=K(c[2]),"%"==c[2].slice(-1)&&(a*=2.55),("deg"==c[0].slice(-3)||"°"==c[0].slice(-1))&&(i/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(s=K(c[3])),c[3]&&"%"==c[3].slice(-1)&&(s/=100),e.hsl2rgb(i,n,a,s)):((l={r:i,g:n,b:a,toString:r}).hex="#"+(16777216|a|n<<8|i<<16).toString(16).slice(1),e.is(s,"finite")&&(l.opacity=s),l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:r}},e),e.hsb=n(function(t,i,n){return e.hsb2rgb(t,i,n).hex}),e.hsl=n(function(t,i,n){return e.hsl2rgb(t,i,n).hex}),e.rgb=n(function(t,e,i){function n(t){return t+.5|0}return"#"+(16777216|n(i)|n(e)<<8|n(t)<<16).toString(16).slice(1)}),e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},i=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),i.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var i=At(t);if(i.arr)return St(i.arr);var n={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},r=[];return e.is(t,j)&&e.is(t[0],j)&&(r=St(t)),r.length||I(t).replace(nt,function(t,e,i){var a=[],s=e.toLowerCase();if(i.replace(at,function(t,e){e&&a.push(+e)}),"m"==s&&a.length>2&&(r.push([e][C](a.splice(0,2))),s="l",e="m"==e?"l":"L"),"r"==s)r.push([e][C](a));else for(;a.length>=n[s]&&(r.push([e][C](a.splice(0,n[s]))),n[s]););}),r.toString=e._path2string,i.arr=St(r),r},e.parseTransformString=n(function(t){if(!t)return null;var i=[];return e.is(t,j)&&e.is(t[0],j)&&(i=St(t)),i.length||I(t).replace(rt,function(t,e,n){var r=[];P.call(e);n.replace(at,function(t,e){e&&r.push(+e)}),i.push([e][C](r))}),i.toString=e._path2string,i});var At=function(t){var e=At.ps=At.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var i in e)e[k](i)&&i!=t&&(e[i].sleep--,!e[i].sleep&&delete e[i])}),e[t]};e.findDotsAtSegment=function(t,e,i,n,r,a,s,o,c){var l=1-c,h=V(l,3),u=V(l,2),f=c*c,d=f*c,p=h*t+3*u*c*i+3*l*c*c*r+d*s,m=h*e+3*u*c*n+3*l*c*c*a+d*o,g=t+2*c*(i-t)+f*(r-2*i+t),v=e+2*c*(n-e)+f*(a-2*n+e),b=i+2*c*(r-i)+f*(s-2*r+i),y=n+2*c*(a-n)+f*(o-2*a+n),x=l*t+c*i,w=l*e+c*n,k=l*r+c*s,A=l*a+c*o,_=90-180*D.atan2(g-b,v-y)/F;return(g>b||v=t.x&&e<=t.x2&&i>=t.y&&i<=t.y2},e.isBBoxIntersect=function(t,i){var n=e.isPointInsideBBox;return n(i,t.x,t.y)||n(i,t.x2,t.y)||n(i,t.x,t.y2)||n(i,t.x2,t.y2)||n(t,i.x,i.y)||n(t,i.x2,i.y)||n(t,i.x,i.y2)||n(t,i.x2,i.y2)||(t.xi.x||i.xt.x)&&(t.yi.y||i.yt.y)},e.pathIntersection=function(t,e){return h(t,e)},e.pathIntersectionNumber=function(t,e){return h(t,e,1)},e.isPointInsidePath=function(t,i,n){var r=e.pathBBox(t);return e.isPointInsideBBox(r,i,n)&&h(t,[["M",i,n],["H",r.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method “"+e+"” of removed object",e)}};var _t=e.pathBBox=function(t){var e=At(t);if(e.bbox)return i(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var n,r=0,a=0,s=[],o=[],c=0,l=(t=Lt(t)).length;c1&&(i*=b=D.sqrt(b),r*=b);var y=i*i,x=r*r,w=(s==o?-1:1)*D.sqrt(q((y*x-y*v*v-x*g*g)/(y*v*v+x*g*g))),k=w*i*v/r+(t+c)/2,A=w*-r*g/i+(e+l)/2,_=D.asin(((e-A)/r).toFixed(9)),S=D.asin(((l-A)/r).toFixed(9));_=tS&&(_-=2*F),!o&&S>_&&(S-=2*F)}var T=S-_;if(q(T)>f){var M=S,N=c,I=l;S=_+f*(o&&S>_?1:-1),c=k+i*D.cos(S),l=A+r*D.sin(S),p=It(c,l,i,r,a,0,o,N,I,[S,M,k,A])}T=S-_;var B=D.cos(_),L=D.sin(_),P=D.cos(S),H=D.sin(S),z=D.tan(T/4),V=4/3*i*z,O=4/3*r*z,R=[t,e],j=[t+V*L,e-O*B],U=[c+V*H,l-O*P],W=[c,l];if(j[0]=2*R[0]-j[0],j[1]=2*R[1]-j[1],h)return[j,U,W][C](p);for(var Y=[],G=0,X=(p=[j,U,W][C](p).join()[E](",")).length;G"1e12"&&(f=.5),q(d)>"1e12"&&(d=.5),f>0&&f<1&&(c=Et(t,e,i,n,r,a,s,o,f),m.push(c.x),p.push(c.y)),d>0&&d<1&&(c=Et(t,e,i,n,r,a,s,o,d),m.push(c.x),p.push(c.y)),l=a-2*n+e-(o-2*a+n),u=e-n,f=(-(h=2*(n-e)-2*(a-n))+D.sqrt(h*h-4*l*u))/2/l,d=(-h-D.sqrt(h*h-4*l*u))/2/l,q(f)>"1e12"&&(f=.5),q(d)>"1e12"&&(d=.5),f>0&&f<1&&(c=Et(t,e,i,n,r,a,s,o,f),m.push(c.x),p.push(c.y)),d>0&&d<1&&(c=Et(t,e,i,n,r,a,s,o,d),m.push(c.x),p.push(c.y)),{min:{x:z[T](0,m),y:z[T](0,p)},max:{x:H[T](0,m),y:H[T](0,p)}}}),Lt=e._path2curve=n(function(t,e){var i=!e&&At(t);if(!e&&i.curve)return St(i.curve);for(var n=Ct(t),r=e&&Ct(e),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o=function(t,e,i){var n,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][C](It[T](0,[e.x,e.y][C](t.slice(1))));break;case"S":"C"==i||"S"==i?(n=2*e.x-e.bx,r=2*e.y-e.by):(n=e.x,r=e.y),t=["C",n,r][C](t.slice(1));break;case"T":"Q"==i||"T"==i?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][C](Nt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][C](Nt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][C](Mt(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][C](Mt(e.x,e.y,t[1],e.y));break;case"V":t=["C"][C](Mt(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][C](Mt(e.x,e.y,e.X,e.Y))}return t},c=function(t,e){if(t[e].length>7){t[e].shift();for(var i=t[e];i.length;)h[e]="A",r&&(u[e]="A"),t.splice(e++,0,["C"][C](i.splice(0,6)));t.splice(e,1),m=H(n.length,r&&r.length||0)}},l=function(t,e,i,a,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),i.bx=0,i.by=0,i.x=t[s][1],i.y=t[s][2],m=H(n.length,r&&r.length||0))},h=[],u=[],f="",d="",p=0,m=H(n.length,r&&r.length||0);p.01;)u/=2,f+=(hr){if(i&&!f.start){if(u+=["C"+(h=Qt(s,o,c[1],c[2],c[3],c[4],c[5],c[6],r-d)).start.x,h.start.y,h.m.x,h.m.y,h.x,h.y],a)return u;f.start=u,u=["M"+h.x,h.y+"C"+h.n.x,h.n.y,h.end.x,h.end.y,c[5],c[6]].join(),d+=l,s=+c[5],o=+c[6];continue}if(!t&&!i)return h=Qt(s,o,c[1],c[2],c[3],c[4],c[5],c[6],r-d),{x:h.x,y:h.y,alpha:h.alpha}}d+=l,s=+c[5],o=+c[6]}u+=c.shift()+c}return f.end=u,(h=t?d:i?f:e.findDotsAtSegment(s,o,c[0],c[1],c[2],c[3],c[4],c[5],1)).alpha&&(h={x:h.x,y:h.y,alpha:h.alpha}),h}},$t=Jt(1),te=Jt(),ee=Jt(0,1);e.getTotalLength=$t,e.getPointAtLength=te,e.getSubpath=function(t,e,i){if(this.getTotalLength(t)-i<1e-6)return ee(t,e).end;var n=ee(t,i,1);return e?ee(n,e).end:n},Xt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():$t(t)},Xt.getPointAtLength=function(t){var e=this.getPath();if(e)return te(e,t)},Xt.getPath=function(){var t,i=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return i&&(t=i(this)),t},Xt.getSubpath=function(t,i){var n=this.getPath();if(n)return e.getSubpath(n,t,i)};var ie=e.easing_formulas={linear:function(t){return t},"<":function(t){return V(t,1.7)},">":function(t){return V(t,.48)},"<>":function(t){var e=.48-t/1.04,i=D.sqrt(.1734+e*e),n=i-e,r=-i-e,a=V(q(n),1/3)*(n<0?-1:1)+V(q(r),1/3)*(r<0?-1:1)+.5;return 3*(1-a)*a*a+a*a*a},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},elastic:function(t){return t==!!t?t:V(2,-10*t)*D.sin(2*F*(t-.075)/.3)+1},bounce:function(t){var e;return t<1/2.75?e=7.5625*t*t:t<2/2.75?e=7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?e=7.5625*(t-=2.25/2.75)*t+.9375:e=7.5625*(t-=2.625/2.75)*t+.984375,e}};ie.easeIn=ie["ease-in"]=ie["<"],ie.easeOut=ie["ease-out"]=ie[">"],ie.easeInOut=ie["ease-in-out"]=ie["<>"],ie["back-in"]=ie.backIn,ie["back-out"]=ie.backOut;var ne=[],re=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ae=function(){for(var i=+new Date,n=0;n1&&!r.next){for(s in f)f[k](s)&&(g[s]=r.totalOrigin[s]);r.el.attr(g),m(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&m(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}ne.length&&re(ae)},se=function(t){return t>255?255:t<0?0:t};Xt.animateWith=function(t,i,n,r,a,s){if(this.removed)return s&&s.call(this),this;var o=n instanceof p?n:e.animation(n,r,a,s);m(o,this,o.percents[0],null,this.attr());for(var c=0,l=ne.length;cc&&(c=h)}!t[c+="%"].callback&&(t[c].callback=r)}return new p(t,i)},Xt.animate=function(t,i,n,r){if(this.removed)return r&&r.call(this),this;var a=t instanceof p?t:e.animation(t,i,n,r);return m(a,this,a.percents[0],null,this.attr()),this},Xt.setTime=function(t,e){return t&&null!=e&&this.status(t,z(e,t.ms)/t.ms),this},Xt.status=function(t,e){var i,n,r=[],a=0;if(null!=e)return m(t,this,-1,z(e,1)),this;for(i=ne.length;a1)for(var n=0,r=i.length;n.5)-1;c(u-.5,2)+c(f-.5,2)>.25&&(f=a.sqrt(.25-c(u-.5,2))*r+.5)&&.5!=f&&(f=f.toFixed(5)-1e-5*r)}return""})).split(/\s*\-\s*/),"linear"==l){var y=r.shift();if(y=-n(y),isNaN(y))return null;var x=[0,0,a.cos(t.rad(y)),a.sin(t.rad(y))],w=1/(s(o(x[2]),o(x[3]))||1);x[2]*=w,x[3]*=w,x[2]<0&&(x[0]=-x[2],x[2]=0),x[3]<0&&(x[1]=-x[3],x[3]=0)}var k=t._parseDots(r);if(!k)return null;if(h=h.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&h!=e.gradient.id&&(m.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){b=p(l+"Gradient",{id:h}),e.gradient=b,p(b,"radial"==l?{fx:u,fy:f}:{x1:x[0],y1:x[1],x2:x[2],y2:x[3],gradientTransform:e.matrix.invert()}),m.defs.appendChild(b);for(var A=0,_=k.length;A<_;A++)b.appendChild(p("stop",{offset:k[A].offset?k[A].offset:A?"100%":"0%","stop-color":k[A].color||"#fff","stop-opacity":isFinite(k[A].opacity)?k[A].opacity:1}))}}return p(d,{fill:g(h),opacity:1,"fill-opacity":1}),v.fill="",v.opacity=1,v.fillOpacity=1,1},g=function(t){if((e=document.documentMode)&&(9===e||10===e))return"url('#"+t+"')";var e,i=document.location;return"url('"+(i.protocol+"//"+i.host+i.pathname+i.search)+"#"+t+"')"},v=function(t){var e=t.getBBox(1);p(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},b=function(n,r,a){if("path"==n.type){for(var s,o,c,l,h,u=i(r).toLowerCase().split("-"),m=n.paper,g=a?"end":"start",v=n.node,b=n.attrs,y=b["stroke-width"],x=u.length,w="classic",k=3,A=3,_=5;x--;)switch(u[x]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":w=u[x];break;case"wide":A=5;break;case"narrow":A=2;break;case"long":k=5;break;case"short":k=2}if("open"==w?(k+=2,A+=2,_+=2,c=1,l=a?4:1,h={fill:"none",stroke:b.stroke}):(l=c=k/2,h={fill:b.stroke,stroke:"none"}),n._.arrows?a?(n._.arrows.endPath&&d[n._.arrows.endPath]--,n._.arrows.endMarker&&d[n._.arrows.endMarker]--):(n._.arrows.startPath&&d[n._.arrows.startPath]--,n._.arrows.startMarker&&d[n._.arrows.startMarker]--):n._.arrows={},"none"!=w){var S="raphael-marker-"+w,T="raphael-marker-"+g+w+k+A+"-obj"+n.id;t._g.doc.getElementById(S)?d[S]++:(m.defs.appendChild(p(p("path"),{"stroke-linecap":"round",d:f[w],id:S})),d[S]=1);var C,M=t._g.doc.getElementById(T);M?(d[T]++,C=M.getElementsByTagName("use")[0]):(M=p(p("marker"),{id:T,markerHeight:A,markerWidth:k,orient:"auto",refX:l,refY:A/2}),C=p(p("use"),{"xlink:href":"#"+S,transform:(a?"rotate(180 "+k/2+" "+A/2+") ":"")+"scale("+k/_+","+A/_+")","stroke-width":(1/((k/_+A/_)/2)).toFixed(4)}),M.appendChild(C),m.defs.appendChild(M),d[T]=1),p(C,h);var N=c*("diamond"!=w&&"oval"!=w);a?(s=n._.arrows.startdx*y||0,o=t.getTotalLength(b.path)-N*y):(s=N*y,o=t.getTotalLength(b.path)-(n._.arrows.enddx*y||0)),(h={})["marker-"+g]="url(#"+T+")",(o||s)&&(h.d=t.getSubpath(b.path,s,o)),p(v,h),n._.arrows[g+"Path"]=S,n._.arrows[g+"Marker"]=T,n._.arrows[g+"dx"]=N,n._.arrows[g+"Type"]=w,n._.arrows[g+"String"]=r}else a?(s=n._.arrows.startdx*y||0,o=t.getTotalLength(b.path)-s):(s=0,o=t.getTotalLength(b.path)-(n._.arrows.enddx*y||0)),n._.arrows[g+"Path"]&&p(v,{d:t.getSubpath(b.path,s,o)}),delete n._.arrows[g+"Path"],delete n._.arrows[g+"Marker"],delete n._.arrows[g+"dx"],delete n._.arrows[g+"Type"],delete n._.arrows[g+"String"];for(h in d)if(d[e](h)&&!d[h]){var I=t._g.doc.getElementById(h);I&&I.parentNode.removeChild(I)}}},y={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},x=function(t,e,n){if(e=y[i(e).toLowerCase()]){for(var r=t.attrs["stroke-width"]||"1",a={round:r,square:r,butt:0}[t.attrs["stroke-linecap"]||n["stroke-linecap"]]||0,s=[],o=e.length;o--;)s[o]=e[o]*r+(o%2?1:-1)*a;p(t.node,{"stroke-dasharray":s.join(",")})}else p(t.node,{"stroke-dasharray":"none"})},w=function(n,a){var c=n.node,h=n.attrs,f=c.style.visibility;c.style.visibility="hidden";for(var d in a)if(a[e](d)){if(!t._availableAttrs[e](d))continue;var g=a[d];switch(h[d]=g,d){case"blur":n.blur(g);break;case"title":var y=c.getElementsByTagName("title");if(y.length&&(y=y[0]))y.firstChild.nodeValue=g;else{y=p("title");var w=t._g.doc.createTextNode(g);y.appendChild(w),c.appendChild(y)}break;case"href":case"target":var A=c.parentNode;if("a"!=A.tagName.toLowerCase()){var _=p("a");A.insertBefore(_,c),_.appendChild(c),A=_}"target"==d?A.setAttributeNS(u,"show","blank"==g?"new":g):A.setAttributeNS(u,d,g);break;case"cursor":c.style.cursor=g;break;case"transform":n.transform(g);break;case"arrow-start":b(n,g);break;case"arrow-end":b(n,g,1);break;case"clip-rect":var S=i(g).split(l);if(4==S.length){n.clip&&n.clip.parentNode.parentNode.removeChild(n.clip.parentNode);var T=p("clipPath"),C=p("rect");T.id=t.createUUID(),p(C,{x:S[0],y:S[1],width:S[2],height:S[3]}),T.appendChild(C),n.paper.defs.appendChild(T),p(c,{"clip-path":"url(#"+T.id+")"}),n.clip=C}if(!g){var M=c.getAttribute("clip-path");if(M){var N=t._g.doc.getElementById(M.replace(/(^url\(#|\)$)/g,""));N&&N.parentNode.removeChild(N),p(c,{"clip-path":""}),delete n.clip}}break;case"path":"path"==n.type&&(p(c,{d:g?h.path=t._pathToAbsolute(g):"M0,0"}),n._.dirty=1,n._.arrows&&("startString"in n._.arrows&&b(n,n._.arrows.startString),"endString"in n._.arrows&&b(n,n._.arrows.endString,1)));break;case"width":if(c.setAttribute(d,g),n._.dirty=1,!h.fx)break;d="x",g=h.x;case"x":h.fx&&(g=-h.x-(h.width||0));case"rx":if("rx"==d&&"rect"==n.type)break;case"cx":c.setAttribute(d,g),n.pattern&&v(n),n._.dirty=1;break;case"height":if(c.setAttribute(d,g),n._.dirty=1,!h.fy)break;d="y",g=h.y;case"y":h.fy&&(g=-h.y-(h.height||0));case"ry":if("ry"==d&&"rect"==n.type)break;case"cy":c.setAttribute(d,g),n.pattern&&v(n),n._.dirty=1;break;case"r":"rect"==n.type?p(c,{rx:g,ry:g}):c.setAttribute(d,g),n._.dirty=1;break;case"src":"image"==n.type&&c.setAttributeNS(u,"href",g);break;case"stroke-width":1==n._.sx&&1==n._.sy||(g/=s(o(n._.sx),o(n._.sy))||1),c.setAttribute(d,g),h["stroke-dasharray"]&&x(n,h["stroke-dasharray"],a),n._.arrows&&("startString"in n._.arrows&&b(n,n._.arrows.startString),"endString"in n._.arrows&&b(n,n._.arrows.endString,1));break;case"stroke-dasharray":x(n,g,a);break;case"fill":var I=i(g).match(t._ISURL);if(I){T=p("pattern");var E=p("image");T.id=t.createUUID(),p(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),p(E,{x:0,y:0,"xlink:href":I[1]}),T.appendChild(E),function(e){t._preload(I[1],function(){var t=this.offsetWidth,i=this.offsetHeight;p(e,{width:t,height:i}),p(E,{width:t,height:i})})}(T),n.paper.defs.appendChild(T),p(c,{fill:"url(#"+T.id+")"}),n.pattern=T,n.pattern&&v(n);break}var B=t.getRGB(g);if(B.error){if(("circle"==n.type||"ellipse"==n.type||"r"!=i(g).charAt())&&m(n,g)){if("opacity"in h||"fill-opacity"in h){var L=t._g.doc.getElementById(c.getAttribute("fill").replace(/^url\(#|\)$/g,""));if(L){var P=L.getElementsByTagName("stop");p(P[P.length-1],{"stop-opacity":("opacity"in h?h.opacity:1)*("fill-opacity"in h?h["fill-opacity"]:1)})}}h.gradient=g,h.fill="none";break}}else delete a.gradient,delete h.gradient,!t.is(h.opacity,"undefined")&&t.is(a.opacity,"undefined")&&p(c,{opacity:h.opacity}),!t.is(h["fill-opacity"],"undefined")&&t.is(a["fill-opacity"],"undefined")&&p(c,{"fill-opacity":h["fill-opacity"]});B[e]("opacity")&&p(c,{"fill-opacity":B.opacity>1?B.opacity/100:B.opacity});case"stroke":B=t.getRGB(g),c.setAttribute(d,B.hex),"stroke"==d&&B[e]("opacity")&&p(c,{"stroke-opacity":B.opacity>1?B.opacity/100:B.opacity}),"stroke"==d&&n._.arrows&&("startString"in n._.arrows&&b(n,n._.arrows.startString),"endString"in n._.arrows&&b(n,n._.arrows.endString,1));break;case"gradient":("circle"==n.type||"ellipse"==n.type||"r"!=i(g).charAt())&&m(n,g);break;case"opacity":h.gradient&&!h[e]("stroke-opacity")&&p(c,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(h.gradient){(L=t._g.doc.getElementById(c.getAttribute("fill").replace(/^url\(#|\)$/g,"")))&&(P=L.getElementsByTagName("stop"),p(P[P.length-1],{"stop-opacity":g}));break}default:"font-size"==d&&(g=r(g,10)+"px");var D=d.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});c.style[D]=g,n._.dirty=1,c.setAttribute(d,g)}}k(n,a),c.style.visibility=f},k=function(n,a){if("text"==n.type&&(a[e]("text")||a[e]("font")||a[e]("font-size")||a[e]("x")||a[e]("y"))){var s=n.attrs,o=n.node,c=o.firstChild?r(t._g.doc.defaultView.getComputedStyle(o.firstChild,"").getPropertyValue("font-size"),10):10;if(a[e]("text")){for(s.text=a.text;o.firstChild;)o.removeChild(o.firstChild);for(var l,h=i(a.text).split("\n"),u=[],f=0,d=h.length;f"));var W=j.getBoundingClientRect();_.W=d.w=(W.right-W.left)/100,_.H=d.h=(W.bottom-W.top)/100,_.X=d.x,_.Y=d.y+_.H/2,("x"in c||"y"in c)&&(_.path.v=t.format("m{0},{1}l{2},{1}",a(21600*d.x),a(21600*d.y),a(21600*d.x)+1));for(var Y=["x","y","text","font","font-family","font-weight","font-style","font-size"],G=0,X=Y.length;G.25&&(i=r.sqrt(.25-o(e-.5,2))*(2*(i>.5)-1)+.5),l=e+" "+i),""})).split(/\s*\-\s*/),"linear"==c){var h=a.shift();if(h=-n(h),isNaN(h))return null}var u=t._parseDots(a);if(!u)return null;if(e=e.shape||e.node,u.length){e.removeChild(s),s.on=!0,s.method="none",s.color=u[0].color,s.color2=u[u.length-1].color;for(var f=[],d=0,p=u.length;d')}}catch(t){x=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),i=e.container,n=e.height,r=e.width,a=e.x,s=e.y;if(!i)throw new Error("VML container not found.");var o=new t._Paper,c=o.canvas=t._g.doc.createElement("div"),l=c.style;return a=a||0,s=s||0,r=r||512,n=n||342,o.width=r,o.height=n,r==+r&&(r+="px"),n==+n&&(n+="px"),o.coordsize=216e5+" 21600000",o.coordorigin="0 0",o.span=t._g.doc.createElement("span"),o.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",c.appendChild(o.span),l.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",r,n),1==i?(t._g.doc.body.appendChild(c),l.left=a+"px",l.top=s+"px",l.position="absolute"):i.firstChild?i.insertBefore(c,i.firstChild):i.appendChild(c),o.renderfix=function(){},o},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML="",this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var T=t.st;for(var C in S)S[e](C)&&!T[e](C)&&(T[C]=function(t){return function(){var e=arguments;return this.forEach(function(i){i[t].apply(i,e)})}}(C))}}.apply(e,n))||(t.exports=r)}])},t.exports=n()},function(t,e,i){"use strict";"performance"in window&&("galactic"in window||(window.galactic={}),window.galactic.loc={isLocalUrl:function(){return!1}},i(39),i(40)(window.galactic),i(41),i(42),i(43),i(44),i(45),i(46),i(47),i(48),i(49),i(50));var n={};!function(){function t(t,e){return t.replace(/%T/g,e)}function e(t,e){return!!t&&(" "+t.className+" ").indexOf(" "+e+" ")>-1}function i(t,i){t&&(e(t,i)||(t.className=t.className+" "+i))}function r(t,e){t&&(t.className=t.className.replace(e,"").trim().replace(" "," "))}function a(t,n){t&&(e(t,n)?r(t,n):i(t,n))}function s(t,i){if(!t)return null;for(;t!==document.body;){if(e(t,i))return t;t=t.parentNode}return null}function o(t,e){if(!t)return null;var i=t.getElementsByClassName(e);return 0===i.length?null:i[0]}n.generateMidiDownloadLink=function(t,e,i,n){var r='
';e.preTextDownload&&(r+=e.preTextDownload);var a,s,o=t.metaText&&t.metaText.title?t.metaText.title:"Untitled";return a=e.downloadLabel&&((s=e.downloadLabel)&&"[object Function]"==={}.toString.call(s))?e.downloadLabel(t,n):e.downloadLabel?e.downloadLabel.replace(/%T/,o):'Download MIDI for "'+o+'"',r+=''+a+"",e.postTextDownload&&(r+=e.postTextDownload),r+"
"},n.generateMidiControls=function(e,i,n,r){if(!("performance"in window))return'
ERROR: this browser doesn't support window.performance
";if("not loaded"===n.midiInlineInitialized)return'
MIDI NOT PRESENT
';var a=e.metaText&&e.metaText.title?e.metaText.title:"Untitled",s=i.inlineControls||{};void 0===s.standard&&(s.standard=!0),void 0===s.tooltipSelection&&(s.tooltipSelection="Click to toggle play selection/play all."),void 0===s.tooltipLoop&&(s.tooltipLoop="Click to toggle play once/repeat."),void 0===s.tooltipReset&&(s.tooltipReset="Click to go to beginning."),void 0===s.tooltipPlay&&(s.tooltipPlay="Click to play/pause."),void 0===s.tooltipProgress&&(s.tooltipProgress="Click to change the playback position."),void 0===s.tooltipTempo&&(s.tooltipTempo="Change the playback speed.");var o="";s.hide&&(o='style="display:none;"');var c='
";if(c+='",i.preTextInline&&(c+=''+t(i.preTextInline,a)+""),s.selectionToggle&&(c+=''),s.loopToggle&&(c+=''),s.standard&&(c+=' 0:00'),s.tempo){var l=e&&e.metaText&&e.metaText.tempo?e.metaText.tempo.bpm:180;c+='% ('+l+" BPM)"}return i.postTextInline&&(c+=''+t(i.postTextInline,a)+""),c+"
"},n.soundfontUrl="https://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/";var c,l,h=!1;function u(t,e,i){MIDI.player.currentTime=0,MIDI.player.warp=t,MIDI.player.load({events:e}),i()}function f(){MIDI.player.start(MIDI.player.currentTime)}function d(){MIDI.player.stop()}function p(){MIDI.player.pause()}function m(t,e){var i,r,a,s=o(t,"abcjs-data"),c=JSON.parse(s.innerHTML),l=1,f=o(t,"abcjs-midi-tempo");if(f){var d=parseInt(f.value,10);d>0&&(l=100/d)}i=l,r=c,a=e,h?u(i,r,a):MIDI.setup({debug:!1,soundfontUrl:n.soundfontUrl}).then(function(){h=!0,u(i,r,a)})}function g(){var t=o(document,"abcjs-midi-current");t&&(d(),r(t,"abcjs-midi-current"),r(o(t,"abcjs-midi-start"),"abcjs-pushed"))}function v(t){var i;if(t.duration>0&&c!==t.progress&&(c=t.progress,(i=o(document,"abcjs-midi-current"))&&e(o(i,"abcjs-midi-start"),"abcjs-pushed"))){var n=o(i,"abcjs-midi-progress-background").offsetWidth,r=o(i,"abcjs-midi-progress-indicator"),a=n*c;r.style.left=a+"px";var s=o(i,"abcjs-midi-clock");if(s){var l=Math.floor(t.currentTime),h=Math.floor(l/60);(l%=60)<10&&(l="0"+l),h<10&&(h=" "+h),s.innerHTML=h+":"+l}var u=i.abcjsQpm;!u&&i.abcjsTune&&i.abcjsTune.metaText&&i.abcjsTune.metaText.tempo&&(u=i.abcjsTune.metaText.tempo.bpm),u||(u=180);var f=parseInt(u,10)/60,d=t.currentTime;if(i.abcjsListener){var p=Math.floor(d/f);t.newBeat=p!==i.abcjsLastBeat,i.abcjsLastBeat=p,i.abcjsListener(i,t,i.abcjsContext)}if(i.abcjsAnimate){var m=f/64,g=function(t,e,i){for(var n,r,a=0,s=t.length-1;a<=s;)if((r=t[n=Math.floor((a+s)/2)]).milliseconds/1e3-ie))return n;s=n-1}for(;t[n].milliseconds/1e3-i>=e&&n>0;)n--;return 0===n&&t[n].milliseconds/1e3-i>=e?-1:n}(i.abcjsTune.noteTimings,d,m);if(g!==i.abcjsLastIndex){var v=i.abcjsLastIndex>=0?i.abcjsTune.noteTimings[i.abcjsLastIndex]:null;i.abcjsAnimate(v,i.abcjsTune.noteTimings[g],i.abcjsContext),i.abcjsLastIndex=g}}}if(1===t.progress){var x=o(i=o(document,"abcjs-midi-current"),"abcjs-midi-loop"),w=function(){x&&e(x,"abcjs-pushed")&&b(o(i,"abcjs-midi-start"))};setTimeout(function(){y(i,w),i&&i.abcjsAnimate&&i.abcjsAnimate(i.abcjsTune.noteTimings[i.abcjsLastIndex],null,i.abcjsContext)},1)}}function b(t){var n,a=s(t,"abcjs-inline-midi");if(e(t,"abcjs-pushed"))p(),r(t,"abcjs-pushed");else{if(e(a,"abcjs-midi-current"))f();else{g();m(a,function(){f(),i(a,"abcjs-midi-current")})}i(t,"abcjs-pushed")}a.abcjsLastBeat=-1,a.abcjsLastIndex=-1,n=v,MIDI.player.setAnimation(n)}function y(t,e){var n=s(t,"abcjs-inline-midi");g(),n&&m(n,function(){i(n,"abcjs-midi-current"),o(n,"abcjs-midi-progress-indicator").style.left="0px",o(n,"abcjs-midi-clock").innerHTML=" 0:00",e&&e()})}function x(t){var n=s(t,"abcjs-inline-midi"),r=o(n,"abcjs-midi-start"),a=e(r,"abcjs-pushed");e(n,"abcjs-midi-current")&&y(t,function(){a&&(f(),i(r,"abcjs-pushed"))})}function w(t,i){var n,r,a,c=s(t,"abcjs-inline-midi");if(e(c,"abcjs-midi-current")){var l=o(c,"abcjs-midi-start");l=e(l,"abcjs-pushed");var h=t.offsetWidth,u=function(t,e){var i=0;do{i+=t.offsetLeft-t.scrollLeft,t=t.offsetParent}while(t);return e.pageX-i}(t,i);n=l,r=u/h,a=MIDI.player.duration,n&&p(),MIDI.player.currentTime=a*r,n&&f()}}function k(t){for(var i,n=parseInt(t.value,10),r=parseInt(t.getAttribute("data-start-tempo"),10);t&&!e(t,"abcjs-midi-current-tempo");)t=t.nextSibling;t.innerHTML=Math.floor(n*r/100),i=n,MIDI.player.warp=i>0?100/i:1}n.startPlaying=function(t){b(t)},n.stopPlaying=function(){d()},l=function(){if(document.body.addEventListener("click",function(t){for(var i=(t=t||window.event).target||t.srcElement;i&&i!==document.body;){if(e(i,"abcjs-midi-start"))return void b(i);if(e(i,"abcjs-midi-selection"))return void a(i,"abcjs-pushed");if(e(i,"abcjs-midi-loop"))return void a(i,"abcjs-pushed");if(e(i,"abcjs-midi-reset"))return void x(i);if(e(i,"abcjs-midi-progress-background"))return void w(i,t);i=i.parentNode}}),document.body.addEventListener("change",function(t){for(var i=(t=t||window.event).target||t.srcElement;i!==document.body;)e(i,"abcjs-midi-tempo")&&k(i),i=i.parentNode}),void 0===window.MIDI){n.midiInlineInitialized="not loaded";for(var t=document.getElementsByClassName("abcjs-inline-midi"),i=0;i",">")},f=function(e,i,n){i||(i=" ");var r=i.charAt(n);" "===r&&(r="SPACE");var a,s,o=u(i.substring(0,n))+''+r+""+u(i.substring(n+1));a="Music Line:"+t.getNumLines()+":"+(n+1)+": "+e+": "+o,h.warnings||(h.warnings=[]),h.warnings.push(a),s={message:e,line:i,startChar:h.iChar+n,column:n},h.warningObjects||(h.warningObjects=[]),h.warningObjects.push(s)},d=new a(e,f,h,t);this.getWarnings=function(){return h.warnings},this.getWarningObjects=function(){return h.warningObjects};var p=function(t,i){if('"'===t.charAt(i)){var n=e.getBrackettedSubstring(t,i,5);if(n[2]||f("Missing the closing quote while parsing the chord symbol",t,i),n[0]>0&&n[1].length>0&&"^"===n[1].charAt(0))n[1]=n[1].substring(1),n[2]="above";else if(n[0]>0&&n[1].length>0&&"_"===n[1].charAt(0))n[1]=n[1].substring(1),n[2]="below";else if(n[0]>0&&n[1].length>0&&"<"===n[1].charAt(0))n[1]=n[1].substring(1),n[2]="left";else if(n[0]>0&&n[1].length>0&&">"===n[1].charAt(0))n[1]=n[1].substring(1),n[2]="right";else if(n[0]>0&&n[1].length>0&&"@"===n[1].charAt(0)){n[1]=n[1].substring(1);var r=e.getFloat(n[1]);0===r.digits&&f("Missing first position in absolutely positioned annotation.",t,i),n[1]=n[1].substring(r.digits),","!==n[1][0]&&f("Missing comma absolutely positioned annotation.",t,i),n[1]=n[1].substring(1);var a=e.getFloat(n[1]);0===a.digits&&f("Missing second position in absolutely positioned annotation.",t,i),n[1]=n[1].substring(a.digits);var s=e.skipWhiteSpace(n[1]);n[1]=n[1].substring(s),n[2]=null,n[3]={x:r.value,y:a.value}}else n[1]=n[1].replace(/([ABCDEFG])b/g,"$1♭"),n[1]=n[1].replace(/([ABCDEFG])#/g,"$1♯"),n[2]="default";return n}return[0,""]},m=["trill","lowermordent","uppermordent","mordent","pralltriller","accent","fermata","invertedfermata","tenuto","0","1","2","3","4","5","+","wedge","open","thumb","snap","turn","roll","breath","shortphrase","mediumphrase","longphrase","segno","coda","D.S.","D.C.","fine","slide","^","marcato","upbow","downbow","/","//","///","////","trem1","trem2","trem3","trem4","turnx","invertedturn","invertedturnx","trill(","trill)","arpeggio","xstem","mark","umarcato","style=normal","style=harmonic","style=rhythm","style=x"],g=["p","pp","f","ff","mf","mp","ppp","pppp","fff","ffff","sfz"],v=["crescendo(","crescendo)","diminuendo(","diminuendo)"],b=[["<","accent"],[">","accent"],["tr","trill"],["plus","+"],["emphasis","accent"],["^","umarcato"],["marcato","umarcato"]],y=[["<(","crescendo("],["<)","crescendo)"],[">(","diminuendo("],[">)","diminuendo)"]],x=function(t,i){var r=h.macros[t.charAt(i)];if(void 0!==r)return"!"!==r.charAt(0)&&"+"!==r.charAt(0)||(r=r.substring(1)),"!"!==r.charAt(r.length-1)&&"+"!==r.charAt(r.length-1)||(r=r.substring(0,r.length-1)),n.detect(m,function(t){return r===t})?[1,r]:n.detect(g,function(t){return r===t})?("hidden"===h.volumePosition&&(r=""),[1,r]):n.detect(v,function(t){return"hidden"===h.dynamicPosition&&(r=""),r===t})?[1,r]:(n.detect(h.ignoredDecorations,function(t){return r===t})||f("Unknown macro: "+r,t,i),[1,""]);switch(t.charAt(i)){case".":return[1,"staccato"];case"u":return[1,"upbow"];case"v":return[1,"downbow"];case"~":return[1,"irishroll"];case"!":case"+":var a=e.getBrackettedSubstring(t,i,5);return a[1].length>0&&("^"===a[1].charAt(0)||"_"===a[1].charAt(0))&&(a[1]=a[1].substring(1)),n.detect(m,function(t){return a[1]===t})?a:n.detect(g,function(t){return a[1]===t})?("hidden"===h.volumePosition&&(a[1]=""),a):n.detect(v,function(t){return a[1]===t})?("hidden"===h.dynamicPosition&&(a[1]=""),a):n.detect(b,function(t){return a[1]===t[0]&&(a[1]=t[1],!0)})?a:n.detect(y,function(t){return a[1]===t[0]&&(a[1]=t[1],!0)})?("hidden"===h.dynamicPosition&&(a[1]=""),a):"!"!==t.charAt(i)||1!==a[0]&&"!"===t.charAt(i+a[0]-1)?(f("Unknown decoration: "+a[1],t,i),a[1]="",a):[1,null];case"H":return[1,"fermata"];case"J":return[1,"slide"];case"L":return[1,"accent"];case"M":return[1,"mordent"];case"O":return[1,"coda"];case"P":return[1,"pralltriller"];case"R":return[1,"roll"];case"S":return[1,"segno"];case"T":return[1,"trill"]}return[0,0]},w=function(t,i){for(var n=i;e.isWhiteSpace(t.charAt(i));)i++;return[i-n]},k=function(t,i){var n=e.getBarLine(t,i);if(0===n.len)return[0,""];if(n.warn)return f(n.warn,t,i),[n.len,""];for(var r=0;r="2"&&t.charAt(i+1)<="9"?(void 0!==n.triplet?f("Can't nest triplets",t,i):(n.triplet=t.charAt(i+1)-"0",i+2="1"&&t.charAt(i+4)<="9"?(n.num_notes=t.charAt(i+4)-"0",i+=3):f("expected number after the two colons after the triplet to mark the duration",t,i):i+3="1"&&t.charAt(i+3)<="9"?i+4="1"&&t.charAt(i+5)<="9"&&(n.num_notes=t.charAt(i+5)-"0",i+=4):(n.num_notes=n.triplet,i+=3):f("expected number after the triplet to mark the duration",t,i))),i++):void 0===n.startSlur?n.startSlur=1:n.startSlur++),i++;return n.consumed=i-r,n},_=function(t,e){switch(t.charAt(e)){case">":return e"===t.charAt(e+1)?[2,1.75,.25]:[1,1.5,.5];case"<":return e"!==i.charAt(n))return r;n--,o="broken_rhythm";break;case">":case"<":if(!s(o))return null;if(!a)return r.endChar=n,r;var f=_(i,n);n+=f[0]-1,h.next_note_duration=f[2],r.duration=f[1]*r.duration,o="end_slur";break;default:return s(o)?(r.endChar=n,r):null}if(++n===i.length)return s(o)?(r.endChar=n,r):null}return null};function N(){var e={startChar:-1,endChar:-1};if(h.partForNextLine.length&&(e.part=h.partForNextLine),e.clef=h.currentVoice&&void 0!==h.staves[h.currentVoice.staffNum].clef?n.clone(h.staves[h.currentVoice.staffNum].clef):n.clone(h.clef),e.key=s.deepCopyKey(h.key),s.addPosToKey(e.clef,e.key),null!==h.meter?(h.currentVoice?(n.each(h.staves,function(t){t.meter=h.meter}),e.meter=h.staves[h.currentVoice.staffNum].meter,h.staves[h.currentVoice.staffNum].meter=null):e.meter=h.meter,h.meter=null):h.currentVoice&&h.staves[h.currentVoice.staffNum].meter&&(e.meter=h.staves[h.currentVoice.staffNum].meter,h.staves[h.currentVoice.staffNum].meter=null),h.currentVoice&&h.currentVoice.name&&(e.name=h.currentVoice.name),h.vocalfont&&(e.vocalfont=h.vocalfont),h.style&&(e.style=h.style),h.currentVoice){var i=h.staves[h.currentVoice.staffNum];i.brace&&(e.brace=i.brace),i.bracket&&(e.bracket=i.bracket),i.connectBarLines&&(e.connectBarLines=i.connectBarLines),i.name&&(e.name=i.name[h.currentVoice.index]),i.subname&&(e.subname=i.subname[h.currentVoice.index]),h.currentVoice.stem&&(e.stem=h.currentVoice.stem),h.currentVoice.scale&&(e.scale=h.currentVoice.scale),h.currentVoice.style&&(e.style=h.currentVoice.style),h.currentVoice.transpose&&(e.clef.transpose=h.currentVoice.transpose)}var r=void 0===h.currentVoice||0===h.currentVoice.staffNum&&0===h.currentVoice.index;0===h.barNumbers&&r&&1!==h.currBarNumber&&(e.barNumber=h.currBarNumber),t.startNewLine(e),h.partForNextLine=""}var I=function(t,i){if("{"===t.charAt(i)){var n=e.getBrackettedSubstring(t,i,1,"}");n[2]||f("Missing the closing '}' while parsing grace note",t,i),")"===t[i+n[0]]&&(n[0]++,n[1]+=")");for(var r=[],a=0,s=!1;a0&&(r[r.length-1].end_beam=!0):f("Unknown character '"+n[1].charAt(a)+"' while parsing grace note",t,i),a++)}if(r.length)return[n[0],r]}return[0]};function E(t,e){if("&"===t.charAt(e)){for(var i=e;t.charAt(e)&&":"!==t.charAt(e)&&"|"!==t.charAt(e);)e++;return[e-i,t.substring(i+1,e)]}return[0]}var B=function i(r){var a=d.parseHeader(r);a.regular&&function(i){d.resolveTempo(),h.is_in_header=!1;for(var r=0,a=h.iChar;e.isWhiteSpace(i.charAt(r))&&r0&&(r+=c[0],"V"===c[1]&&(s=!0));for(var l,u={};r0)r+=g[0],"V"===g[1]&&(s=!0);else{var v;for(s&&(N(),s=!1);;)if((v=e.eatWhiteSpace(i,r))>0&&(r+=v),r>0&&""===i.charAt(r-1)&&(v=d.letter_to_body_header(i,r))[0]>0&&("V"===v[1]&&N(),r=v[0],h.start_new_line=!1),(v=w(i,r))[0]>0&&(r+=v[0]),(v=E(i,r))[0]>0&&(t.appendElement("overlay",a,a+1,{}),r+=1),(v=p(i,r))[0]>0){u.chord||(u.chord=[]);var b=e.translateString(v[1]);b=b.replace(/;/g,"\n");for(var y=!1,T=0;T0&&(u.force_end_beam_last=!0),r+=C}else if((v=-1==="ABCDEFGabcdefgxyzZ[]|^_{".indexOf(i.charAt(r))?x(i,r):[0])[0]>0)null===v[1]?r+10&&(0===v[1].indexOf("style=")?u.style=v[1].substr(6):(void 0===u.decoration&&(u.decoration=[]),u.decoration.push(v[1]))),r+=v[0];else{if(!((v=I(i,r))[0]>0))break;u.gracenotes=v[1],r+=v[0]}if((v=k(i,r))[0]>0){void 0!==u.gracenotes&&(u.rest={type:"spacer"},u.duration=.125,h.addFormattingOptions(u,t.formatting,"note"),t.appendElement("note",a+r,a+r+v[0],u),h.measureNotEmpty=!0,u={});var B={type:v[1]};0===B.type.length?f("Unknown bar type",i,r):(h.inEnding&&"bar_thin"!==B.type&&(B.endEnding=!0,h.inEnding=!1),v[2]&&(B.startEnding=v[2],h.inEnding&&(B.endEnding=!0),h.inEnding=!0),void 0!==u.decoration&&(B.decoration=u.decoration),void 0!==u.chord&&(B.chord=u.chord),B.startEnding&&void 0===h.barFirstEndingNum?h.barFirstEndingNum=h.currBarNumber:B.startEnding&&B.endEnding&&h.barFirstEndingNum?h.currBarNumber=h.barFirstEndingNum:B.endEnding&&(h.barFirstEndingNum=void 0),"bar_invisible"!==B.type&&h.measureNotEmpty&&(void 0===h.currentVoice||0===h.currentVoice.staffNum&&0===h.currentVoice.index)&&(h.currBarNumber++,h.barNumbers&&h.currBarNumber%h.barNumbers==0&&(B.barNumber=h.currBarNumber)),h.addFormattingOptions(u,t.formatting,"bar"),t.appendElement("bar",a+r,a+r+v[0],B),h.measureNotEmpty=!1,u={}),r+=v[0]}else if("&"===i[r])f("Overlay not yet supported",i,r),r++;else{if((v=A(i,r)).consumed>0&&(void 0!==v.startSlur&&(u.startSlur=v.startSlur),void 0!==v.triplet&&(o>0?f("Can't nest triplets",i,r):(u.startTriplet=v.triplet,o=void 0===v.num_notes?v.triplet:v.num_notes)),r+=v.consumed),"["===i.charAt(r)){var L=r;r++;for(var P=null,D=!1,H=!1;!H;){var z=x(i,r);z[0]>0&&(r+=z[0]);var q=M(i,r,{},!1);if(null!==q)z[0]>0&&0!==z[1].indexOf("style=")&&(void 0===u.decoration&&(u.decoration=[]),u.decoration.push(z[1])),q.end_beam&&(u.end_beam=!0,delete q.end_beam),void 0===u.pitches?(u.duration=q.duration,u.pitches=[q]):u.pitches.push(q),delete q.duration,z[0]>0&&0===z[1].indexOf("style=")&&(u.pitches[u.pitches.length-1].style=z[1].substr(6)),h.inTieChord[u.pitches.length]&&(q.endTie=!0,h.inTieChord[u.pitches.length]=void 0),q.startTie&&(h.inTieChord[u.pitches.length]=!0),r=q.endChar,delete q.endChar;else if(" "===i.charAt(r))f("Spaces are not allowed in chords",i,r),r++;else{if(r0&&0==--o&&(u.endTriplet=!0);for(var V=!1;r":case"<":var F=_(i,r);r+=F[0]-1,h.next_note_duration=F[2],P?P*=F[1]:P=F[1];break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"/":var O=e.getFraction(i,r);P=O.value,r=O.index," "===i.charAt(r)&&(D=!0),"-"===i.charAt(r)||")"===i.charAt(r)||" "===i.charAt(r)||"<"===i.charAt(r)||">"===i.charAt(r)?r--:V=!0;break;default:V=!0}V||r++}}else f("Expected ']' to end the chords",i,r);void 0!==u.pitches&&(null!==P&&(u.duration=u.duration*P,D&&S(u)),h.addFormattingOptions(u,t.formatting,"note"),t.appendElement("note",a+L,a+r,u),h.measureNotEmpty=!0,u={}),H=!0}}}else{var R={},j=M(i,r,R,!0);void 0!==R.endTie&&(h.inTie=!0),null!==j&&(void 0!==j.pitch?(u.pitches=[{}],void 0!==j.accidental&&(u.pitches[0].accidental=j.accidental),u.pitches[0].pitch=j.pitch,void 0!==j.endSlur&&(u.pitches[0].endSlur=j.endSlur),void 0!==j.endTie&&(u.pitches[0].endTie=j.endTie),void 0!==j.startSlur&&(u.pitches[0].startSlur=j.startSlur),void 0!==u.startSlur&&(u.pitches[0].startSlur=u.startSlur),void 0!==j.startTie&&(u.pitches[0].startTie=j.startTie),void 0!==u.startTie&&(u.pitches[0].startTie=u.startTie)):(u.rest=j.rest,void 0!==j.endSlur&&(u.endSlur=j.endSlur),void 0!==j.endTie&&(u.rest.endTie=j.endTie),void 0!==j.startSlur&&(u.startSlur=j.startSlur),void 0!==j.startTie&&(u.rest.startTie=j.startTie),void 0!==u.startTie&&(u.rest.startTie=u.startTie)),void 0!==j.chord&&(u.chord=j.chord),void 0!==j.duration&&(u.duration=j.duration),void 0!==j.decoration&&(u.decoration=j.decoration),void 0!==j.graceNotes&&(u.graceNotes=j.graceNotes),delete u.startSlur,h.inTie&&(void 0!==u.pitches?(u.pitches[0].endTie=!0,h.inTie=!1):"spacer"!==u.rest.type&&(u.rest.endTie=!0,h.inTie=!1)),(j.startTie||u.startTie)&&(h.inTie=!0),r=j.endChar,o>0&&0==--o&&(u.endTriplet=!0),j.end_beam&&S(u),u.rest&&"rest"===u.rest.type&&1===u.duration&&(u.rest.type="whole",u.duration=(l=h.origMeter)&&"specified"===l.type&&l.value&&0!==l.value.length?parseInt(l.value[0].num,10)/parseInt(l.value[0].den,10):1),h.addFormattingOptions(u,t.formatting,"note"),t.appendElement("note",a+m,a+r,u),h.measureNotEmpty=!0,u={})}r===m&&(" "!==i.charAt(r)&&"`"!==i.charAt(r)&&f("Unknown character ignored",i,r),r++)}}}}}(a.str),a.newline&&void 0===h.continueall&&N(),a.words&&function(t,i){if(t){"-"!==(i=n.strip(i)).charAt(i.length-1)&&(i+=" ");for(var r=[],a=0,s=!1,o=function(t){var o=n.strip(i.substring(a,t));if(a=t+1,o.length>0){s&&(o=n.gsub(o,"~"," "));var c=i.charAt(t);return"_"!==c&&"-"!==c&&(c=" "),r.push({syllable:e.translateString(o),divider:c}),s=!1,!0}return!1},c=0;c0&&(n.last(r).divider="-",r.push({skip:!0,to:"next"}));break;case"_":o(c),r.push({skip:!0,to:"slur"});break;case"*":o(c),r.push({skip:!0,to:"next"});break;case"|":o(c),r.push({skip:!0,to:"bar"});break;case"~":s=!0}n.each(t,function(t){if(0!==r.length)if(r[0].skip)switch(r[0].to){case"next":case"slur":"note"===t.el_type&&null!==t.pitches&&r.shift();break;case"bar":"bar"===t.el_type&&r.shift()}else if("note"===t.el_type&&void 0===t.rest){var e=r.shift();void 0===t.lyric?t.lyric=[e]:t.lyric.push(e)}})}else f("Can't add words before the first line of music",t,0)}(t.getCurrentVoice(),r.substring(2)),a.symbols&&function(t,i){if(t){"-"!==(i=n.strip(i)).charAt(i.length-1)&&(i+=" ");for(var r=[],a=0,s=!1,o=function(t){var o=n.strip(i.substring(a,t));if(a=t+1,o.length>0){s&&(o=n.gsub(o,"~"," "));var c=i.charAt(t);return"_"!==c&&"-"!==c&&(c=" "),r.push({syllable:e.translateString(o),divider:c}),s=!1,!0}return!1},c=0;c0&&(n.last(r).divider="-",r.push({skip:!0,to:"next"}));break;case"_":o(c),r.push({skip:!0,to:"slur"});break;case"*":o(c),r.push({skip:!0,to:"next"});break;case"|":o(c),r.push({skip:!0,to:"bar"});break;case"~":s=!0}n.each(t,function(t){if(0!==r.length)if(r[0].skip)switch(r[0].to){case"next":case"slur":"note"===t.el_type&&null!==t.pitches&&r.shift();break;case"bar":"bar"===t.el_type&&r.shift()}else if("note"===t.el_type&&void 0===t.rest){var e=r.shift();void 0===t.lyric?t.lyric=[e]:t.lyric.push(e)}})}else f("Can't add symbols before the first line of music",t,0)}(t.getCurrentVoice(),r.substring(2)),a.recurse&&i(a.str)};function L(t,e){t.push({el_type:"hint"});for(var i=0;io&&(o=n.staffGroup.w));for(i=0;i0?((o=(a-(s-c*o))/c)*l>50&&(o=50/l),o):null))break}!function(t){for(var e=0;e-1&&this.renderer.addStaffPadding(this.staffgroups[this.lastStaffGroupIndex],t),this.renderer.voiceNumber=null,t.draw(this.renderer);var e=t.height*n.STEP;this.staffgroups[this.staffgroups.length]=t,this.lastStaffGroupIndex=this.staffgroups.length-1,this.renderer.y+=e},o.prototype.notifySelect=function(t,e){this.clearSelection(),t.highlight&&(this.selected=[t],t.highlight());for(var i=t.abcelem||{},n=0;no&&t128&&(u=u.substring(0,124)+"..."),l.setGlobalInfo(c.tempo,u),h.setGlobalInfo(c.tempo,u);for(var f=0;f=0}function e(e,i,n){for(var r=e.getElementsByClassName(i),a=[],s=0;sM.offsetWidth-b.scrollWidth&&(i=setTimeout(t,T))},2700));var N=[];!function(t){for(var e={},i=0,r=!1,a=0;a0){var y=b.startTie;r?y||(r=!1):(e["event"+m]?e["event"+m].left=Math.min(e["event"+m].left,b.x):e["event"+m]={type:"event",time:m,top:h,height:f,left:b.x,width:b.w},y&&(r=!0)),m+=b.duration}if("bar"===b.type&&(0===N.length||"bar"!==N[N.length-1])&&b.elemset&&b.elemset.length>0&&b.elemset[0].attrs){for(var w,k,A=b.elemset[0].attrs.class.split(" "),_=0;_=0;a--){var s=t[a];"bar"===s.type?(s.top=n,s.nextTop=e,e=n,s.bottom=r,s.nextBottom=i,i=r):"event"===s.type&&(n=s.top,r=s.top+s.height)}}(N)}(y.engraver);var I=-1;if(o=0,x.scrollVertical&&v(0),m=function(){if(g)r.stopAnimation();else{var t=(new Date).getTime();if(f)p=t-d;else{var e=P(),i=u+e/_-t;i<=0?m():a=setTimeout(m,i)}}},u=(u=new Date).getTime(),f=!1,x.hideCurrentMeasure){var E=B(0,-1);E&&L(E[0],E[1])}m()}else console.error("ABCJS.startAnimation: When using scrollHorizontal/scrollVertical/scrollHint, the music must have been rendered using viewportHorizontal/viewportVertical.");else console.error("ABCJS.startAnimation: The second parameter must be a single tune. (Did you pass the entire array of tunes?)");else console.error("ABCJS.startAnimation: The first parameter must be a regular DOM element. (Did you pass a jQuery object or an ID?)");function B(t,i){t=parseInt(t,10),i=parseInt(i,10);var n=e(b,"l"+t,"m"+ ++i);return n.length>0?[t,i]:(n=e(b,"l"+ ++t,"m"+(i=0))).length>0?[t,i]:null}function L(i,n){var r=e(b,"l"+i,"m"+n);if(r.length>0)for(var a=0;a0?N[0].time/S:0}return x.scrollHint&&I!==r.top&&v(I=r.top),x.showCursor&&(h.style.left=r.left+"px",h.style.top=r.top+"px",h.style.width=r.width+"px",h.style.height=r.height+"px"),N.length>0?N[0].time/S:(g=!0,0)}},r.pauseAnimation=function(t){if(m){if(t&&!f)f=!0,d=(new Date).getTime();else if(!t&&f){var e=(new Date).getTime();u+=e-d,d=void 0,f=!1,a=setTimeout(m,p),p=void 0}}else console.warn("Cannot call pauseAnimation before calling startAnimation")},r.stopAnimation=function(){clearTimeout(a),clearTimeout(i),h&&(h.remove(),h=null),l&&(c&&c.parentNode&&(c.parentNode.style.overflowY="auto"),v(0))}}(),t.exports=r},function(t,e,i){"use strict";var n=i(0),r=i(7),a=i(8);t.exports=function(t,e,i,s){this.reset=function(t,e,i,n){a.initialize(t,e,i,n),r.initialize(t,e,i,n)},this.reset(t,e,i,s),this.setTitle=function(e){if(i.hasMainTitle)s.addSubtitle(t.translateString(t.stripComment(e)));else{var n=t.translateString(t.theReverser(t.stripComment(e)));i.titlecaps&&(n=n.toUpperCase()),s.addMetaText("title",n),i.hasMainTitle=!0}},this.setMeter=function(n){if("C"===(n=t.stripComment(n)))return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"common_time"};if("C|"===n)return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"cut_time"};if("o"===n)return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"tempus_perfectum"};if("c"===n)return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"tempus_imperfectum"};if("o."===n)return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"tempus_perfectum_prolatio"};if("c."===n)return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),{type:"tempus_imperfectum_prolatio"};if(0===n.length||"none"===n.toLowerCase())return!0===i.havent_set_length&&(i.default_length=.125,i.havent_set_length=!1),null;var r=t.tokenize(n,0,n.length);try{var a=function(){var t=function(){var t={value:0,num:""},e=r.shift();for("("===e.token&&(e=r.shift());;){if("number"!==e.type)throw"Expected top number of meter";if(t.value+=parseInt(e.token),t.num+=e.token,0===r.length||"/"===r[0].token)return t;if(")"===(e=r.shift()).token){if(0===r.length||"/"===r[0].token)return t;throw"Unexpected paren in meter"}if("."!==e.token&&"+"!==e.token)throw"Expected top number of meter";if(t.num+=e.token,0===r.length)throw"Expected top number of meter";e=r.shift()}return t}();if(0===r.length)return t;var e=r.shift();if("/"!==e.token)throw"Expected slash in meter";if("number"!==(e=r.shift()).type)throw"Expected bottom number of meter";return t.den=e.token,t.value=t.value/parseInt(t.den),t};if(0===r.length)throw"Expected meter definition in M: line";for(var s={type:"specified",value:[]},o=0;;){var c=a();o+=c.value;var l={num:c.num};if(void 0!==c.den&&(l.den=c.den),s.value.push(l),0===r.length)break}return!0===i.havent_set_length&&(i.default_length=o<.75?.0625:.125,i.havent_set_length=!1),s}catch(t){e(t,n,0)}return null},this.calcTempo=function(t){var e=.25;i.meter&&"specified"===i.meter.type?e=1/parseInt(i.meter.value[0].den):i.origMeter&&"specified"===i.origMeter.type&&(e=1/parseInt(i.origMeter.value[0].den));for(var n=0;n0&&(i.default_length=s/o,i.havent_set_length=!1)}else 1===a.length&&"1"===a[0]&&(i.default_length=1,i.havent_set_length=!1)},this.setTempo=function(n,r,a){try{var s=t.tokenize(n,r,a);if(0===s.length)throw"Missing parameter in Q: field";var o={},c=!0,l=s.shift();if("quote"===l.type&&(o.preString=l.token,l=s.shift(),0===s.length))return{type:"immediate",tempo:o};if("alpha"===l.type&&"C"===l.token){if(0===s.length)throw"Missing tempo after C in Q: field";if("punct"===(l=s.shift()).type&&"="===l.token){if(0===s.length)throw"Missing tempo after = in Q: field";if("number"!==(l=s.shift()).type)throw"Expected number after = in Q: field";o.duration=[1],o.bpm=parseInt(l.token)}else{if("number"!==l.type)throw"Expected number or equal after C in Q: field";if(o.duration=[parseInt(l.token)],0===s.length)throw"Missing = after duration in Q: field";if("punct"!==(l=s.shift()).type||"="!==l.token)throw"Expected = after duration in Q: field";if(0===s.length)throw"Missing tempo after = in Q: field";if("number"!==(l=s.shift()).type)throw"Expected number after = in Q: field";o.bpm=parseInt(l.token)}}else{if("number"!==l.type)throw"Unknown value in Q: field";var h=parseInt(l.token);if(0===s.length||"quote"===s[0].type)o.duration=[1],o.bpm=h;else{if(c=!1,"punct"!==(l=s.shift()).type&&"/"!==l.token)throw"Expected fraction in Q: field";if("number"!==(l=s.shift()).type)throw"Expected fraction in Q: field";var u=parseInt(l.token);for(o.duration=[h/u];s.length>0&&"="!==s[0].token&&"quote"!==s[0].type;){if("number"!==(l=s.shift()).type)throw"Expected fraction in Q: field";if(h=parseInt(l.token),"punct"!==(l=s.shift()).type&&"/"!==l.token)throw"Expected fraction in Q: field";if("number"!==(l=s.shift()).type)throw"Expected fraction in Q: field";u=parseInt(l.token),o.duration.push(h/u)}if("punct"!==(l=s.shift()).type&&"="!==l.token)throw"Expected = in Q: field";if("number"!==(l=s.shift()).type)throw"Expected tempo in Q: field";o.bpm=parseInt(l.token)}}if(0!==s.length&&("quote"===(l=s.shift()).type&&(o.postString=l.token,l=s.shift()),0!==s.length))throw"Unexpected string at end of Q: field";return!1===i.printTempo&&(o.suppress=!0),{type:c?"delaySet":"immediate",tempo:o}}catch(t){return e(t,n,r),{type:"none"}}},this.letter_to_inline_header=function(n,o){var c=t.eatWhiteSpace(n,o);if(o+=c,n.length>=o+5&&"["===n.charAt(o)&&":"===n.charAt(o+2)){var l=n.indexOf("]",o);switch(n.substring(o,o+3)){case"[I:":var h=r.addDirective(n.substring(o+3,l));return h&&e(h,n,o),[l-o+1+c];case"[M:":var u=this.setMeter(n.substring(o+3,l));return s.hasBeginMusic()&&u?s.appendStartingElement("meter",-1,-1,u):i.meter=u,[l-o+1+c];case"[K:":var f=a.parseKey(n.substring(o+3,l));return f.foundClef&&s.hasBeginMusic()&&s.appendStartingElement("clef",-1,-1,i.clef),f.foundKey&&s.hasBeginMusic()&&s.appendStartingElement("key",-1,-1,a.fixKey(i.clef,i.key)),[l-o+1+c];case"[P:":return s.lines.length<=s.lineNum?i.partForNextLine=n.substring(o+3,l):s.appendElement("part",-1,-1,{title:n.substring(o+3,l)}),[l-o+1+c];case"[L:":return this.setDefaultLength(n,o+3,l),[l-o+1+c];case"[Q:":if(l>0){var d=this.setTempo(n,o+3,l);return"delaySet"===d.type?s.appendElement("tempo",-1,-1,this.calcTempo(d.tempo)):"immediate"===d.type&&s.appendElement("tempo",-1,-1,d.tempo),[l-o+1+c,n.charAt(o+1),n.substring(o+3,l)]}break;case"[V:":if(l>0)return a.parseVoice(n,o+3,l),[l-o+1+c,n.charAt(o+1),n.substring(o+3,l)]}}return[0]},this.letter_to_body_header=function(t,o){if(t.length>=o+3)switch(t.substring(o,o+2)){case"I:":var c=r.addDirective(t.substring(o+2));return c&&e(c,t,o),[t.length];case"M:":var l=this.setMeter(t.substring(o+2));return s.hasBeginMusic()&&l&&s.appendStartingElement("meter",-1,-1,l),[t.length];case"K:":var h=a.parseKey(t.substring(o+2));return h.foundClef&&s.hasBeginMusic()&&s.appendStartingElement("clef",-1,-1,i.clef),h.foundKey&&s.hasBeginMusic()&&s.appendStartingElement("key",-1,-1,a.fixKey(i.clef,i.key)),[t.length];case"P:":return s.hasBeginMusic()&&s.appendElement("part",-1,-1,{title:t.substring(o+2)}),[t.length];case"L:":return this.setDefaultLength(t,o+2,t.length),[t.length];case"Q:":var u=t.indexOf("",o+2);-1===u&&(u=t.length);var f=this.setTempo(t,o+2,u);return"delaySet"===f.type?s.appendElement("tempo",-1,-1,this.calcTempo(f.tempo)):"immediate"===f.type&&s.appendElement("tempo",-1,-1,f.tempo),[u,t.charAt(o),n.strip(t.substring(o+2))];case"V:":return a.parseVoice(t,2,t.length),[t.length,t.charAt(o),n.strip(t.substring(o+2))]}return[0]};var o={A:"author",B:"book",C:"composer",D:"discography",F:"url",G:"group",I:"instruction",N:"notes",O:"origin",R:"rhythm",S:"source",W:"unalignedWords",Z:"transcription"};this.parseHeader=function(c){if(n.startsWith(c,"%%")){var l=r.addDirective(c.substring(2));return l&&e(l,c,2),{}}var h=c.indexOf("%");if(h>=0&&(c=c.substring(0,h)),0===(c=c.replace(/\s+$/,"")).length)return{};if(c.length>=2&&":"===c.charAt(1)){var u="";c.indexOf("")>=0&&"w"!==c.charAt(0)&&(u=c.substring(c.indexOf("")+1),c=c.substring(0,c.indexOf("")));var f=o[c.charAt(0)];if(void 0!==f)return"unalignedWords"===f?s.addMetaTextArray(f,r.parseFontChangeLine(t.translateString(t.stripComment(c.substring(2))))):s.addMetaText(f,t.translateString(t.stripComment(c.substring(2)))),{};switch(c.charAt(0)){case"H":s.addMetaText("history",t.translateString(t.stripComment(c.substring(2)))),i.is_in_history=!0;break;case"K":this.resolveTempo();var d=a.parseKey(c.substring(2));!i.is_in_header&&s.hasBeginMusic()&&(d.foundClef&&s.appendStartingElement("clef",-1,-1,i.clef),d.foundKey&&s.appendStartingElement("key",-1,-1,a.fixKey(i.clef,i.key))),i.is_in_header=!1;break;case"L":this.setDefaultLength(c,2,c.length);break;case"M":i.origMeter=i.meter=this.setMeter(c.substring(2));break;case"P":i.is_in_header?s.addMetaText("partOrder",t.translateString(t.stripComment(c.substring(2)))):i.partForNextLine=t.translateString(t.stripComment(c.substring(2)));break;case"Q":var p=this.setTempo(c,2,c.length);"delaySet"===p.type?i.tempo=p.tempo:"immediate"===p.type&&(s.metaText.tempo=p.tempo);break;case"T":this.setTitle(c.substring(2));break;case"U":this.addUserDefinition(c,2,c.length);break;case"V":if(a.parseVoice(c,2,c.length),!i.is_in_header)return{newline:!0};break;case"s":return{symbols:!0};case"w":return{words:!0};case"X":break;case"E":case"m":e("Ignored header",c,0);break;default:return u.length&&(u=""+u),{regular:!0,str:c+u}}return u.length>0?{recurse:!0,str:u}:{}}return{regular:!0,str:c}}}},function(t,e,i){"use strict";var n=i(0);t.exports=function(){this.skipWhiteSpace=function(t){for(var e=0;e=t.length};this.eatWhiteSpace=function(t,e){for(var i=e;i="a"&&t.charAt(e)<="z"||t.charAt(e)>="A"&&t.charAt(e)<="Z");)e++;return e},n=this.skipWhiteSpace(e);if(t(e,n))return{len:0};var r=e.substring(n,n+3).toLowerCase();switch((r.length>1&&" "===r.charAt(1)||"^"===r.charAt(1)||"_"===r.charAt(1)||"="===r.charAt(1))&&(r=r.charAt(0)),r){case"mix":return{len:i(e,n),token:"Mix"};case"dor":return{len:i(e,n),token:"Dor"};case"phr":return{len:i(e,n),token:"Phr"};case"lyd":return{len:i(e,n),token:"Lyd"};case"loc":return{len:i(e,n),token:"Loc"};case"aeo":return{len:i(e,n),token:"m"};case"maj":case"ion":return{len:i(e,n),token:""};case"min":case"m":return{len:i(e,n),token:"m"}}return{len:0}},this.getClef=function(e,i){var r=e,a=this.skipWhiteSpace(e);if(t(e,a))return{len:0};var s=!1,o=e.substring(a);if(n.startsWith(o,"clef=")&&(s=!0,o=o.substring(5),a+=5),0===o.length&&s)return{len:a+5,warn:"No clef specified: "+r};var c=this.skipWhiteSpace(o);if(t(o,c))return{len:0};c>0&&(a+=c,o=o.substring(c));var l=null;if(n.startsWith(o,"treble"))l="treble";else if(n.startsWith(o,"bass3"))l="bass3";else if(n.startsWith(o,"bass"))l="bass";else if(n.startsWith(o,"tenor"))l="tenor";else if(n.startsWith(o,"alto2"))l="alto2";else if(n.startsWith(o,"alto1"))l="alto1";else if(n.startsWith(o,"alto"))l="alto";else if(!i&&s&&n.startsWith(o,"none"))l="none";else if(n.startsWith(o,"perc"))l="perc";else if(!i&&s&&n.startsWith(o,"C"))l="tenor";else if(!i&&s&&n.startsWith(o,"F"))l="bass";else{if(i||!s||!n.startsWith(o,"G"))return{len:a+5,warn:"Unknown clef specified: "+r};l="treble"}return o=o.substring(l.length),(c=this.isMatch(o,"+8"))>0?l+="+8":(c=this.isMatch(o,"-8"))>0&&(l+="-8"),{len:a+l.length,token:l,explicit:s}},this.getBarLine=function(t,e){switch(t.charAt(e)){case"]":switch(++e,t.charAt(e)){case"|":return{len:2,token:"bar_thick_thin"};case"[":return++e,t.charAt(e)>="1"&&t.charAt(e)<="9"||'"'===t.charAt(e)?{len:2,token:"bar_invisible"}:{len:1,warn:"Unknown bar symbol"};default:return{len:1,token:"bar_invisible"}}break;case":":switch(++e,t.charAt(e)){case":":return{len:2,token:"bar_dbl_repeat"};case"|":switch(++e,t.charAt(e)){case"]":switch(++e,t.charAt(e)){case"|":return++e,":"===t.charAt(e)?{len:5,token:"bar_dbl_repeat"}:{len:3,token:"bar_right_repeat"};default:return{len:3,token:"bar_right_repeat"}}break;case"|":return++e,":"===t.charAt(e)?{len:4,token:"bar_dbl_repeat"}:{len:3,token:"bar_right_repeat"};default:return{len:2,token:"bar_right_repeat"}}break;default:return{len:1,warn:"Unknown bar symbol"}}break;case"[":if(++e,"|"!==t.charAt(e))return t.charAt(e)>="1"&&t.charAt(e)<="9"||'"'===t.charAt(e)?{len:1,token:"bar_invisible"}:{len:0};switch(++e,t.charAt(e)){case":":return{len:3,token:"bar_left_repeat"};case"]":return{len:3,token:"bar_invisible"};default:return{len:2,token:"bar_thick_thin"}}break;case"|":switch(++e,t.charAt(e)){case"]":return{len:2,token:"bar_thin_thick"};case"|":return++e,":"===t.charAt(e)?{len:3,token:"bar_left_repeat"}:{len:2,token:"bar_thin_thin"};case":":for(var i=0;":"===t.charAt(e+i);)i++;return{len:1+i,token:"bar_left_repeat"};default:return{len:1,token:"bar_thin"}}}return{len:0}},this.getTokenOf=function(t,e){for(var i=0;i0;){var i;if("^"===t[0].token){if(i="sharp",t.shift(),0===t.length)return{accs:e,warn:"Expected note name after "+i};switch(t[0].token){case"^":i="dblsharp",t.shift();break;case"/":i="quartersharp",t.shift()}}else if("="===t[0].token)i="natural",t.shift();else{if("_"!==t[0].token)return{accs:e};if(i="flat",t.shift(),0===t.length)return{accs:e,warn:"Expected note name after "+i};switch(t[0].token){case"_":i="dblflat",t.shift();break;case"/":i="quarterflat",t.shift()}}if(0===t.length)return{accs:e,warn:"Expected note name after "+i};switch(t[0].token.charAt(0)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":void 0===e&&(e=[]),e.push({acc:i,note:t[0].token.charAt(0)}),1===t[0].token.length?t.shift():t[0].token=t[0].token.substring(1);break;default:return{accs:e,warn:"Expected note name after "+i+" Found: "+t[0].token}}}return{accs:e}},this.getKeyAccidental=function(e){var i={"^":"sharp","^^":"dblsharp","=":"natural",_:"flat",__:"dblflat","_/":"quarterflat","^/":"quartersharp"},n=this.skipWhiteSpace(e);if(t(e,n))return{len:0};var r=null;switch(e.charAt(n)){case"^":case"_":case"=":r=e.charAt(n);break;default:return{len:0}}if(t(e,++n))return{len:1,warn:"Expected note name after accidental"};switch(e.charAt(n)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:n+1,token:{acc:i[r],note:e.charAt(n)}};case"^":case"_":case"/":if(r+=e.charAt(n),t(e,++n))return{len:2,warn:"Expected note name after accidental"};switch(e.charAt(n)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:n+1,token:{acc:i[r],note:e.charAt(n)}};default:return{len:2,warn:"Expected note name after accidental"}}break;default:return{len:1,warn:"Expected note name after accidental"}}},this.isWhiteSpace=function(t){return" "===t||"\t"===t||""===t},this.getMeat=function(t,e,i){var n=t.indexOf("%",e);for(n>=0&&n="A"&&t<="Z"||t>="a"&&t<="z"},i=function(t){return t>="0"&&t<="9"};this.tokenize=function(t,n,r,a){var s=this.getMeat(t,n,r);n=s.start,r=s.end;for(var o,c=[];n=i?{len:1,err:"Missing close quote"}:{len:r-e+1,token:this.translateString(t.substring(n+1,r))}}for(var a=n;a=0?n.strip(t.substring(0,e)):n.strip(t)},this.getInt=function(t){var e=parseInt(t);if(isNaN(e))return{digits:0};var i=""+e;return{value:e,digits:t.indexOf(i)+i.length}},this.getFloat=function(t){var e=parseFloat(t);if(isNaN(e))return{digits:0};var i=""+e;return{value:e,digits:t.indexOf(i)+i.length}},this.getMeasurement=function(t){if(0===t.length)return{used:0};var e=1,i="";if("-"===t[0].token)t.shift(),i="-",e++;else if("number"!==t[0].type)return{used:0};if(i+=t.shift().token,0===t.length)return{used:1,value:parseInt(i)};var n=t.shift();if("."===n.token){if(e++,0===t.length)return{used:e,value:parseInt(i)};if("number"===t[0].type&&(i=i+"."+(n=t.shift()).token,e++,0===t.length))return{used:e,value:parseFloat(i)};n=t.shift()}switch(n.token){case"pt":return{used:e+1,value:parseFloat(i)};case"cm":return{used:e+1,value:parseFloat(i)/2.54*72};case"in":return{used:e+1,value:72*parseFloat(i)};default:return t.unshift(n),{used:e,value:parseFloat(i)}}return{used:0}};var o=function(t){for(;-1!==t.indexOf("\\n");)t=t.replace("\\n","\n");return t};this.getBrackettedSubstring=function(t,e,i,n){for(var r=n||t.charAt(e),a=e+1;at.length-1&&(a=t.length-1),[a-e+1,o(t.substring(e+1,a)),!1])}}},function(t,e,i){"use strict";var n=i(0),r=i(8),a=i(1);t.exports=function(){this.getBeatLength=function(){for(var t=0;t0){var n=parseInt(i.value[0].num,10),r=parseInt(i.value[0].den,10);return 6===n&&8===r?3/8:9===n&&8===r?3/8:12===n&&8===r?3/8:1/r}return null}return"cut_time"===i.type?.5:.25}return null},this.reset=function(){this.version="1.0.1",this.media="screen",this.metaText={},this.formatting={},this.lines=[],this.staffNum=0,this.voiceNum=0,this.lineNum=0},this.resolveOverlays=function(){for(var t=0;t=0;d--){var p=f.snip[d];n.voices[a].splice(p.start,p.len)}}}}}},this.cleanUp=function(t,e,i,a,s){this.closeLine();var o,c,l,h=!1;for(o=0;o=i&&me;){if(t[e].staff)return t[e];e++}return null}for(this.resolveOverlays(),this.lineNum=0;this.lineNum0&&d[d.length-1].barNumber){var C=_(this.lines,this.lineNum);C&&(C.staff[0].barNumber=d[d.length-1].barNumber),delete d[d.length-1].barNumber}}}return this.formatting.pagewidth||(this.formatting.pagewidth=t),this.formatting.pageheight||(this.formatting.pageheight=e),delete this.staffNum,delete this.voiceNum,delete this.lineNum,delete this.potentialStartBeam,delete this.potentialEndBeam,delete this.vskipPending,s},this.reset(),this.getLastNote=function(){if(this.lines[this.lineNum]&&this.lines[this.lineNum].staff&&this.lines[this.lineNum].staff[this.staffNum]&&this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum])for(var t=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum].length-1;t>=0;t--){var e=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum][t];if("note"===e.el_type)return e}return null},this.addTieToLastNote=function(){var t=this.getLastNote();return!!(t&&t.pitches&&t.pitches.length>0)&&(t.pitches[0].startTie={},!0)},this.getDuration=function(t){return t.duration?t.duration:0},this.closeLine=function(){this.potentialStartBeam&&this.potentialEndBeam&&(this.potentialStartBeam.startBeam=!0,this.potentialEndBeam.endBeam=!0),delete this.potentialStartBeam,delete this.potentialEndBeam},this.appendElement=function(t,e,i,r){var a=this;r.el_type=t,null!==e&&(r.startChar=e),null!==i&&(r.endChar=i);var s=function(){void 0!==a.potentialStartBeam&&void 0!==a.potentialEndBeam&&(a.potentialStartBeam.startBeam=!0,a.potentialEndBeam.endBeam=!0),delete a.potentialStartBeam,delete a.potentialEndBeam};"note"===t?a.getDuration(r)>=.25?s():r.force_end_beam_last&&void 0!==a.potentialStartBeam?s():r.end_beam&&void 0!==a.potentialStartBeam?void 0===r.rest?(a.potentialStartBeam.startBeam=!0,r.endBeam=!0,delete a.potentialStartBeam,delete a.potentialEndBeam):s():void 0===r.rest&&(void 0===a.potentialStartBeam?r.end_beam||(a.potentialStartBeam=r,delete a.potentialEndBeam):a.potentialEndBeam=r):s(),delete r.end_beam,delete r.force_end_beam_last,function(t){if(void 0!==t.pitches){var e=a.lines[a.lineNum].staff[a.staffNum].workingClef.verticalPos;n.each(t.pitches,function(t){t.verticalPos=t.pitch-e})}if(void 0!==t.gracenotes){var i=a.lines[a.lineNum].staff[a.staffNum].workingClef.verticalPos;n.each(t.gracenotes,function(t){t.verticalPos=t.pitch-i})}a.lines[a.lineNum].staff[a.staffNum].voices[a.voiceNum].push(t)}(r)},this.appendStartingElement=function(t,e,i,r){var a;this.closeLine(),"key"===t&&(a=r.impliedNaturals,delete r.impliedNaturals);var s=n.clone(r);if(this.lines[this.lineNum].staff){"clef"===t&&(this.lines[this.lineNum].staff[this.staffNum].workingClef=s),this.lines[this.lineNum].staff.length<=this.staffNum&&(this.lines[this.lineNum].staff[this.staffNum]={},this.lines[this.lineNum].staff[this.staffNum].clef=n.clone(this.lines[this.lineNum].staff[0].clef),this.lines[this.lineNum].staff[this.staffNum].key=n.clone(this.lines[this.lineNum].staff[0].key),this.lines[this.lineNum].staff[0].meter&&(this.lines[this.lineNum].staff[this.staffNum].meter=n.clone(this.lines[this.lineNum].staff[0].meter)),this.lines[this.lineNum].staff[this.staffNum].workingClef=n.clone(this.lines[this.lineNum].staff[0].workingClef),this.lines[this.lineNum].staff[this.staffNum].voices=[[]]);for(var o=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum],c=0;c0){if(void 0!==e.lines[e.lineNum].staff[e.staffNum].voices[0]){for(var i=!1,n=0;n=0;e--)if(void 0!==this.lines[e].staff)return!1;return!0},this.getMeter=function(){for(var t=0;t0){var o=e.startTie;void 0!==s?(t["event"+s].elements.push(e.elemset),o||(s=void 0)):(t["event"+i]?(t["event"+i].left=Math.min(t["event"+i].left,e.x),t["event"+i].elements.push(e.elemset)):t["event"+i]={type:"event",milliseconds:i,top:n,height:r,left:e.x,width:e.w,elements:[e.elemset]},o&&(s=i))}return{isTiedState:s,duration:e.duration/a}},this.setupEvents=function(t,e){for(var i,n,r={},s=t,o=0;o=0;a--){var s=t[a];"bar"===s.type?(s.top=n,s.nextTop=e,e=n,s.bottom=r,s.nextBottom=i,i=r):"event"===s.type&&(n=s.top,r=s.top+s.height)}}(i=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(t[i]);return e=e.sort(function(t,e){var i=t.milliseconds-e.milliseconds;return 0!==i?i:"bar"===t.type?-1:1})}(r)),i},this.setTiming=function(t,e){var i=this.getMeter(),n=this.getBeatLength();!t&&this.metaText&&this.metaText.tempo&&(t=(t=this.metaText.tempo.bpm)*(this.metaText.tempo.duration&&this.metaText.tempo.duration.length>0?this.metaText.tempo.duration[0]:n)/n),t||(t=180);var r,a=t/60;switch(i.type){case"common_time":r=1,this.meter={num:4,den:4};break;case"cut_time":r=1,this.meter={num:2,den:2};break;default:r=i.value[0].num/i.value[0].den,this.meter={num:parseInt(i.value[0].num,10),den:parseInt(i.value[0].den,10)}}var s=r/n*e/a,o=n*a;this.noteTimings=this.setupEvents(s,o)}}},function(t,e,i){"use strict";var n=i(9),r=i(5),a=i(12),s={};function o(){var t=window.innerWidth;for(var e in s)if(s.hasOwnProperty(e)){var i=s[e];t-=2*i.offsetLeft,i.style.width=t+"px"}}function c(t,e,i,r){var o=i.width?i.width:800;i.viewportHorizontal?(t.innerHTML='
',i.scrollHorizontal?(t.style.overflowX="auto",t.style.overflowY="hidden"):t.style.overflow="hidden",s[t.id]=t,t=t.children[0]):i.viewportVertical&&(t.innerHTML='
',t.style.overflowX="hidden",t.style.overflowY="auto",t=t.children[0]);var c=n(t,o,400);void 0===r&&(r={});var l=new a(c,r);(l.engraveABC(e),e.engraver=l,i.viewportVertical||i.viewportHorizontal)&&(t.parentNode.style.width=t.style.width)}window.addEventListener("resize",o),window.addEventListener("orientationChange",o);t.exports=function(t,e,i,n,a){return void 0===a&&(a={}),r.renderEngine(function(t,e){!a.oneSvgPerLine||e.lines.length<2?c(t,e,a,n):function(t,e,i,n){for(var r,a,s=[],o=0;o0&&(e[0].invisible=!0);break;case"meter":e[0]=l(i,this.tuneNumber),this.startlimitelem=e[0],this.voice.duplicate&&e.length>0&&(e[0].invisible=!0);break;case"clef":if(e[0]=o(i,this.tuneNumber),!e[0])return null;this.voice.duplicate&&e.length>0&&(e[0].invisible=!0);break;case"key":var n=c(i,this.tuneNumber);n&&(e[0]=n,this.startlimitelem=e[0]),this.voice.duplicate&&e.length>0&&(e[0].invisible=!0);break;case"stem":this.stemdir=i.direction;break;case"part":var a=new r(i,0,0,"part",this.tuneNumber),s=this.renderer.getTextSize(i.title,"partsfont","part");a.addChild(new d(i.title,0,0,void 0,{type:"part",height:s.height/p.STEP})),e[0]=a;break;case"tempo":var h=new r(i,0,0,"tempo",this.tuneNumber);h.addChild(new g(i,this.tuneNumber)),e[0]=h;break;case"style":"normal"===i.head?delete this.style:this.style=i.head;break;case"hint":t=!0,this.saveState();break;case"midi":break;default:var u=new r(i,0,0,"unsupported",this.tuneNumber);u.addChild(new d("element type "+i.el_type,0,0,void 0,{type:"debug"})),e[0]=u}return e},n.prototype.calcBeamDir=function(){if(this.stemdir)return this.stemdir;for(var t,e=new a(this.stemHeight,this.stemdir),i=this.pos;this.getElem()&&(t=this.createNote(this.getElem(),!0,!0),e.add(t),!this.getElem().endBeam);)this.pos++;var n=e.calcDir();return this.pos=i,n?"up":"down"},n.prototype.createBeam=function(){var e=[];if(this.getElem().startBeam&&!this.getElem().endBeam){var i=this.calcBeamDir(),n=new a(this.stemHeight,i);t&&n.setHint();var r=this.stemdir;for(this.stemdir=i;this.getElem();){var s=this.createNote(this.getElem(),!0);if(e.push(s),n.add(s),this.triplet&&this.triplet.isClosed()&&(this.voice.addOther(this.triplet),this.triplet=null,this.tripletmultiplier=1),this.getElem().endBeam)break;this.pos++}this.stemdir=r,this.voice.addBeam(n)}else e[0]=this.createNote(this.getElem()),this.triplet&&this.triplet.isClosed()&&(this.voice.addOther(this.triplet),this.triplet=null,this.tripletmultiplier=1);return e};var e=function(t,e,i,n,r,a,s,o,c){for(var l=i;l>11;l--)l%2!=0||n||t.addChild(new d(null,o,(f.getSymbolWidth(r)+4)*c,l,{type:"ledger"}));for(l=e;l<1;l++)l%2!=0||n||t.addChild(new d(null,o,(f.getSymbolWidth(r)+4)*c,l,{type:"ledger"}));for(l=0;l1&&("down"===this.stemdir&&(D=3),"up"===this.stemdir&&(D=11)),1===this.staffgroup.staffs[this.staffgroup.staffs.length-1].lines&&(D=M<.5?7:M<1?6.8:4.8),i.rest.type){case"whole":S=this.chartable.rest[0],i.averagepitch=D,i.minpitch=D,i.maxpitch=D,E=0;break;case"rest":S=this.chartable.rest[-I],i.averagepitch=D,i.minpitch=D,i.maxpitch=D;break;case"invisible":case"spacer":S="",i.averagepitch=D,i.minpitch=D,i.maxpitch=D}s||(o=this.createNoteHead(P,S,{verticalPos:D},null,0,-this.roomtaken,null,E,0,1)),o&&P.addHead(o),this.roomtaken+=this.accidentalshiftx,this.roomtakenright=Math.max(this.roomtakenright,this.dotshiftx)}else{!function(t){var e;do{e=!0;for(var i=0;it.pitches[i+1].pitch){e=!1;var n=t.pitches[i];t.pitches[i]=t.pitches[i+1],t.pitches[i+1]=n}}while(!e)}(i);var H=0;for(l=0,u=i.pitches.length;l=6?"down":"up";this.stemdir&&(z=this.stemdir);var q,V=i.style?i.style:this.style;for(V&&"normal"!==V||(V="note"),(q=N?this.chartable[V].nostem:this.chartable[V][-I])||console.log("noteSymbol:",V,I,N),l="down"===z?i.pitches.length-2:1;"down"===z?l>=0:l11||O.verticalPos<1)&&C.push(O.verticalPos-O.verticalPos%2),"down"===z?this.roomtaken=f.getSymbolWidth(q)+2:_=f.getSymbolWidth(q)+2)}for(this.accidentalSlot=[],l=0;l0&&(o.bottom=o.bottom-1),P.addHead(o)),this.roomtaken+=this.accidentalshiftx,this.roomtakenright=Math.max(this.roomtakenright,this.dotshiftx)}W&&((g="down"===z?i.minpitch-7:i.minpitch+1/3)>6&&!this.stemdir&&(g=6),(y="down"===z?i.maxpitch-1/3:i.maxpitch+7)<6&&!this.stemdir&&(y=6),w="down"===z||0===P.heads.length?0:P.heads[0].w,m="down"===z?1:-1,"noteheads.slash.quarter"===o.c&&("down"===z?y-=1:g+=1),P.addExtra(new d(null,w,0,g,{type:"stem",pitch2:y,linewidth:m})),this.minY=Math.min(g,this.minY),this.minY=Math.min(y,this.minY))}if(void 0!==i.lyric){var Y="";x.each(i.lyric,function(t){Y+=t.syllable+t.divider+"\n"});var G=this.renderer.getTextSize(Y,"vocalfont","abc-lyric"),X=i.positioning?i.positioning.vocalPosition:"below";P.addCentered(new d(Y,0,G.width,void 0,{type:"lyric",position:X,height:G.height/p.STEP}))}if(!s&&void 0!==i.gracenotes){var K=null;i.gracenotes.length>1&&(K=new a(.7*this.stemHeight,"grace",this.isBagpipes),t&&K.setHint(),K.mainNote=P);var Z=[];for(h=i.gracenotes.length-1;h>=0;h--)this.roomtaken+=10,Z[h]=this.roomtaken,i.gracenotes[h].accidental&&(this.roomtaken+=7);for(h=0;h6:x<6)&&(x=6);var w="down"===r?a:a+u.w-.6;e.addRight(new d(o,w,f.getSymbolWidth(o)*h,x,{scalex:h,scaley:h}))}for(this.dotshiftx=u.w+l-2+5*c;c>0;c--){var k=1-Math.abs(m)%2;e.addRight(new d("dots.dot",u.w+l-2+5*c,f.getSymbolWidth("dots.dot"),m+k))}}if(u&&(u.highestVert=n.highestVert),n.accidental){var A;switch(n.accidental){case"quartersharp":A="accidentals.halfsharp";break;case"dblsharp":A="accidentals.dblsharp";break;case"sharp":A="accidentals.sharp";break;case"quarterflat":A="accidentals.halfflat";break;case"flat":A="accidentals.flat";break;case"dblflat":A="accidentals.dblflat";break;case"natural":A="accidentals.nat"}for(var _=!1,S=s,T=0;T=6){this.accidentalSlot[T][0]=m,S=this.accidentalSlot[T][1],_=!0;break}!1===_&&(S-=f.getSymbolWidth(A)*h+2,this.accidentalSlot.push([m,S]),this.accidentalshiftx=f.getSymbolWidth(A)*h+2),e.addExtra(new d(A,S,f.getSymbolWidth(A),m,{scalex:h,scaley:h}))}if(n.endTie&&this.ties[0]&&(this.ties[0].setEndAnchor(u),this.ties=this.ties.slice(1,this.ties.length)),n.startTie){var C=new v(u,null,("down"===this.stemdir||"down"===r)&&"up"!==this.stemdir,"down"===this.stemdir||"up"===this.stemdir,!0);t&&C.setHint(),this.ties[this.ties.length]=C,this.voice.addOther(C),e.startTie=!0}if(n.endSlur)for(p=0;pthis.max)&&(this.max=t.abcelem.maxpitch))};function t(t,e,i,n){if(!t.children)return n;for(var r=0;ra&&(r=a);r<-a&&(r=-a);return r}(a,s,i,o),g=p+Math.floor(m/2),v=p+Math.floor(-m/2);h||(r&&p<6?(g=6,v=6):!r&&p>6&&(g=6,v=6));return[g,v]}(this.total,this.elems.length,l,this.stemsUp,o.abcelem.averagepitch,c.abcelem.averagepitch,this.isflat,this.min,this.max,this.isgrace),f=function(t,e,i){var n=e.heads[t?0:e.heads.length-1],r=i.heads[t?0:i.heads.length-1],a=n.x;t&&(a+=n.w-.6);var s=r.x;t&&(s+=r.w);return[a,s]}(this.stemsUp,o,c);this.beams.push({startX:f[0],endX:f[1],startY:u[0],endY:u[1],dy:n});for(var d=function(t,e,n,r,a){for(var o=[],c=[],l=0;l=0;v--)if(l===t.length-1||s(t[l+1].abcelem.duration)>-v-4){var b=f,y=d+p*(v+1);c[v].single&&(b=0===l?f+5:f-5,y=i(n.startX,n.startY,n.endX,n.endY,b)+p*(v+1)),o.push({startX:c[v].x,endX:b,startY:c[v].y,endY:y,dy:a}),c=c.slice(0,v)}}}return o}(this.elems,this.stemsUp,this.beams[0],this.isgrace,n),p=0;p0?o.top+3:o.bottom-1,{scalex:2/3,scaley:2/3})),o.top+=2}return o},t.exports=n},function(t,e,i){"use strict";var n,r=i(4),a=i(3),s=i(2),o=i(0);n=function(t,e){if(!t.accidentals||0===t.accidentals.length)return null;var i=new r(t,0,10,"staff-extra",e),n=0;return o.each(t.accidentals,function(t){var e="sharp"===t.acc?"accidentals.sharp":"natural"===t.acc?"accidentals.nat":"accidentals.flat";i.addRight(new s(e,n,a.getSymbolWidth(e),t.verticalPos,{thickness:a.symbolHeightInPitches(e)})),n+=a.getSymbolWidth(e)+2},this),i},t.exports=n},function(t,e,i){"use strict";var n,r=i(4),a=i(3),s=i(2);n=function(t,e){var i=new r(t,0,10,"staff-extra",e);if("specified"===t.type)for(var n=0;n",n)),a&&t.addOther(new s(a.start,a.stop,"<",n))},n.prototype.createDecoration=function(t,e,i,n,s,h,u,f,d,p){d||(d={ornamentPosition:"above",volumePosition:p?"above":"below",dynamicPosition:p?"above":"below"}),function(t,e,i,n){for(var r=0;r9&&u++;var p=n/2;"center"!==o.getSymbolAlign(d)&&(p-=o.getSymbolWidth(d)/2),r.addChild(new c(d,p,o.getSymbolWidth(d),u))}if("slide"===e[f]&&r.heads[0]){var m=r.heads[0].pitch,g=new c("",-a-15,0,(m-=2)-1),v=new c("",-a-5,0,m+1);r.addChild(g),r.addChild(v),t.addOther(new l(g,v,!1,!1,!1))}}return void 0===u&&(u=i),{above:u,below:r.bottom}}(t,e,i,n,s,h,u,f);m.above=Math.max(m.above,this.minTop),function(t,e,i,n,r,a,s){function l(t,e){"above"===t?n.above+=e:n.below-=e}function h(t){var e;return"above"===t?(e=n.above)s&&(e=s),e}function u(t,n){var r=h(n);i.addChild(new c(t,e/2,0,r+2,{type:"decoration",klass:"ornament",thickness:3})),l(n,5)}function f(t,n){var r=e/2;"center"!==o.getSymbolAlign(t)&&(r-=o.getSymbolWidth(t)/2);var a=o.symbolHeightInPitches(t)+1,s=h(n);s="above"===n?s+a/2:s-a/2,i.addChild(new c(t,r,o.getSymbolWidth(t),s,{klass:"ornament",thickness:o.symbolHeightInPitches(t)})),l(n,a)}for(var d={"+":"scripts.stopped",open:"scripts.open",snap:"scripts.snap",wedge:"scripts.wedge",thumb:"scripts.thumb",shortphrase:"scripts.shortphrase",mediumphrase:"scripts.mediumphrase",longphrase:"scripts.longphrase",trill:"scripts.trill",roll:"scripts.roll",irishroll:"scripts.roll",marcato:"scripts.umarcato",dmarcato:"scripts.dmarcato",umarcato:"scripts.umarcato",turn:"scripts.turn",uppermordent:"scripts.prall",pralltriller:"scripts.prall",mordent:"scripts.mordent",lowermordent:"scripts.mordent",downbow:"scripts.downbow",upbow:"scripts.upbow",fermata:"scripts.ufermata",invertedfermata:"scripts.dfermata",breath:",",coda:"scripts.coda",segno:"scripts.segno"},p=0;p0&&(r.top+=c)}e=2-r.bottom}},r.prototype.finished=function(){for(var t=0;t1e-7?h.push(this.voices[a]):(l.push(this.voices[a]),i&&console.log("in: voice ",a))}c=0;var u=0;for(a=0;an&&(n=l[a].getNextX(),c=l[a].getSpacingUnits(),u=l[a].spacingduration);for(this.spacingunits+=c,this.minspace=Math.min(this.minspace,c),a=0;a0){n=f;for(var p=0;pn&&(n=this.voices[a].getNextX(),c=this.voices[a].getSpacingUnits());for(this.spacingunits+=c,this.w=n,a=0;a1&&t.printStem(this.startx,.6,e,i),t.y=r},t.exports=r},function(t,e,i){"use strict";var n,r=i(4),a=i(2);(n=function(t,e){this.tempo=t,this.tuneNumber=e,this.tempoHeightAbove=5,this.pitch=void 0}).prototype.setUpperAndLowerElements=function(t){this.pitch=t.tempoHeightAbove},n.prototype.setX=function(t){this.x=t},n.prototype.draw=function(t){var e=this.x;void 0===this.pitch&&window.console.error("Tempo Element y-coordinate not set.");var i=t.calcY(this.pitch);if(this.tempo.preString){var n=t.renderText(e,i,this.tempo.preString,"tempofont","tempo","start").getBBox().width;e+=n+n/this.tempo.preString.length}if(this.tempo.duration){var s,o,c,l=this.pitch-5+1,h=this.tempo.duration[0],u=new r(this.tempo,h,1,"tempo",this.tuneNumber);h<=1/32?(c="noteheads.quarter",o="flags.u32nd",s=0):h<=1/16?(c="noteheads.quarter",o="flags.u16th",s=0):h<=3/32?(c="noteheads.quarter",o="flags.u16nd",s=1):h<=1/8?(c="noteheads.quarter",o="flags.u8th",s=0):h<=3/16?(c="noteheads.quarter",o="flags.u8th",s=1):h<=.25?(c="noteheads.quarter",s=0):h<=3/8?(c="noteheads.quarter",s=1):h<=.5?(c="noteheads.half",s=0):h<=.75?(c="noteheads.half",s=1):h<=1?(c="noteheads.whole",s=0):h<=1.5?(c="noteheads.whole",s=1):h<=2?(c="noteheads.dbl",s=0):(c="noteheads.dbl",s=1);var f,d=t.engraver.createNoteHead(u,c,{verticalPos:l},"up",0,0,o,s,0,.75);if(u.addHead(d),"noteheads.whole"!==c&&"noteheads.dbl"!==c){var p=l+.25,m=l+5.25,g=d.dx+d.w;(f=new a(null,g,0,p,{type:"stem",pitch2:m,linewidth:-.6})).setX(e),u.addExtra(f)}u.setX(e);for(var v=0;v=this.children.length},r.prototype.getDurationIndex=function(){return this.durationindex-(this.children[this.i]&&this.children[this.i].duration>0?0:5e-7)},r.prototype.getSpacingUnits=function(){return Math.sqrt(8*this.spacingduration)},r.prototype.getNextX=function(){return Math.max(this.minx,this.nextx)},r.prototype.beginLayout=function(t){this.i=0,this.durationindex=0,this.startx=t,this.minx=t,this.nextx=t,this.spacingduration=0},r.prototype.layoutOneItem=function(t,e){var i=this.children[this.i];if(!i)return 0;var n=t-this.minx;return n0){var a=this.outputTextIf(this.padding.left+t,r,"composerfont","meta-top",0,null,"end");this.moveY(a[1])}else this.moveY(n[1]);this.moveY(-6)}this.outputTextIf(this.padding.left+t,e.metaText.author,"composerfont","meta-top",0,0,"end"),this.outputTextIf(this.padding.left,e.metaText.partOrder,"partsfont","meta-bottom",0,0,"start")},s.prototype.engraveExtraText=function(t,e){var i;if(this.lineNumber=null,this.measureNumber=null,this.voiceNumber=null,e.metaText.unalignedWords){i="";for(var n=0;n0&&i.indexOf(".")<0){for(var d=this.paper.set(),p=0,m=0;m=0;r--)this.printStaveLine(t,e,2*(r+1),n),n=void 0;else this.printStaveLine(t,e,6,n)},s.prototype.addClasses=function(t){var e=[];return t.length>0&&e.push(t),null!==this.lineNumber&&e.push("l"+this.lineNumber),null!==this.measureNumber&&e.push("m"+this.measureNumber),null!==this.voiceNumber&&e.push("v"+this.voiceNumber),e.join(" ")},s.prototype.getFontAndAttr=function(t,e){var i=this.abctune.formatting[t],n={"font-size":(i=i?{face:i.face,size:4*i.size/3,decoration:i.decoration,style:i.style,weight:i.weight,box:i.box}:{face:"Arial",size:16,decoration:"underline",style:"normal",weight:"normal"}).size,"font-style":i.style,"font-family":i.face,"font-weight":i.weight,"text-decoration":i.decoration,class:this.addClasses(e)};return n.font="",{font:i,attr:n}},s.prototype.getTextSize=function(t,e,i){var n=this.getFontAndAttr(e,i),r=this.paper.text(0,0,t).attr(n.attr),a=r.getBBox();return isNaN(a.height)&&(a={width:0,height:0}),r.remove(),a},s.prototype.renderText=function(t,e,i,n,r,a,s){var o=this.getFontAndAttr(n,r);a&&(o.attr["text-anchor"]=a),i=i.replace(/\n\n/g,"\n \n");var c=this.paper.text(t,e,i).attr(o.attr);if(!s){var l=c.getBBox();isNaN(l.height)?c.attr({y:e}):(c.attr({y:e+l.height/2}),o.font.box&&this.paper.rect(l.x-1,l.y+l.height/2-1,l.width+2,l.height+2).attr({stroke:"#888888"}))}return"debugfont"===n&&(console.log("Debug msg: "+i),c.attr({stroke:"#ff0000"})),this.doRegression&&this.addToRegression(c),c},s.prototype.moveY=function(t,e){void 0===e&&(e=1),this.y+=t*e},s.prototype.skipSpaceY=function(){this.y+=this.space},s.prototype.outputTextIf=function(t,e,i,n,r,a,s){if(e){r&&this.moveY(r);var o=this.renderText(t,this.y,e,i,n,s).getBBox(),c=isNaN(o.width)?0:o.width,l=isNaN(o.height)?0:o.height;if(null!==a){var h=e.split("\n").length;isNaN(o.height)||this.moveY(l/h,h+a)}return[c,l]}return[0,0]},s.prototype.addInvisibleMarker=function(t){var e=this.y;e=Math.round(e);var i=a("M %f %f L %f %f L %f %f L %f %f z",0,e-.35,100,e-.35,100,e+.35,0,e+.35);this.paper.path().attr({path:i,stroke:"none",fill:"rgba(0,0,0,0)",class:this.addClasses(t),"data-vertical":e}).toBack()},s.prototype.printHorizontalLine=function(t,e,i){var n="rgba(0,0,255,.4)",r=this.y;e&&(r=e),r=Math.round(r),this.paper.text(10,r,""+Math.round(r)).attr({"text-anchor":"start","font-size":"18px",fill:n,stroke:n});var s=a("M %f %f L %f %f L %f %f L %f %f z",50,r-.35,50+t,r-.35,t,r+.35,50,r+.35);this.paper.path().attr({path:s,stroke:"none",fill:n,class:this.addClasses("staff")}).toBack();for(var o=1;of)return 1}for(var d=0,p=Math.max(l.length,h.length);dg)return 1}return 0},r.getItems=function(t,e){var i=t.length,n={};r.each(t,function(t){r.getItem(t,function(r){n[t]=r,--i||e(n)})})},r.getItem=function(e,i){i=i||function(t){console.log(t)};var n=function(t){if(t)try{t=JSON.parse(t)}catch(t){}i(t)};if(r.exists("chrome.storage.local"))chrome.storage.local.get(e,function(t){n(t[e])});else{var a=(t.feature&&t.feature.prefix||"")+"/"+e,s=localStorage.getItem(a)||"";n(s)}},r.setItem=function(e,i){if(r.exists("chrome.storage.local")){var n={};n[e]=i,chrome.storage.local.set(n)}else{var a=(t.feature&&t.feature.prefix||"")+"/"+e;localStorage.setItem(a,i)}},r.Canvas=function(e,i,n){if("undefined"==typeof document){if(void 0===Canvas)return{ctx:{}};var r=new Canvas}else{r=document.createElement("canvas");"function"==typeof FlashCanvas&&(r.onload=t.client.fn.detect)}return r.ctx=r.getContext(n||"2d"),isFinite(e)&&(r.width=e||1),isFinite(i)&&(r.height=i||1),r},r.Canvas.resize=function(t,e,i){e&&i?(t.width=e,t.height=i):t.width=t.width},r.Canvas.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},r.Context3d=function(t,e){return r.Canvas(t,e,"webgl").ctx},r.Context2d=function(t,e){return r.Canvas(t,e,"2d").ctx},r.json={},r.json.pretty=function(t){return JSON.stringify(t,null,"\t")},r.json.stringify=function(t){return JSON.stringify(t,function(t,e){if("object"==typeof e){if(null===e)return;if(e.nodeName)return;if(e.tagName)return}return e})},r.timestamp=function(){if("object"==typeof window){var t=window.performance;if(t&&t.now)return t.now.bind(t)}return Date.now}(),r.perf=function(t,e,i){if(!e||!t){var n=r.timestamp();return function(t,e){var i=r.timestamp(),a=Math.round(i-n);return t&&console.log(a+"ms",t),e&&(n=i),a}}for(var a=r.perf(),s=0;s=0)return!t.length;for(var e in t)return!1;return!0},r.isNotEmpty=function(t){return!r.isEmpty(t)},r.clamp=function(t,e,i){return ie?e:i},r.clampFinite=function(t){var e=r.INFINITY;return t>+e&&(t=+e),t<-e&&(t=-e),t},r.arrayEmpty=function(t){t.splice(0,t.length)},r.arrayIntersects=function(t,e){return e.some(function(e){return-1!==t.indexOf(e)})},r.inArray=function(t,e){return-1!==t.indexOf(e)},r.isArray=function(t){return Array.isArray(t)||t instanceof NodeList},r.each=function(t,e){if(r.isArray(t))for(var i=0;i>0,n=(t-3600*i)/60>>0,r=t-3600*i-60*n>>0;return e?(i<10&&(i="0"+i),n<10&&(n="0"+n),r<10&&(r="0"+r),i+":"+n+":"+r):{hours:i,minutes:n,seconds:r}},r.require=function(t){"string"==typeof t&&(t={url:t});var e=t.url,i=t.type||(-1!==e.indexOf(".css")?"css":"js"),n=t.async||!1,r=t.onsuccess;if("css"===i)n?setTimeout(o,0):o();else{var a=document.createElement("script");if(a.src=e,a.async=n,r){var s=!1;a.onload=a.onreadystatechange=function(){if(!1===s){var t=a.readyState;t&&!/loaded|complete/.test(t)||(s=!0,r(),a.onload=a.onreadystatechange=null)}}}document.head.appendChild(a)}function o(){var t=document.createElement("link");t.href=e,t.setAttribute("type","text/css"),t.setAttribute("rel","stylesheet"),document.head.appendChild(t)}},r.isEditingText=function(){var t=document.activeElement;if(!t)return!1;var e=t.nodeName;return("INPUT"===e||"TEXTAREA"===e||"true"===t.contentEditable)&&!t.classList.contains("sk-canvas-dummy")},r.pending=function(t,e){var i=t;return{add:function(t){i+=t||1},next:function(){--i||e()}}}},void 0!==t&&t.exports?t.exports=e.module.DOMMisc:e.module.DOMMisc(galactic)}(galactic)},function(t,e){!function(){"use strict";var t,e={},i={};function n(i){return new Promise(function(n,o){var c=i.format,l=i.codec,h=i.base64,u="audio/"+c+'; codecs="'+l+'"',f="data:"+u+";base64,"+h,d=new Audio;function p(i){var a;(o(e.audio,c,l,i),e.audioapi)?(a=f,new Promise(function(e,i){(t=t||new r).decodeAudioData(s(a),e,i).then(function(t){}).catch(function(t){}),setTimeout(i,250)})).then(function(){o(e.audioapi,c,l,!0),n()},function(t){o(e.audioapi,c,l,!1),n()}):n();function o(t,i,n,r){!e[i]&&(e[i]=r),!e[n]&&(e[n]=r),!t[i]&&(t[i]=r),t[n]=r}}d.canPlayType(u).replace(/no/i,"")?(d.id="audio",d.controls=!1,d.setAttribute("autobuffer",!0),d.setAttribute("preload","auto"),d.addEventListener("error",function t(e){var i,n;a&&!d.testedBlobURL?(d.testedBlobURL=!0,d.src=a((i=f,new Blob([s(i)],{type:(n=i,(n=n.split(","))[0].split(":")[1].split(";")[0])})))):(d.removeEventListener("error",t),p(!1))}),d.addEventListener("canplaythrough",function t(){d.removeEventListener("canplaythrough",t),p(!0)}),d.src=f,d.load()):p(!1)})}var r=self.AudioContext||self.mozAudioContext||self.webkitAudioContext,a=(self.URL||self.webkitURL||{}).createObjectURL;function s(t){t=t.split(",");for(var e=atob(t[1]),i=new ArrayBuffer(e.length),n=new Uint8Array(i),r=0;rn;n++){var r=navigator.plugins[n];if(r.name.indexOf("Jazz-Plugin")>=0)return e.midiapi={}}}e.midiapi=!1}(),e.audioapi=!!r&&{},new Promise(function(t,r){if(!e.audio)return t();setTimeout(t,5e3),Promise.all([n(i.mpeg_mp3),n(i.ogg_opus),n(i.ogg_vorbis)]).then(t)}).then(function(){return e})},self.AudioSupports.register=o}()},function(t,e){"undefined"==typeof galactic&&(galactic={}),function(t){"use strict";t.EventEmitter=function(t){var e=1;function i(t,i){if("function"==typeof i)return t+"."+(i.uniqueId||(i.uniqueId=e++));console.warn(t,"listener does not exist")}function n(e){return t.on[e]?t.on[e]:t.on[e]=function(e){var n={};function r(){var e=!1;for(var i in n)n[i].apply(t,arguments)&&(e=!0);return e}return r.add=function(t){var r=i(e,t);if(void 0===n[r]&&t)return n[r]=t,{add:function(){n[r]=t},remove:function(){delete n[r]}}},r.remove=function(t){var r=i(e,t);void 0!==n[r]&&t&&delete n[r]},r.stack=n,r}(e)}t.on=function(t,e){return n(t).add(e)},t.off=function(e,i){i?n(e).remove(i):delete t.on[e]},t.emit=function(e){var i=t.on[e];if(i){var n=Array.prototype.slice.call(arguments).slice(1);return i.apply(t,n)}}}}(galactic)},function(t,e){"undefined"==typeof MIDI&&(MIDI={}),function(t){"use strict";t.DEBUG=!1,t.USE_XHR=!0,t.PATH="./soundfont/",t.DEBUG&&console&&console.log&&console.log("%c♥ MIDI.js 0.4.2 ♥","color: red;");var e={midiapi:0,audioapi:1,audio:2},i={ogg:0,mp3:1};t.setup=function(n){return new Promise(function(r,a){"function"==typeof(n=n||{})&&(n={onsuccess:n}),isFinite(n.debug)&&(t.DEBUG=!!n.debug),n.soundfontUrl&&(t.PATH=n.soundfontUrl),AudioSupports().then(function(s){function o(i){i=i.toLowerCase();var c=t.adaptor.format;function l(t){var n=parseInt(e[i])+1,r=Object.keys(e)[n];r?o(r):a&&a({message:"All plugins failed."})}s[i][c]?(n.tech=i,t.loadProgram(n).then(function(){r()}).catch(function(e){t.DEBUG&&console.error(i,e),l(e)})):l()}!function(){for(var e in t.adaptor)delete t.adaptor[e];for(var n in i)if(s[n])return t.adaptor.format=n,!0}()?a({message:"MIDIJS: Browser does not have necessary audio support."}):s[location.hash.substr(1)]?o(location.hash.substr(1)):s.midi_api?o("midiapi"):window.AudioContext?o("audioapi"):window.Audio&&o("Audio")},a)})},t.loadProgram=function(e){return e||(e={}),"object"==typeof e||(e={instrument:e}),e.instruments=function(){var i=e.instruments||e.instrument||t.channels[0].program;"object"==typeof i?Array.isArray(i)||(i=Object.keys(i)):i=void 0===i?[]:[i];for(var n=0;n=0){var a=t.getProgram(r);a&&(i[n]=a.nameId)}}0===i.length&&(i=["acoustic_grand_piano"]);return i}(),e.tech=e.tech||t.adaptor.id,t.adaptors._load(e)}}(MIDI)},function(t,e){"undefined"==typeof MIDI&&(MIDI={}),function(t){"use strict";var e=t.adaptor={},i=t.adaptors={},n=i._requests={};i._load=function(a){return r(),"midiapi"===a.tech?i.midiapi.connect(a):function(r){return new Promise(function(t,s){for(var o=e.format.split("_").shift(),c=r.instruments,l=r.onprogress,h=r.tech,u=c.length,f=u,d=0;d>0],1e3*(a||0)),e[i+"x"+n]={_channel:MIDI.channels[i],_volume:r},{cancel:function(){}}}.apply(null,arguments);case"string":break;case"object":return function(e,i,n,r){for(var a=0;a>0);i[a]=r,n[r]=a}t.getNoteName=function(t){return t in i?t:t in n?n[t]:void 0},t.getNoteNumber=function(t){return t in n?t:t in i?i[t]:void 0}}()}(MIDI)},function(t,e){"undefined"==typeof MIDI&&(MIDI={}),MIDI.player=new function(){"use strict";var t=this;galactic.EventEmitter(t);var e,i,n,r=20,a=100,s={},o=[],c={};function l(n,f){if(!(n>t.duration)){if(f){t.playing?h():t.playing=!0;var p=(y=function(t){for(var e=0,i=c.length,n=0;ne?e:i}function f(){n&&(c=Replayer(MidiFile(n),t.bpm)),t.duration=function(){for(var t=c.length,e=0,i=0;i0&&0===A&&(O(),g=[]),b=0,t=[],0===A&&j(n.length+1);break;case"bagpipes":r=!0;break;case"instrument":void 0===l&&(l=C.program),h[0].instrument=C.program;break;case"channel":break;case"drum":_=R(C.params);break;default:console.log("MIDI creation. Unknown el_type: "+C.el_type+"\n")}}s.push(h),d.length>0&&(p=!0),y.length>0&&!0}return d.length>0&&s.push(d),y.length>0&&s.push(y),{tempo:o,instrument:l,tracks:s}};var T=["break","(break)","no chord","n.c.","tacet"];function C(){for(var t=0,e=0;e=0)return"break"}return null}(t);if(s){var o=function(t){if(0===t.length)return;if("break"===t)return{chick:[]};var e=t.substring(0,1);if("("===e){if(0===(t=t.substring(1,t.length-2)).length)return;e=t.substring(0,1)}var n=D[e];if(!n)return;var r,a=(n+=i)-5;1===t.length&&(r=z(n,""));var s=t.substring(1),o=s.substring(0,1);"b"===o||"♭"===o?(n--,a--,s=s.substring(1)):"#"!==o&&"♯"!==o||(n++,a++,s=s.substring(1));var c=s.split("/");if(r=z(n,c[0]),2===c.length){var l=D[c[1]];l&&(n=D[c[1]]+i,a=n)}return{boom:n,boom2:a,chick:r}}(s);if(o){if(0===d.length){d.push({cmd:"program",channel:m,instrument:k});var c=C();c>0&&d.push({cmd:"move",duration:c*x})}v=o,g.push({chord:v,beat:b})}}t.startTriplet&&(a=2===t.startTriplet?1.5:(t.startTriplet-1)/t.startTriplet);var l,y=t.duration*a;if(b+=y,t.gracenotes){var w=r||f<0||0===h.length,A=w?y:h[f].duration;l=function(t,e){for(var i,n=0,r=[],a=0;ae?e/(2*n):1;for(a=0;a.0078125){n=[];for(var s=b/i,o=0;o0&&ae.absTime?1:-1})),e}(this.tracks)}}(),t.exports=n},function(t,e,i){"use strict";var n;!function(){function t(t,e){for(var i in e)e.hasOwnProperty(i)&&t.setAttribute(i,e[i]);return t}function e(){this.trackstrings="",this.trackcount=0,this.noteOnAndChannel="%90"}function i(t,e){for(var i=t.toString(16);i.length>=7;for(var r=n.length-1;r>=0;r--){e<<=8;var a=n[r];0!==r&&(a|=128),e|=a}var s=e.toString(16).length;return i(e,s+=s%2)}e.prototype.setTempo=function(t){0===this.trackcount&&(this.startTrack(),this.track+="%00%FF%51%03"+i(Math.round(6e7/t),6),this.endTrack())},e.prototype.setGlobalInfo=function(t,e){if(0===this.trackcount){if(this.startTrack(),this.track+="%00%FF%51%03"+i(Math.round(6e7/t),6),e){this.track+="%00%FF%03"+i(e.length,2);for(var n=0;n1&&(c=p.program[1])),p.transpose&&(o=p.transpose[0]),p.channel&&(c=p.channel[0]),p.drum&&(l=p.drum),p.drumbars&&(h=p.drumbars[0]),p.drumon&&(f=!0)}n.metaText.tempo&&(a=e(n.metaText.tempo)),r.qpm&&(a=parseInt(r.qpm,10));var m=[];d&&m.push({el_type:"bagpipes"}),m.push({el_type:"instrument",program:s}),c&&m.push({el_type:"channel",channel:c}),o&&m.push({el_type:"transpose",transpose:o}),m.push({el_type:"tempo",qpm:a});for(var g=[],v=[],b=[],y=!1,x=0;x0&&g[A].push({el_type:"bar"}),M=0;var E="bar_right_repeat"===I.type||"bar_dbl_repeat"===I.type,B="1"===I.startEnding,L="bar_left_repeat"===I.type||"bar_dbl_repeat"===I.type||"bar_thick_thin"===I.type||"bar_thin_thick"===I.type||"bar_thin_thin"===I.type||"bar_right_repeat"===I.type;if(E){var P=v[A];P||(P=0);var D=b[A];D||(D=g[A].length),g[A]=g[A].concat(g[A].slice(P,D)),b[A]=void 0,v[A]=void 0}B&&(b[A]=g[A].length),L&&(v[A]=g[A].length);break;case"style":case"part":break;case"stem":case"scale":break;case"midi":var H=!1;switch(I.cmd){case"drumon":f=!0,H=!0;break;case"drumoff":f=!1,H=!0;break;case"drum":l=I.params,H=!0;break;case"drumbars":h=I.params[0],H=!0;break;case"program":g[A].push({el_type:"instrument",program:I.params[0]})}H&&(g[0].push({el_type:"drum",params:{pattern:l,bars:h,intro:u,on:f}}),y=!0);break;default:console.log("MIDI: element type "+I.el_type+" not handled.")}}A++}}if(u)for(var z=0;zq;)q++;if(g[z].length>q)for(var V=0;V0&&(n===i||new RegExp("(^|\\s)"+i+"(\\s|$)").test(n))||(t.className+=(t.className?" ":"")+e),t},this.removeClassName=function(t,e){return t.className=a.strip(t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ")),t},this.setReadOnly=function(t){var e="abc_textarea_readonly",i=this.editarea.getElem();t?(i.setAttribute("readonly","yes"),this.addClassName(i,e)):(i.removeAttribute("readonly"),this.removeClassName(i,e))}};u.prototype.renderTune=function(t,e,i){var a=new r(t),o=s();o.parse(a.tunes[0].abc,e);var l=o.getTune(),h=n(i,800,400);new c(h,this.engraverparams).engraveABC(l)},u.prototype.modelChanged=function(){if(void 0===this.tunes)return void 0!==this.downloadMidi&&(this.downloadMidi.innerHTML=""),void 0!==this.inlineMidi&&(this.inlineMidi.innerHTML=""),void(this.div.innerHTML="");if(!this.bReentry){this.bReentry=!0,this.timerId=null,this.div.innerHTML="";var t=n(this.div,800,400);if(this.engraver_controller=new c(t,this.engraverparams),this.engraver_controller.engraveABC(this.tunes),this.tunes[0].engraver=this.engraver_controller,this.midiParams&&!this.midiPause){var e=new window.CustomEvent("generateMidi",{detail:{tunes:this.tunes,midiParams:this.midiParams,downloadMidiEl:this.downloadMidi,inlineMidiEl:this.inlineMidi,engravingEl:this.div}});window.dispatchEvent(e)}if(this.warningsdiv&&(this.warningsdiv.innerHTML=this.warnings?this.warnings.join("
"):"No errors"),this.target)new o(this.target,!0).printABC(this.tunes[0]);this.engraver_controller.addSelectListener(this),this.updateSelection(),this.bReentry=!1}},u.prototype.paramChanged=function(t){this.engraverparams=t,this.oldt="",this.fireChanged()},u.prototype.parseABC=function(){var t=this.editarea.getString();if(t===this.oldt)return this.updateSelection(),!1;if(this.oldt=t,""===t)return this.tunes=void 0,this.warnings="",!0;var e=new r(t);this.tunes=[],this.startPos=[],this.warnings=[];for(var i=0;i0&&(o===s||new RegExp("(^|\\s)"+s+"(\\s|$)").test(o))||(n.className+=(n.className?" ":"")+r)):(i=c,(e=l).className=a.strip(e.className.replace(new RegExp("(^|\\s+)"+i+"(\\s+|$)")," ")))}},u.prototype.fireChanged=function(){if(!this.bIsPaused&&this.parseABC()){var t=this;this.timerId&&clearTimeout(this.timerId),this.timerId=setTimeout(function(){t.modelChanged()},300);var e=this.isDirty();this.wasDirty!==e&&(this.wasDirty=e,this.setDirtyStyle(e)),this.onchangeCallback&&this.onchangeCallback(this)}},u.prototype.setNotDirty=function(){this.editarea.initialText=this.editarea.getString(),this.wasDirty=!1,this.setDirtyStyle(!1)},u.prototype.isDirty=function(){return void 0!==this.indicate_changed&&this.editarea.initialText!==this.editarea.getString()},u.prototype.highlight=function(t,e){var i=void 0!==e?this.startPos[e]+e:0;this.editarea.setSelection(i+t.startChar,i+t.endChar)},u.prototype.pause=function(t){this.bIsPaused=t,t||this.fireChanged()},u.prototype.pauseMidi=function(t){this.midiPause=t},t.exports=u},function(t,e,i){"use strict";var n=function(t,e){this.elem=t,this.text="",this.l=1/8,this.reposition=e||!1};n.prototype.printString=function(t,e){this.reposition&&e&&(e.startChar=this.text.length),this.text+=t,this.reposition&&e&&(e.endChar=this.text.length)},n.prototype.printNewLine=function(){this.text+="\n"},n.prototype.printSpace=function(){this.text[this.text.length-1].match(/\s/)||(this.text+=" ")},n.prototype.printABC=function(t){this.text="",this.abctune=t,this.printHeader(),this.printBody(),this.elem.value=this.text},n.prototype.printHeader=function(){this.printHeaderLine("x","X","1"),this.printHeaderLine("title","T"),this.printHeaderLine("composer","C"),this.printHeaderLine("history","H"),this.printHeaderLine("author","A"),this.printHeaderLine("book","B"),this.printHeaderLine("discography","D"),this.printHeaderLine("url","F"),this.printHeaderLine("group","G"),this.printHeaderLine("instruction","I"),this.printHeaderLine("notes","N"),this.printHeaderLine("origin","O"),this.printHeaderLine("rhythm","R"),this.printHeaderLine("source","S"),this.printHeaderLine("unalignedwords","W"),this.printHeaderLine("transcription","Z"),this.printHeaderLine("NULL","L","1/8"),this.printHeaderLine("NULL","M",this.getMeterString(this.abctune.lines[0].staff[0].meter)),this.printHeaderLine("NULL","K",this.getKeyString(this.abctune.lines[0].staff[0].key))},n.prototype.getKeyString=function(t){return t.root+t.acc+t.mode},n.prototype.getMeterString=function(t){switch(t.type){case"cut_time":return"C|";case"common_time":return"C";case"specified":return t.value[0].den?t.value[0].num+"/"+t.value[0].den:t.value[0].num}return""},n.prototype.printHeaderLine=function(t,e,i){var n=this.abctune.metaText[t]||i;if(void 0!==n)for(var r=n.split("\n"),a=0;a1&&(i+="["),e=0;e1&&(i+="]")}1===t.pitches.length&&t.pitches[0].endSlur&&(i+=this.multiplyString(")",t.pitches[0].endSlur.length)),t.endSlur&&(i+=this.multiplyString(")",t.endSlur.length)),this.printString(i,t)},n.prototype.getNoteString=function(t,e){var i="";!e&&t.startSlur&&(i+="(");var n="";switch(t.accidental){case"quartersharp":n="^/";break;case"dblsharp":n="^^";break;case"sharp":n="^";break;case"quarterflat":n="_/";break;case"flat":n="_";break;case"dblflat":n="__";break;case"natural":n="="}i+=n;var r=["C","D","E","F","G","A","B"][this.extractNote(t.pitch)],a=this.extractOctave(t.pitch);if(a>0)for(r=r.toLowerCase(),a--;a>0;)r+="'",a--;else for(;a<0;)r+=",",a++;return i+=r,t.duration&&(i+=this.getDurationString(t.duration)),!e&&t.endSlur&&(i+=")"),t.startTie&&(i+="-"),i},n.prototype.getDurationString=function(t){if(t/this.l>1)return t/this.l;var e="";return this.l/t>1&&(e+="/",this.l/t>2&&(e+=this.l/t)),e},n.prototype.extractNote=function(t){var e=t%7;return e<0&&(e+=7),e},n.prototype.extractOctave=function(t){return Math.floor(t/7)},n.prototype.printBarLine=function(t){var e="";switch(t.type){case"bar_thin":e+="|";break;case"bar_thin_thick":e+="|]";break;case"bar_thin_thin":e+="||";break;case"bar_thick_thin":e+="[|";break;case"bar_dbl_repeat":e+=":||:";break;case"bar_left_repeat":e+="|:";break;case"bar_right_repeat":e+=":|";break;case"bar_invisible":e+=""}this.printString(e,t)},n.prototype.multiplyString=function(t,e){for(var i="";e>0;e--)i+=t;return i},t.exports=n},function(t,e,i){"use strict";var n,r=i(10),a=i(14);n=function(t,e,i,n,s){for(var o="",c="",l=0;l