/*! abcjs_basic v5.12.0 Copyright © 2009-2019 Paul Rosen and Gregory Dyke (https://abcjs.net) */ /*! For license information please see abcjs_basic_5.12.0-min.js.LICENSE */ !function(e){var t={};function i(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(r,a,function(t){return e[t]}.bind(null,a));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=26)}([function(e,t){var i={clone:function(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},cloneArray:function(e){for(var t=[],r=0;r=0&&e.lastIndexOf(t)===i},each:function(e,t,i){for(var r=0,a=e.length;rthis.top&&(this.top=this.pitch2),this.bottom=r,void 0!==this.pitch2&&this.pitch20?this.top+=a.stemHeight:this.bottom+=a.stemHeight),this.height=a.height?a.height:4,this.centerVertically=!1,this.type){case"debug":this.chordHeightAbove=this.height;break;case"lyric":a.position&&"below"===a.position?this.lyricHeightBelow=this.height:this.lyricHeightAbove=this.height;break;case"chord":a.position&&"below"===a.position?this.chordHeightBelow=this.height:this.chordHeightAbove=this.height;break;case"text":void 0===this.pitch?a.position&&"below"===a.position?this.chordHeightBelow=this.height:this.chordHeightAbove=this.height:this.centerVertically=!0;break;case"part":this.partHeightAbove=this.height}};i.prototype.setX=function(e){this.x=e+this.dx},i.prototype.setUpperAndLowerElements=function(e){switch(this.type){case"part":this.top=e.partHeightAbove+this.height,this.bottom=e.partHeightAbove;break;case"text":case"chord":this.chordHeightAbove?(this.top=e.chordHeightAbove,this.bottom=e.chordHeightAbove):(this.top=e.chordHeightBelow,this.bottom=e.chordHeightBelow);break;case"lyric":this.lyricHeightAbove?(this.top=e.lyricHeightAbove,this.bottom=e.lyricHeightAbove):(this.top=e.lyricHeightBelow,this.bottom=e.lyricHeightBelow);break;case"debug":this.top=e.chordHeightAbove,this.bottom=e.chordHeightAbove}void 0!==this.pitch&&void 0!==this.top||window.console.error("RelativeElement position not set.",this.type,this.pitch,this.top,e)},i.prototype.draw=function(e,t){void 0===this.pitch&&window.console.error(this.type+" Relative Element y-coordinate not set.");var i=e.calcY(this.pitch);switch(this.type){case"symbol":if(null===this.c)return null;var r="symbol";this.klass&&(r+=" "+this.klass),this.graphelem=e.printSymbol(this.x,this.pitch,this.c,this.scalex,this.scaley,e.addClasses(r));break;case"debug":this.graphelem=e.renderText(this.x,e.calcY(15),""+this.c,"debugfont","debug-msg","start");break;case"barNumber":this.graphelem=e.renderText(this.x,i,""+this.c,"measurefont","bar-number","middle");break;case"lyric":this.graphelem=e.renderText(this.x,i,this.c,"vocalfont","lyric","middle");break;case"chord":this.graphelem=e.renderText(this.x,i,this.c,"gchordfont","chord","middle");break;case"decoration":this.graphelem=e.renderText(this.x,i,this.c,"annotationfont","annotation","middle",!0);break;case"text":this.graphelem=e.renderText(this.x,i,this.c,"annotationfont","annotation","start",this.centerVertically);break;case"multimeasure-text":this.graphelem=e.renderText(this.x+this.w/2,i,this.c,"tempofont","rest","middle",!1);break;case"part":this.graphelem=e.renderText(this.x,i,this.c,"partsfont","part","start");break;case"bar":this.graphelem=e.printStem(this.x,this.linewidth,i,t||e.calcY(this.pitch2));break;case"stem":this.graphelem=e.printStem(this.x,this.linewidth,i,e.calcY(this.pitch2));break;case"ledger":this.graphelem=e.printStaveLine(this.x,this.x+this.w,this.pitch)}return 1!==this.scalex&&this.graphelem&&e.scaleExistingElem(this.graphelem,this.scalex,this.scaley,this.x,i),this.graphelem},e.exports=i},function(e,t,i){var r=i(1),a={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.multimeasure":{d:[["M",0,-4],["l",0,16],["l",1,0],["l",0,-5],["l",40,0],["l",0,5],["l",1,0],["l",0,-16],["l",-1,0],["l",0,5],["l",-40,0],["l",0,-5],["z"]],w:42,h:18},"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.arpeggio":{d:[["M",1.5,0],["c",1.5,2,1.5,3,1.5,3],["s",0,1,-2,1.5],["s",-.5,3,1,5.5],["l",1.5,0],["s",-1.75,-2,-1.9,-3.25],["s",2.15,-.6,2.95,-1.6],["s",.45,-1,.5,-1.25],["s",0,-1,-2,-3.9],["l",-1.5,0],["z"]],w:5,h:10},"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},"timesig.imperfectum":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.imperfectum2":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.perfectum":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],w:13.038,h:20.97},"timesig.perfectum2":{d:[["M",13,-5],["a",8,8,0,1,0,0,10]],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},"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},"noteheads.slash.quarter":{d:[["M",9,-6],["l",0,4],["l",-9,9],["l",0,-4],["z"]],w:9,h:9},"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}},n=function(e){for(var t=[],i=0,r=e.length;ithis.w&&(this.w=e.dx+e.w),this.right[this.right.length]=e,this.addChild(e)},a.prototype.addCentered=function(e){var t=e.w/2;-tthis.w&&(this.w=e.dx+t),this.right[this.right.length]=e,this.addChild(e)},a.prototype.setLimit=function(e,t){t[e]&&(this.specialY[e]?this.specialY[e]=Math.max(this.specialY[e],t[e]):this.specialY[e]=t[e])},a.prototype.addChild=function(e){e.parent=this,this.children[this.children.length]=e,this.pushTop(e.top),this.pushBottom(e.bottom),this.setLimit("tempoHeightAbove",e),this.setLimit("partHeightAbove",e),this.setLimit("volumeHeightAbove",e),this.setLimit("dynamicHeightAbove",e),this.setLimit("endingHeightAbove",e),this.setLimit("chordHeightAbove",e),this.setLimit("lyricHeightAbove",e),this.setLimit("lyricHeightBelow",e),this.setLimit("chordHeightBelow",e),this.setLimit("volumeHeightBelow",e),this.setLimit("dynamicHeightBelow",e)},a.prototype.pushTop=function(e){void 0!==e&&(void 0===this.top?this.top=e:this.top=Math.max(e,this.top))},a.prototype.pushBottom=function(e){void 0!==e&&(void 0===this.bottom?this.bottom=e:this.bottom=Math.min(e,this.bottom))},a.prototype.setX=function(e){this.x=e;for(var t=0;t0&&(n.length>0&&" "!==n.charAt(n.length-1)&&(n+=" "),n+=e),a.setAttribute("class",n)}},a.prototype.highlight=function(e,t){void 0===e&&(e="abcjs-note_selected"),void 0===t&&(t="#ff0000"),this.setClass(e,"",t)},a.prototype.unhighlight=function(e,t){void 0===e&&(e="abcjs-note_selected"),void 0===t&&(t="#000000"),this.setClass("",e,t)},e.exports=a},function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(){for(var e,t,r,a,n,s=0,c=arguments[s++],o=[];c;){if(t=/^[^\x25]+/.exec(c))o.push(t[0]);else if(t=/^\x25{2}/.exec(c))o.push("%");else{if(!(t=/^\x25(?:(\d+)\$)?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(c)))throw"Huh ?!";if(null==(e=arguments[t[1]||s++])||null==e)throw"Too few arguments.";if(/[^s]/.test(t[7])&&"number"!=typeof e)throw"Expecting number but found "+i(e);switch(t[7]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e);break;case"e":e=t[6]?e.toExponential(t[6]):e.toExponential();break;case"f":e=t[6]?parseFloat(e).toFixed(t[6]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=(e=String(e))&&t[6]?e.substring(0,t[6]):e;break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase()}e=/[def]/.test(t[7])&&t[2]&&e>0?"+"+e:e,a=t[3]?"0"==t[3]?"0":t[3].charAt(1):" ",n=t[5]-String(e).length,r=t[5]?str_repeat(a,n):"",o.push(t[4]?e+r:r+e)}c=c.substring(t[0].length)}return o.join("")}},function(e,t){e.exports=function(){return window.abcjsAudioContext}},function(e,t,i){var r=i(6);e.exports=function(){var e=r();return e?void 0!==e.resume:!!window.Promise&&(window.AudioContext||window.webkitAudioContext||navigator.mozAudioContext||navigator.msAudioContext)}},function(e,t){function i(e,t){for(var i=[],r=null,a=0;ar.currentEvent&&r.noteTimings[r.currentEvent].milliseconds0&&"event"===r.noteTimings[r.currentEvent-1].type&&r.eventCallback(r.noteTimings[r.currentEvent-1])}(e),r.justSeeked=!1),r.isPaused)r.pausedTime=e;else if(r.isRunning){var i=e-r.startTime;for(i+=50;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds=r.lastMoment&&r.eventCallback&&r.eventCallback(null)}},r.start=function(){r.isRunning=!0,r.isPaused&&(r.isPaused=!1,r.justUnpaused=!0),requestAnimationFrame(r.doTiming)},r.pause=function(){r.isPaused=!0,r.isRunning=!1},r.reset=function(){r.currentBeat=0,r.currentEvent=0,r.startTime=null,r.pausedTime=null,r.lineEndCallback&&(r.lineEndTimings=i(r.noteTimings,r.lineEndAnticipation))},r.stop=function(){r.pause(),r.reset()},r.setProgress=function(e){e<0&&(e=0),e>1&&(e=1),r.newSeekPercent=e,r.justSeeked=!0,requestAnimationFrame(r.doTiming)})}},function(e,t,i){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=i(0),n=i(10),s={};!function(){"use strict";s.numberOfTunes=function(e){var t=e.split("\nX:").length;return 0===t&&(t=1),t};var e=s.TuneBook=function(e){for(var t=this,i="",r=(e=a.strip(e)).split("\nX:"),n=1;n1&&!a.startsWith(t.tunes[0].abc,"X:")){var c=t.tunes.shift().abc.split("\n");a.each(c,(function(e){a.startsWith(e,"%%")&&(i+=e+"\n")}))}t.header=i,a.each(t.tunes,(function(e){var t=e.abc.indexOf("\n\n");t>0&&(e.abc=e.abc.substring(0,t)),e.pure=e.abc,e.abc=i+e.abc;var r=e.pure.split("T:");r.length>1?(r=r[1].split("\n"),e.title=r[0].replace(/^\s+|\s+$/g,"")):e.title="";var a=e.pure.substring(2,e.pure.indexOf("\n"));e.id=a.replace(/^\s+|\s+$/g,"")}))};e.prototype.getTuneById=function(e){for(var t=0;t=0&&l0,v=0;v=0&&(d=_.startChar,u=void 0===_.chord?h:null),_.chord&&(h=_),"bar"===_.el_type){if(f){var T={abc:n.abc.substring(d,_.endChar)};(h=u&&u.chord&&u.chord.length>0?u.chord[0].name:null)&&(T.lastChord=h),_.startEnding&&(T.startEnding=_.startEnding),_.endEnding&&(T.endEnding=_.endEnding),p.push(T),d=null,f=!1}}else"note"===_.el_type&&(f=!0)}}i.push({header:l,measures:p,hasPickup:g})}return i}}(),e.exports=s},function(e,t,i){var r=i(0),a=i(11),n=i(31),s=i(12),c=i(32),o=i(16),l=i(17),h=i(18);e.exports=function(){"use strict";var e=new h,t=new c;function i(e,t,i){e.positioning||(e.positioning={}),e.positioning[t]=i}function u(e,t,i){e.fonts||(e.fonts={}),e.fonts[t]=i}this.getTune=function(){return{formatting:e.formatting,lines:e.lines,media:e.media,metaText:e.metaText,version:e.version,addElementToEvents:e.addElementToEvents,addUsefulCallbackInfo:e.addUsefulCallbackInfo,getBarLength:e.getBarLength,getBeatLength:e.getBeatLength,getBeatsPerMeasure:e.getBeatsPerMeasure,getBpm:e.getBpm,getMeter:e.getMeter,getMeterFraction:e.getMeterFraction,getPickupLength:e.getPickupLength,getKeySignature:e.getKeySignature,makeVoicesArray:e.makeVoicesArray,millisecondsPerMeasure:e.millisecondsPerMeasure,setupEvents:e.setupEvents,setTiming:e.setTiming}};var d={reset:function(){for(var e in this)this.hasOwnProperty(e)&&"function"!=typeof this[e]&&delete this[e];this.iChar=0,this.key={accidentals:[],root:"none",acc:"",mode:""},this.meter=null,this.origMeter=null,this.hasMainTitle=!1,this.default_length=.125,this.clef={type:"treble",verticalPos:0},this.next_note_duration=0,this.start_new_line=!0,this.is_in_header=!0,this.is_in_history=!1,this.partForNextLine={},this.havent_set_length=!0,this.voices={},this.staves=[],this.macros={},this.currBarNumber=1,this.barCounter={},this.inTextBlock=!1,this.inPsBlock=!1,this.ignoredDecorations=[],this.textBlock="",this.score_is_present=!1,this.inEnding=!1,this.inTie=[],this.inTieChord={},this.vocalPosition="auto",this.dynamicPosition="auto",this.chordPosition="auto",this.ornamentPosition="auto",this.volumePosition="auto",this.openSlurs=[],this.freegchord=!1},differentFont:function(e,t){return this[e].decoration!==t[e].decoration||(this[e].face!==t[e].face||(this[e].size!==t[e].size||(this[e].style!==t[e].style||this[e].weight!==t[e].weight)))},addFormattingOptions:function(e,t,r){"note"===r?("auto"!==this.vocalPosition&&i(e,"vocalPosition",this.vocalPosition),"auto"!==this.dynamicPosition&&i(e,"dynamicPosition",this.dynamicPosition),"auto"!==this.chordPosition&&i(e,"chordPosition",this.chordPosition),"auto"!==this.ornamentPosition&&i(e,"ornamentPosition",this.ornamentPosition),"auto"!==this.volumePosition&&i(e,"volumePosition",this.volumePosition),this.differentFont("annotationfont",t)&&u(e,"annotationfont",this.annotationfont),this.differentFont("gchordfont",t)&&u(e,"gchordfont",this.gchordfont),this.differentFont("vocalfont",t)&&u(e,"vocalfont",this.vocalfont),this.differentFont("tripletfont",t)&&u(e,"tripletfont",this.tripletfont)):"bar"===r&&("auto"!==this.dynamicPosition&&i(e,"dynamicPosition",this.dynamicPosition),"auto"!==this.chordPosition&&i(e,"chordPosition",this.chordPosition),"auto"!==this.ornamentPosition&&i(e,"ornamentPosition",this.ornamentPosition),"auto"!==this.volumePosition&&i(e,"volumePosition",this.volumePosition),this.differentFont("measurefont",t)&&u(e,"measurefont",this.measurefont),this.differentFont("repeatfont",t)&&u(e,"repeatfont",this.repeatfont))}},p=function(e){var t=r.gsub(e,""," ");return t=r.gsub(t,"&","&"),t=r.gsub(t,"<","<"),r.gsub(t,">",">")},f=function(t,i,r){i||(i=" ");var a=i.charAt(r);" "===a&&(a="SPACE");var n,s=p(i.substring(0,r))+''+a+""+p(i.substring(r+1));!function(e){d.warnings||(d.warnings=[]),d.warnings.push(e)}("Music Line:"+e.getNumLines()+":"+(r+1)+": "+t+": "+s),n={message:t,line:i,startChar:d.iChar+r,column:r},d.warningObjects||(d.warningObjects=[]),d.warningObjects.push(n)},m=new n(t,f,d,e);this.getWarnings=function(){return d.warnings},this.getWarningObjects=function(){return d.warningObjects};var g=function(e,i){if('"'===e.charAt(i)){var r=t.getBrackettedSubstring(e,i,5);if(r[2]||f("Missing the closing quote while parsing the chord symbol",e,i),r[0]>0&&r[1].length>0&&"^"===r[1].charAt(0))r[1]=r[1].substring(1),r[2]="above";else if(r[0]>0&&r[1].length>0&&"_"===r[1].charAt(0))r[1]=r[1].substring(1),r[2]="below";else if(r[0]>0&&r[1].length>0&&"<"===r[1].charAt(0))r[1]=r[1].substring(1),r[2]="left";else if(r[0]>0&&r[1].length>0&&">"===r[1].charAt(0))r[1]=r[1].substring(1),r[2]="right";else if(r[0]>0&&r[1].length>0&&"@"===r[1].charAt(0)){r[1]=r[1].substring(1);var a=t.getFloat(r[1]);0===a.digits&&f("Missing first position in absolutely positioned annotation.",e,i),r[1]=r[1].substring(a.digits),","!==r[1][0]&&f("Missing comma absolutely positioned annotation.",e,i),r[1]=r[1].substring(1);var n=t.getFloat(r[1]);0===n.digits&&f("Missing second position in absolutely positioned annotation.",e,i),r[1]=r[1].substring(n.digits);var s=t.skipWhiteSpace(r[1]);r[1]=r[1].substring(s),r[2]=null,r[3]={x:a.value,y:n.value}}else!0!==d.freegchord&&(r[1]=r[1].replace(/([ABCDEFG0-9])b/g,"$1♭"),r[1]=r[1].replace(/([ABCDEFG0-9])#/g,"$1♯")),r[2]="default",r[1]=o.chordName(d,r[1]);return r}return[0,""]},v=["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"],b=["p","pp","f","ff","mf","mp","ppp","pppp","fff","ffff","sfz"],y=["crescendo(","crescendo)","diminuendo(","diminuendo)"],w=[["<","accent"],[">","accent"],["tr","trill"],["plus","+"],["emphasis","accent"],["^","umarcato"],["marcato","umarcato"]],k=[["<(","crescendo("],["<)","crescendo)"],[">(","diminuendo("],[">)","diminuendo)"]],x=function(e,i){var a=d.macros[e.charAt(i)];if(void 0!==a)return"!"!==a.charAt(0)&&"+"!==a.charAt(0)||(a=a.substring(1)),"!"!==a.charAt(a.length-1)&&"+"!==a.charAt(a.length-1)||(a=a.substring(0,a.length-1)),r.detect(v,(function(e){return a===e}))?[1,a]:r.detect(b,(function(e){return a===e}))?("hidden"===d.volumePosition&&(a=""),[1,a]):r.detect(y,(function(e){return"hidden"===d.dynamicPosition&&(a=""),a===e}))?[1,a]:(r.detect(d.ignoredDecorations,(function(e){return a===e}))||f("Unknown macro: "+a,e,i),[1,""]);switch(e.charAt(i)){case".":return[1,"staccato"];case"u":return[1,"upbow"];case"v":return[1,"downbow"];case"~":return[1,"irishroll"];case"!":case"+":var n=t.getBrackettedSubstring(e,i,5);return n[1].length>0&&("^"===n[1].charAt(0)||"_"===n[1].charAt(0))&&(n[1]=n[1].substring(1)),r.detect(v,(function(e){return n[1]===e}))?n:r.detect(b,(function(e){return n[1]===e}))?("hidden"===d.volumePosition&&(n[1]=""),n):r.detect(y,(function(e){return n[1]===e}))?("hidden"===d.dynamicPosition&&(n[1]=""),n):r.detect(w,(function(e){return n[1]===e[0]&&(n[1]=e[1],!0)}))?n:r.detect(k,(function(e){return n[1]===e[0]&&(n[1]=e[1],!0)}))?("hidden"===d.dynamicPosition&&(n[1]=""),n):"!"!==e.charAt(i)||1!==n[0]&&"!"===e.charAt(i+n[0]-1)?(f("Unknown decoration: "+n[1],e,i),n[1]="",n):[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]},S=function(e,i){for(var r=i;t.isWhiteSpace(e.charAt(i));)i++;return[i-r]},_=function(e,i){var r=t.getBarLine(e,i);if(0===r.len)return[0,""];if(r.warn)return f(r.warn,e,i),[r.len,""];for(var a=0;a="2"&&e.charAt(i+1)<="9"?(void 0!==r.triplet?f("Can't nest triplets",e,i):(r.triplet=e.charAt(i+1)-"0",r.tripletQ=T[r.triplet],r.num_notes=r.triplet,i+2="1"&&e.charAt(i+4)<="9"?(r.num_notes=e.charAt(i+4)-"0",i+=3):f("expected number after the two colons after the triplet to mark the duration",e,i):i+3="1"&&e.charAt(i+3)<="9"?(r.tripletQ=e.charAt(i+3)-"0",i+4="1"&&e.charAt(i+5)<="9"&&(r.num_notes=e.charAt(i+5)-"0",i+=4):i+=2):f("expected number after the triplet to mark the duration",e,i))),i++):void 0===r.startSlur?r.startSlur=1:r.startSlur++),i++;return r.consumed=i-a,r},C=function(e,t){switch(e.charAt(t)){case">":return t"===e.charAt(t+1)?[2,1.75,.25]:[1,1.5,.5];case"<":return t"!==i.charAt(r))return a;r--,c="broken_rhythm";break;case">":case"<":if(!s(c))return null;if(!n)return a.endChar=r,a;var f=C(i,r);r+=f[0]-1,d.next_note_duration=f[2],a.duration=f[1]*a.duration,c="end_slur";break;default:return s(c)?(a.endChar=r,a):null}if(++r===i.length)return s(c)?(a.endChar=r,a):null}return null};function P(){var t={startChar:-1,endChar:-1};d.partForNextLine.title&&(t.part=d.partForNextLine),t.clef=d.currentVoice&&void 0!==d.staves[d.currentVoice.staffNum].clef?r.clone(d.staves[d.currentVoice.staffNum].clef):r.clone(d.clef);var i=d.currentVoice?d.currentVoice.scoreTranspose:0;if(t.key=s.standardKey(d.key.root+d.key.acc+d.key.mode,d.key.root,d.key.acc,i),t.key.mode=d.key.mode,d.key.impliedNaturals&&(t.key.impliedNaturals=d.key.impliedNaturals),d.key.explicitAccidentals)for(var a=0;a0&&(a[a.length-1].end_beam=!0):f("Unknown character '"+r[1].charAt(n)+"' while parsing grace note",e,i),n++)}if(a.length)return[r[0],a]}return[0]};function H(e,t){if("&"===e.charAt(t)){for(var i=t;e.charAt(t)&&":"!==e.charAt(t)&&"|"!==e.charAt(t);)t++;return[t-i,e.substring(i+1,t)]}return[0]}function z(e){var t=e.origMeter;return t&&"specified"===t.type&&t.value&&0!==t.value.length?parseInt(t.value[0].num,10)/parseInt(t.value[0].den,10):1}var I=function(e,t,i){if(void 0===e.inTie[t])return!1;var r=e.currentVoice?e.currentVoice.index:0;return!(!e.inTie[t][r]||void 0===i.pitches&&"spacer"===i.rest.type)},D=function(e,t,i){var r=e.currentVoice?e.currentVoice.index:0;void 0===e.inTie[t]&&(e.inTie[t]=[]),e.inTie[t][r]=i},O=function i(a){var n=m.parseHeader(a);n.regular&&function(i){m.resolveTempo(),d.is_in_header=!1;for(var a=0,n=d.iChar;t.isWhiteSpace(i.charAt(a))&&a0&&(a+=o[0],"V"===o[1]&&(s=!0));for(var l={},h=0;a0)a+=p[0],"V"===p[1]&&(s=!0);else{var v;for(s&&(P(),s=!1);;)if((v=t.eatWhiteSpace(i,a))>0&&(a+=v),a>0&&""===i.charAt(a-1)&&(v=m.letter_to_body_header(i,a))[0]>0&&("V"===v[1]&&P(),a=v[0],d.start_new_line=!1),(v=S(i,a))[0]>0&&(a+=v[0]),(v=g(i,a))[0]>0){l.chord||(l.chord=[]);var b=t.translateString(v[1]);b=b.replace(/;/g,"\n");for(var y=!1,w=0;w0&&(l.force_end_beam_last=!0),a+=k}else if((v=-1==="ABCDEFGabcdefgxyzZ[]|^_{".indexOf(i.charAt(a))?x(i,a):[0])[0]>0)null===v[1]?a+10&&(0===v[1].indexOf("style=")?l.style=v[1].substr(6):(void 0===l.decoration&&(l.decoration=[]),l.decoration.push(v[1]))),a+=v[0];else{if(!((v=L(i,a))[0]>0))break;l.gracenotes=v[1],a+=v[0]}if((v=_(i,a))[0]>0){h=0,void 0!==l.gracenotes&&(l.rest={type:"spacer"},l.duration=.125,d.addFormattingOptions(l,e.formatting,"note"),e.appendElement("note",n+a,n+a+v[0],l),d.measureNotEmpty=!0,l={});var T={type:v[1]};if(0===T.type.length)f("Unknown bar type",i,a);else{if(d.inEnding&&"bar_thin"!==T.type&&(T.endEnding=!0,d.inEnding=!1),v[2]&&(T.startEnding=v[2],d.inEnding&&(T.endEnding=!0),d.inEnding=!0),void 0!==l.decoration&&(T.decoration=l.decoration),void 0!==l.chord&&(T.chord=l.chord),T.startEnding&&void 0===d.barFirstEndingNum?d.barFirstEndingNum=d.currBarNumber:T.startEnding&&T.endEnding&&d.barFirstEndingNum?d.currBarNumber=d.barFirstEndingNum:T.endEnding&&(d.barFirstEndingNum=void 0),"bar_invisible"!==T.type&&d.measureNotEmpty)(void 0===d.currentVoice||0===d.currentVoice.staffNum&&0===d.currentVoice.index)&&(d.currBarNumber++,d.barNumbers&&d.currBarNumber%d.barNumbers==0&&(T.barNumber=d.currBarNumber));d.addFormattingOptions(l,e.formatting,"bar"),e.appendElement("bar",n+a,n+a+v[0],T),d.measureNotEmpty=!1,l={}}a+=v[0];d.currentVoice&&(d.currentVoice.staffNum,d.currentVoice.index)}else if("&"===i[a])(v=H(i,a))[0]>0&&(e.appendElement("overlay",n,n+1,{}),a+=1,h++);else{if((v=A(i,a)).consumed>0&&(void 0!==v.startSlur&&(l.startSlur=v.startSlur),void 0!==v.triplet&&(c>0?f("Can't nest triplets",i,a):(l.startTriplet=v.triplet,l.tripletMultiplier=v.tripletQ/v.triplet,c=void 0===v.num_notes?v.triplet:v.num_notes)),a+=v.consumed),"["===i.charAt(a)){var E=a;a++;for(var M=null,O=!1,F=!1;!F;){var Y=x(i,a);Y[0]>0&&(a+=Y[0]);var j=B(i,a,{},!1);if(null!==j)Y[0]>0&&0!==Y[1].indexOf("style=")&&(void 0===l.decoration&&(l.decoration=[]),l.decoration.push(Y[1])),j.end_beam&&(l.end_beam=!0,delete j.end_beam),void 0===l.pitches?(l.duration=j.duration,l.pitches=[j]):l.pitches.push(j),delete j.duration,Y[0]>0&&0===Y[1].indexOf("style=")&&(l.pitches[l.pitches.length-1].style=Y[1].substr(6)),d.inTieChord[l.pitches.length]&&(j.endTie=!0,d.inTieChord[l.pitches.length]=void 0),j.startTie&&(d.inTieChord[l.pitches.length]=!0),a=j.endChar,delete j.endChar;else if(" "===i.charAt(a))f("Spaces are not allowed in chords",i,a),a++;else{if(a0&&0===--c&&(l.endTriplet=!0);for(var V=!1;a":case"<":var G=C(i,a);a+=G[0]-1,d.next_note_duration=G[2],M?M*=G[1]:M=G[1];break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"/":var R=t.getFraction(i,a);M=R.value,a=R.index," "===i.charAt(a)&&(O=!0),"-"===i.charAt(a)||")"===i.charAt(a)||" "===i.charAt(a)||"<"===i.charAt(a)||">"===i.charAt(a)?a--:V=!0;break;default:V=!0}V||a++}}else f("Expected ']' to end the chords",i,a);void 0!==l.pitches&&(null!==M&&(l.duration=l.duration*M,O&&N(l)),d.addFormattingOptions(l,e.formatting,"note"),e.appendElement("note",n+E,n+a,l),d.measureNotEmpty=!0,l={}),F=!0}}}else{var W={},q=B(i,a,W,!0);void 0!==W.endTie&&D(d,h,!0),null!==q&&(void 0!==q.pitch?(l.pitches=[{}],void 0!==q.accidental&&(l.pitches[0].accidental=q.accidental),l.pitches[0].pitch=q.pitch,q.midipitch&&(l.pitches[0].midipitch=q.midipitch),void 0!==q.endSlur&&(l.pitches[0].endSlur=q.endSlur),void 0!==q.endTie&&(l.pitches[0].endTie=q.endTie),void 0!==q.startSlur&&(l.pitches[0].startSlur=q.startSlur),void 0!==l.startSlur&&(l.pitches[0].startSlur=l.startSlur),void 0!==q.startTie&&(l.pitches[0].startTie=q.startTie),void 0!==l.startTie&&(l.pitches[0].startTie=l.startTie)):(l.rest=q.rest,void 0!==q.endSlur&&(l.endSlur=q.endSlur),void 0!==q.endTie&&(l.rest.endTie=q.endTie),void 0!==q.startSlur&&(l.startSlur=q.startSlur),void 0!==q.startTie&&(l.rest.startTie=q.startTie),void 0!==l.startTie&&(l.rest.startTie=l.startTie)),void 0!==q.chord&&(l.chord=q.chord),void 0!==q.duration&&(l.duration=q.duration),void 0!==q.decoration&&(l.decoration=q.decoration),void 0!==q.graceNotes&&(l.graceNotes=q.graceNotes),delete l.startSlur,I(d,h,l)&&(void 0!==l.pitches?l.pitches[0].endTie=!0:"spacer"!==l.rest.type&&(l.rest.endTie=!0),D(d,h,!1)),(q.startTie||l.startTie)&&D(d,h,!0),a=q.endChar,c>0&&0===--c&&(l.endTriplet=!0),q.end_beam&&N(l),l.rest&&"rest"===l.rest.type&&1===l.duration&&z(d)<=1&&(l.rest.type="whole",l.duration=z(d)),d.addFormattingOptions(l,e.formatting,"note"),e.appendElement("note",n+u,n+a,l),d.measureNotEmpty=!0,l={})}a===u&&(" "!==i.charAt(a)&&"`"!==i.charAt(a)&&f("Unknown character ignored",i,a),a++)}}}}}(n.str),n.newline&&P(),n.words&&function(e,i){if(e){"-"!==(i=r.strip(i)).charAt(i.length-1)&&(i+=" ");for(var a=[],n=0,s=!1,c=function(e){var c=r.strip(i.substring(n,e));if(n=e+1,c.length>0){s&&(c=r.gsub(c,"~"," "));var o=i.charAt(e);return"_"!==o&&"-"!==o&&(o=" "),a.push({syllable:t.translateString(c),divider:o}),s=!1,!0}return!1},o=0;o0&&(r.last(a).divider="-",a.push({skip:!0,to:"next"}));break;case"_":c(o),a.push({skip:!0,to:"slur"});break;case"*":c(o),a.push({skip:!0,to:"next"});break;case"|":c(o),a.push({skip:!0,to:"bar"});break;case"~":s=!0}r.each(e,(function(e){if(0!==a.length)if(a[0].skip){switch(a[0].to){case"next":case"slur":"note"===e.el_type&&null!==e.pitches&&a.shift();break;case"bar":"bar"===e.el_type&&a.shift()}"bar"!==e.el_type&&(void 0===e.lyric?e.lyric=[{syllable:"",divider:" "}]:e.lyric.push({syllable:"",divider:" "}))}else if("note"===e.el_type&&void 0===e.rest){var t=a.shift();t.syllable&&(t.syllable=t.syllable.replace(/ +/g," ")),void 0===e.lyric?e.lyric=[t]:e.lyric.push(t)}}))}else f("Can't add words before the first line of music",e,0)}(e.getCurrentVoice(),a.substring(2)),n.symbols&&function(e,i){if(e){"-"!==(i=r.strip(i)).charAt(i.length-1)&&(i+=" ");for(var a=[],n=0,s=!1,c=function(e){var c=r.strip(i.substring(n,e));if(n=e+1,c.length>0){s&&(c=r.gsub(c,"~"," "));var o=i.charAt(e);return"_"!==o&&"-"!==o&&(o=" "),a.push({syllable:t.translateString(c),divider:o}),s=!1,!0}return!1},o=0;o0&&(r.last(a).divider="-",a.push({skip:!0,to:"next"}));break;case"_":c(o),a.push({skip:!0,to:"slur"});break;case"*":c(o),a.push({skip:!0,to:"next"});break;case"|":c(o),a.push({skip:!0,to:"bar"});break;case"~":s=!0}r.each(e,(function(e){if(0!==a.length)if(a[0].skip)switch(a[0].to){case"next":case"slur":"note"===e.el_type&&null!==e.pitches&&a.shift();break;case"bar":"bar"===e.el_type&&a.shift()}else if("note"===e.el_type&&void 0===e.rest){var t=a.shift();void 0===e.lyric?e.lyric=[t]:e.lyric.push(t)}}))}else f("Can't add symbols before the first line of music",e,0)}(e.getCurrentVoice(),a.substring(2)),n.recurse&&i(n.str)};function F(e,t){e.push({el_type:"hint"});for(var i=0;i0&&"-"===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?(o?t("Font size specified twice in font definition.",r,a):o=g.token,f="modifier"):"bold"===v?h="bold":"italic"===v?u="italic":"underline"===v?d="underline":"box"===v?(s[n]?p=!0:t('This font style doesn\'t support "box"',r,a),f="finished"):"utf"===v?(g=e.shift(),f="size"):t("Unknown parameter "+g.token+" in font definition.",r,a);break;case"size":"number"===g.type?o?t("Font size specified twice in font definition.",r,a):o=g.token:t("Expected font size in font definition.",r,a),f="modifier";break;case"modifier":"bold"===v?h="bold":"italic"===v?u="italic":"underline"===v?d="underline":"box"===v?(s[n]?p=!0:t('This font style doesn\'t support "box"',r,a),f="finished"):t("Unknown parameter "+g.token+" in font definition.",r,a);break;case"finished":t('Extra characters found after "box" in font definition.',r,a)}}void 0===o?i?o=i.size:(t("Must specify the size of the font since there is no default value.",r,a),o=12):o=parseFloat(o);var b=function(e){switch(e){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=o,p&&(y.box=!0),y):(y.face=l,y.weight=h,y.style=u,y.decoration=d,y.size=o,p&&(y.box=!0),y)},o=function(e,t,r){return 0===t.length?'Directive "'+e+'" requires a font as a parameter.':(i[e]=c(t,i[e],r,0,e),i.is_in_header&&(n.formatting[e]=i[e]),null)},l=function(e,t){var i="";r.each(t,(function(e){i+=e.token}));var a=parseFloat(i);if(isNaN(a)||0===a)return'Directive "'+e+'" requires a number as a parameter.';n.formatting.scale=a},h=function(e,t,r,a,n){if(1!==r.length||"number"!==r[0].type)return'Directive "'+t+'" requires a number as a parameter.';var s=r[0].intt;return void 0!==a&&sn?'Directive "'+t+'" requires a number less than or equal to '+n+" as a parameter.":(i[e]=s,null)},u=function(e,t,r){if(1===r.length&&("true"===r[0].token||"false"===r[0].token))return i[e]="true"===r[0].token,null;var a=h(e,t,r,0,1);return null!==a?a:(i[e]=1===i[e],null)},d=function(e,t,r,a){if(1!==r.length)return'Directive "'+t+'" requires one of [ '+a.join(", ")+" ] as a parameter.";for(var n=r[0].token,s=!1,c=0;!s&&c1&&i.setfont){for(var r=[{text:t[0]}],a=1;a1)return r}return e};var S=["auto","above","below","hidden"];a.addDirective=function(s){var _=e.tokenize(s,0,s.length);if(0===_.length||"alpha"!==_[0].type)return null;var T=s.substring(s.indexOf(_[0].token)+_[0].token.length);T=e.stripComment(T);var A=_.shift().token.toLowerCase(),C="";switch(A){case"bagpipes":n.formatting.bagpipes=!0;break;case"flatbeams":n.formatting.flatbeams=!0;break;case"landscape":i.landscape=!0;break;case"papersize":i.papersize=T;break;case"slurgraces":n.formatting.slurgraces=!0;break;case"stretchlast":n.formatting.stretchlast=!0;break;case"titlecaps":i.titlecaps=!0;break;case"titleleft":n.formatting.titleleft=!0;break;case"measurebox":n.formatting.measurebox=!0;break;case"vocal":return d("vocalPosition",A,_,S);case"dynamic":return d("dynamicPosition",A,_,S);case"gchord":return d("chordPosition",A,_,S);case"ornament":return d("ornamentPosition",A,_,S);case"volume":return d("volumePosition",A,_,S);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 function(t,i){var r=e.getMeasurement(i);return 0===r.used||0!==i.length?'Directive "'+t+'" requires a measurement as a parameter.':(n.formatting[t]=r.value,null)}(A,_);case"voicescale":if(1!==_.length||"number"!==_[0].type)return"voicescale requires one float as a parameter";var N=_.shift();return i.currentVoice&&(i.currentVoice.scale=N.floatt,n.changeVoiceScale(i.currentVoice.scale)),null;case"vskip":var E=function(t,i){var r=e.getMeasurement(i);return 0===r.used||0!==i.length?{error:'Directive "'+t+'" requires a measurement as a parameter.'}:r.value}(A,_);return E.error?E.error:(n.addSpacing(E),null);case"scale":l(A,_);break;case"sep":if(0===_.length)n.addSeparator();else{var M=e.getMeasurement(_);if(0===M.used)return'Directive "'+A+'" requires 3 numbers: space above, space below, length of line';var B=M.value;if(0===(M=e.getMeasurement(_)).used)return'Directive "'+A+'" requires 3 numbers: space above, space below, length of line';var P=M.value;if(0===(M=e.getMeasurement(_)).used||0!==_.length)return'Directive "'+A+'" requires 3 numbers: space above, space below, length of line';var L=M.value;n.addSeparator(B,P,L)}break;case"barsperstaff":if(null!==(C=h("barsperstaff",A,_)))return C;break;case"staffnonote":if(1!==_.length)return"Directive staffnonote requires one parameter: 0 or 1";if("0"===_[0].token)i.staffnonote=!0;else{if("1"!==_[0].token)return"Directive staffnonote requires one parameter: 0 or 1 (received "+_[0].token+")";i.staffnonote=!1}break;case"printtempo":if(null!==(C=u("printTempo",A,_)))return C;break;case"partsbox":if(null!==(C=u("partsBox",A,_)))return C;i.partsfont.box=i.partsBox;break;case"freegchord":if(null!==(C=u("freegchord",A,_)))return C;break;case"measurenb":case"barnumbers":if(null!==(C=h("barNumbers",A,_)))return C;break;case"setbarnb":if(1!==_.length||"number"!==_[0].type)return"Directive setbarnb requires a number as a parameter.";i.currBarNumber=n.setBarNumberImmediate(_[0].intt);break;case"begintext":i.inTextBlock=!0;break;case"continueall":i.continueall=!0;break;case"beginps":i.inPsBlock=!0,t("Postscript ignored",s,0);break;case"deco":T.length>0&&i.ignoredDecorations.push(T.substring(0,T.indexOf(" "))),t("Decoration redefinition ignored",s,0);break;case"text":var H=e.translateString(T);n.addText(a.parseFontChangeLine(H));break;case"center":var z=e.translateString(T);n.addCentered(a.parseFontChangeLine(z));break;case"font":break;case"setfont":var I=e.tokenize(T,0,T.length);if(I.length>=4&&"-"===I[0].token&&"number"===I[1].type){var D=parseInt(I[1].token);D>=1&&D<=4&&(i.setfont||(i.setfont=[]),I.shift(),I.shift(),i.setfont[D]=c(I,i.setfont[D],s,0,"setfont"))}break;case"gchordfont":case"partsfont":case"tripletfont":case"vocalfont":case"textfont":case"annotationfont":case"historyfont":case"infofont":case"measurefont":case"repeatfont":case"wordsfont":return o(A,_,s);case"composerfont":case"subtitlefont":case"tempofont":case"titlefont":case"voicefont":case"footerfont":case"headerfont":return function(e,t,i){return 0===t.length?'Directive "'+e+'" requires a font as a parameter.':(n.formatting[e]=c(t,n.formatting[e],i,0,e),null)}(A,_,s);case"barlabelfont":case"barnumberfont":case"barnumfont":return o("measurefont",_,s);case"staves":case"score":i.score_is_present=!0;for(var O,F=function(e,t,a,n,s){(t||0===i.staves.length)&&i.staves.push({index:i.staves.length,numVoices:0});var c=r.last(i.staves);void 0!==a&&(c.bracket=a),void 0!==n&&(c.brace=n),s&&(c.connectBarLines="end"),void 0===i.voices[e]&&(i.voices[e]={staffNum:c.index,index:c.numVoices},c.numVoices++)},Y=!1,j=!1,V=!1,G=!1,R=!1,W=!1,q=!1,U=function(){if(q=!0,O){var e="start";O.staffNum>0&&("start"!==i.staves[O.staffNum-1].connectBarLines&&"continue"!==i.staves[O.staffNum-1].connectBarLines||(e="continue")),i.staves[O.staffNum].connectBarLines=e}};_.length;){var X=_.shift();switch(X.token){case"(":Y?t("Can't nest parenthesis in %%score",s,X.start):(Y=!0,G=!0);break;case")":!Y||G?t("Unexpected close parenthesis in %%score",s,X.start):Y=!1;break;case"[":j?t("Can't nest brackets in %%score",s,X.start):(j=!0,R=!0);break;case"]":!j||R?t("Unexpected close bracket in %%score",s,X.start):(j=!1,i.staves[O.staffNum].bracket="end");break;case"{":V?t("Can't nest braces in %%score",s,X.start):(V=!0,W=!0);break;case"}":!V||W?t("Unexpected close brace in %%score",s,X.start):(V=!1,i.staves[O.staffNum].brace="end");break;case"|":U();break;default:for(var K="";("alpha"===X.type||"number"===X.type)&&(K+=X.token,X.continueId);)X=_.shift();F(K,!Y||G,R?"start":j?"continue":void 0,W?"start":V?"continue":void 0,q),G=!1,R=!1,W=!1,q=!1,O=i.voices[K],"staves"===A&&U()}}break;case"newpage":var Q=e.getInt(T);n.addNewPage(0===Q.digits?-1:Q.value);break;case"abc":var Z=T.split(" ");switch(Z[0]){case"-copyright":case"-creator":case"-edited-by":case"-version":case"-charset":var $=Z.shift();n.addMetaText(A+$,Z.join(" "));break;default:return"Unknown directive: "+A+Z[0]}break;case"header":case"footer":var J=e.getMeat(T,0,T.length);'"'===(J=T.substring(J.start,J.end)).charAt(0)&&'"'===J.charAt(J.length-1)&&(J=J.substring(1,J.length-1));var ee=J.split("\t"),te={};te=1===ee.length?{left:"",center:ee[0],right:""}:2===ee.length?{left:ee[0],center:ee[1],right:""}:{left:ee[0],center:ee[1],right:ee[2]},ee.length>3&&t("Too many tabs in "+A+": "+ee.length+" found.",T,0),n.addMetaTextObj(A,te);break;case"midi":var ie=e.tokenize(T,0,T.length,!0);ie.length>0&&"="===ie[0].token&&ie.shift(),0===ie.length?t("Expected midi command",T,0):function(e,i,r){var a=e.shift().token,n=[];if(p.indexOf(a)>=0)0!==e.length&&t("Unexpected parameter in MIDI "+a,r,0);else if(f.indexOf(a)>=0)1!==e.length?t("Expected one parameter in MIDI "+a,r,0):n.push(e[0].token);else if(m.indexOf(a)>=0)1!==e.length?t("Expected one parameter in MIDI "+a,r,0):"number"!==e[0].type?t("Expected one integer parameter in MIDI "+a,r,0):n.push(e[0].intt);else if(g.indexOf(a)>=0)1!==e.length&&2!==e.length?t("Expected one or two parameters in MIDI "+a,r,0):"number"!==e[0].type?t("Expected integer parameter in MIDI "+a,r,0):2===e.length&&"number"!==e[1].type?t("Expected integer parameter in MIDI "+a,r,0):(n.push(e[0].intt),2===e.length&&n.push(e[1].intt));else if(v.indexOf(a)>=0)2!==e.length?t("Expected two parameters in MIDI "+a,r,0):"number"!==e[0].type||"number"!==e[1].type?t("Expected two integer parameters in MIDI "+a,r,0):(n.push(e[0].intt),n.push(e[1].intt));else if(w.indexOf(a)>=0)2!==e.length?t("Expected two parameters in MIDI "+a,r,0):"alpha"!==e[0].type||"number"!==e[1].type?t("Expected one string and one integer parameters in MIDI "+a,r,0):(n.push(e[0].token),n.push(e[1].intt));else if("drummap"===a)2===e.length&&"alpha"===e[0].type&&"number"===e[1].type?(i.formatting||(i.formatting={}),i.formatting.midi||(i.formatting.midi={}),i.formatting.midi.drummap||(i.formatting.midi.drummap={}),i.formatting.midi.drummap[e[0].token]=e[1].intt,n=i.formatting.midi.drummap):3===e.length&&"punct"===e[0].type&&"alpha"===e[1].type&&"number"===e[2].type?(i.formatting||(i.formatting={}),i.formatting.midi||(i.formatting.midi={}),i.formatting.midi.drummap||(i.formatting.midi.drummap={}),i.formatting.midi.drummap[e[0].token+e[1].token]=e[2].intt,n=i.formatting.midi.drummap):t("Expected one note name and one integer parameter in MIDI "+a,r,0);else if(k.indexOf(a)>=0)3!==e.length?t("Expected fraction parameter in MIDI "+a,r,0):"number"!==e[0].type||"/"!==e[1].token||"number"!==e[2].type?t("Expected fraction parameter in MIDI "+a,r,0):(n.push(e[0].intt),n.push(e[2].intt));else if(b.indexOf(a)>=0)4!==e.length?t("Expected four parameters in MIDI "+a,r,0):"number"!==e[0].type||"number"!==e[1].type||"number"!==e[2].type||"number"!==e[3].type?t("Expected four integer parameters in MIDI "+a,r,0):(n.push(e[0].intt),n.push(e[1].intt),n.push(e[2].intt),n.push(e[3].intt));else if(y.indexOf(a)>=0)5!==e.length?t("Expected five parameters in MIDI "+a,r,0):"number"!==e[0].type||"number"!==e[1].type||"number"!==e[2].type||"number"!==e[3].type||"number"!==e[4].type?t("Expected five integer parameters in MIDI "+a,r,0):(n.push(e[0].intt),n.push(e[1].intt),n.push(e[2].intt),n.push(e[3].intt),n.push(e[4].intt));else if(g.indexOf(a)>=0)1!==e.length||4!==e.length?t("Expected one or two parameters in MIDI "+a,r,0):"number"!==e[0].type?t("Expected integer parameter in MIDI "+a,r,0):4===e.length?("octave"!==e[1].token&&t("Expected octave parameter in MIDI "+a,r,0),"="!==e[2].token&&t("Expected octave parameter in MIDI "+a,r,0),"number"!==e[3].type&&t("Expected integer parameter for octave in MIDI "+a,r,0)):(n.push(e[0].intt),4===e.length&&n.push(e[3].intt));else if(x.indexOf(a)>=0)if(e.length<2)t("Expected string parameter and at least one integer parameter in MIDI "+a,r,0);else if("alpha"!==e[0].type)t("Expected string parameter and at least one integer parameter in MIDI "+a,r,0);else{var s=e.shift();for(n.push(s.token);e.length>0;)"number"!==(s=e.shift()).type&&t("Expected integer parameter in MIDI "+a,r,0),n.push(s.intt)}i.hasBeginMusic()?i.appendElement("midi",-1,-1,{cmd:a,params:n}):(void 0===i.formatting.midi&&(i.formatting.midi={}),i.formatting.midi[a]=n)}(ie,n,T);break;case"map":case"percmap":case"playtempo":case"auquality":case"continuous":case"nobarcheck":n.formatting[A]=T;break;default:return"Unknown directive: "+A}return null},a.globalFormatting=function(r){for(var a in r)if(r.hasOwnProperty(a)){var n,s=""+r[a],c=e.tokenize(s,0,s.length);switch(a){case"titlefont":case"gchordfont":case"composerfont":case"footerfont":case"headerfont":case"historyfont":case"infofont":case"measurefont":case"partsfont":case"repeatfont":case"subtitlefont":case"tempofont":case"textfont":case"voicefont":case"tripletfont":case"vocalfont":case"wordsfont":case"annotationfont":o(a,c,s);break;case"scale":l(a,c);break;case"partsbox":null!==(n=u("partsBox",a,c))&&t(n),i.partsfont.box=i.partsBox;break;case"freegchord":null!==(n=u("freegchord",a,c))&&t(n);default:t("Formatting directive unrecognized: ",a,0)}}}}(),e.exports=a},function(e,t,i){var r=i(0),a=i(11),n=i(16),s={};!function(){var e,t,i,c;s.initialize=function(r,a,n,s){e=r,t=a,i=n,c=s},s.standardKey=function(e,t,r,a){var s={acc:"sharp",note:"f"},c={acc:"sharp",note:"c"},o={acc:"sharp",note:"g"},l={acc:"sharp",note:"d"},h={acc:"sharp",note:"A"},u={acc:"sharp",note:"e"},d={acc:"sharp",note:"B"},p={acc:"flat",note:"B"},f={acc:"flat",note:"e"},m={acc:"flat",note:"A"},g={acc:"flat",note:"d"},v={acc:"flat",note:"G"},b={acc:"flat",note:"c"},y={acc:"flat",note:"F"},w={"C#":[s,c,o,l,h,u,d],"A#m":[s,c,o,l,h,u,d],"G#Mix":[s,c,o,l,h,u,d],"D#Dor":[s,c,o,l,h,u,d],"E#Phr":[s,c,o,l,h,u,d],"F#Lyd":[s,c,o,l,h,u,d],"B#Loc":[s,c,o,l,h,u,d],"F#":[s,c,o,l,h,u],"D#m":[s,c,o,l,h,u],"C#Mix":[s,c,o,l,h,u],"G#Dor":[s,c,o,l,h,u],"A#Phr":[s,c,o,l,h,u],BLyd:[s,c,o,l,h,u],"E#Loc":[s,c,o,l,h,u],B:[s,c,o,l,h],"G#m":[s,c,o,l,h],"F#Mix":[s,c,o,l,h],"C#Dor":[s,c,o,l,h],"D#Phr":[s,c,o,l,h],ELyd:[s,c,o,l,h],"A#Loc":[s,c,o,l,h],E:[s,c,o,l],"C#m":[s,c,o,l],BMix:[s,c,o,l],"F#Dor":[s,c,o,l],"G#Phr":[s,c,o,l],ALyd:[s,c,o,l],"D#Loc":[s,c,o,l],A:[s,c,o],"F#m":[s,c,o],EMix:[s,c,o],BDor:[s,c,o],"C#Phr":[s,c,o],DLyd:[s,c,o],"G#Loc":[s,c,o],D:[s,c],Bm:[s,c],AMix:[s,c],EDor:[s,c],"F#Phr":[s,c],GLyd:[s,c],"C#Loc":[s,c],G:[s],Em:[s],DMix:[s],ADor:[s],BPhr:[s],CLyd:[s],"F#Loc":[s],C:[],Am:[],GMix:[],DDor:[],EPhr:[],FLyd:[],BLoc:[],F:[p],Dm:[p],CMix:[p],GDor:[p],APhr:[p],BbLyd:[p],ELoc:[p],Bb:[p,f],Gm:[p,f],FMix:[p,f],CDor:[p,f],DPhr:[p,f],EbLyd:[p,f],ALoc:[p,f],Eb:[p,f,m],Cm:[p,f,m],BbMix:[p,f,m],FDor:[p,f,m],GPhr:[p,f,m],AbLyd:[p,f,m],DLoc:[p,f,m],Ab:[p,f,m,g],Fm:[p,f,m,g],EbMix:[p,f,m,g],BbDor:[p,f,m,g],CPhr:[p,f,m,g],DbLyd:[p,f,m,g],GLoc:[p,f,m,g],Db:[p,f,m,g,v],Bbm:[p,f,m,g,v],AbMix:[p,f,m,g,v],EbDor:[p,f,m,g,v],FPhr:[p,f,m,g,v],GbLyd:[p,f,m,g,v],CLoc:[p,f,m,g,v],Gb:[p,f,m,g,v,b],Ebm:[p,f,m,g,v,b],DbMix:[p,f,m,g,v,b],AbDor:[p,f,m,g,v,b],BbPhr:[p,f,m,g,v,b],CbLyd:[p,f,m,g,v,b],FLoc:[p,f,m,g,v,b],Cb:[p,f,m,g,v,b,y],Abm:[p,f,m,g,v,b,y],GbMix:[p,f,m,g,v,b,y],DbDor:[p,f,m,g,v,b,y],EbPhr:[p,f,m,g,v,b,y],FbLyd:[p,f,m,g,v,b,y],BbLoc:[p,f,m,g,v,b,y],"A#":[p,f],"B#":[],"D#":[p,f,m],"E#":[p],"G#":[p,f,m,g],Gbm:[s,c,o,l,h,u,d]};return n.keySignature(i,w,e,t,r,a)};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},"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^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},"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},"alto^8":{clef:"alto+8",pitch:6,mid:-6},alto_8:{clef:"alto-8",pitch:6,mid:-6}},l=function(e,t){var i=o[e];return(i?i.mid:0)+t};s.fixClef=function(e){var t=o[e.type];t&&(e.clefPos=t.pitch,e.type=t.clef)},s.deepCopyKey=function(e){var t={accidentals:[],root:e.root,acc:e.acc,mode:e.mode};return r.each(e.accidentals,(function(e){t.accidentals.push(r.clone(e))})),t};var h={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};s.addPosToKey=function(e,t){var i=e.verticalPos;r.each(t.accidentals,(function(e){var t=h[e.note];t-=i,e.verticalPos=t})),t.impliedNaturals&&r.each(t.impliedNaturals,(function(e){var t=h[e.note];t-=i,e.verticalPos=t})),i<-10?(r.each(t.accidentals,(function(e){e.verticalPos-=7,(e.verticalPos>=11||10===e.verticalPos&&"flat"===e.acc)&&(e.verticalPos-=7),"A"===e.note&&"sharp"===e.acc&&(e.verticalPos-=7),"G"!==e.note&&"F"!==e.note||"flat"!==e.acc||(e.verticalPos-=7)})),t.impliedNaturals&&r.each(t.impliedNaturals,(function(e){e.verticalPos-=7,(e.verticalPos>=11||10===e.verticalPos&&"flat"===e.acc)&&(e.verticalPos-=7),"A"===e.note&&"sharp"===e.acc&&(e.verticalPos-=7),"G"!==e.note&&"F"!==e.note||"flat"!==e.acc||(e.verticalPos-=7)}))):i<-4?(r.each(t.accidentals,(function(e){e.verticalPos-=7,-8!==i||"f"!==e.note&&"g"!==e.note||"sharp"!==e.acc||(e.verticalPos-=7)})),t.impliedNaturals&&r.each(t.impliedNaturals,(function(e){e.verticalPos-=7,-8!==i||"f"!==e.note&&"g"!==e.note||"sharp"!==e.acc||(e.verticalPos-=7)}))):i>=7&&(r.each(t.accidentals,(function(e){e.verticalPos+=7})),t.impliedNaturals&&r.each(t.impliedNaturals,(function(e){e.verticalPos+=7})))},s.fixKey=function(e,t){var i=r.clone(t);return s.addPosToKey(e,i),i};var u=function(e){var t=0,i=e.charAt(t++);"^"!==i&&"_"!==i||(i=e.charAt(t++));var r=h[i];for(void 0===r&&(r=6);t0){c.foundKey=!0;var h="",u="";n[0].token.length>1?n[0].token=n[0].token.substring(1):n.shift();var d=o.token;if(n.length>0){var p=e.getSharpFlat(n[0].token);if(p.len>0&&(n[0].token.length>1?n[0].token=n[0].token.substring(1):n.shift(),d+=p.token,h=p.token),n.length>0){var f=e.getMode(n[0].token);f.len>0&&(n.shift(),d+=f.token,u=f.token)}if(void 0===s.standardKey(d,o.token,h,0))return t("Unsupported key signature: "+d,r,0),c}var m=s.deepCopyKey(i.key),g=i.globalTranspose?-i.globalTranspose:0;if(i.key=s.deepCopyKey(s.standardKey(d,o.token,h,g)),i.key.mode=u,m){for(var v,b=0;b0;)switch(n[0].token){case"m":case"middle":if(n.shift(),0===n.length)return t("Expected = after middle",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after middle",r,y.start);break}if(0===n.length)return t("Expected parameter after middle=",r,0),c;var T=e.getPitchFromTokens(n);T.warn&&t(T.warn,r,0),T.position&&(i.clef.verticalPos=T.position-6);break;case"transpose":if(n.shift(),0===n.length)return t("Expected = after transpose",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after transpose",r,y.start);break}if(0===n.length)return t("Expected parameter after transpose=",r,0),c;if("number"!==n[0].type){t("Expected number after transpose",r,n[0].start);break}i.clef.transpose=n[0].intt,n.shift();break;case"stafflines":if(n.shift(),0===n.length)return t("Expected = after stafflines",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after stafflines",r,y.start);break}if(0===n.length)return t("Expected parameter after stafflines=",r,0),c;if("number"!==n[0].type){t("Expected number after stafflines",r,n[0].start);break}i.clef.stafflines=n[0].intt,n.shift();break;case"staffscale":if(n.shift(),0===n.length)return t("Expected = after staffscale",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after staffscale",r,y.start);break}if(0===n.length)return t("Expected parameter after staffscale=",r,0),c;if("number"!==n[0].type){t("Expected number after staffscale",r,n[0].start);break}i.clef.staffscale=n[0].floatt,n.shift();break;case"style":if(n.shift(),0===n.length)return t("Expected = after style",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after style",r,y.start);break}if(0===n.length)return t("Expected parameter after style=",r,0),c;switch(n[0].token){case"normal":case"harmonic":case"rhythm":case"x":i.style=n[0].token,n.shift();break;default:t("error parsing style element: "+n[0].token,r,n[0].start)}break;case"clef":if(n.shift(),0===n.length)return t("Expected = after clef",r,0),c;if("="!==(y=n.shift()).token){t("Expected = after clef",r,y.start);break}if(0===n.length)return t("Expected parameter after clef=",r,0),c;case"treble":case"bass":case"alto":case"tenor":case"perc":var A=n.shift();switch(A.token){case"treble":case"tenor":case"alto":case"bass":case"perc":case"none":break;case"C":A.token="alto";break;case"F":A.token="bass";break;case"G":A.token="treble";break;case"c":A.token="alto";break;case"f":A.token="bass";break;case"g":A.token="treble";break;default:t("Expected clef name. Found "+A.token,r,A.start)}n.length>0&&"number"===n[0].type&&(A.token+=n[0].token,n.shift()),n.length>1&&("-"===n[0].token||"+"===n[0].token||"^"===n[0].token||"_"===n[0].token)&&"8"===n[1].token&&(A.token+=n[0].token+n[1].token,n.shift(),n.shift()),i.clef={type:A.token,verticalPos:l(A.token,0)},i.currentVoice&&void 0!==i.currentVoice.transpose&&(i.clef.transpose=i.currentVoice.transpose),c.foundClef=!0;break;default:t("Unknown parameter: "+n[0].token,r,n[0].start),n.shift()}return c};s.parseVoice=function(r,a,n){var s=e.getMeat(r,a,n),o=s.start,h=s.end,d=e.getToken(r,o,h);if(0!==d.length){var p=!1;void 0===i.voices[d]&&(i.voices[d]={},p=!0,i.score_is_present&&t("Can't have an unknown V: id when the %score directive is present",r,o)),o+=d.length,o+=e.eatWhiteSpace(r,o);for(var f={startStaff:p},m=function(i){var a=e.getVoiceToken(r,o,h);void 0!==a.warn?t("Expected value for "+i+" in voice: "+a.warn,r,o):0===a.token.length&&'"'!==r.charAt(o)?t("Expected value for "+i+" in voice",r,o):f[i]=a.token,o+=a.len},g=function(a,n,s){var c=e.getVoiceToken(r,o,h);void 0!==c.warn?t("Expected value for "+n+" in voice: "+c.warn,r,o):0===c.token.length&&'"'!==r.charAt(o)?t("Expected value for "+n+" in voice",r,o):("number"===s&&(c.token=parseFloat(c.token)),i.voices[a][n]=c.token),o+=c.len},v=function(i,a){var n=e.getVoiceToken(r,o,h);if(void 0!==n.warn)t("Expected value for "+i+" in voice: "+n.warn,r,o);else{if(0!==n.token.length||'"'===r.charAt(o))return"number"===a&&(n.token=parseFloat(n.token)),n.token;t("Expected value for "+i+" in voice",r,o)}o+=n.len},b=function(a,n){var s=e.getVoiceToken(r,o,h);if(void 0!==s.warn)t("Expected one of (_B, _E, _b, _e) for "+n+" in voice: "+s.warn,r,o);else if(0===s.token.length&&'"'!==r.charAt(o))t("Expected one of (_B, _E, _b, _e) for "+n+" in voice",r,o);else{var c={_B:2,_E:9,_b:-10,_e:-3}[s.token];c?i.voices[a][n]=c:t("Expected one of (_B, _E, _b, _e) for "+n+" in voice",r,o)}o+=s.len};o11&&(u%=12);var d="m"===i[0]?n[u]:a[u],p=d+i,f=t[p];f.length>0&&"flat"===f[0].acc&&(e.localTransposePreferFlats=!0);var m=p.charCodeAt(0)-h.charCodeAt(0);return e.localTranspose>0?m<0?m+=7:0===m&&("#"!==h[1]&&"b"!==p[1]||(m+=7)):e.localTranspose<0&&(m>0?m-=7:0===m&&("b"!==h[1]&&"#"!==p[1]||(m-=7))),e.localTranspose>0?e.localTransposeVerticalMovement=m+7*Math.floor(e.localTranspose/12):e.localTransposeVerticalMovement=m+7*Math.ceil(e.localTranspose/12),{accidentals:f,root:d[0],acc:d.length>1?d[1]:""}};var s=["C","C♯","D","D♯","E","F","F♯","G","G♯","A","A♯","B"],c=["C","D♭","D","E♭","E","F","G♭","G","A♭","A","B♭","B"],o=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],l=["C","Db","D","Eb","E","F","Gb","G","Ab","A","Bb","B"];i.chordName=function(e,t){if(e.localTranspose&&e.localTranspose%12!=0){for(var i=e.localTranspose;i<0;)i+=12;i>11&&(i%=12);for(var r=(t=(t=(t=(t=(t=(t=(t=(t=e.freegchord?(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/Cb/g,"`~11`")).replace(/Db/g,"`~1`")).replace(/Eb/g,"`~3`")).replace(/Fb/g,"`~4`")).replace(/Gb/g,"`~6`")).replace(/Ab/g,"`~8`")).replace(/Bb/g,"`~10`")).replace(/C#/g,"`~1`")).replace(/D#/g,"`~3`")).replace(/E#/g,"`~5`")).replace(/F#/g,"`~6`")).replace(/G#/g,"`~8`")).replace(/A#/g,"`~10`")).replace(/B#/g,"`~0`"):(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/C♭/g,"`~11`")).replace(/D♭/g,"`~1`")).replace(/E♭/g,"`~3`")).replace(/F♭/g,"`~4`")).replace(/G♭/g,"`~6`")).replace(/A♭/g,"`~8`")).replace(/B♭/g,"`~10`")).replace(/C♯/g,"`~1`")).replace(/D♯/g,"`~3`")).replace(/E♯/g,"`~5`")).replace(/F♯/g,"`~6`")).replace(/G♯/g,"`~8`")).replace(/A♯/g,"`~10`")).replace(/B♯/g,"`~0`")).replace(/C/g,"`~0`")).replace(/D/g,"`~2`")).replace(/E/g,"`~4`")).replace(/F/g,"`~5`")).replace(/G/g,"`~7`")).replace(/A/g,"`~9`")).replace(/B/g,"`~11`")).split("`"),a=0;a11&&(n-=12),e.freegchord?r[a]=e.localTransposePreferFlats?l[n]:o[n]:r[a]=e.localTransposePreferFlats?c[n]:s[n]}t=r.join("")}return t};var h=["c","d","e","f","g","a","b"];var u={dblflat:-2,flat:-1,natural:0,sharp:1,dblsharp:2},d={"-2":"dblflat","-1":"flat",0:"natural",1:"sharp",2:"dblsharp"};i.note=function(e,t){if(e.localTranspose){var i=t.pitch;if(t.pitch=t.pitch+e.localTransposeVerticalMovement,t.accidental){var r=function(e,t,i,r,a){for(var n=h[(e+49)%7],s=0,c=0;c2&&(t++,f-="b"===l||"e"===l?1:2),[t,f]}(i,t.pitch,t.accidental,e.globalTransposeOrigKeySig,e.targetKey);t.pitch=r[0],t.accidental=d[r[1]]}}},e.exports=i},function(e,t){function i(e){for(var t=[],i=0;is&&ds?(l.push(d-1),o++,c=Math.max(c,s),s=Math.abs(r-t[o]),n.push(a-p),a=p):s=f}n.push(a)}function a(e,t,i,r,a){var n=new a,s={lineBreaks:e,staffwidth:t};for(var c in r)r.hasOwnProperty(c)&&"wrap"!==c&&"staffwidth"!==c&&(s[c]=r[c]);return n.parse(i,s),{tune:n.getTune(),revisedParams:s}}e.exports={wrapLines:function(e,t){if(t&&0!==e.lines.length){for(var i=[],r=[],a=[],n=[],s=[],c="",o={},l=0,h=0;h0&&(a[p][g]+=l);for(var v=m[g],b=0;bt&&(s=!0),c%i==i-1&&(c!==e.length-1&&r.push(c),a.push(Math.round(n)),n=0);return{failed:s,totals:a,lineBreaks:r}}(t.measureWidths,p,d);g.attempts.push({type:"Fixed Measures Per Line",preferredMeasuresPerLine:d,lineBreaks:b.lineBreaks,failed:b.failed,totals:b.totals}),b.failed||(v=b.lineBreaks)}if(!v){var y=function(e,t){for(var i=[],r=[],a=0,n=0;n0?(i.push(n-1),r.push(Math.round(a-s)),a=s):nt.total&&(w=t.total*u*o+t.left,g.attempts.push({type:"too sparse",newWidth:Math.round(w)}),S=!1),S||(k=a(v,w,i,n,s)),k.explanation=g,k}}},function(e,t,i){var r=i(0),a=i(12),n=i(1);e.exports=function(){this.getBeatLength=function(){for(var e=0;e0){var r=parseInt(i.value[0].num,10),a=parseInt(i.value[0].den,10);return 3===r&&8===a?3/8:6===r&&8===a?3/8:6===r&&4===a?.75:9===r&&8===a?3/8:12===r&&8===a?3/8:1/a}return.25}return"cut_time"===i.type?.5:.25}return.25},this.getPickupLength=function(){for(var e=0,t=this.getBarLength(),i=0;i=t&&(e-=t),"bar"===n[c].el_type)return e}return e},this.getBarLength=function(){var e=this.getMeterFraction();return e.num/e.den},this.millisecondsPerMeasure=function(e){var t;if(e)t=e;else{var i=this.metaText?this.metaText.tempo:null;t=this.getBpm(i)}return t<=0&&(t=1),6e4*(this.getBeatsPerMeasure()/t)},this.getBeatsPerMeasure=function(){var e,t=this.getMeterFraction();return(e=8===t.den?t.num/3:t.num)<=0&&(e=1),e},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 e=!1,t=0;t0&&s[c].voice.push({el_type:"note",duration:l,rest:{type:"invisible"},startChar:p.startChar,endChar:p.endChar}),s[c].voice.push(p)),l=0):"note"===p.el_type?h?s[c].voice.push(p):l+=p.duration:"scale"!==p.el_type&&"stem"!==p.el_type&&"overlay"!==p.el_type&&"style"!==p.el_type&&"transpose"!==p.el_type||s[c].voice.push(p):(e=!0,h=!0,u=d,s[c].hasOverlay=!0)}s[c].hasOverlay&&0===s[c].snip.length&&s[c].snip.push({start:u,len:o.length-u})}for(c=0;c=0;m--){var g=f.snip[m];n.voices[c].splice(g.start,g.len)}for(m=0;m=t&&st;){if(e[t].staff)return e[t];t++}return null}for(this.lineNum=0;this.lineNum0&&b[b.length-1].barNumber){var w=g(this.lines,this.lineNum);w&&(w.staff[0].barNumber=b[b.length-1].barNumber),delete b[b.length-1].barNumber}}}return this.formatting.pagewidth||(this.formatting.pagewidth=e),this.formatting.pageheight||(this.formatting.pageheight=t),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 e=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum].length-1;e>=0;e--){var t=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum][e];if("note"===t.el_type)return t}return null},this.addTieToLastNote=function(){var e=this.getLastNote();return!!(e&&e.pitches&&e.pitches.length>0)&&(e.pitches[0].startTie={},!0)},this.getDuration=function(e){return e.duration?e.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(e,t,i,a){var n=this;a.el_type=e,null!==t&&(a.startChar=t),null!==i&&(a.endChar=i);var s=function(){void 0!==n.potentialStartBeam&&void 0!==n.potentialEndBeam&&(n.potentialStartBeam.startBeam=!0,n.potentialEndBeam.endBeam=!0),delete n.potentialStartBeam,delete n.potentialEndBeam};"note"===e?n.getDuration(a)>=.25?s():a.force_end_beam_last&&void 0!==n.potentialStartBeam?s():a.end_beam&&void 0!==n.potentialStartBeam?void 0===a.rest?(n.potentialStartBeam.startBeam=!0,a.endBeam=!0,delete n.potentialStartBeam,delete n.potentialEndBeam):s():void 0===a.rest&&(void 0===n.potentialStartBeam?a.end_beam||(n.potentialStartBeam=a,delete n.potentialEndBeam):n.potentialEndBeam=a):s();delete a.end_beam,delete a.force_end_beam_last,function(e){var t=n.lines[n.lineNum].staff[n.staffNum];if(t){if(void 0!==e.pitches){var i=t.workingClef.verticalPos;r.each(e.pitches,(function(e){e.verticalPos=e.pitch-i}))}if(void 0!==e.gracenotes){var a=t.workingClef.verticalPos;r.each(e.gracenotes,(function(e){e.verticalPos=e.pitch-a}))}t.voices[n.voiceNum].push(e)}}(a)},this.appendStartingElement=function(e,t,i,a){var n;this.closeLine(),"key"===e&&(n=a.impliedNaturals,delete a.impliedNaturals,delete a.explicitAccidentals);var s=r.clone(a);if(this.lines[this.lineNum].staff){this.lines[this.lineNum].staff.length<=this.staffNum&&(this.lines[this.lineNum].staff[this.staffNum]={},this.lines[this.lineNum].staff[this.staffNum].clef=r.clone(this.lines[this.lineNum].staff[0].clef),this.lines[this.lineNum].staff[this.staffNum].key=r.clone(this.lines[this.lineNum].staff[0].key),this.lines[this.lineNum].staff[0].meter&&(this.lines[this.lineNum].staff[this.staffNum].meter=r.clone(this.lines[this.lineNum].staff[0].meter)),this.lines[this.lineNum].staff[this.staffNum].workingClef=r.clone(this.lines[this.lineNum].staff[0].workingClef),this.lines[this.lineNum].staff[this.staffNum].voices=[[]]),"clef"===e&&(this.lines[this.lineNum].staff[this.staffNum].workingClef=s);for(var c=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum],o=0;o0){if(void 0!==i.voices[0]){for(var r=!1,a=0;a0){var i=t[t.length-1];if("bar"!==i.el_type)return e-1;void 0!==i.barNumber&&(i.barNumber=e)}return e},this.hasBeginMusic=function(){for(var e=0;e=0;t--)if(void 0!==this.lines[t].staff)return!1;return!0},this.getMeter=function(){for(var e=0;e0){for(var d=[],p=0;p=0;n--){var s=e[n];"bar"===s.type?(s.top=r,s.nextTop=t,t=r,s.bottom=a,s.nextBottom=i,i=a):"event"===s.type&&(r=s.top,a=s.top+s.height)}}(a=function(e){var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push(e[i]);return t=t.sort((function(e,t){var i=e.milliseconds-t.milliseconds;return 0!==i?i:"bar"===e.type?-1:1}))}(n)),a.push({type:"end",milliseconds:u}),this.addUsefulCallbackInfo(a,i),a},this.addUsefulCallbackInfo=function(e,t){for(var i=this.millisecondsPerMeasure(t),r=0;r0?e.duration[0]:i)/i}if(!t){t=180;var r=this.getMeterFraction();r&&8===r.den&&(t=120)}return t},this.setTiming=function(e,t){if(!e){var i=this.metaText?this.metaText.tempo:null;e=this.getBpm(i)}var r=this.getBeatLength(),a=e/60,n=this.getBarLength()/r*t/a;n&&(n-=this.getPickupLength()/r/a);var s=r*a;this.noteTimings=this.setupEvents(n,s,e)}}},function(e,t,i){var r=i(1),a=i(34),n=i(48),s=function(e,t){t=t||{},this.responsive=t.responsive,this.space=3*r.SPACE,this.scale=t.scale?parseFloat(t.scale):0,this.scale>.1||(this.scale=void 0),t.staffwidth?(this.staffwidthScreen=t.staffwidth,this.staffwidthPrint=t.staffwidth):(this.staffwidthScreen=740,this.staffwidthPrint=680),this.editable=t.editable||!1,this.listeners=[],t.clickListener&&this.addSelectListener(t.clickListener),this.renderer=new n(e,t.regression,t.add_classes),this.renderer.setPaddingOverride(t),this.renderer.controller=this,this.reset()};function c(e,t,i,r,a,n,s){return e&&r/i<.66&&!t?null:Math.abs(i-r)<2?null:n>0?((a=(i-(r-n*a))/n)*s>50&&(a=50/s),a):null}s.prototype.reset=function(){this.selected=[],this.ingroup=!1,this.staffgroups=[],this.lastStaffGroupIndex=-1,this.engraver&&this.engraver.reset(),this.engraver=null,this.renderer.reset()},s.prototype.engraveABC=function(e,t){void 0===e[0]&&(e=[e]),this.reset();for(var i=0;i0)for(var o=c.staffGroup.voices[0],l=!1,h=0,u=0;uc&&(c=r.staffGroup.w));for(i=0;i-1&&this.renderer.addStaffPadding(this.staffgroups[this.lastStaffGroupIndex],e),this.renderer.voiceNumber=null,e.draw(this.renderer);var t=e.height*r.STEP;this.staffgroups[this.staffgroups.length]=e,this.lastStaffGroupIndex=this.staffgroups.length-1,this.renderer.y+=t},s.prototype.notifySelect=function(e,t,i){this.clearSelection(),e.highlight&&(this.selected=[e],e.highlight());for(var r=e.abcelem||{},a=0;ac&&e0)this.above=!1;else{var e;e=this.anchor1?this.anchor1.pitch:this.anchor2?this.anchor2.pitch:14,this.anchor1&&"down"===this.anchor1.stemDir&&this.anchor2&&"down"===this.anchor2.stemDir?this.above=!0:this.anchor1&&"up"===this.anchor1.stemDir&&this.anchor2&&"up"===this.anchor2.stemDir?this.above=!1:this.anchor1&&this.anchor2?this.above=e>=6:this.anchor1?this.above="down"===this.anchor1.stemDir:this.anchor2?this.above="down"===this.anchor2.stemDir:this.above=e>=6}},i.prototype.calcSlurDirection=function(){if(this.isGrace)this.above=!1;else if(0===this.voiceNumber)this.above=!0;else if(this.voiceNumber>0)this.above=!1;else{var e=!1;this.anchor1&&"down"===this.anchor1.stemDir&&(e=!0),this.anchor2&&"down"===this.anchor2.stemDir&&(e=!0);for(var t=0;te&&(e=this.internalNotes[t].highestVert);e>this.startY&&e>this.endY&&(this.startY=this.endY=e-1)}},i.prototype.layout=function(e,t){this.anchor1&&this.anchor2?this.anchor1.pitch===this.anchor2.pitch&&0===this.internalNotes.length?this.isTie=!0:this.isTie=!1:this.isTie=!0,this.isTie?(this.calcTieDirection(),this.calcX(e,t),this.calcTieY()):(this.calcSlurDirection(),this.calcX(e,t),this.calcSlurY()),this.avoidCollisionAbove()},i.prototype.draw=function(e,t,i){var r;this.layout(t,i),this.hint&&(r="abcjs-hint");var a=this.fixedY?1.5:0;e.drawArc(this.startX,this.endX,this.startY+a,this.endY+a,this.above,r,this.isTie)},e.exports=i},function(e,t){e.exports={}},function(e,t){e.exports={21:"A0",22:"Bb0",23:"B0",24:"C1",25:"Db1",26:"D1",27:"Eb1",28:"E1",29:"F1",30:"Gb1",31:"G1",32:"Ab1",33:"A1",34:"Bb1",35:"B1",36:"C2",37:"Db2",38:"D2",39:"Eb2",40:"E2",41:"F2",42:"Gb2",43:"G2",44:"Ab2",45:"A2",46:"Bb2",47:"B2",48:"C3",49:"Db3",50:"D3",51:"Eb3",52:"E3",53:"F3",54:"Gb3",55:"G3",56:"Ab3",57:"A3",58:"Bb3",59:"B3",60:"C4",61:"Db4",62:"D4",63:"Eb4",64:"E4",65:"F4",66:"Gb4",67:"G4",68:"Ab4",69:"A4",70:"Bb4",71:"B4",72:"C5",73:"Db5",74:"D5",75:"Eb5",76:"E5",77:"F5",78:"Gb5",79:"G5",80:"Ab5",81:"A5",82:"Bb5",83:"B5",84:"C6",85:"Db6",86:"D6",87:"Eb6",88:"E6",89:"F6",90:"Gb6",91:"G6",92:"Ab6",93:"A6",94:"Bb6",95:"B6",96:"C7",97:"Db7",98:"D7",99:"Eb7",100:"E7",101:"F7",102:"Gb7",103:"G7",104:"Ab7",105:"A7",106:"Bb7",107:"B7",108:"C8",109:"Db8",110:"D8",111:"Eb8",112:"E8",113:"F8",114:"Gb8",115:"G8",116:"Ab8",117:"A8",118:"Bb8",119:"B8",120:"C9",121:"Db9"}},function(e,t){e.exports=function(){var e=this;e.tracks=[],e.totalDuration=0,e.addTrack=function(){return e.tracks.push([]),e.tracks.length-1},e.setInstrument=function(t,i){e.tracks[t].push({channel:0,cmd:"program",instrument:i})},e.appendNote=function(t,i,r,a){e.tracks[t].push({cmd:"start",pitch:i-60,volume:a}),e.tracks[t].push({cmd:"move",duration:r}),e.tracks[t].push({cmd:"stop",pitch:i-60});var n=0;e.tracks[t].forEach((function(e){e.duration&&(n+=e.duration)})),e.totalDuration=Math.max(e.totalDuration,n)}}},function(e,t,i){var r=i(7),a=i(15),n=i(6),s=i(0),c='\n\n\n\n\n\n',o='\n \n \n \n',l='\n \n \n \n \n',h='\n \n',u='\n \n \n \n \n';function d(e,t,i,s,c){var o=!0;if(n()?o="suspended"===n().state:a(),!r())throw{status:"NotSupported",message:"This browser does not support audio."};(o||c)&&i&&i.classList.add("abcjs-loading"),o?n().resume().then((function(){s?s().then((function(r){p(e,t,i,c)})):p(e,t,i,c)})):p(e,t,i,c)}function p(e,t,i,r){r?e(t).then((function(){i&&i.classList.remove("abcjs-loading")})):(e(t),i&&i.classList.remove("abcjs-loading"))}e.exports=function(e,t){var i=this;if("string"==typeof e){var r=e;if(!(e=document.querySelector(r)))throw new Error('Cannot find element "'+r+'" in the DOM.')}else if(!(e instanceof HTMLElement))throw new Error("The first parameter must be a valid element or selector in the DOM.");if(i.parent=e,i.options={},t&&(i.options=s.clone(t)),i.options.ac&&a(i.options.ac),function(e,t){var i=!!t.loopHandler,r=!!t.restartHandler,a=!!t.playHandler||!!t.playPromiseHandler,n=!!t.progressHandler,s=!!t.warpHandler,d=!1!==t.hasClock,p='
\n';if(i){var f=t.repeatTitle?t.repeatTitle:"Click to toggle play once/repeat.",m=t.repeatAria?t.repeatAria:f;p+='\n"}if(r){var g=t.restartTitle?t.restartTitle:"Click to go to beginning.",v=t.restartAria?t.restartAria:g;p+='\n"}if(a){var b=t.playTitle?t.playTitle:"Click to play/pause.",y=t.playAria?t.playAria:b;p+='\n"}if(n){var w=t.randomTitle?t.randomTitle:"Click to change the playback position.",k=t.randomAria?t.randomAria:w;p+='\n'}d&&(p+='\n');if(s){var x=t.warpTitle?t.warpTitle:"Change the playback speed.",S=t.warpAria?t.warpAria:x,_=t.bpm?t.bpm:"BPM";p+=' ( '+_+")\n"}p+="
\n",e.innerHTML=p}(i.parent,i.options),function(e){var t=!!e.options.loopHandler,i=!!e.options.restartHandler,r=!!e.options.playHandler||!!e.options.playPromiseHandler,a=!!e.options.progressHandler,n=!!e.options.warpHandler,s=e.parent.querySelector(".abcjs-midi-start");t&&e.parent.querySelector(".abcjs-midi-loop").addEventListener("click",(function(t){d(e.options.loopHandler,t,s,e.options.afterResume)}));i&&e.parent.querySelector(".abcjs-midi-reset").addEventListener("click",(function(t){d(e.options.restartHandler,t,s,e.options.afterResume)}));r&&s.addEventListener("click",(function(t){d(e.options.playPromiseHandler||e.options.playHandler,t,s,e.options.afterResume,!!e.options.playPromiseHandler)}));a&&e.parent.querySelector(".abcjs-midi-progress-background").addEventListener("click",(function(t){d(e.options.progressHandler,t,s,e.options.afterResume)}));n&&e.parent.querySelector(".abcjs-midi-tempo").addEventListener("change",(function(t){d(e.options.warpHandler,t,s,e.options.afterResume)}))}(i),i.setTempo=function(e){var t=i.parent.querySelector(".abcjs-midi-current-tempo");t&&(t.innerHTML=e)},i.resetAll=function(){for(var e=i.parent.querySelectorAll(".abcjs-pushed"),t=0;t=1&&parseInt(e.cursorControl.beatSubdivisions,10)<=64&&(t=parseInt(e.cursorControl.beatSubdivisions,10)),e.timer=new n(e.visualObj,{beatCallback:e.beatCallback,eventCallback:e.eventCallback,lineEndCallback:e.lineEndCallback,qpm:e.currentTempo,extraMeasuresAtBeginning:e.cursorControl?e.cursorControl.extraMeasuresAtBeginning:void 0,lineEndAnticipation:e.cursorControl?e.cursorControl.lineEndAnticipation:void 0,beatSubdivisions:t}),e.cursorControl&&e.cursorControl.onReady&&"function"==typeof e.cursorControl.onReady&&e.cursorControl.onReady(e),e.isLoaded=!0,Promise.resolve({status:"created"})}))},e.destroy=function(){e.timer&&(e.timer.reset(),e.timer.stop(),e.timer=null),e.midiBuffer&&(e.midiBuffer.stop(),e.midiBuffer=null),e.setProgress(0,1),e.control&&e.control.resetAll()},e.play=function(){return e.isLoaded?e._play():e.go().then((function(){return e._play()}))},e._play=function(){return e.isStarted=!e.isStarted,e.isStarted?(e.cursorControl&&e.cursorControl.onStart&&"function"==typeof e.cursorControl.onStart&&e.cursorControl.onStart(),e.midiBuffer.start(),e.timer.start(),e.control&&e.control.pushPlay(!0)):e.pause(),Promise.resolve({status:"ok"})},e.pause=function(){e.timer&&(e.timer.pause(),e.midiBuffer.pause(),e.control&&e.control.pushPlay(!1))},e.toggleLoop=function(){e.isLooping=!e.isLooping,e.control&&e.control.pushLoop(e.isLooping)},e.restart=function(){e.timer&&(e.timer.setProgress(0),e.midiBuffer.seek(0))},e.randomAccess=function(t){return e.isLoaded?e._randomAccess(t):e.go().then((function(){return e._randomAccess(t)}))},e._randomAccess=function(t){var i=t.target.classList.contains("abcjs-midi-progress-indicator")?t.target.parentNode:t.target,r=(t.x-i.offsetLeft)/i.offsetWidth;r<0&&(r=0),r>100&&(r=100),e.timer.setProgress(r),e.midiBuffer.seek(r)},e.onWarp=function(t){var i=t.target.value;if(parseInt(i,10)>0){e.warp=parseInt(i,10);var r=e.isStarted,a=e.percent;e.destroy(),e.isStarted=!1,e.go().then((function(){e.setProgress(a,1e3*e.midiBuffer.duration),r&&e.play(),e.timer.setProgress(a),e.midiBuffer.seek(a)}))}},e.setProgress=function(t,i){e.percent=t,e.control&&e.control.setProgress(t,i)},e.finished=function(){e.timer.reset(),e.isLooping?(e.timer.start(),e.midiBuffer.start()):(e.timer.stop(),e.isStarted&&(e.control&&e.control.pushPlay(!1),e.isStarted=!1,e.cursorControl&&e.cursorControl.onFinished&&"function"==typeof e.cursorControl.onFinished&&e.cursorControl.onFinished(),e.setProgress(0,1)))},e.beatCallback=function(t,i,r){var a=t/i;e.setProgress(a,r),e.cursorControl&&e.cursorControl.onBeat&&"function"==typeof e.cursorControl.onBeat&&e.cursorControl.onBeat(t,i,r)},e.eventCallback=function(t){t?e.cursorControl&&e.cursorControl.onEvent&&"function"==typeof e.cursorControl.onEvent&&e.cursorControl.onEvent(t):e.finished()},e.lineEndCallback=function(t){e.cursorControl&&e.cursorControl.onLineEnd&&"function"==typeof e.cursorControl.onLineEnd&&e.cursorControl.onLineEnd(t)},e.getUrl=function(){return e.midiBuffer.download()},e.download=function(t){var i=e.getUrl(),r=document.createElement("a");document.body.appendChild(r),r.setAttribute("style","display: none;"),r.href=i,r.download=t||"output.wav",r.click(),window.URL.revokeObjectURL(i),document.body.removeChild(r)}}},function(e,t,i){i(27),window.ABCJS=i(28)},function(e,t){},function(e,t,i){var r=i(29),a=i(30),n=i(9),s={};s.signature="abcjs-basic v"+r,Object.keys(a).forEach((function(e){s[e]=a[e]})),Object.keys(n).forEach((function(e){s[e]=n[e]})),s.renderAbc=i(33),s.TimingCallbacks=i(8);var c=i(3);s.setGlyph=c.setSymbol;var o=i(13),l=i(14),h=i(22),u=i(23),d=i(24),p=i(15),f=i(6),m=i(7),g=i(55),v=i(25);s.synth={CreateSynth:o,instrumentIndexToName:l,pitchToNoteName:h,SynthController:v,SynthSequence:u,CreateSynthControl:d,registerAudioContext:p,activeAudioContext:f,supportsAudio:m,playEvent:g};var b=i(56);s.Editor=b,e.exports=s},function(e,t){e.exports="5.12.0"},function(e,t,i){i(1),i(0);var r=i(8),a={};!function(){"use strict";var e,t;a.startAnimation=function(i,a,n){function s(e){for(var t=0;t0&&(i.default_length=s/c,i.havent_set_length=!1)}else 1===n.length&&"1"===n[0]&&(i.default_length=1,i.havent_set_length=!1)};var c={larghissimo:20,adagissimo:24,sostenuto:28,grave:32,largo:40,lento:50,larghetto:60,adagio:68,adagietto:74,andante:80,andantino:88,"marcia moderato":84,"andante moderato":100,moderato:112,allegretto:116,"allegro moderato":120,allegro:126,animato:132,agitato:140,veloce:148,"mosso vivo":156,vivace:164,vivacissimo:172,allegrissimo:176,presto:184,prestissimo:210};this.setTempo=function(r,a,n){try{var s=e.tokenize(r,a,n);if(0===s.length)throw"Missing parameter in Q: field";var o={},l=!0,h=s.shift();if("quote"===h.type&&(o.preString=h.token,h=s.shift(),0===s.length))return c[o.preString.toLowerCase()]&&(o.bpm=c[o.preString.toLowerCase()],o.suppressBpm=!0),{type:"immediate",tempo:o};if("alpha"===h.type&&"C"===h.token){if(0===s.length)throw"Missing tempo after C in Q: field";if("punct"===(h=s.shift()).type&&"="===h.token){if(0===s.length)throw"Missing tempo after = in Q: field";if("number"!==(h=s.shift()).type)throw"Expected number after = in Q: field";o.duration=[1],o.bpm=parseInt(h.token)}else{if("number"!==h.type)throw"Expected number or equal after C in Q: field";if(o.duration=[parseInt(h.token)],0===s.length)throw"Missing = after duration in Q: field";if("punct"!==(h=s.shift()).type||"="!==h.token)throw"Expected = after duration in Q: field";if(0===s.length)throw"Missing tempo after = in Q: field";if("number"!==(h=s.shift()).type)throw"Expected number after = in Q: field";o.bpm=parseInt(h.token)}}else{if("number"!==h.type)throw"Unknown value in Q: field";var u=parseInt(h.token);if(0===s.length||"quote"===s[0].type)o.duration=[1],o.bpm=u;else{if(l=!1,"punct"!==(h=s.shift()).type&&"/"!==h.token)throw"Expected fraction in Q: field";if("number"!==(h=s.shift()).type)throw"Expected fraction in Q: field";var d=parseInt(h.token);for(o.duration=[u/d];s.length>0&&"="!==s[0].token&&"quote"!==s[0].type;){if("number"!==(h=s.shift()).type)throw"Expected fraction in Q: field";if(u=parseInt(h.token),"punct"!==(h=s.shift()).type&&"/"!==h.token)throw"Expected fraction in Q: field";if("number"!==(h=s.shift()).type)throw"Expected fraction in Q: field";d=parseInt(h.token),o.duration.push(u/d)}if("punct"!==(h=s.shift()).type&&"="!==h.token)throw"Expected = in Q: field";if("number"!==(h=s.shift()).type)throw"Expected tempo in Q: field";o.bpm=parseInt(h.token)}}if(0!==s.length&&("quote"===(h=s.shift()).type&&(o.postString=h.token,h=s.shift()),0!==s.length))throw"Unexpected string at end of Q: field";return!1===i.printTempo&&(o.suppress=!0),{type:l?"delaySet":"immediate",tempo:o}}catch(e){return t(e,r,a),{type:"none"}}},this.letter_to_inline_header=function(r,c){var o=e.eatWhiteSpace(r,c);if(c+=o,r.length>=c+5&&"["===r.charAt(c)&&":"===r.charAt(c+2)){var l=r.indexOf("]",c),h=i.iChar+c,u=i.iChar+l+1;switch(r.substring(c,c+3)){case"[I:":var d=a.addDirective(r.substring(c+3,l));return d&&t(d,r,c),[l-c+1+o];case"[M:":var p=this.setMeter(r.substring(c+3,l));return s.hasBeginMusic()&&p?s.appendStartingElement("meter",h,u,p):i.meter=p,[l-c+1+o];case"[K:":var f=n.parseKey(r.substring(c+3,l));return f.foundClef&&s.hasBeginMusic()&&s.appendStartingElement("clef",h,u,i.clef),f.foundKey&&s.hasBeginMusic()&&s.appendStartingElement("key",h,u,n.fixKey(i.clef,i.key)),[l-c+1+o];case"[P:":return s.lines.length<=s.lineNum?i.partForNextLine={title:r.substring(c+3,l),startChar:h,endChar:u}:s.appendElement("part",h,u,{title:r.substring(c+3,l)}),[l-c+1+o];case"[L:":return this.setDefaultLength(r,c+3,l),[l-c+1+o];case"[Q:":if(l>0){var m=this.setTempo(r,c+3,l);return"delaySet"===m.type?s.appendElement("tempo",h,u,this.calcTempo(m.tempo)):"immediate"===m.type&&s.appendElement("tempo",h,u,m.tempo),[l-c+1+o,r.charAt(c+1),r.substring(c+3,l)]}break;case"[V:":if(l>0)return n.parseVoice(r,c+3,l),[l-c+1+o,r.charAt(c+1),r.substring(c+3,l)]}}return[0]},this.letter_to_body_header=function(e,c){if(e.length>=c+3)switch(e.substring(c,c+2)){case"I:":var o=a.addDirective(e.substring(c+2));return o&&t(o,e,c),[e.length];case"M:":var l=this.setMeter(e.substring(c+2));return s.hasBeginMusic()&&l&&s.appendStartingElement("meter",i.iChar+c,i.iChar+e.length,l),[e.length];case"K:":var h=n.parseKey(e.substring(c+2));return h.foundClef&&s.hasBeginMusic()&&s.appendStartingElement("clef",i.iChar+c,i.iChar+e.length,i.clef),h.foundKey&&s.hasBeginMusic()&&s.appendStartingElement("key",i.iChar+c,i.iChar+e.length,n.fixKey(i.clef,i.key)),[e.length];case"P:":return s.hasBeginMusic()&&s.appendElement("part",i.iChar+c,i.iChar+e.length,{title:e.substring(c+2)}),[e.length];case"L:":return this.setDefaultLength(e,c+2,e.length),[e.length];case"Q:":var u=e.indexOf("",c+2);-1===u&&(u=e.length);var d=this.setTempo(e,c+2,u);return"delaySet"===d.type?s.appendElement("tempo",i.iChar+c,i.iChar+e.length,this.calcTempo(d.tempo)):"immediate"===d.type&&s.appendElement("tempo",i.iChar+c,i.iChar+e.length,d.tempo),[u,e.charAt(c),r.strip(e.substring(c+2))];case"V:":return n.parseVoice(e,c+2,e.length),[e.length,e.charAt(c),r.strip(e.substring(c+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(r.startsWith(c,"%%")){var l=a.addDirective(c.substring(2));return l&&t(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 d=o[c.charAt(0)];if(void 0!==d)return"unalignedWords"===d?s.addMetaTextArray(d,a.parseFontChangeLine(e.translateString(e.stripComment(c.substring(2))))):s.addMetaText(d,e.translateString(e.stripComment(c.substring(2)))),{};var p=i.iChar,f=p+c.length;switch(c.charAt(0)){case"H":s.addMetaText("history",e.translateString(e.stripComment(c.substring(2)))),i.is_in_history=!0;break;case"K":this.resolveTempo();var m=n.parseKey(c.substring(2));!i.is_in_header&&s.hasBeginMusic()&&(m.foundClef&&s.appendStartingElement("clef",p,f,i.clef),m.foundKey&&s.appendStartingElement("key",p,f,n.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",e.translateString(e.stripComment(c.substring(2)))):i.partForNextLine={title:e.translateString(e.stripComment(c.substring(2))),startChar:p,endChar:f};break;case"Q":var g=this.setTempo(c,2,c.length);"delaySet"===g.type?i.tempo=g.tempo:"immediate"===g.type&&(s.metaText.tempo=g.tempo);break;case"T":this.setTitle(c.substring(2));break;case"U":this.addUserDefinition(c,2,c.length);break;case"V":if(n.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":t("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(e,t,i){var r=i(0);e.exports=function(){this.skipWhiteSpace=function(e){for(var t=0;t=e.length};this.eatWhiteSpace=function(e,t){for(var i=t;i="a"&&e.charAt(t)<="z"||e.charAt(t)>="A"&&e.charAt(t)<="Z");)t++;return t},r=this.skipWhiteSpace(t);if(e(t,r))return{len:0};var a=t.substring(r,r+3).toLowerCase();switch((a.length>1&&" "===a.charAt(1)||"^"===a.charAt(1)||"_"===a.charAt(1)||"="===a.charAt(1))&&(a=a.charAt(0)),a){case"mix":return{len:i(t,r),token:"Mix"};case"dor":return{len:i(t,r),token:"Dor"};case"phr":return{len:i(t,r),token:"Phr"};case"lyd":return{len:i(t,r),token:"Lyd"};case"loc":return{len:i(t,r),token:"Loc"};case"aeo":return{len:i(t,r),token:"m"};case"maj":case"ion":return{len:i(t,r),token:""};case"min":case"m":return{len:i(t,r),token:"m"}}return{len:0}},this.getClef=function(t,i){var a=t,n=this.skipWhiteSpace(t);if(e(t,n))return{len:0};var s=!1,c=t.substring(n);if(r.startsWith(c,"clef=")&&(s=!0,c=c.substring(5),n+=5),0===c.length&&s)return{len:n+5,warn:"No clef specified: "+a};var o=this.skipWhiteSpace(c);if(e(c,o))return{len:0};o>0&&(n+=o,c=c.substring(o));var l=null;if(r.startsWith(c,"treble"))l="treble";else if(r.startsWith(c,"bass3"))l="bass3";else if(r.startsWith(c,"bass"))l="bass";else if(r.startsWith(c,"tenor"))l="tenor";else if(r.startsWith(c,"alto2"))l="alto2";else if(r.startsWith(c,"alto1"))l="alto1";else if(r.startsWith(c,"alto"))l="alto";else if(!i&&s&&r.startsWith(c,"none"))l="none";else if(r.startsWith(c,"perc"))l="perc";else if(!i&&s&&r.startsWith(c,"C"))l="tenor";else if(!i&&s&&r.startsWith(c,"F"))l="bass";else{if(i||!s||!r.startsWith(c,"G"))return{len:n+5,warn:"Unknown clef specified: "+a};l="treble"}return c=c.substring(l.length),(o=this.isMatch(c,"+8"))>0?l+="+8":(o=this.isMatch(c,"-8"))>0&&(l+="-8"),{len:n+l.length,token:l,explicit:s}},this.getBarLine=function(e,t){switch(e.charAt(t)){case"]":switch(++t,e.charAt(t)){case"|":return{len:2,token:"bar_thick_thin"};case"[":return++t,e.charAt(t)>="1"&&e.charAt(t)<="9"||'"'===e.charAt(t)?{len:2,token:"bar_invisible"}:{len:1,warn:"Unknown bar symbol"};default:return{len:1,token:"bar_invisible"}}break;case":":switch(++t,e.charAt(t)){case":":return{len:2,token:"bar_dbl_repeat"};case"|":switch(++t,e.charAt(t)){case"]":switch(++t,e.charAt(t)){case"|":return++t,":"===e.charAt(t)?{len:5,token:"bar_dbl_repeat"}:{len:3,token:"bar_right_repeat"};default:return{len:3,token:"bar_right_repeat"}}break;case"|":return++t,":"===e.charAt(t)?{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(++t,"|"!==e.charAt(t))return e.charAt(t)>="1"&&e.charAt(t)<="9"||'"'===e.charAt(t)?{len:1,token:"bar_invisible"}:{len:0};switch(++t,e.charAt(t)){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(++t,e.charAt(t)){case"]":return{len:2,token:"bar_thin_thick"};case"|":return++t,":"===e.charAt(t)?{len:3,token:"bar_left_repeat"}:{len:2,token:"bar_thin_thin"};case":":for(var i=0;":"===e.charAt(t+i);)i++;return{len:1+i,token:"bar_left_repeat"};default:return{len:1,token:"bar_thin"}}}return{len:0}},this.getTokenOf=function(e,t){for(var i=0;i0;){var i;if("^"===e[0].token){if(i="sharp",e.shift(),0===e.length)return{accs:t,warn:"Expected note name after "+i};switch(e[0].token){case"^":i="dblsharp",e.shift();break;case"/":i="quartersharp",e.shift()}}else if("="===e[0].token)i="natural",e.shift();else{if("_"!==e[0].token)return{accs:t};if(i="flat",e.shift(),0===e.length)return{accs:t,warn:"Expected note name after "+i};switch(e[0].token){case"_":i="dblflat",e.shift();break;case"/":i="quarterflat",e.shift()}}if(0===e.length)return{accs:t,warn:"Expected note name after "+i};switch(e[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===t&&(t=[]),t.push({acc:i,note:e[0].token.charAt(0)}),1===e[0].token.length?e.shift():e[0].token=e[0].token.substring(1);break;default:return{accs:t,warn:"Expected note name after "+i+" Found: "+e[0].token}}}return{accs:t}},this.getKeyAccidental=function(t){var i={"^":"sharp","^^":"dblsharp","=":"natural",_:"flat",__:"dblflat","_/":"quarterflat","^/":"quartersharp"},r=this.skipWhiteSpace(t);if(e(t,r))return{len:0};var a=null;switch(t.charAt(r)){case"^":case"_":case"=":a=t.charAt(r);break;default:return{len:0}}if(r++,e(t,r))return{len:1,warn:"Expected note name after accidental"};switch(t.charAt(r)){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:r+1,token:{acc:i[a],note:t.charAt(r)}};case"^":case"_":case"/":if(a+=t.charAt(r),r++,e(t,r))return{len:2,warn:"Expected note name after accidental"};switch(t.charAt(r)){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:r+1,token:{acc:i[a],note:t.charAt(r)}};default:return{len:2,warn:"Expected note name after accidental"}}break;default:return{len:1,warn:"Expected note name after accidental"}}},this.isWhiteSpace=function(e){return" "===e||"\t"===e||""===e},this.getMeat=function(e,t,i){var r=e.indexOf("%",t);for(r>=0&&r="A"&&e<="Z"||e>="a"&&e<="z"},i=function(e){return e>="0"&&e<="9"};this.tokenize=function(e,r,a,n){var s=this.getMeat(e,r,a);r=s.start,a=s.end;for(var c,o=[];r=i?{len:1,err:"Missing close quote"}:{len:a-t+1,token:this.translateString(e.substring(r+1,a))}}for(var n=r;n=0?r.strip(e.substring(0,t)):r.strip(e)},this.getInt=function(e){var t=parseInt(e);if(isNaN(t))return{digits:0};var i=""+t;return{value:t,digits:e.indexOf(i)+i.length}},this.getFloat=function(e){var t=parseFloat(e);if(isNaN(t))return{digits:0};var i=""+t;return{value:t,digits:e.indexOf(i)+i.length}},this.getMeasurement=function(e){if(0===e.length)return{used:0};var t=1,i="";if("-"===e[0].token)e.shift(),i="-",t++;else if("number"!==e[0].type)return{used:0};if(i+=e.shift().token,0===e.length)return{used:1,value:parseInt(i)};var r=e.shift();if("."===r.token){if(t++,0===e.length)return{used:t,value:parseInt(i)};if("number"===e[0].type&&(i=i+"."+(r=e.shift()).token,t++,0===e.length))return{used:t,value:parseFloat(i)};r=e.shift()}switch(r.token){case"pt":return{used:t+1,value:parseFloat(i)};case"cm":return{used:t+1,value:parseFloat(i)/2.54*72};case"in":return{used:t+1,value:72*parseFloat(i)};default:return e.unshift(r),{used:t,value:parseFloat(i)}}return{used:0}};var c=function(e){for(;-1!==e.indexOf("\\n");)e=e.replace("\\n","\n");return e};this.getBrackettedSubstring=function(e,t,i,r){for(var a=r||e.charAt(t),n=t+1;ne.length-1&&(n=e.length-1),[n-t+1,c(e.substring(t+1,n)),!1])}}},function(e,t,i){var r=i(9),a=i(18),n=i(19),s=i(10),c=i(17),o={};function l(){var e=window.innerWidth;for(var t in o)if(o.hasOwnProperty(t)){var i=o[t];e-=2*i.offsetLeft,i.style.width=e+"px"}}function h(e,t,i,r){i.viewportHorizontal?(e.innerHTML='
',i.scrollHorizontal?(e.style.overflowX="auto",e.style.overflowY="hidden"):e.style.overflow="hidden",o[e.id]=e,e=e.children[0]):i.viewportVertical?(e.innerHTML='
',e.style.overflowX="hidden",e.style.overflowY="auto",e=e.children[0]):e.innerHTML="";var a=new n(e,i);(a.engraveABC(t,r),t.engraver=a,i.viewportVertical||i.viewportHorizontal)&&(e.parentNode.style.width=e.style.width)}function u(e,t,i,r){function n(e){var t=new a;return t.formatting=e.formatting,t.media=e.media,t.version=e.version,t.metaText={},t.lines=[],t}for(var s,c=[],o=0;o0&&t.engraver.staffgroups.push(c[v].engraver.staffgroups[0]):t.engraver.staffgroups=c[v].engraver.staffgroups}}window.addEventListener("resize",l),window.addEventListener("orientationChange",l);e.exports=function(e,t,i,a,o){var l,d={};if(i)for(l in i)i.hasOwnProperty(l)&&(d[l]=i[l]);if(a)for(l in a)a.hasOwnProperty(l)&&("listener"===l?a[l].highlight&&(d.clickListener=a[l].highlight):d[l]=a[l]);if(o)for(l in o)o.hasOwnProperty(l)&&(d[l]=o[l]);return r.renderEngine((function(e,t,i,r){var a=!1;return"*"===e&&(a=!0,(e=document.createElement("div")).setAttribute("style","display:none;"),document.body.appendChild(e)),d.afterParsing&&d.afterParsing(t,i,r),!a&&d.wrap&&d.staffwidth?t=function(e,t,i,r,a){var o=new n(e,a),l=o.getMeasureWidths(t),d=c.calcLineWraps(t,l,r,a,s,o);!a.oneSvgPerLine||d.tune.lines.length<2?h(e,d.tune,d.revisedParams,i):u(e,d.tune,d.revisedParams,i);return d.tune.explanation=d.explanation,d.tune}(e,t,i,r,d):(a||!d.oneSvgPerLine||t.lines.length<2?h(e,t,d,i):u(e,t,d,i),a&&e.parentNode.removeChild(e),null)}),e,t,d)}},function(e,t,i){var r,a=i(4),n=i(35),s=i(36),c=i(37),o=i(38),l=i(39),h=i(40),u=i(43),d=i(3),p=i(2),f=i(1),m=i(44),g=i(45),v=i(20),b=i(46),y=i(47),w=i(0);!function(){"use strict";var e=function(e){var t=0;return e.duration&&(t=e.duration),t},t=!1,i={rest:{0:"rests.whole",1:"rests.half",2:"rests.quarter",3:"rests.8th",4:"rests.16th",5:"rests.32nd",6:"rests.64th",7:"rests.128th",multi:"rests.multimeasure"},note:{"-1":"noteheads.dbl",0:"noteheads.whole",1:"noteheads.half",2:"noteheads.quarter",3:"noteheads.quarter",4:"noteheads.quarter",5:"noteheads.quarter",6:"noteheads.quarter",7:"noteheads.quarter",nostem:"noteheads.quarter"},rhythm:{"-1":"noteheads.slash.whole",0:"noteheads.slash.whole",1:"noteheads.slash.whole",2:"noteheads.slash.quarter",3:"noteheads.slash.quarter",4:"noteheads.slash.quarter",5:"noteheads.slash.quarter",6:"noteheads.slash.quarter",7:"noteheads.slash.quarter",nostem:"noteheads.slash.nostem"},x:{"-1":"noteheads.indeterminate",0:"noteheads.indeterminate",1:"noteheads.indeterminate",2:"noteheads.indeterminate",3:"noteheads.indeterminate",4:"noteheads.indeterminate",5:"noteheads.indeterminate",6:"noteheads.indeterminate",7:"noteheads.indeterminate",nostem:"noteheads.indeterminate"},harmonic:{"-1":"noteheads.harmonic.quarter",0:"noteheads.harmonic.quarter",1:"noteheads.harmonic.quarter",2:"noteheads.harmonic.quarter",3:"noteheads.harmonic.quarter",4:"noteheads.harmonic.quarter",5:"noteheads.harmonic.quarter",6:"noteheads.harmonic.quarter",7:"noteheads.harmonic.quarter",nostem:"noteheads.harmonic.quarter"},uflags:{3:"flags.u8th",4:"flags.u16th",5:"flags.u32nd",6:"flags.u64th"},dflags:{3:"flags.d8th",4:"flags.d16th",5:"flags.d32nd",6:"flags.d64th"}};function k(e,t){var i=e[t];if("note"!==i.el_type||!i.startBeam||i.endBeam)return{count:1,elem:i};for(var r=[];t0&&(s[0].invisible=!0);break;case"meter":s[0]=l(n,this.tuneNumber),this.startlimitelem=s[0],r.duplicate&&s.length>0&&(s[0].invisible=!0);break;case"clef":if(s[0]=c(n,this.tuneNumber),!s[0])return null;r.duplicate&&s.length>0&&(s[0].invisible=!0);break;case"key":var h=o(n,this.tuneNumber);h&&(s[0]=h,this.startlimitelem=s[0]),r.duplicate&&s.length>0&&(s[0].invisible=!0);break;case"stem":this.stemdir=n.direction;break;case"part":var u=new a(n,0,0,"part",this.tuneNumber),d=this.renderer.getTextSize(n.title,"partsfont","part");u.addChild(new p(n.title,0,0,void 0,{type:"part",height:d.height/f.STEP})),s[0]=u;break;case"tempo":var m=new a(n,0,0,"tempo",this.tuneNumber);m.addChild(new g(n,this.tuneNumber,A)),s[0]=m;break;case"style":"normal"===n.head?delete this.style:this.style=n.head;break;case"hint":t=!0,this.saveState();break;case"midi":break;case"scale":this.voiceScale=n.size;break;default:var v=new a(n,0,0,"unsupported",this.tuneNumber);v.addChild(new p("element type "+n.el_type,0,0,void 0,{type:"debug"})),s[0]=v}return s},r.prototype.calcBeamDir=function(e,t,i){if(this.stemdir)return this.stemdir;for(var r=new n(this.stemHeight*this.voiceScale,this.stemdir,this.flatBeams),a=0;ae.pitches[i+1].pitch){t=!1;var r=e.pitches[i];e.pitches[i]=e.pitches[i+1],e.pitches[i+1]=r}}while(!t)},_=function(e,t,i,r,a,n,s,c,o){for(var l=i;l>11;l--)l%2!=0||r||e.addChild(new p(null,c,(a+4)*o,l,{type:"ledger"}));for(l=t;l<1;l++)l%2!=0||r||e.addChild(new p(null,c,(a+4)*o,l,{type:"ledger"}));for(l=0;l1&&(u=new n(.7*c,"grace",o),t&&u.setHint(),u.mainNote=a);var f,m=[];for(f=e.gracenotes.length-1;f>=0;f--)l+=10,m[f]=l,e.gracenotes[f].accidental&&(l+=7);for(f=0;f=6?"down":"up";for(n&&(_=n),(s=r.style?r.style:s)&&"normal"!==s||(s="note"),(g=c?i[s].nostem:i[s][-o])||console.log("noteSymbol:",s,o,c),v="down"===_?r.pitches.length-2:1;"down"===_?v>=0:v11||N.verticalPos<1)&&k.push(N.verticalPos-N.verticalPos%2),"down"===_?y=d.getSymbolWidth(g)+2:b=d.getSymbolWidth(g)+2)}var M=r.pitches.length;for(v=0;v0&&(u.bottom=u.bottom-1),t.addHead(u)),y+=H.accidentalshiftx,w=Math.max(w,H.dotshiftx)}if(L){var z=7*this.voiceScale,I="down"===_?r.minpitch-z:r.minpitch+1/3;I>6&&!n&&(I=6);var D="down"===_?r.maxpitch-1/3:r.maxpitch+z;D<6&&!n&&(D=6);var O="down"===_||0===t.heads.length?0:t.heads[0].w,F="down"===_?1:-1;"noteheads.slash.quarter"===u.c&&("down"===_?D-=1:I+=1),t.addExtra(new p(null,O,0,I,{type:"stem",pitch2:D,linewidth:F})),f=Math.min(I,D)}return{noteHead:u,roomTaken:y,roomTakenRight:w,min:f,additionalLedgers:k,dir:_,symbolWidth:S}},r.prototype.addLyric=function(e,t){var i="";w.each(t.lyric,(function(e){var t=" "===e.divider?"":e.divider;i+=e.syllable+t+"\n"}));var r=this.renderer.getTextSize(i,"vocalfont","lyric"),a=t.positioning?t.positioning.vocalPosition:"below";e.addCentered(new p(i,0,r.width,void 0,{type:"lyric",position:a,height:r.height/f.STEP}))},r.prototype.addChord=function(e,t,i,r){for(var a=0;a1,this.stemdir,s,y,this.voiceScale);l=N.noteHead,h=N.roomTaken,u=N.roomTakenRight}else{var E=this.addNoteToAbcElement(C,r,w,this.stemdir,this.style,v,y,n,c);void 0!==E.min&&(this.minY=Math.min(E.min,this.minY)),l=E.noteHead,h=E.roomTaken,u=E.roomTakenRight,m=E.additionalLedgers,o=E.dir,f=E.symbolWidth}if(void 0!==r.lyric&&this.addLyric(C,r),void 0!==r.gracenotes&&(h+=this.addGraceNotes(r,c,C,l,this.stemHeight*this.voiceScale,this.isBagpipes,h)),r.decoration&&this.decoration.createDecoration(c,r.decoration,C.top,l?l.w:0,C,h,o,C.bottom,r.positioning,this.hasVocals),r.barNumber&&C.addChild(new p(r.barNumber,-10,0,0,{type:"barNumber"})),_(C,r.minpitch,r.maxpitch,r.rest,f,m,o,-2,1),void 0!==r.chord){var M=this.addChord(C,r,h,u);h=M.roomTaken,u=M.roomTakenRight}return r.startTriplet&&(this.triplet=new b(r.startTriplet,l,{flatBeams:this.flatBeams})),r.endTriplet&&this.triplet&&this.triplet.setCloseAnchor(l),!this.triplet||r.startTriplet||r.endTriplet||this.triplet.middleNote(l),C};var A=function(e,t,i,r,a,n,s,c,o,l,h,u){var f,m=i.verticalPos,g=0,v=0,b=0;if(void 0===t)e.addChild(new p("pitch is undefined",0,0,0,{type:"debug"}));else if(""===t)f=new p(null,0,0,m);else{var y=a;if(i.printer_shift){var w="same"===i.printer_shift?1:0;y="down"===r?-d.getSymbolWidth(t)*l+w:d.getSymbolWidth(t)*l-w}var k={scalex:l,scaley:l,thickness:d.symbolHeightInPitches(t)*l};if((f=new p(t,y,d.getSymbolWidth(t)*l,m,k)).stemDir=r,s){var x=m+("down"===r?-7:7)*l;u&&("down"===r&&x>6&&(x=6),"up"===r&&x<6&&(x=6));var S="down"===r?a:a+f.w-.6;e.addRight(new p(s,S,d.getSymbolWidth(s)*l,x,{scalex:l,scaley:l}))}for(v=f.w+o-2+5*c;c>0;c--){var _=1-Math.abs(m)%2;e.addRight(new p("dots.dot",f.w+o-2+5*c,d.getSymbolWidth("dots.dot"),m+_))}}if(f&&(f.highestVert=i.highestVert),i.accidental){var T;switch(i.accidental){case"quartersharp":T="accidentals.halfsharp";break;case"dblsharp":T="accidentals.dblsharp";break;case"sharp":T="accidentals.sharp";break;case"quarterflat":T="accidentals.halfflat";break;case"flat":T="accidentals.flat";break;case"dblflat":T="accidentals.dblflat";break;case"natural":T="accidentals.nat"}for(var A=!1,C=n,N=0;N=6){h[N][0]=m,C=h[N][1],A=!0;break}!1===A&&(C-=d.getSymbolWidth(T)*l+2,h.push([m,C]),g=d.getSymbolWidth(T)*l+2),e.addExtra(new p(T,C,d.getSymbolWidth(T),m,{scalex:l,scaley:l})),b=d.getSymbolWidth(T)/2}return{notehead:f,accidentalshiftx:g,dotshiftx:v,extraLeft:b}};r.prototype.addSlursAndTies=function(e,i,r,a,n,s){if(i.endTie&&this.ties.length>0){for(var c=!1,o=0;othis.max)&&(this.max=e.abcelem.maxpitch))};function e(e,t,i,r){if(!e.children)return r;for(var a=0;an&&(a=n);a<-n&&(a=-n);return a}(n,s,i,c),g=f+Math.floor(m/2),v=f+Math.floor(-m/2);h||(a&&f<6?(g=6,v=6):!a&&f>6&&(g=6,v=6));return[g,v]}(this.total,this.elems.length,l,this.stemsUp,c.abcelem.averagepitch,o.abcelem.averagepitch,this.isflat,this.min,this.max,this.isgrace),d=function(e,t,i){var r=t.heads[e?0:t.heads.length-1],a=i.heads[e?0:i.heads.length-1],n=r.x;e&&(n+=r.w-.6);var s=a.x;e&&(s+=a.w);return[n,s]}(this.stemsUp,c,o);this.beams.push({startX:d[0],endX:d[1],startY:u[0],endY:u[1],dy:r});for(var p=function(e,t,r,a,n){for(var c=[],o=[],l=0;l=0;v--)if(l===e.length-1||s(e[l+1].abcelem.duration)>-v-4){var b=d,y=p+f*(v+1);o[v].single&&(b=0===l?d+5:d-5,y=i(r.startX,r.startY,r.endX,r.endY,b)+f*(v+1)),c.push({startX:o[v].x,endX:b,startY:o[v].y,endY:y,dy:n}),o=o.slice(0,v)}}}return c}(this.elems,this.stemsUp,this.beams[0],this.isgrace,r),f=0;f0?c.top+3:c.bottom-1,{scalex:2/3,scaley:2/3})),c.top+=2}return c}}(),e.exports=r},function(e,t,i){var r,a=i(4),n=i(3),s=i(2),c=i(0);!function(){"use strict";r=function(e,t){if(!e.accidentals||0===e.accidentals.length)return null;var i=new a(e,0,10,"staff-extra",t);i.isKeySig=!0;var r=0;return c.each(e.accidentals,(function(e){var t;switch(e.acc){case"sharp":t="accidentals.sharp";break;case"natural":t="accidentals.nat";break;case"flat":t="accidentals.flat";break;case"quartersharp":t="accidentals.halfsharp";break;case"quarterflat":t="accidentals.halfflat";break;default:t="accidentals.flat"}i.addRight(new s(t,r,n.getSymbolWidth(t),e.verticalPos,{thickness:n.symbolHeightInPitches(t)})),r+=n.getSymbolWidth(t)+2}),this),i}}(),e.exports=r},function(e,t,i){var r,a=i(4),n=i(3),s=i(2);!function(){"use strict";r=function(e,t){var i=new a(e,0,10,"staff-extra",t);if("specified"===e.type)for(var r=0,c=0;c",r)),s&&e.addOther(new n(s.start,s.stop,"<",r))},r.prototype.createDecoration=function(t,i,r,n,l,h,u,d,p,f){p||(p={ornamentPosition:"above",volumePosition:f?"above":"below",dynamicPosition:f?"above":"below"}),function(e,t,i,r){for(var n=0;n9&&u++;var f=r/2;"center"!==s.getSymbolAlign(p)&&(f-=s.getSymbolWidth(p)/2),a.addChild(new c(p,f,s.getSymbolWidth(p),u))}if("slide"===t[d]&&a.heads[0]){var m=a.heads[0].pitch,g=new c("",-n-15,0,(m-=2)-1),v=new c("",-n-5,0,m+1);a.addChild(g),a.addChild(v),e.addOther(new o({anchor1:g,anchor2:v,fixedY:!0}))}}return void 0===u&&(u=i),{above:u,below:a.bottom}}(t,i,r,n,l,h,u,d);m.above=Math.max(m.above,this.minTop);!function(e,t,i,r,a,n,o){function l(e,t){"above"===e?r.above+=t:r.below-=t}function h(e){var t;return"above"===e?(t=r.above)o&&(t=o),t}function u(e,r){var a=h(r);i.addChild(new c(e,t/2,0,a+2,{type:"decoration",klass:"ornament",thickness:3})),l(r,5)}function d(e,r){var a=t/2;"center"!==s.getSymbolAlign(e)&&(a-=s.getSymbolWidth(e)/2);var n=s.symbolHeightInPitches(e)+1,o=h(r);o="above"===r?o+n/2:o-n/2,i.addChild(new c(e,a,s.getSymbolWidth(e),o,{klass:"ornament",thickness:s.symbolHeightInPitches(e)})),l(r,n)}for(var p={"+":"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"},f=!1,m=0;m0&&(a.top+=o)}t=2-a.bottom}},a.prototype.finished=function(){for(var e=0;e1e-7?h.push(this.voices[r]):l.push(this.voices[r])}o=0;var u=0;for(r=0;rs&&(s=l[r].getNextX(),o=l[r].getSpacingUnits(),u=l[r].spacingduration);for(a+=o,n=Math.min(n,o),i&&console.log("currentduration: ",c,a,n),r=0;r0){s=d;for(var f=0;fs&&(s=this.voices[r].getNextX(),o=this.voices[r].getSpacingUnits());for(a+=o,this.w=s,r=0;r1&&e.printStem(this.startx,.6,t,i),e.y=a},e.exports=a},function(e,t,i){var r,a=i(4),n=i(2);!function(){"use strict";(r=function(e,t,i){this.tempo=e,this.tuneNumber=t,this.tempoHeightAbove=5,this.pitch=void 0,this.tempo.duration&&!this.tempo.suppressBpm&&(this.note=this.createNote(i,e,t))}).prototype.setUpperAndLowerElements=function(e){if(this.pitch=e.tempoHeightAbove,this.top=e.tempoHeightAbove,this.bottom=e.tempoHeightAbove,this.note){var t=this.pitch-5+1;this.note.top=t,this.note.bottom=t;for(var i=0;ithis.startNote||i>this.endNote)&&(this.startNote=i,this.endNote=i),this.flatBeams&&(this.startNote=Math.max(this.startNote,this.endNote),this.endNote=Math.max(this.startNote,this.endNote)),this.yTextPos=this.startNote+(this.endNote-this.startNote)/2,this.top=this.yTextPos+1}delete this.middleElems,delete this.flatBeams},r.prototype.draw=function(t){var i;if(this.hasBeam){var r=this.anchor1.parent.beam.isAbove()?this.anchor1.x+this.anchor1.w:this.anchor1.x;i=this.anchor1.parent.beam.xAtMidpoint(r,this.anchor2.x)}else i=this.anchor1.x+(this.anchor2.x+this.anchor2.w-this.anchor1.x)/2,function(t,i,r,a,n,s){r=t.calcY(r),n=t.calcY(n);e(t,i,r,i,r+5,s),e(t,a,n,a,n+5,s);var c=i+(a-i)/2,o=(n-r)/(a-i),l=c-8;e(t,i,r,l,r+(l-i)*o,s);var h=c+8;e(t,h,r+(h-i)*o,a,n,s)}(t,this.anchor1.x,this.startNote,this.anchor2.x+this.anchor2.w,this.endNote,this.duration);t.renderText(i,t.calcY(this.yTextPos),""+this.number,"tripletfont",t.addClasses("triplet d"+this.duration),"middle",!0)}}(),e.exports=r},function(e,t,i){var r=i(0),a=function(e,t){this.children=[],this.beams=[],this.otherchildren=[],this.w=0,this.duplicate=!1,this.voicenumber=e,this.voicetotal=t,this.bottom=7,this.top=7,this.specialY={tempoHeightAbove:0,partHeightAbove:0,volumeHeightAbove:0,dynamicHeightAbove:0,endingHeightAbove:0,chordHeightAbove:0,lyricHeightAbove:0,lyricHeightBelow:0,chordHeightBelow:0,volumeHeightBelow:0,dynamicHeightBelow:0}};a.prototype.addChild=function(e){if("bar"===e.type){for(var t=!0,i=0;t&&i=this.children.length},a.prototype.getDurationIndex=function(){return this.durationindex-(this.children[this.i]&&this.children[this.i].duration>0?0:5e-7)},a.prototype.getSpacingUnits=function(){return Math.sqrt(8*this.spacingduration)},a.prototype.getNextX=function(){return Math.max(this.minx,this.nextx)},a.prototype.beginLayout=function(e){this.i=0,this.durationindex=0,this.startx=e,this.minx=e,this.nextx=e,this.spacingduration=0},a.prototype.layoutOneItem=function(e,t){var i=this.children[this.i];if(!i)return 0;var r=e-this.minx,a=i.getExtraWidth();return r0){var n=this.outputTextIf(this.padding.left+e,a,"composerfont","meta-top",0,null,"end");this.moveY(n[1])}else this.moveY(r[1]);this.moveY(-6)}this.outputTextIf(this.padding.left+e,t.metaText.author,"composerfont","meta-top",0,0,"end"),this.outputTextIf(this.padding.left,t.metaText.partOrder,"partsfont","meta-bottom",0,0,"start")},c.prototype.engraveExtraText=function(e,t){if(this.lineNumber=null,this.measureNumber=null,this.noteNumber=null,this.voiceNumber=null,t.metaText.unalignedWords){var i=this.getFontAndAttr("wordsfont","meta-bottom"),r=this.getTextSize("i","wordsfont","meta-bottom");t.metaText.unalignedWords.length>0&&this.moveY(this.spacing.words,1);for(var n=0;n0&&this.moveY(i.font.size,2)}var d="";t.metaText.book&&(d+="Book: "+t.metaText.book+"\n"),t.metaText.source&&(d+="Source: "+t.metaText.source+"\n"),t.metaText.discography&&(d+="Discography: "+t.metaText.discography+"\n"),t.metaText.notes&&(d+="Notes: "+t.metaText.notes+"\n"),t.metaText.transcription&&(d+="Transcription: "+t.metaText.transcription+"\n"),t.metaText.history&&(d+="History: "+t.metaText.history+"\n"),t.metaText["abc-copyright"]&&(d+="Copyright: "+t.metaText["abc-copyright"]+"\n"),t.metaText["abc-creator"]&&(d+="Creator: "+t.metaText["abc-creator"]+"\n"),t.metaText["abc-edited-by"]&&(d+="Edited By: "+t.metaText["abc-edited-by"]+"\n"),this.outputTextIf(this.padding.left,d,"historyfont","meta-bottom",this.spacing.info,0,"start"),t.metaText.footer&&this.isPrint&&(this.outputTextIf(this.padding.left,t.metaText.footer.left,"footerfont","header meta-bottom",0,null,"start"),this.outputTextIf(this.padding.left+e/2,t.metaText.footer.center,"footerfont","header meta-bottom",0,null,"middle"),this.outputTextIf(this.padding.left+e,t.metaText.footer.right,"footerfont","header meta-bottom",0,null,"end"))},c.prototype.outputFreeText=function(e,t){t&&this.moveY(t);var i=this.getFontAndAttr("textfont","defined-text");if(""===e)this.moveY(2*i.attr["font-size"]);else if("string"==typeof e)this.moveY(i.attr["font-size"]/2),this.outputTextIf(this.padding.left,e,"textfont","defined-text",0,0,"start");else{for(var r="",a=!1,n=0;n1&&i.indexOf(".")<0){this.paper.openGroup();for(var p=0,f=0;f=0;a--)this.printStaveLine(e,t,2*(a+1),r),r=void 0;this.paper.closeGroup()}else this.printStaveLine(e,t,6,r)},c.prototype.addClasses=function(e,t){if(!this.shouldAddClasses)return"";var i=[];if(e.length>0&&i.push(e),null!==this.lineNumber&&void 0!==this.lineNumber&&i.push("l"+this.lineNumber),null!==this.measureNumber&&void 0!==this.measureNumber&&i.push("m"+this.measureNumber),null!==this.voiceNumber&&void 0!==this.voiceNumber&&i.push("v"+this.voiceNumber),(e.indexOf("note")>=0||e.indexOf("rest")>=0||e.indexOf("lyric")>=0)&&null!==this.noteNumber&&void 0!==this.noteNumber&&i.push("n"+this.noteNumber),i.length>0){i=(i=i.join(" ")).split(" ");for(var r=0;r0&&(i[r]="abcjs-"+i[r])}return i.join(" ")},c.prototype.getFontAndAttr=function(e,t){var i,r={"font-size":(i="string"==typeof e?(i=this.abctune.formatting[e])?{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"}:{face:e.face,size:4*e.size/3,decoration:e.decoration,style:e.style,weight:e.weight,box:e.box}).size,"font-style":i.style,"font-family":i.face,"font-weight":i.weight,"text-decoration":i.decoration,class:this.addClasses(t),font:""};return{font:i,attr:r}},c.prototype.getTextSize=function(e,t,i,r){var a=this.getFontAndAttr(t,i),n=this.paper.getTextSize(e,a.attr,r);return a.font.box&&(n.height+=8,n.width+=8),n},c.prototype.renderText=function(e,t,i,r,a,n,s){var c=this.getFontAndAttr(r,a);n&&(c.attr["text-anchor"]=n),c.attr.x=e,c.attr.y=t+7,s||(c.attr.dy="0.5em"),"debugfont"===r&&(console.log("Debug msg: "+i),c.attr.stroke="#ff0000"),i=(i=i.replace(/\n\n/g,"\n \n")).replace(/^\n/," \n"),c.font.box&&(c.attr.x+=2,c.attr.y+=4);var o=this.paper.text(i,c.attr);if(c.font.box){var l=this.getTextSize(i,r,a);this.paper.rect({x:e-2,y:t,width:l.width+4,height:l.height+4-2,stroke:"#888888",fill:"transparent"})}return this.doRegression&&this.addToRegression(o),o},c.prototype.moveY=function(e,t){void 0===t&&(t=1),this.y+=e*t},c.prototype.skipSpaceY=function(){this.y+=this.space},c.prototype.outputTextIf=function(e,t,i,r,a,n,s){if(t){a&&this.moveY(a);this.renderText(e,this.y,t,i,r,s);var c=this.getTextSize(t,i,r),o=isNaN(c.width)?0:c.width,l=isNaN(c.height)?0:c.height;if(this.getFontAndAttr(i,r).font.box&&(o+=8,l+=8),null!==n){var h=t.split("\n").length;isNaN(c.height)||this.moveY(l/h,h+n)}return[o,l]}return[0,0]},c.prototype.addInvisibleMarker=function(e){var t=this.y;t=Math.round(t);var i=n("M %f %f L %f %f L %f %f L %f %f z",0,t-.35,100,t-.35,100,t+.35,0,t+.35);this.paper.pathToBack({path:i,stroke:"none",fill:"rgba(0,0,0,0)","fill-opacity":0,class:this.addClasses(e),"data-vertical":t})},c.prototype.printSeparator=function(e){var t=Math.round(this.y),i=(this.controller.width-e)/2,r=i+e,a="M "+i+" "+t+" L "+r+" "+t+" L "+r+" "+(t+1)+" L "+i+" "+(t+1)+" L "+i+" "+t+" z";this.paper.pathToBack({path:a,stroke:"rgba(0,0,0,0)",fill:"rgba(0,0,0,255)",class:this.addClasses("defined-text")})},c.prototype.printHorizontalLine=function(e,t,i){var r=.35,a="rgba(0,0,255,.4)",s=this.y;t&&(s=t),s=Math.round(s),this.paper.text(""+Math.round(s),{x:10,y:s,"text-anchor":"start","font-size":"18px",fill:a,stroke:a});var c=n("M %f %f L %f %f L %f %f L %f %f z",50,s-r,50+e,s-r,e,s+r,50,s+r);this.paper.pathToBack({path:c,stroke:"none",fill:a,class:this.addClasses("staff")});for(var o=1;o0&&(s=m.program[0],m.program.length>1&&(s=m.program[1],o=m.program[0])),m.transpose&&(c=m.transpose[0]),m.channel&&(o=m.channel[0]),m.drum&&(l=m.drum),m.drumbars&&(h=m.drumbars[0]),m.drumon&&(d=!0),10===o&&(s=128),m.beat&&f.push({el_type:"beat",beats:m.beat}),m.nobeataccents&&f.push({el_type:"beataccents",value:!1})}n=a.qpm?parseInt(a.qpm,10):i.metaText.tempo?t(i.metaText.tempo):a.defaultQpm?a.defaultQpm:180;var g=[];p&&g.push({el_type:"bagpipes"}),g.push({el_type:"instrument",program:s}),o&&g.push({el_type:"channel",channel:o}),c&&g.push({el_type:"transpose",transpose:c}),g.push({el_type:"tempo",qpm:n});for(var v=0;v=0?b[T].push({el_type:"beat",beats:[30,20,10,1]}):L.decoration.indexOf("pp")>=0?b[T].push({el_type:"beat",beats:[45,35,20,1]}):L.decoration.indexOf("p")>=0?b[T].push({el_type:"beat",beats:[60,50,35,1]}):L.decoration.indexOf("mp")>=0?b[T].push({el_type:"beat",beats:[75,65,50,1]}):L.decoration.indexOf("mf")>=0?b[T].push({el_type:"beat",beats:[90,80,65,1]}):L.decoration.indexOf("f")>=0?b[T].push({el_type:"beat",beats:[105,95,80,1]}):L.decoration.indexOf("ff")>=0?b[T].push({el_type:"beat",beats:[120,110,95,1]}):L.decoration.indexOf("fff")>=0&&b[T].push({el_type:"beat",beats:[127,125,110,1]})),b[T].push(L),B++);break;case"key":"HP"===L.root?b[T].push({el_type:"key",accidentals:[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}]}):b[T].push({el_type:"key",accidentals:L.accidentals});break;case"meter":b[T].push(r(L));break;case"clef":L.transpose&&b[T].push({el_type:"transpose",transpose:L.transpose});break;case"tempo":n=t(L),b[T].push({el_type:"tempo",qpm:n});break;case"bar":B>0&&b[T].push({el_type:"bar"}),B=0;var H="bar_right_repeat"===L.type||"bar_dbl_repeat"===L.type,z="1"===L.startEnding,I="bar_left_repeat"===L.type||"bar_dbl_repeat"===L.type||"bar_right_repeat"===L.type;if(H){var D=y[T];D||(D=0);var O=w[T];O||(O=b[T].length),b[T]=b[T].concat(b[T].slice(D,O)),w[T]=void 0,y[T]=void 0}z&&(w[T]=b[T].length),I&&(y[T]=b[T].length);break;case"style":case"part":break;case"stem":case"scale":break;case"midi":var F=!1;switch(L.cmd){case"drumon":d=!0,F=!0;break;case"drumoff":d=!1,F=!0;break;case"drum":l=L.params,F=!0;break;case"drumbars":h=L.params[0],F=!0;break;case"drummap":break;case"program":b[T].push({el_type:"instrument",program:L.params[0]});break;case"transpose":b[T].push({el_type:"transpose",transpose:L.params[0]});break;case"gchordoff":b[T].push({el_type:"gchord",tacet:!0});break;case"gchordon":b[T].push({el_type:"gchord",tacet:!1});break;case"beat":b[T].push({el_type:"beat",beats:L.params});break;case"nobeataccents":b[T].push({el_type:"beataccents",value:!1});break;case"beataccents":b[T].push({el_type:"beataccents",value:!0});break;case"vol":b[T].push({el_type:"vol",volume:L.params[0]});break;case"volinc":b[T].push({el_type:"volinc",volume:L.params[0]});break;default:console.log("MIDI seq: midi cmd not handled: ",L.cmd,L)}F&&(b[0].push({el_type:"drum",params:{pattern:l,bars:h,intro:u,on:d}}),k=!0);break;default:console.log("MIDI: element type "+L.el_type+" not handled.")}}T++}}if(u)for(var Y=i.getPickupLength(),j=0;jV;)V++;if(b[j].length>V)for(var G=0;G0&&0===C&&(J(),b=[]),w=0,e=[],0===C&&te(i.length+1);break;case"bagpipes":a=!0;break;case"instrument":if(void 0===l&&(l=F.program),h=F.program,u.length>0&&"program"===u[u.length-1].cmd)u[u.length-1].instrument=F.program;else{var j;for(j=u.length-1;j>=0&&"program"!==u[j].cmd;j--);(j<0||u[j].instrument!==F.program)&&u.push({cmd:"program",channel:C,instrument:F.program})}break;case"channel":break;case"drum":H=ee(F.params);break;case"gchord":A.chordsOff||(N=F.tacet);break;case"beat":M=F.beats[0],B=F.beats[1],P=F.beats[2];break;case"vol":k=F.volume;break;case"volinc":x=F.volume;break;case"beataccents":E=F.value;break;default:console.log("MIDI creation. Unknown el_type: "+F.el_type+"\n")}}void 0===u[0].instrument&&(u[0].instrument=l||0),s.push(u),m.length>0&&(g=!0),S.length>0&&!0}return m.length>0&&s.push(m),S.length>0&&s.push(S),{tempo:c,instrument:l,tracks:s,totalDuration:I(s)}};var O=["break","(break)","no chord","n.c.","tacet"];function F(){for(var e=0,t=0;t127&&(i=127);var s=t?0:i,o=function(e){if(N)return"break";if(g||!e.chord||0===e.chord.length)return null;for(var t=0;t=0)return"break"}return null}(e);if(o){var l=function(e){if(0===e.length)return;if("break"===e)return{chick:[]};var t=e.substring(0,1);if("("===t){if(0===(e=e.substring(1,e.length-2)).length)return;t=e.substring(0,1)}var i=U[t];if(!i)return;var a,n=(i+=r)-5;1===e.length&&(a=K(i,""));var s=e.substring(1),c=s.substring(0,1);"b"===c||"♭"===c?(i--,n--,s=s.substring(1)):"#"!==c&&"♯"!==c||(i++,n++,s=s.substring(1));var o=s.split("/");if(a=K(i,o[0]),2===o.length){if(U[o[1].substring(0,1)]){var l={"#":1,"♯":1,b:-1,"♭":-1}[o[1].substring(1)]||0;i=U[o[1].substring(0,1)]+l+r,n=i}}return{boom:i,boom2:n,chick:a}}(o);if(l){if(0===m.length){m.push({cmd:"program",channel:v,instrument:A});var S=F();S>0&&m.push({cmd:"move",duration:S*_})}y=l,b.push({chord:y,beat:w})}}e.startTriplet&&(n=e.tripletMultiplier);var T,C=(e.durationClass?e.durationClass:e.duration)*n;if(w+=C,e.gracenotes){var H=a||p<0||0===u.length,I=H?C:u[p].duration;T=function(e,t){for(var i,r=0,a=[],n=0;nt?t/(2*r):1;for(n=0;n=0;q--)if("start"===u[q].cmd&&u[q].pitch===G&&u[q].elem){for(var X=u[q].elem.midiPitches,Q=0;Q.0078125){r=[];for(var s=w/i,c=0;c0&&n0&&(i===t||new RegExp("(^|\\s)"+t+"(\\s|$)").test(i))}(e,t)||(e.className+=(e.className?" ":"")+t),e},this.removeClassName=function(e,t){return e.className=a.strip(e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ")),e},this.setReadOnly=function(e){var t=this.editarea.getElem();e?(t.setAttribute("readonly","yes"),this.addClassName(t,"abc_textarea_readonly")):(t.removeAttribute("readonly"),this.removeClassName(t,"abc_textarea_readonly"))}};d.prototype.renderTune=function(e,t,i){var a=new r(e),s=n();s.parse(a.tunes[0].abc,t,a.tunes[0].startPos-a.header.length);var o=s.getTune();new c(i,this.abcjsParams).engraveABC(o)},d.prototype.redrawMidi=function(){if(this.generate_midi&&!this.midiPause){var e=new window.CustomEvent("generateMidi",{detail:{tunes:this.tunes,abcjsParams:this.abcjsParams,downloadMidiEl:this.downloadMidi,inlineMidiEl:this.inlineMidi,engravingEl:this.div}});window.dispatchEvent(e)}this.synth&&(this.synth.synthControl||(this.synth.synthControl=new o,this.synth.synthControl.load(this.synth.el,this.synth.cursorControl,this.synth.options)),this.synth.synthControl.setTune(this.tunes[0],!1))},d.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){if(this.bReentry=!0,this.timerId=null,this.div.innerHTML="",this.engraver_controller=new c(this.div,this.abcjsParams),this.engraver_controller.engraveABC(this.tunes),this.tunes[0].engraver=this.engraver_controller,this.redrawMidi(),this.warningsdiv&&(this.warningsdiv.innerHTML=this.warnings?this.warnings.join("
"):"No errors"),this.target)new s(this.target,!0).printABC(this.tunes[0]);this.engraver_controller.addSelectListener(this.highlight.bind(this)),this.updateSelection(),this.bReentry=!1}},d.prototype.paramChanged=function(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this.abcjsParams[t]=e[t]);this.oldt="",this.fireChanged()},d.prototype.parseABC=function(){var e=this.editarea.getString();if(e===this.oldt)return this.updateSelection(),!1;if(this.oldt=e,""===e)return this.tunes=void 0,this.warnings="",!0;var t=new r(e);this.tunes=[],this.startPos=[],this.warnings=[];for(var i=0;i0&&(i===t||new RegExp("(^|\\s)"+t+"(\\s|$)").test(i))}(t=r,i="abc_textarea_dirty")||(t.className+=(t.className?" ":"")+i):function(e,t){e.className=a.strip(e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," "))}(r,"abc_textarea_dirty")}},d.prototype.fireChanged=function(){if(!this.bIsPaused&&this.parseABC()){var e=this;this.timerId&&clearTimeout(this.timerId),this.timerId=setTimeout((function(){e.modelChanged()}),300);var t=this.isDirty();this.wasDirty!==t&&(this.wasDirty=t,this.setDirtyStyle(t)),this.onchangeCallback&&this.onchangeCallback(this)}},d.prototype.setNotDirty=function(){this.editarea.initialText=this.editarea.getString(),this.wasDirty=!1,this.setDirtyStyle(!1)},d.prototype.isDirty=function(){return void 0!==this.indicate_changed&&this.editarea.initialText!==this.editarea.getString()},d.prototype.highlight=function(e,t,i){this.editarea.setSelection(e.startChar,e.endChar),this.selectionChangeCallback&&this.selectionChangeCallback(e.startChar,e.endChar)},d.prototype.pause=function(e){this.bIsPaused=e,e||this.fireChanged()},d.prototype.millisecondsPerMeasure=function(){return this.synth.synthControl.visualObj.millisecondsPerMeasure()},d.prototype.pauseMidi=function(e){this.midiPause=e,e||this.redrawMidi()},e.exports=d},function(e,t){var i=function(e,t){this.elem=e,this.text="",this.l=1/8,this.reposition=t||!1};i.prototype.printString=function(e,t){this.reposition&&t&&(t.startChar=this.text.length),this.text+=e,this.reposition&&t&&(t.endChar=this.text.length)},i.prototype.printNewLine=function(){this.text+="\n"},i.prototype.printSpace=function(){this.text[this.text.length-1].match(/\s/)||(this.text+=" ")},i.prototype.printABC=function(e){this.text="",this.abctune=e,this.printHeader(),this.printBody(),this.elem.value=this.text},i.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))},i.prototype.getKeyString=function(e){return e.root+e.acc+e.mode},i.prototype.getMeterString=function(e){switch(e.type){case"cut_time":return"C|";case"common_time":return"C";case"specified":return e.value[0].den?e.value[0].num+"/"+e.value[0].den:e.value[0].num}return""},i.prototype.printHeaderLine=function(e,t,i){var r=this.abctune.metaText[e]||i;if(void 0!==r)for(var a=r.split("\n"),n=0;n1&&(i+="["),t=0;t1&&(i+="]")}1===e.pitches.length&&e.pitches[0].endSlur&&(i+=this.multiplyString(")",e.pitches[0].endSlur.length)),e.endSlur&&(i+=this.multiplyString(")",e.endSlur.length)),this.printString(i,e)},i.prototype.getNoteString=function(e,t){var i="";!t&&e.startSlur&&(i+="(");var r="";switch(e.accidental){case"quartersharp":r="^/";break;case"dblsharp":r="^^";break;case"sharp":r="^";break;case"quarterflat":r="_/";break;case"flat":r="_";break;case"dblflat":r="__";break;case"natural":r="="}i+=r;var a=["C","D","E","F","G","A","B"][this.extractNote(e.pitch)],n=this.extractOctave(e.pitch);if(n>0)for(a=a.toLowerCase(),n--;n>0;)a+="'",n--;else for(;n<0;)a+=",",n++;return i+=a,e.duration&&(i+=this.getDurationString(e.duration)),!t&&e.endSlur&&(i+=")"),e.startTie&&(i+="-"),i},i.prototype.getDurationString=function(e){if(e/this.l>1)return e/this.l;var t="";return this.l/e>1&&(t+="/",this.l/e>2&&(t+=this.l/e)),t},i.prototype.extractNote=function(e){var t=e%7;return t<0&&(t+=7),t},i.prototype.extractOctave=function(e){return Math.floor(e/7)},i.prototype.printBarLine=function(e){var t="";switch(e.type){case"bar_thin":t+="|";break;case"bar_thin_thick":t+="|]";break;case"bar_thin_thin":t+="||";break;case"bar_thick_thin":t+="[|";break;case"bar_dbl_repeat":t+=":||:";break;case"bar_left_repeat":t+="|:";break;case"bar_right_repeat":t+=":|";break;case"bar_invisible":t+=""}this.printString(t,e)},i.prototype.multiplyString=function(e,t){for(var i="";t>0;t--)i+=e;return i},e.exports=i}]);