1!function(){"use strict";var t={};function a(a){if(t[a])return t[a];var r=new Image;return r.src="assets/lessons/art/"+a,t[a]=r,r}function r(t){return t.complete&&t.naturalWidth>0}function e(t){return Math.max(0,Math.min(1,t))}function n(t,a,r){return e((t-a)/(r-a))}function o(t){return t*t*(3-2*t)}var i={identity:"#FFC733",people:"#4DD7E6",accomplishments:"#47D170",spiritual:"#FF7BD1","life story":"#B388FF",physical:"#FF8C4D"};function s(t,e,n,o,i){var s=a("starfield.jpg");if(r(s)){var l=Math.max(e/s.naturalWidth,n/s.naturalHeight),h=s.naturalWidth*l,u=s.naturalHeight*l;t.drawImage(s,(e-h)/2,(n-u)/2,h,u)}else t.fillStyle="#05050D",t.fillRect(0,0,e,n);for(var v=0;v<i.length;v++){var f=i[v];t.globalAlpha=.2+.3*(.5+.5*Math.sin(.001*o*f.s+f.p)),t.fillStyle="#AFC2FF",t.beginPath(),t.arc(f.x,f.y,f.r,0,2*Math.PI),t.fill()}t.globalAlpha=1}function l(t,a,r){for(var e=[],n=0;n<r;n++)e.push({x:Math.random()*t,y:Math.random()*a,r:.5+1.4*Math.random(),p:Math.random()*Math.PI*2,s:.4+1.1*Math.random()});return e}function h(t,a,r,e,n,o){var i=t.createRadialGradient(a,r,0,a,r,e);i.addColorStop(0,"rgba("+n+","+.85*o+")"),i.addColorStop(.45,"rgba("+n+","+.3*o+")"),i.addColorStop(1,"rgba("+n+",0)"),t.fillStyle=i,t.beginPath(),t.arc(a,r,e,0,2*Math.PI),t.fill()}function u(t,e,n,o,i,s){var l=a("mind_orb.jpg"),u=o*(1+(s||.05)*Math.sin(.0012*i));return t.save(),t.globalCompositeOperation="lighter",r(l)?t.drawImage(l,e-u/2,n-u/2,u,u):h(t,e,n,u/2,"120,220,200",.8),t.restore(),u}function v(t,e,n,o,i,s,l,u){var v=a(e),f=s*(1+(u||.04)*Math.sin(.0014*l));return t.save(),t.globalCompositeOperation="lighter",r(v)?t.drawImage(v,o-f/2,i-f/2,f,f):h(t,o,i,f/2,n,.8),t.restore(),f}function f(t,a,r,e,n){return v(t,"ep_orb.jpg","255,200,90",a,r,e,n)}function g(t,a,r,e,n){return v(t,"p_orb.jpg","110,180,255",a,r,e,n)}function p(t,a,r,e,n,o,i,s){t.save(),t.globalAlpha=i,t.font="800 "+n+"px Inter, Arial, sans-serif",t.textAlign="center",t.textBaseline="middle",t.shadowColor=o,t.shadowBlur=Math.min(null==s?12:s,14),t.fillStyle=o,t.fillText(a,r,e),t.shadowBlur=0,t.fillStyle="#FFFFFF",t.globalAlpha=.85*i,t.fillText(a,r,e),t.restore()}var c={intro:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust);var v=o(n(l,0,.15));t.globalAlpha=.35+.65*v,u(t,a/2,.52*r,.52*r,i,.06),t.globalAlpha=1,t.save(),t.globalCompositeOperation="lighter";for(var f=0;f<7;f++){var g=22e-5*i*(f%2?1:-1)+.9*f,p=r*(.3+.05*Math.sin(2.1*f));h(t,a/2+Math.cos(g)*p,.52*r+Math.sin(g)*p*.6,10+4*Math.sin(.002*i+f),f%2?"180,140,255":"12
10,230,210",.5)}t.restore()}},organs:function(t,e,i,l){var u={x:.452,y:.275},v={x:.548,y:.275},f={x:.505,y:.29},g={x:.5,y:.095};return function(p,c){s(t,e,i,p,l.dust);var d=a("body.jpg"),M=0,m=0,F=e,b=i;if(r(d)){var C=Math.min(e/d.naturalWidth,.98*i/d.naturalHeight);F=d.naturalWidth*C,b=d.naturalHeight*C,M=(e-F)/2,m=(i-b)/2,t.save(),t.globalCompositeOperation="lighter",t.drawImage(d,M,m,F,b),t.restore()}function P(t){return[M+t.x*F,m+t.y*b]}t.save(),t.globalCompositeOperation="lighter";var y=n(c,.16,.5);if(y>0){var w=.7+.3*Math.sin(.0035*p),I=o(Math.min(3*y,1))*(c<.55?1:.35)*w,x=P(u),A=P(v);h(t,x[0],x[1],.075*b,"90,180,255",I),h(t,A[0],A[1],.075*b,"90,180,255",I)}var E=n(c,.34,.62);if(E>0){var S=Math.pow(.5+.5*Math.sin(.0075*p),3),O=o(Math.min(3*E,1))*(c<.66?1:.35)*(.55+.45*S),k=P(f);h(t,k[0],k[1],.05*b+8*S,"255,90,110",O)}var W=n(c,.58,1);if(W>0){var T=P(g),D=o(Math.min(2.5*W,1));h(t,T[0],T[1],.075*b,"255,205,90",D*(.8+.2*Math.sin(.003*p)));for(var B=0;B<6;B++){var H=.0016*p*(B%2?1:-1)+1.05*B;h(t,T[0]+Math.cos(H)*b*.085,T[1]+Math.sin(H)*b*.05,6+3*Math.sin(.004*p+B),"255,225,150",.7*D)}}t.restore()}},brain:function(t,e,i,l){var u=.5,v=.095;return function(f,g){s(t,e,i,f,l.dust);var p=a("body.jpg"),c=0,d=0,M=e,m=i;if(r(p)){var F=Math.min(e/p.naturalWidth,.98*i/p.naturalHeight);M=p.naturalWidth*F,m=p.naturalHeight*F,c=(e-M)/2,d=(i-m)/2,t.save(),t.globalCompositeOperation="lighter",t.drawImage(p,c,d,M,m),t.restore()}var b=[c+u*M,d+v*m];t.save(),t.globalCompositeOperation="lighter";var C=o(n(g,.05,.22));h(t,b[0],b[1],.075*m,"255,205,90",C*(.8+.2*Math.sin(.003*f)));var P=n(g,.18,1);if(P>0&&C>0)for(var y=0;y<3;y++){var w=(35e-5*f+y/3)%1;t.beginPath(),t.arc(b[0],b[1],w*m*.55,0,2*Math.PI),t.strokeStyle="rgba(255,205,90,"+(.35*(1-w)*P*C).toFixed(3)+")",t.lineWidth=2.5,t.stroke()}for(var I=0;I<6;I++){var x=.0016*f*(I%2?1:-1)+1.05*I;h(t,b[0]+Math.cos(x)*m*.085,b[1]+Math.sin(x)*m*.05,6+3*Math.sin(.004*f+I),"255,225,150",.7*C)}t.restore()}},reactions:function(t,a,r,e){var i,l;return function(v,f){s(t,a,r,v,e.dust),u(t,i=a/2,l=.5*r,.44*r,v,.04),t.save(),t.globalCompositeOperation="lighter";var g=n(f,.1,.26);if(g>0&&g<1)for(var p=.98*a-(.98*a-i)*o(g),c=.18*r+(l-.18*r)*o(g),d=0;d<5;d++)h(t,p+26*(Math.random()-.5),c+26*(Math.random()-.5),10+14*Math.random(),"255,70,70",.9);var M=n(f,.26,.52);if(M>0&&M<1){h(t,i,l,.24*r*(.4+.6*(1-M)),"255,70,70",.5*(1-M));for(var m=0;m<2;m++){var F=.24*r*((M+.28*m)%1);t.strokeStyle="rgba(255,90,90,"+.75*(1-(M+.28*m)%1)+")",t.lineWidth=7,t.beginPath(),t.arc(i,l,.22*r*.55+F,0,2*Math.PI),t.stroke()}}var b=n(f,.55,.72);if(b>0&&b<1){var C=.02*a+(i-.02*a)*o(b),P=.82*r-(.82*r-l)*o(b);h(t,C,P,26+8*Math.sin(.01*v),"255,210,110",.95),h(t,C-30*(1-b),P+20*(1-b),14,"255,230,160",.5)}var y=n(f,.72,1);if(y>0){h(t,i,l,.3*r*o(Math.min(1.6*y,1)),"120,230,150",.45*(.7+.3*Math.sin(.004*v)));for(var w=0;w<10;w++){var I=.63*w+4e-4*v,x=.16*r*o(y)*(1+.25*Math.sin(.002*v+w));h(t,i+Math.cos(I)*x,l+Math.sin(I)*x*.8,8,"190,255,190",.6*y)}}t.restore()}},example:function(t,a,r,e,n){var o=(n.items||[]).slice(0,24),l=String(n.highlight||"").toLowerCase();function u(t){for(var a=0,r=0;r<t.length;r++)a=31*a+t.charCodeAt(r)|0;return Math.abs(a)}return function(n,v){s(t,a,r,n,e.dust);var f=a/2,g=.52*r,p=.4*r;t.save();for(var c=1;c<=4;c++)t.strokeStyle="rgba(255,255,255,0.10)",t.lineWidth=2,t.beginPath(),t.ellipse(f,g,p*c/4,p*c/4*.8,0,0,2*Math.PI),t.stroke();h(t,f,g,46,"255,255,255",.5),t.globalCompositeOperation="lighter";for(var d=f,M=g,m="255,199,51",F=0;F<o.length;F++){var b=o[F],C=String(b.label||""),P=p*(.25+.75*(1-Math.max(0,Math.min(100,0|b.attachment_power))/100)),y=u(C)%628/100+4e-5*n,w=f+Math.cos(y)*P,I=g+Math.sin(y)*P*.8,x=i[String(b.category||"").toLowerCase()]||"#8C8C99",A=parseInt(x.slice(1,3),16)+","+parseInt(x.slice(3,5),16)+","+parseInt(x.slice(5,7),16);C.toLowerCase()!==l?h(t,w,I,14,A,.55):(d=w,M=I,m=A)}var E=v<.5,S=.7+.3*Math.sin(.005*n);h(t,d,M,60*S,E?"255,80,90":"255,205,90",.9),h(t,d,M,22,m,1),t.strokeStyle=E?"rgba(255,90,100,0.7)":"rgba(255,210,110,0.7)",t.lineWidth=4,t.beginPath(),t.arc(d,M,40+14*S,0,2*Math.PI),t.stroke(),t.restore(
1)}},dials:function(t,e,i,l){for(var u=[],v=0;v<130;v++)u.push({x:Math.random()*e,y:Math.random()*i*.55,vx:Math.random()-.5,vy:Math.random()-.5,p:Math.random()*Math.PI*2});return function(v,f){s(t,e,i,v,l.dust);var g=o(n(f,.25,.9));t.save(),t.globalCompositeOperation="lighter";for(var p=0;p<u.length;p++){var c=u[p],d=7*(1-g);c.x+=c.vx*(.4+d*Math.sin(.01*v+c.p)),c.y+=c.vy*(.4+d*Math.cos(.012*v+c.p)),c.x<0&&(c.x+=e),c.x>e&&(c.x-=e),c.y<0&&(c.y+=.55*i),c.y>.55*i&&(c.y-=.55*i);var M=g<.5?p%3?"180,70,80":"150,150,170":"255,210,120";h(t,c.x,c.y,5+5*g,M,.35+.35*g)}for(var m=a("dial.jpg"),F=.3*i,b=[[.3*e,.76*i],[.7*e,.76*i]],C=0;C<2;C++){var P=b[C][0],y=b[C][1];r(m)?t.drawImage(m,P-F/2,y-F/2,F,F):h(t,P,y,F/2,"255,205,90",.4);var w=1.25*Math.PI+(.5*Math.PI+g*Math.PI)*(0===C?g:o(n(f,.35,.95)));t.strokeStyle="rgba(255,220,140,0.95)",t.lineWidth=6,t.lineCap="round",t.shadowColor="#FFD478",t.shadowBlur=14,t.beginPath(),t.moveTo(P,y),t.lineTo(P+Math.cos(w)*F*.3,y+Math.sin(w)*F*.3),t.stroke(),t.shadowBlur=0}t.restore()}},eoeHook:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust),u(t,a/2,.48*r,.42*r,i,.04),t.save(),t.globalCompositeOperation="lighter";var h=i%2600/2600;if(h<.14&&l>.08){var v=1-h/.14;t.strokeStyle="rgba(255,255,255,"+.7*v+")",t.lineWidth=6,t.beginPath(),t.arc(a/2,.48*r,.22*r+(1-v)*r*.16,0,2*Math.PI),t.stroke()}var f=n(l,.62,1);f>0&&p(t,"EP â P = ER",a/2,.87*r,74,"#B9C6FF",.3*o(f),30),t.restore()}},eoeTwoParts:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust),u(t,a/2,.48*r,.36*r,i,.04);var h=o(n(l,.12,.5)),v=6e-4*i,p=.3*r,c=a/2+Math.cos(v)*p,d=.48*r+Math.sin(v)*p*.55,M=a/2-Math.cos(v)*p,m=.48*r-Math.sin(v)*p*.55;t.globalAlpha=h,f(t,c,d,.17*r,i),g(t,M,m,.17*r,i),t.globalAlpha=1}},eoeEP:function(t,a,r,e){for(var i=[],l=0;l<26;l++)i.push({a:Math.random()*Math.PI*2,r:.24+.2*Math.random(),s:.3+.8*Math.random(),ph:Math.random()*Math.PI*2});return function(l,u){s(t,a,r,l,e.dust),f(t,a/2,.46*r,.46*r,l),t.save(),t.globalCompositeOperation="lighter";for(var v=o(n(u,.15,.6)),g=0;g<i.length;g++){var c=i[g],d=c.a+2e-4*l*c.s,M=r*c.r*(1+.06*Math.sin(.001*l+c.ph));h(t,a/2+Math.cos(d)*M*1.35,.46*r+Math.sin(d)*M,5+4*Math.sin(.003*l+c.ph),"255,214,120",.55*v)}var m=o(n(u,.08,.18));m>0&&(p(t,"EP",a/2,.46*r,150*(1+.4*(1-m)),"#FFD478",m*(.9+.1*Math.sin(.003*l)),36),p(t,"EXPECTATION / PREFERENCE",a/2,.88*r,30,"#FFD478",.6*m,14));t.restore()}},eoeP:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust);var h=26+10*Math.sin(.0016*i);t.globalAlpha=.28,g(t,a/2+h,.46*r+.4*h,.46*r,i),t.globalAlpha=1,g(t,a/2,.46*r,.46*r,i);var u=o(n(l,.06,.16));u>0&&(t.save(),t.globalCompositeOperation="lighter",p(t,"P",a/2,.46*r,150*(1+.4*(1-u)),"#7EC8FF",u*(.9+.1*Math.sin(.003*i)),36),p(t,"PERCEPTION",a/2,.88*r,30,"#7EC8FF",.6*u,14),t.restore())}},eoeMatch:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust);var u=o(n(l,.08,.55)),v=a/2,p=.48*r,c=.3*a*(1-u);if(f(t,v-c-.09*r,p,.3*r,i),g(t,v+c+.09*r,p,.3*r,i),u>.96){t.save(),t.globalCompositeOperation="lighter",h(t,v,p,.26*r*(.8+.2*Math.sin(.004*i)),"150,255,180",.55);for(var d=0;d<9;d++){var M=(35e-5*i+.32*d)%1;h(t,v+Math.sin(2.4*d+.001*i)*r*.14,p-M*r*.34,7,"190,255,200",.7*(1-M))}t.restore()}}},eoeMismatch:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust);var h=o(n(l,.08,.4)),u=a/2,v=.48*r,c=.3*a-.135*a*h,d=l>.4?3*Math.sin(.05*i):0;if(f(t,u-c+d,v,.3*r,i),g(t,u+c-d,v,.3*r,i),h>.9){t.save(),t.globalCompositeOperation="lighter";for(var M=u-c+.14*r,m=u+c-.14*r,F=0;F<3;F++){t.strokeStyle="rgba(255,80,80,"+(.5+.3*Math.sin(.02*i+2*F))+")",t.lineWidth=4,t.beginPath(),t.moveTo(M,v);for(var b=1;b<=6;b++){var C=M+(m-M)*b/6,P=v+(6===b?0:30*Math.sin(.013*i+3*F+5*b));t.lineTo(C,P)}t.stroke()}p(t,"THE GAP",u,v-.2*r,34,"#FF7A7A",.5+.2*Math.sin(.004*i),18),t.restore()}}},eoeNoEP:function(t,a,r,e){return function(n,o){s(t,a,r,n,e.dust);var i=a/2,l=.48*r;t.save(),t.strokeStyle="rgba(255,214,120,0.28)",t.lineWidth=4,t.setLineDash([16,14]),t.beginPath(),t.arc(i-.
118*a,l,.145*r,0,2*Math.PI),t.stroke(),t.setLineDash([]),t.restore(),g(t,i+.18*a,l,.3*r,n),t.save(),t.globalCompositeOperation="lighter";for(var u=0;u<4;u++){h(t,a*(1.05-1.1*((12e-5*n+.25*u)%1)),l+Math.sin(2.2*u)*r*.16,9,"170,170,190",.5)}t.restore()}},eoeEquation:function(t,a,r,e){return function(i,l){s(t,a,r,i,e.dust);var h=.44*r,u=[.18*a,.36*a,.52*a,.68*a,.85*a],v=[.1,.22,.32,.42,.5],f=["EP","â","P","=","ER"],g=["#FFD478","#FFFFFF","#7EC8FF","#FFFFFF","#FF9BE0"];t.save(),t.globalCompositeOperation="lighter";for(var c=0;c<f.length;c++){var d=o(n(l,v[c],v[c]+.07));if(!(d<=0))p(t,f[c],u[c],h,120*(1+.5*(1-d)),g[c],d*(.85+.15*Math.sin(.003*i+c)),34)}var M=n(l,.58,.7);M>0&&(t.strokeStyle="rgba(185,198,255,"+.5*M+")",t.lineWidth=3,t.beginPath(),t.moveTo(.12*a,h+110),t.lineTo(.88*a,h+110),t.stroke(),p(t,"THE EQUATION OF EMOTION",a/2,h+170,34,"#B9C6FF",.6*M,16)),t.restore()}},eoePractice:function(t,a,r,e,i){var l=i&&i.lines&&i.lines.length?i.lines:["What did I want?","What did I think just happened?"];return function(i,h){s(t,a,r,i,e.dust),u(t,a/2,.24*r,.24*r,i,.05);for(var v=["#FFD478","#7EC8FF","#8CFF8C"],f=0;f<l.length;f++){var g=o(n(h,.12+.26*f,.3+.26*f));g>0&&p(t,l[f],a/2,r*(.52+.18*f)+30*(1-g),0===f?62:52,v[f%3],.95*g,12)}}},bigText:function(t,a,r,e,i){var l=i&&i.lines||[""];return function(i,h){s(t,a,r,i,e.dust),t.globalAlpha=.5,u(t,a/2,.78*r,.3*r,i,.06),t.globalAlpha=1;for(var v=0;v<l.length;v++){var f=o(n(h,.08+.22*v,.22+.22*v));f>0&&p(t,l[v],a/2,r*(.3+.16*v)+26*(1-f),0===v?84:58,0===v?"#FFFFFF":"#B9C6FF",.95*f,12)}}}};window.SelfApp=window.SelfApp||{},window.SelfApp.modules=window.SelfApp.modules||{},window.SelfApp.modules.lessonfx={play:function(t,a,r){r=r||{};var n=c[a];if(!n||!t)return{stop:function(){}};var o=t.getContext("2d"),i=t.width,s=t.height,h={dust:l(i,s,60)},u=n(o,i,s,h,r),v=0,f=!1,g=performance.now();return v=requestAnimationFrame(function a(n){if(!f&&t.isConnected){var l=0;try{l=e(r.progress?r.progress():(n-g)/2e4)}catch(h){l=0}o.clearRect(0,0,i,s),u(n,l),v=requestAnimationFrame(a)}}),{stop:function(){f=!0,cancelAnimationFrame(v)}}}}}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.