text: /**
   * This is SamJs.js v0.1.2
   *
   * A Javascript port of "SAM Software Automatic Mouth".
   *
   * (c) 2017-2020 Christian Schiffler
   *
   * @link(https://github.com/discordier/sam)
   *
   * @author 2017 Christian Schiffler <c.schiffler@cyberspectrum.de>
   */
  function n(n,r){return 0!=(n&r)}function r(n){var r=new Uint8Array(n.length);return n.split("").forEach(function(n,t){r[t]=n.charCodeAt(0)}),r}function t(n){var r=new Uint8Array(4);return r[0]=n,r[1]=n>>8,r[2]=n>>16,r[3]=n>>24,r}function H(n){var r=new Uint8Array(2);return r[0]=n,r[1]=n>>8,r}var A=null;function E(n){if(null===A&&(A=new AudioContext),!A)throw new Error;return function r(n,t){return new Promise(function(r){for(var H=n.createBufferSource(),A=n.createBuffer(1,t.length,22050),E=A.getChannelData(0),e=0;e<t.length;e++)E[e]=t[e];H.buffer=A,H.connect(n.destination),H.onended=function(){r(!0)},H.start(0)})}(A,n)}var e={" ":0,"!":2,'"':2,"#":2,$:2,"%":2,"&":2,"'":130,"(":0,")":0,"*":2,"+":2,",":2,"-":2,".":2,"/":2,0:3,1:3,2:3,3:3,4:3,5:3,6:3,7:3,8:3,9:3,":":2,";":2,"<":2,"=":2,">":2,"?":2,"@":2,A:192,B:168,C:176,D:172,E:192,F:160,G:184,H:160,I:192,J:188,K:160,L:172,M:168,N:172,O:192,P:160,Q:160,R:172,S:180,T:164,U:192,V:168,W:168,X:176,Y:192,Z:188,"[":0,"\\":0,"]":0,"^":2,_:0,"`":32},f=1,i=2,u=4,o=8,O=16,R=32,I=64,Y=128,a=function(n,r){return 0!=(e[n]&r)},U=function(n,r,t){return a(n[r],t)},N=function(n,r){return-1!==r.indexOf(n)};function c(n){var r=n.split("="),t=r.pop(),H=r.join("=").split("("),A=H.pop().split(")"),E=H[0],e=A[0],f=A[1],i=["T","C","S"],c=["E","I","Y"],W=function(n,r){return!!n.startsWith(e,r)&&(!!function(n,r){for(var t=E.length-1;t>-1;t--){var H=E[t];if(a(H,Y)){if(n[--r]!==H)return!1}else if(!{" ":function(){return!U(n,--r,Y)},"#":function(){return U(n,--r,I)},".":function(){return U(n,--r,o)},"&":function(){return U(n,--r,O)||N(n.substr(--r,2),["CH","SH"])},"@":function(){if(U(n,--r,u))return!0;var t=n[r];return"H"===t&&!!N(t,i)},"^":function(){return U(n,--r,R)},"+":function(){return N(n[--r],c)},":":function(){for(;r>=0&&U(n,r-1,R);)r--;return!0}}[H]())return!1}return!0}(n,r)&&function(n,r){for(var t=0;t<f.length;t++){var H=f[t];if(a(H,Y)){if(n[++r]!==H)return!1}else if(!{" ":function(){return!U(n,++r,Y)},"#":function(){return U(n,++r,I)},".":function(){return U(n,++r,o)},"&":function(){return U(n,++r,O)||N(n.substr(++r-2,2),["HC","HS"])},"@":function(){if(U(n,++r,u))return!0;var t=n[r];return"H"===t&&!!N(t,i)},"^":function(){return U(n,++r,R)},"+":function(){return N(n[++r],c)},":":function(){for(;U(n,r+1,R);)r++;return!0},"%":function(){return"E"!==n[r+1]?"ING"===n.substr(r+1,3)&&(r+=3,!0):U(n,r+2,Y)?N(n[r+2],["R","S","D"])?(r+=2,!0):"L"!==n[r+2]?"FUL"===n.substr(r+2,3)&&(r+=4,!0):"Y"===n[r+3]&&(r+=3,!0):(r++,!0)}}[H]())return!1}return!0}(n,r+(e.length-1)))},S=function(n,r,H){if(W(n,r))return H(t,e.length),!0};return S.c=e[0],S}var W={};" (A.)=EH4Y. |(A) =AH| (ARE) =AAR| (AR)O=AXR|(AR)#=EH4R| ^(AS)#=EY4S|(A)WA=AX|(AW)=AO5| :(ANY)=EH4NIY|(A)^+#=EY5|#:(ALLY)=ULIY| (AL)#=UL|(AGAIN)=AXGEH4N|#:(AG)E=IHJ|(A)^%=EY|(A)^+:#=AE| :(A)^+ =EY4| (ARR)=AXR|(ARR)=AE4R| ^(AR) =AA5R|(AR)=AA5R|(AIR)=EH4R|(AI)=EY4|(AY)=EY5|(AU)=AO4|#:(AL) =UL|#:(ALS) =ULZ|(ALK)=AO4K|(AL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10TH)=TEH4NTH|(1)= WAH4N| (2ND)=SEH4KUND|(2)= TUW4| (3RD)=THER4D|(3)= THRIY4|(4)= FOH4R| (5TH)=FIH4FTH|(5)= FAY4V| (64) =SIH4KSTIY FOHR|(6)= SIH4KS|(7)= SEH4VUN| (8TH)=EY4TH|(8)= EY4T|(9)= NAY4N|(:)=.|(;)=.|(<)= LEH4S DHAEN|(=)= IY4KWULZ|(>)= GREY4TER DHAEN|(?)=?|(@)= AE6T|(^)= KAE4RIXT'.split("|").map(c);var T=254,D=255,v="*12345678".split(""),L=" *.*?*,*-*IYIHEHAEAAAHAOUHAXIXERUXOHRXLXWXYXWHR*L*W*Y*M*N*NXDXQ*S*SHF*TH/H/XZ*ZHV*DHCH**J*******EYAYOYAWOWUWB*****D*****G*****GX****P*****T*****K*****KX****ULUMUN".match(/.{1,2}/g),l=[32768,49408,49408,49408,49408,164,164,164,164,164,164,132,132,164,164,132,132,132,132,132,132,132,68,4164,4164,4164,4164,2124,3148,2124,1096,16460,9280,8256,8256,9280,64,64,9284,8260,8260,9284,8264,8256,76,8260,0,0,180,180,180,148,148,148,78,78,78,1102,1102,1102,78,78,78,78,78,78,75,75,75,1099,1099,1099,75,75,75,75,75,75,128,193,193],s=[0,4626,4626,4626,2056,2824,2312,2824,3592,3851,2822,4108,3082,1541,1541,3595,3082,3594,3082,2825,2056,2055,2825,2567,2310,2056,2054,2055,2055,2055,770,1285,514,514,514,514,514,514,1542,1542,2055,1542,1542,514,2312,1027,513,286,3597,3852,3852,3852,3598,3593,2054,513,514,1797,513,257,1798,513,514,1798,513,514,2056,514,514,1540,514,514,1798,513,1028,1798,257,1028,1479,1535];function G(n,r){var t=L.findIndex(function(t){return t===n+r&&"*"!==t[1]});return-1!==t&&t}function h(n){var r=L.findIndex(function(r){return r===n+"*"});return-1!==r&&r}function M(r,t){return n(l[r],t)}var K=23,d=57,C=69,X=1,F=2,Z=8192,g=4096,P=2048,p=1024,w=256,B=128,V=64,b=32,m=16,J=8,y=4,k=2,Q=1;function x(r){if(!r)return!1;var t=function(n){return n===o.length-1?D:o[n]},H=function(n,r){o[n]=r},A=function(n,r,t,H){for(var A=o.length-1;A>=n;A--)o[A+1]=o[A],u[A+1]=e(A),i[A+1]=E(A);o[n]=r,u[n]=0|H,i[n]=t},E=function(n){return 0|i[n]},e=function(n){return 0|u[n]},f=function(n,r){u[n]=r},i=[],u=[],o=[],O=0;!function R(n,r,t){for(var H=0;H<n.length;H++){var A=n[H],E=void 0;if(!1===(E=G(A,n[H+1]||"")))if(!1===(E=h(A))){for(E=v.length;A!==v[E]&&E>0;)--E;if(0===E)throw Error();t(E)}else r(E);else H++,r(E)}}(r,function(n){i[O]=0,u[O]=0,o[O++]=n},function(n){i[O-1]=n}),o[O]=D,function I(n,r,t,H){for(var A,E=function(A,E){switch(A){case 53:M(t(E-1),p)&&r(E,16);break;case 42:n(E+1,43,H(E));break;case 44:n(E+1,45,H(E))}},e=function(t,A){r(t,13),n(t+1,A,H(t))},f=-1;(A=t(++f))!==D;)if(0!==A)if(M(A,m))n(f+1,M(A,b)?21:20,H(f)),E(A,f);else if(78!==A)if(79!==A)if(80!==A)if(M(A,B)&&H(f))t(f+1)||(A=t(f+2))!==D&&M(A,B)&&H(f+2)&&n(f+2,31,0);else{var i=0===f?D:t(f-1);if(A!==K)if(24===A&&M(i,B))r(f,19);else if(60!==i||32!==A)if(60!==A){if(72===A){var u=t(f+1);M(u,b)&&u!==D||(r(f,75),A=75)}M(A,Q)&&32===i?r(f,A-12):M(A,Q)||E(A,f),69!==A&&57!==A||f>0&&M(t(f-1),B)&&((A=t(f+1))||(A=t(f+2)),M(A,B)&&!H(f+1)&&r(f,30))}else{var o=t(f+1);M(o,b)||o===D||r(f,63)}else r(f,38);else switch(i){case C:r(f-1,42);break;case d:r(f-1,44);break;default:M(i,B)&&r(f,18)}}else e(f,28);else e(f,27);else e(f,24)}(A,H,t,E),function Y(n,r,t){for(var H,A=0;(H=n(A))!==D;){if(M(H,V)&&(H=n(A+1))!==D&&M(H,B)){var E=r(A+1);0!==E&&E<128&&t(A,E+1)}++A}}(t,E,function(n,r){i[n]=r}),function a(n,r,t){for(var H,A=0;(H=n(A))!==D;){var E=r(A);t(A,0===E||E>127?255&s[H]:s[H]>>8),A++}}(t,E,f),function U(r,t,H){for(var A=0;r(A)!==D;A++)if(M(r(A),w)){for(var E=A;--A>1&&!M(r(A),B););if(0===A)break;for(;A<E;A++)if(!M(r(A),Z)||M(r(A),y)){var e=H(A);t(A,(e>>1)+e+1)}}for(var f,i=-1;(f=r(++i))!==D;){var u=i;if(M(f,B)){if(!M(f=r(++u),V)){18!==f&&19!==f||!M(r(++u),V)||t(i,H(i)-1);continue}var o=f===D?V|Q:l[f];if(!n(o,y)){if(n(o,Q)){var O=H(i);t(i,O-(O>>3))}continue}var R=H(i);t(i,(R>>2)+R+1)}else if(M(f,P))(f=r(++u))!==D&&M(f,k)&&(t(u,6),t(u-1,5));else if(M(f,k)){for(;0===(f=r(++u)););f!==D&&M(f,k)&&(t(u,1+(H(u)>>1)),t(i,1+(H(i)>>1)))}else u>0&&M(f,g)&&M(r(u-1),k)&&t(u,H(u)-2)}}(t,f,e),function N(n,r,t){for(var H,A=-1;(H=n(++A))!==D;)if(M(H,k)){if(M(H,Q)){var E=void 0,e=A;do{E=n(++e)}while(0===E);if(E!==D&&(M(E,J)||36===E||37===E))continue}r(A+1,H+1,t(A),255&s[H+1]),r(A+2,H+2,t(A),255&s[H+2]),A+=2}}(t,A,E);for(var c=0;c<o.length;c++)if(o[c]>80){o[c]=D;break}return function W(n,r,t,H,A,E){for(var e,f=255,i=0,u=-1;(e=n(++u))!==D;)if((i+=A(u))<232){if(M(e,w)){i=0,t(u+1,T,0,0);continue}0===e&&(f=u)}else r(u=f,31),E(u,4),H(u,0),i=0,t(u+1,T,0,0)}(t,H,A,E,e,f),o.map(function(n,r){return[n,0|u[r],0|i[r]]})}var j=[24,26,23,23,23],$=[0,224,230,236,243,249,0,6,12,6],_=[0,31,31,31,31,2,2,2,2,2,2,2,2,2,5,5,2,10,2,8,5,5,11,10,9,8,8,160,8,8,23,31,18,18,18,18,30,30,20,20,20,20,23,23,26,26,29,29,2,2,2,2,2,2,26,29,27,26,29,27,26,29,27,26,29,27,23,29,23,23,29,23,23,29,23,23,29,23,23,23],q=[0,2,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,3,2,4,4,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,1,0,1,0,1,0,5,5,5,5,5,4,4,2,0,1,2,0,1,2,0,1,2,0,1,2,0,2,2,0,1,3,0,2,3,0,2,160,160],z=[0,2,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,4,4,3,3,3,3,3,1,2,3,2,1,3,3,3,3,1,1,3,3,3,2,2,3,2,3,0,0,5,5,5,5,4,4,2,0,2,2,0,3,2,0,4,2,0,3,2,0,2,2,0,2,3,0,3,3,0,3,176,160],nn=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,226,211,187,124,149,1,2,3,3,0,114,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,25,0,0,0,0,0,0,0,0,0],rn=[0,5980947,5980947,5980947,5980947,7230474,6113294,5980690,5783064,5842970,5712918,5774868,5383184,5843988,6113294,4075538,5383182,5774866,4076050,7218192,5250060,6112270,5904394,3944978,7216654,5904394,7229960,5320198,7943686,6641158,7943686,5980945,6506758,6967046,5315078,7946758,6113550,5383440,6107913,6767114,4990984,6106890,6639366,6639366,7946758,6639365,7958022,0,5916690,5776922,5774868,5777946,5774866,5382668,5315078,5315078,5315078,7946758,7946758,7946758,7368198,7237126,7237126,6181894,6181894,6181894,5315078,5315078,5315078,7946758,7946758,7946758,6647046,6641162,7367946,6181894,6181894,6181894,556844,98067],tn=[0,0,0,0,0,526861,461581,527630,527887,68879,68623,3087,68367,2316,461581,330508,68623,3087,396301,67597,2061,461838,2061,330252,67597,2061,526861,780,2313,198153,0,0,0,0,0,0,0,0,779,66827,779,1035,0,0,1,66827,920064,66050,593422,68879,3087,68879,3087,2061,2,260,0,2,260,0,1,260,0,1,260,0,0,0,0,0,0,0,0,461324,0,0,330240,0,1245199,1048591],Hn=[56,132,107,25,198,99,24,134,115,152,198,177,28,202,49,140,199,49,136,194,48,152,70,49,24,198,53,12,202,49,12,198,33,16,36,105,18,194,49,20,196,113,8,74,34,73,171,106,168,172,73,81,50,213,82,136,147,108,148,34,21,84,210,37,150,212,80,165,70,33,8,133,107,24,196,99,16,206,107,24,140,113,25,140,99,53,12,198,51,153,204,108,181,78,162,153,70,33,40,130,149,46,227,48,156,197,48,156,162,177,156,103,49,136,102,89,44,83,24,132,103,80,202,227,10,172,171,48,172,98,48,140,99,16,148,98,177,140,130,40,150,51,152,214,181,76,98,41,165,74,181,156,198,49,20,214,56,156,75,180,134,101,24,174,103,28,166,99,25,150,35,25,132,19,8,166,82,172,202,34,137,110,171,25,140,98,52,196,98,25,134,99,24,196,35,88,214,163,80,66,84,74,173,74,37,17,107,100,137,74,99,57,138,35,49,42,234,162,169,68,197,18,205,66,52,140,98,24,140,99,17,72,102,49,157,68,51,29,70,49,156,198,177,12,205,50,136,196,115,24,134,115,8,214,99,88,7,129,224,240,60,7,135,144,60,124,15,199,192,192,240,124,30,7,128,128,0,28,120,112,241,199,31,192,12,254,28,31,31,14,10,122,192,113,242,131,143,3,15,15,12,0,121,248,97,224,67,15,131,231,24,249,193,19,218,233,99,143,15,131,131,135,195,31,60,112,240,225,225,227,135,184,113,14,32,227,141,72,120,28,147,135,48,225,193,193,228,120,33,131,131,195,135,6,57,229,195,135,7,14,28,28,112,244,113,156,96,54,50,195,30,60,243,143,14,60,112,227,199,143,15,15,14,60,120,240,227,135,6,240,227,7,193,153,135,15,24,120,112,112,252,243,16,177,140,140,49,124,112,225,134,60,100,108,176,225,227,15,35,143,15,30,62,56,60,56,123,143,7,14,60,244,23,30,60,120,242,158,114,73,227,37,54,56,88,57,226,222,60,120,120,225,199,97,225,225,176,240,240,195,199,14,56,192,240,206,115,115,24,52,176,225,199,142,28,60,248,56,240,225,193,139,134,143,28,120,112,240,120,172,177,143,57,49,219,56,97,195,14,14,56,120,115,23,30,57,30,56,100,225,241,193,78,15,64,162,2,197,143,129,161,252,18,8,100,224,60,34,224,69,7,142,12,50,144,240,31,32,73,224,248,12,96,240,23,26,65,170,164,208,141,18,130,30,30,3,248,62,3,12,115,128,112,68,38,3,36,225,62,4,78,4,28,193,9,204,158,144,33,7,144,67,100,192,15,198,144,156,193,91,3,226,29,129,224,94,29,3,132,184,44,15,128,177,131,224,48,65,30,67,137,131,80,252,36,46,19,131,241,124,76,44,201,13,131,176,181,130,228,232,6,156,7,160,153,29,7,62,130,143,112,48,116,64,202,16,228,232,15,146,20,63,6,248,132,136,67,129,10,52,57,65,198,227,28,71,3,176,184,19,10,194,100,248,24,249,96,179,192,101,32,96,166,140,195,129,32,48,38,30,28,56,211,1,176,38,64,244,11,195,66,31,133,50,38,96,64,201,203,1,236,17,40,64,250,4,52,224,112,76,140,29,7,105,3,22,200,4,35,232,198,154,11,26,3,224,118,6,5,207,30,188,88,49,113,102,0,248,63,4,252,12,116,39,138,128,113,194,58,38,6,192,31,5,15,152,64,174,1,127,192,7,255,0,14,254,0,3,223,128,3,239,128,27,241,194,0,231,224,24,252,224,33,252,128,60,252,64,14,126,0,63,62,0,15,254,0,31,255,0,62,240,7,252,0,126,16,63,255,0,63,56,14,124,1,135,12,252,199,0,62,4,15,62,31,15,15,31,15,2,131,135,207,3,135,15,63,192,7,158,96,63,192,3,254,0,63,224,119,225,192,254,224,195,224,1,223,248,3,7,0,126,112,0,124,56,24,254,12,30,120,28,124,62,14,31,30,30,62,0,127,131,7,219,135,131,7,199,7,16,113,255,0,63,226,1,224,193,195,225,0,127,192,5,240,32,248,240,112,254,120,121,248,2,63,12,143,3,15,159,224,193,199,135,3,195,195,176,225,225,193,227,224,113,240,0,252,112,124,12,62,56,14,28,112,195,199,3,129,193,199,231,0,15,199,135,25,9,239,196,51,224,193,252,248,112,240,120,248,240,97,199,0,31,248,1,124,248,240,120,112,60,124,206,14,33,131,207,8,7,143,8,193,135,143,128,199,227,0,7,248,224,239,0,57,247,128,14,248,225,227,248,33,159,192,255,3,248,7,192,31,248,196,4,252,196,193,188,135,240,15,192,127,5,224,37,236,192,62,132,71,240,142,3,248,3,251,192,25,248,7,156,12,23,248,7,224,31,161,252,15,252,1,240,63,0,254,3,240,31,0,253,0,255,136,13,249,1,255,0,112,7,192,62,66,243,13,196,127,128,252,7,240,94,192,63,0,120,63,129,255,1,248,1,195,232,12,228,100,143,228,15,240,7,240,194,31,0,127,192,111,128,126,3,248,7,240,63,192,120,15,130,7,254,34,119,112,2,118,3,254,0,254,103,0,124,199,241,142,198,59,224,63,132,243,25,216,3,153,252,9,184,15,248,0,157,36,97,249,13,0,253,3,240,31,144,63,1,248,31,208,15,248,55,1,248,7,240,15,192,63,0,254,3,248,15,192,63,0,250,3,240,15,128,255,1,184,7,240,1,252,1,188,128,19,30,0,127,225,64,127,160,127,176,0,63,192,31,192,56,15,240,31,128,255,1,252,3,241,126,1,254,1,240,255,0,127,192,29,7,240,15,192,126,6,224,7,224,15,248,6,193,254,1,252,3,224,15,0,252],An=[10,14,19,24,27,23,21,16,20,14,18,14,18,18,16,13,15,11,18,14,11,9,6,6,6],En=[19,27,21,27,18,13],en=[84,73,67,63,40,44,31,37,45,73,49,36,30,51,37,29,69,24,50,30,24,83,46,54,86],fn=[72,39,31,43,30,34];function un(n,r){return(n*r>>8&255)<<1}var on=255,On=1;function Rn(n,r,t){var H,A=r;for(r<30?r=0:r-=30;127===(H=t[r]);)++r;for(;r!==A;)for(H+=n,t[r]=255&H;++r!==A&&255===t[r];);}function In(n,r,t,H,A,E){r=void 0===r?64:255&r,t=void 0===t?128:255&t,H=void 0===H?128:255&H,A=255&(A||72),E=E||!1;for(var e=function f(n){var r=new Uint8Array(n),t=0,H=0,A=function(n,r){var t=16*(15&r);A.ary(n,[t,t,t,t,t])};return A.ary=function(n,A){if(((t+=[[162,167,167,127,128],[226,60,60,0,0],[225,60,59,0,0],[200,0,0,54,55],[199,0,0,54,54]][H][n])/50|0)>r.length)throw new Error;H=n;for(var E=0;E<5;E++)r[(t/50|0)+E]=A[E]},A.get=function(){return r.slice(0,t/50|0)},A}(441*n.reduce(function(n,r){return n+20*r[1]},0)/50*A|0),i=function u(n,r){var t=[[],[],[]];rn.map(function(n,r){t[0][r]=255&n,t[1][r]=n>>8&255,t[2][r]=n>>16&255});for(var H=5;H<30;H++)t[0][H]=un(n,An[H-5]),t[1][H]=un(r,en[H-5]);for(var A=0;A<6;A++)t[0][A+48]=un(n,En[A]),t[1][A+48]=un(r,fn[A]);return t}(t,H),o=0,O=[];;){var R=n[o],I=R[0];if(I){if(I===D)return Y(O),e.get();I===T?(Y(O),O=[]):O.push(R)}++o}function Y(n){if(0!==n.length){var t=function H(n,r,t){for(var H=[],A=[[],[],[]],E=[[],[],[]],e=[],f=0,i=0;i<r.length;i++){var u=r[i][0];u===X?Rn(On,f,H):u===F&&Rn(on,f,H);for(var o=$[r[i][2]],O=r[i][1];O>0;O--)A[0][f]=t[0][u],A[1][f]=t[1][u],A[2][f]=t[2][u],E[0][f]=255&tn[u],E[1][f]=tn[u]>>8&255,E[2][f]=tn[u]>>16&255,e[f]=nn[u],H[f]=n+o&255,f++}return[H,A,E,e]}(r,n,i),f=t[0],u=t[1],o=t[2],O=t[3],R=function I(n,r,t,H){for(var A,E,e=[n,r[0],r[1],r[2],t[0],t[1],t[2]],f=function(n,r){return e[n][r]},i=function(n,r,t,H){for(var A=H<0,E=Math.abs(H)%n,i=H/n|0,u=0,o=n;--o>0;){var O=f(r,t)+i;(u+=E)>=n&&(u-=n,A?O--:O&&O++),e[r][++t]=O,O+=i}},u=0,o=0;o<H.length-1;o++){var O=H[o][0],R=H[o+1][0],I=_[R],Y=_[O];Y===I?(A=q[O],E=q[R]):Y<I?(A=z[R],E=q[R]):(A=q[O],E=z[O]);var a=(u+=H[o][1])+E,U=u-A,N=A+E;if(0==(N-2&128)){var c=H[o][1]>>1,W=H[o+1][1]>>1;i(c+W,0,U,n[u+W]-n[u-c]);for(var S=1;S<7;S++)i(N,S,U,f(S,a)-f(S,U))}}return u+H[H.length-1][1]&255}(f,u,o,n);if(!E)for(var Y=0;Y<f.length;Y++)f[Y]-=u[0][Y]>>1;for(var a=[0,1,2,2,2,3,3,4,4,5,6,8,9,11,13,15,0],U=o[0].length-1;U>=0;U--)o[0][U]=a[o[0][U]],o[1][U]=a[o[1][U]],o[2][U]=a[o[2][U]];!function N(n,r,t,H,A,E){var f=function(n,r,t){var A,E=(7&r)-1,f=256*E&65535,i=248&r;function u(n,r,t,H){var E=8,i=Hn[f+A];do{0!=(128&i)?e(n,r):e(t,H),i<<=1}while(--E)}if(0===i){var o=H[255&t]>>4^255;A=255&n;do{u(3,26,4,6),A++,A&=255}while(255&++o);return A}A=255^i;var O=255&j[E];do{u(2,5,1,O)}while(255&++A);return n},i=function(n){return 127*Math.sin(2*Math.PI*(n/256))|0},u=r,o=0,O=0,R=0,I=0,Y=0,a=H[0],U=.75*a|0;for(;n;){var N=E[Y];if(0!=(248&N))I=f(I,N,Y),Y+=2,n-=2,u=r;else{for(var c=[],W=256*o,S=256*O,T=256*R,D=0;D<5;D++){var v=i(255&W>>8),L=i(255&S>>8),l=(255&T>>8)<129?-112:112,s=v*(15&A[0][Y]),G=L*(15&A[1][Y]),h=l*(15&A[2][Y]),M=s+G+h;M/=32,M+=128,c[D]=0|M,W+=256*t[0][Y]/4,S+=256*t[1][Y]/4,T+=256*t[2][Y]/4}if(e.ary(0,c),0===--u){if(Y++,0===--n)return;u=r}if(0!==--a){if(0!==--U||0===N){o+=t[0][Y],O+=t[1][Y],R+=t[2][Y];continue}I=f(I,N,Y)}}a=H[Y],U=.75*a|0,o=0,O=0,R=0}}(R,A,u,f,o,O)}}}function Yn(n,r){void 0===r&&(r={});var t=x(n);return!1!==t&&In(t,r.pitch,r.mouth,r.throat,r.speed,r.singmode)}var an=function Un(n){return function(){for(var r=" "+n.toUpperCase(),t=0,H="",A=function(n,r){t+=r,H+=n},E=0;t<r.length&&E++<1e4;){var u=r[t];if("."!==u||U(r,t+1,f)){if(a(u,i)){S.some(function(n){return n(r,t,A)});continue}if(0!==e[u]){if(!a(u,Y))return!1;W[u].some(function(n){return n(r,t,A)});continue}H+=" ",t++}else H+=".",t++}return H}()},Nn=Yn,cn=function Wn(n,r){var t=Yn(n,r);return!1!==t&&function H(n){for(var r=new Float32Array(n.length),t=0;t<n.length;t++)r[t]=(n[t]-128)/256;return r}(t)};function Sn(n){var A=this,e=n||{},f=function(n,r){return r||e.phonetic?n.toUpperCase():an(n)};this.buf8=function(n,r){return Nn(f(n,r),e)},this.buf32=function(n,r){return cn(f(n,r),e)},this.speak=function(n,r){return E(A.buf32(n,r))},this.download=function(n,E){!function e(n){var A=new Uint8Array(44+n.length),E=0,e=function(n){A.set(n,E),E+=n.length};e(r("RIFF")),e(t(n.length+12+16+8-8)),e(r("WAVE")),e(r("fmt ")),e(t(16)),e(H(1)),e(H(1)),e(t(22050)),e(t(22050)),e(H(1)),e(H(8)),e(r("data")),e(t(n.length)),e(n);var f=new Blob([A],{type:"audio/vnd.wave"}),i=window.URL||window.webkitURL,u=i.createObjectURL(f),o=document.createElement("a");o.href=u,o.target="_blank",o.download="sam.wav",document.body.appendChild(o),o.click(),document.body.removeChild(o),i.revokeObjectURL(u)}(A.buf8(n,E))}}Sn.buf8=Nn,Sn.buf32=cn,Sn.convert=an;export default Sn;
  //# sourceMappingURL=samjs.esm.min.js.map