(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1356:function(n,t,r){"use strict";function e(n,t,r){return Math.min(Math.max(n,t),r)}function o(n,t,r,e,o){const u=(o-e)/(r-t);return(Math.min(r,Math.max(t,n))-t)*u+e}r.d(t,"a",(function(){return e})),r.d(t,"f",(function(){return o})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return f})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return c}));const u={12:"C0",13:"C#0",14:"D0",15:"D#0",16:"E0",17:"F0",18:"F#0",19:"G0",20:"G#0",21:"A0",22:"A#0",23:"B0",24:"C1",25:"C#1",26:"D1",27:"D#1",28:"E1",29:"F1",30:"F#1",31:"G1",32:"G#1",33:"A1",34:"A#1",35:"B1",36:"C2",37:"C#2",38:"D2",39:"D#2",40:"E2",41:"F2",42:"F#2",43:"G2",44:"G#2",45:"A2",46:"A#2",47:"B2",48:"C3",49:"C#3",50:"D3",51:"D#3",52:"E3",53:"F3",54:"F#3",55:"G3",56:"G#3",57:"A3",58:"A#3",59:"B3",60:"C4",61:"C#4",62:"D4",63:"D#4",64:"E4",65:"F4",66:"F#4",67:"G4",68:"G#4",69:"A4",70:"A#4",71:"B4",72:"C5",73:"C#5",74:"D5",75:"D#5",76:"E5",77:"F5",78:"F#5",79:"G5",80:"G#5",81:"A5",82:"A#5",83:"B5",84:"C6",85:"C#6",86:"D6",87:"D#6",88:"E6",89:"F6",90:"F#6",91:"G6",92:"G#6",93:"A6",94:"A#6",95:"B6",96:"C7",97:"C#7",98:"D7",99:"D#7",100:"E7",101:"F7",102:"F#7",103:"G7",104:"G#7",105:"A7",106:"A#7",107:"B7"},i={};for(const n in u)i[u[n]]=parseInt(n);function a(n){return n in u?u[n]:null}function f(n){const t=n.toUpperCase();return t in i?i[t]:null}function s(n,t){const r=n.getChannelData(0),e=Math.round(t.fromFrames(r.length).toPixels()),o=n.length/e,u=~~(o/10)||1,i=[];for(let n=0;n0&&(c+=n*n,s++),n<0&&(A+=n*n,f++)}i[2*n]=256*Math.sqrt(c/s),i[2*n+1]=256*-Math.sqrt(A/f)}return i}function c(n){return new Promise((t,r)=>{if(n&&void 0!==n.arrayBuffer)n.arrayBuffer().then(n=>{n&&void 0!==n.byteLength?t(n):r("resultBuffer byteLength is 0")});else{const e=new FileReader;e.onload=()=>{const n=e.result;n&&void 0!==n.byteLength?t(n):r("fileReader result is not arrayBuffer")},e.readAsArrayBuffer(n)}})}}}]);