From c38668dbba249c79f525c22797318f39d59b492c Mon Sep 17 00:00:00 2001 From: Lukasz Fiszer Date: Sun, 24 Nov 2013 12:16:39 +0100 Subject: [PATCH] Avoid polluting global ns with `nodeFileReady` function --- dist/caman.full.js | 6 +++--- dist/caman.full.min.js | 6 +++--- dist/caman.full.pack.js | 2 +- dist/caman.js | 6 +++--- dist/caman.min.js | 6 +++--- dist/caman.pack.js | 2 +- src/core/caman.coffee | 3 ++- 7 files changed, 16 insertions(+), 15 deletions(-) diff --git a/dist/caman.full.js b/dist/caman.full.js index 904ce2ae..0aeb2cf8 100644 --- a/dist/caman.full.js +++ b/dist/caman.full.js @@ -4,8 +4,8 @@ __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, __slice = [].slice, __hasProp = {}.hasOwnProperty, - __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, - __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; + __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; moduleKeywords = ['extended', 'included']; @@ -211,7 +211,6 @@ }; function Caman() { - this.nodeFileReady = __bind(this.nodeFileReady, this); var args, callback, id, _this = this; if (arguments.length === 0) { @@ -220,6 +219,7 @@ if (this instanceof Caman) { this.finishInit = this.finishInit.bind(this); this.imageLoaded = this.imageLoaded.bind(this); + this.nodeFileReady = this.nodeFileReady.bind(this); args = arguments[0]; if (!Caman.NodeJS) { id = parseInt(Caman.getAttrId(args[0]), 10); diff --git a/dist/caman.full.min.js b/dist/caman.full.min.js index 4a8fa3f2..26fd1596 100644 --- a/dist/caman.full.min.js +++ b/dist/caman.full.min.js @@ -1,5 +1,5 @@ -(function(){var $,Analyze,Blender,Calculate,Caman,CamanParser,Canvas,Convert,Event,Fiber,Filter,IO,Image,Layer,Log,Module,Pixel,Plugin,Renderer,Root,Store,Util,fs,http,moduleKeywords,slice,vignetteFilters,__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(A(){M $,4H,2n,2j,D,4Z,3U,1X,2W,6F,R,2V,5x,3b,1Y,3I,26,2v,1Q,7X,31,1v,fs,6Y,82,4V,9v,72=[].fa||A(bU){X(M i=0,l=o.P;iE){u E}u 2h};1v.67=A(4F,3N,G){M 6J,H,1o,K,3P,1n;B(G==L){G={}}K=4F.e5;1n=[];X(H=0,1o=K.P;H<1o;H++){6J=K[H];B((G.9T!=L)&&(3P=6J.9O,72.1w(G.9T,3P)>=0)){66}1n.2k(3N.cL(6J.9O,6J.dd))}u 1n};1v.6y=A(P){B(P==L){P=0}B(D.2Q||(4G.cy!=L)){u 1C cy(P)}u 1C 5Z(P)};u 1v})();B(1r 2c!=="43"&&2c!==L){7X=2c;3U=71(\'I\');5x=3U.5x;6F=71(\'eQ\');fs=71(\'fs\');6Y=71(\'6Y\')}S{7X=4G}D=(A(cu){cP(D,cu);D.9u={ct:"4.1.2",cs:"7/27/de"};D.co=2u;D.6x=2Z;D.9r="cl";D.8q="";D.cj="df";D.2Q=1r 2c!=="43"&&2c!==L;D.cd=!D.2Q;D.5F=A(){u"dg "+D.9u.ct+", dh "+D.9u.cs};D.9g=A(I){B(D.2Q){u 2Z}B(1r I==="3g"){I=$(I)}B(!((I!=L)&&(I.5M!=L))){u L}u I.5M(\'1Z-3L-2R\')};A D(){o.5N=9t(o.5N,o);M 1l,2g,2R,1J=o;B(1m.P===0){2T"5T 1m";}B(o bW D){o.5U=o.5U.96(o);o.6l=o.6l.96(o);1l=1m[0];B(!D.2Q){2R=4i(D.9g(1l[0]),10);2g=1r 1l[1]==="A"?1l[1]:1r 1l[2]==="A"?1l[2]:A(){};B(!bP(2R)&&31.bO(2R)){u 31.44(2R,2g)}}o.2R=1v.8W.47();o.7o=o.5i=L;o.6A={x:0,y:0};o.bG=2u;o.7M=2u;o.6K=[];o.8O=[];o.8M=[];o.6P=L;o.bj=2u;o.du=1C 4H(o);o.4O=1C 1Q(o);o.bh(A(){1J.bg(1l);u 1J.bf()});u o}S{u 1C D(1m)}}D.N.bh=A(cb){M 8F,1J=o;B(D.2Q){u 8p(A(){u cb.1w(1J)},0)}S{B(28.8D==="8z"){1Y.2x("aT aS");u 8p(A(){u cb.1w(1J)},0)}S{8F=A(){B(28.8D==="8z"){1Y.2x("aT aS");u cb.1w(1J)}};u 28.aR("dE",8F,2u)}}};D.N.bg=A(1l){M 2r,2h,K,1n;B(1l.P===0){2T"5T 1m aP";}o.3a=L;o.8y=L;o.8x=L;o.2g=A(){};o.aL(1l[0]);B(1l.P===1){u}6j(1r 1l[1]){2i"3g":o.8x=1l[1];5m;2i"A":o.2g=1l[1]}B(1l.P===2){u}o.2g=1l[2];B(1l.P===4){K=1l[4];1n=[];X(2r 5a K){B(!6B.1w(K,2r))66;2h=K[2r];1n.2k(o.1F[2r]=2h)}u 1n}};D.N.aL=A(2F){B(D.2Q){o.3a=2F;o.8y=\'au\';u}B(1r 2F==="3X"){o.3a=2F}S{o.3a=$(2F)}B(o.3a==L){2T"dN dU dW 1f d0 I X dZ.";}u o.8y=o.3a.9O.6O()};D.N.bf=A(){6j(o.8y){2i"au":u o.cG();2i"1H":u o.cz();2i"I":u o.cr()}};D.N.cG=A(){1Y.2x("e8 X 2Q");B(1r o.3a==="3g"&&o.3a.7V(/^ch?:\\/\\//)){u o.ce(o.3a,o.5N)}S B(1r o.3a==="3g"){u fs.fc(o.3a,o.5N)}S{u o.5N(L,o.3a)}};D.N.ce=A(6R,2g){M 9w;1Y.2x("fj 1f 4F "+6R);9w=6Y.47(6R,A(4m){M 7I;7I=\'\';4m.fk(\'aD\');4m.9y(\'1Z\',A(ah){u 7I+=ah});u 4m.9y(\'1N\',A(){u 2g(L,1C fp(7I,\'aD\'))})});u 9w.9y(\'9z\',2g)};D.N.5N=A(9A,1Z){B(9A){2T 9A;}o.1f=1C 5x();o.1f.1E=1Z;1Y.2x("5x cH. cF = "+(o.56())+", cm = "+(o.54()));o.I=1C 3U(o.56(),o.54());u o.5U()};D.N.cz=A(){o.1f=o.3a;o.I=28.3d(\'I\');o.1j=o.I.3c(\'2d\');1v.67(o.1f,o.I,{9T:[\'1E\']});B(o.1f.7c!=L){o.1f.7c.9G(o.I,o.1f)}o.9I();u o.9J()};D.N.cr=A(){o.I=o.3a;o.1j=o.I.3c(\'2d\');B(o.8x!=L){o.1f=28.3d(\'1H\');o.1f.1E=o.8x;o.9I();u o.9J()}S{u o.5U()}};D.N.9I=A(){B(o.9K()){1Y.2x(o.1f.1E,"->",o.8h());o.bc=2Z;o.1f.1E=o.8h()}B(2V.aE(o.1f)){o.1f.1E=2V.51(o.1f.1E);u 1Y.2x("fu 1f fx, fF cK = "+o.1f.1E)}};D.N.9J=A(){B(o.cC()){u o.6l()}S{u o.1f.cx=o.6l}};D.N.cC=A(){B(!o.1f.8z){u 2u}B((o.1f.9N!=L)&&o.1f.9N===0){u 2u}u 2Z};D.N.56=A(){u o.1f.F||o.1f.9N};D.N.54=A(){u o.1f.J||o.1f.fN};D.N.6l=A(){1Y.2x("5x cH. cF = "+(o.56())+", cm = "+(o.54()));B(o.bc){o.I.F=o.56()/o.7p();o.I.J=o.54()/o.7p()}S{o.I.F=o.56();o.I.J=o.54()}u o.5U()};D.N.5U=A(){M i,1u,H,1o,K;B(o.1j==L){o.1j=o.I.3c(\'2d\')}o.4X=o.6s=o.F=o.I.F;o.5A=o.6z=o.J=o.I.J;o.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2P+=Q[i]}}o.4O.4j({1s:R.3i.a0,1q:1q,Q:Q,2P:2P,3k:3k});u o};D.N.59=A(4b,1l){o.4O.4j({1s:R.3i.2v,4b:4b,1l:1l});u o};D.N.32=A(2g){M 2b;2b=1C 3b(o);o.8M.2k(2b);o.4O.4j({1s:R.3i.9Y});2g.1w(2b);o.4O.4j({1s:R.3i.9X});u o};D.N.bn=A(2b){u o.bp(2b)};D.N.bp=A(2b){o.8O.2k(o.6P);o.6K.2k(o.T);o.6P=2b;u o.T=2b.T};D.N.bB=A(){o.T=o.6K.6n();u o.6P=o.8O.6n()};D.N.bR=A(){u o.6P.bV()};u D})(3I);7X.D=D;D.4H=(A(){A 4H(c){o.c=c}4H.N.fX=A(){M i,3n,6S,H,1e,1I,K;3n={r:{},g:{},b:{}};X(i=H=0;H<=E;i=++H){3n.r[i]=0;3n.g[i]=0;3n.b[i]=0}X(i=1e=0,K=o.c.T.P;1e0)){u}1n=[];X(H=0,1o=6r.P;H<1o;H++){1H=6r[H];1n.2k(cO=1C 4Z(1H,A(){o.cQ();u o.44()}))}u 1n};B(D.cd){(A(){B(28.8D==="8z"){u D.9W()}S{u 28.aR("fT",D.9W,2u)}})()}4Z=(A(){M 8a;8a="(\\\\w+)\\\\((.*?)\\\\)";A 4Z(4l,aa){o.aB=4l.5M(\'1Z-3L\');o.3L=D(4l,aa.96(o))}4Z.N.cQ=A(){M 1l,e,1y,5h,9V,9U,m,r,6U,H,1o,K,1n;o.4l=o.3L.I;r=1C bl(8a,\'g\');6U=o.aB.7V(r);B(!(6U.P>0)){u}r=1C bl(8a);1n=[];X(H=0,1o=6U.P;H<1o;H++){9V=6U[H];K=9V.7V(r),m=K[0],1y=K[1],1l=K[2];9U=1C fO("u A() { o."+1y+"("+1l+"); };");9R{5h=9U();1n.2k(5h.1w(o.3L))}9Q(6c){e=6c;1n.2k(1Y.2x(e))}}u 1n};4Z.N.44=A(){M 4l;4l=o.4l;u o.3L.aJ(A(){u 4l.7c.9G(o.bQ(),4l)})};u 4Z})();D.2n=(A(){A 2n(){}2n.9P={};2n.U=A(1q,5h){u o.9P[1q]=5h};2n.44=A(1q,Z,W){u o.9P[1q](Z,W)};u 2n})();2n=D.2n;D.2j=(A(){A 2j(){}2j.4Y=A(6C,6I,6L,6M){u O.7F(O.1S(6L-6C,2)+O.1S(6M-6I,2))};2j.cn=A(1P,1d,6N){M 4q;B(6N==L){6N=2u}4q=1P+(O.fL()*(1d-1P));B(6N){u 4q.fH(6N)}S{u O.5t(4q)}};2j.6V=A(C){u(0.9M*C.r)+(0.fE*C.g)+(0.fD*C.b)};2j.2e=A(1K,4E,4D,1N,52,53){M 2e,5H,2z,29,i,j,5J,1O,3G,t,H,1e,K;B(52==L){52=0}B(53==L){53=E}B(1K[0]bW 5Z){2z=1K;52=4E;53=4D}S{2z=[1K,4E,4D,1N]}B(2z.P<2){2T"5T 8r 9H 1m 3N 2e";}2e={};5J=A(a,b,t){u a*(1-t)+b*t};5H=A(a,1P,1d){u O.1P(O.1d(a,1P),1d)};X(i=H=0;H1){1O=[];X(j=1e=0,K=3G.P-2;0<=K?1e<=K:1e>=K;j=0<=K?++1e:--1e){1O.2k([5J(3G[j][0],3G[j+1][0],t),5J(3G[j][1],3G[j+1][1],t)])}3G=1O}2e[O.5t(3G[0][0])]=O.5t(5H(3G[0][1],52,53))}29=2z[2z.P-1][0];2e=D.2j.9E(2e,29);B(2e[29]==L){2e[29]=2e[29-1]}u 2e};2j.bS=A(2z,52,53){M 4j,5H,9D,29,8B,76,77,78,i,j,5J,9C,9B,4x,p,6e,6h,4U,7g,7h,3o,7m,t,H,1e,K,1J=o;B(2z.P<2){2T"5T 8r 9H 1m 3N bS";}3o={};5J=A(a,b,t){u a*(1-t)+b*t};4j=A(a,b,c,d){u[a[0]+b[0]+c[0]+d[0],a[1]+b[1]+c[1]+d[1]]};4x=A(a,b){u[a[0]*b[0],a[1]*b[1]]};7m=A(a,b){u[a[0]-b[0],a[1]-b[1]]};5H=A(a,1P,1d){u O.1P(O.1d(a,1P),1d)};9D=0;X(i=H=0,K=2z.P-2;0<=K?H<=K:H>=K;i=0<=K?++H:--H){6e=2z[i];6h=2z[i+1];4U=6h[0]-6e[0];7g=1/4U;B(i===2z.P-2){7g=1/(4U-1)}p=i>0?2z[i-1]:6e;9C=4x(7m(6h,p),[0.5,0.5]);p=i<2z.P-2?2z[i+2]:6h;9B=4x(7m(p,6e),[0.5,0.5]);X(j=1e=0;0<=4U?1e<=4U:1e>=4U;j=0<=4U?++1e:--1e){t=j*7g;8B=2.0*t*t*t-3.0*t*t+1.0;76=t*t*t-2.0*t*t+t;77=-2.0*t*t*t+3.0*t*t;78=t*t*t-t*t;7h=4j(4x(6e,[8B,8B]),4x(9C,[76,76]),4x(6h,[77,77]),4x(9B,[78,78]));3o[O.5t(7h[0])]=O.5t(5H(7h[1],52,53));9D+=1}}29=2z[2z.P-1][0];3o=D.2j.9E(3o,29);u 3o};2j.9E=A(57,29){M i,j,5p,3o,7s,H,1e;B(bd.ft(57).P<29+1){3o={};X(i=H=0;0<=29?H<=29:H>=29;i=0<=29?++H:--H){B(57[i]!=L){3o[i]=57[i]}S{5p=[i-1,3o[i-1]];X(j=1e=i;i<=29?1e<=29:1e>=29;j=i<=29?++1e:--1e){B(57[j]!=L){7s=[j,57[j]];5m}}3o[i]=5p[1]+((7s[1]-5p[1])/(7s[0]-5p[0]))*(i-5p[0])}}u 3o}u 57};u 2j})();2j=D.2j;D.1X=(A(){A 1X(){}1X.7u=A(3F){M b,g,r;B(3F.fr(0)==="#"){3F=3F.58(1)}r=4i(3F.58(0,2),16);g=4i(3F.58(2,2),16);b=4i(3F.58(4,2),16);u{r:r,g:g,b:b}};1X.fq=A(r,g,b){M d,h,l,1d,1P,s;B(1r r==="3X"){g=r.g;b=r.b;r=r.r}r/=E;g/=E;b/=E;1d=O.1d(r,g,b);1P=O.1P(r,g,b);l=(1d+1P)/2;B(1d===1P){h=s=0}S{d=1d-1P;s=l>0.5?d/(2-1d-1P):d/(1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,b){M x,y,z;B(1r l==="3X"){a=l.a;b=l.b;l=l.l}y=(l+16)/cI;x=y+(a/cJ);z=y-(b/5L);B(x>0.9e){x=x*x*x}S{x=0.9d*(x-0.5K)}B(y>0.9e){y=y*y*y}S{y=0.9d*(y-0.5K)}B(z>0.9e){z=z*z*z}S{z=0.9d*(z-0.5K)}u{x:x*95.cw,y:y*1i.0,z:z*9k.cA}};1X.eY=A(r,g,b){M 9c;B(1r r==="3X"){g=r.g;b=r.b;r=r.r}9c=o.bb(r,g,b);u o.cf(9c)};1X.eX=A(l,a,b){};u 1X})();1X=D.1X;D.2W=(A(){A 2W(){}2W.5e={};2W.cV=["cW","d1","c5","d2","d3","5Q"];2W.5g=A(38,1s,1Z){M 6X,H,1o,K,1n;B(1Z==L){1Z=L}B(o.5e[1s]&&o.5e[1s].P){K=o.5e[1s];1n=[];X(H=0,1o=K.P;H<1o;H++){6X=K[H];B(6X.38===L||38.2R===6X.38.2R){1n.2k(6X.fn.1w(38,1Z))}S{1n.2k(a8 0)}}u 1n}};2W.eW=A(38,1s,fn){M 9b,9a;B(1r 38==="3g"){9a=38;9b=1s;38=L;1s=9a;fn=9b}B(72.1w(o.cV,1s)<0){u 2u}B(!o.5e[1s]){o.5e[1s]=[]}o.5e[1s].2k({38:38,fn:fn});u 2Z};u 2W})();2W=D.2W;D.R=(A(){A R(){}R.3i={a1:1,a0:2,9Y:3,9X:4,99:5,2v:6};R.U=A(1q,aq){u D.N[1q]=aq};u R})();R=D.R;D.2V=(A(){A 2V(){}2V.as=/(?:(?:6Y|ch):\\/\\/)((?:\\w+)\\.(?:(?:\\w|\\.)+))/;2V.aE=A(1H){B(1H==L){u 2u}B(o.at(1H)){u 2u}u o.7j(1H.1E)};2V.at=A(1H){M K;u(1H.9r!=L)&&((K=1H.9r.6O())===\'cl\'||K===\'ay-eV\')};2V.7j=A(6R){M 7l;7l=6R.7V(o.as);B(7l){u 7l[1]!==28.eU}S{u 2u}};2V.aM=A(1E){B(o.7j(1E)){B(!D.8q.P){1Y.94("eR 3N dc a aW 1f eN a eL aZ. cK: "+1E)}S{B(D.7j(D.8q)){1Y.94("eK ay a aW aZ X eJ eI.");u}u o.51(1E)}}};2V.51=A(1E){u""+D.8q+"?"+D.cj+"="+(eF(1E))};2V.eD=A(5f){M 74;74={eC:\'eA\',ez:\'ey\',ex:\'ew\',ev:\'eu\'};5f=5f.6O();B(74[5f]!=L){5f=74[5f]}u"es/er."+5f};u 2V})();D.N.bC=A(){B(1r 2c!=="43"&&2c!==L){u o.bD.4p(o,1m)}S{u o.bH.4p(o,1m)}};D.N.bH=A(1s){M 1f;B(1s==L){1s="bI"}1s=1s.6O();1f=o.8Z(1s).eq("1f/"+1s,"1f/ep-eo");u 28.en.em=1f};D.N.bD=A(63,7J){M e,8X;B(7J==L){7J=2Z}9R{8X=fs.ek(63);B(8X.ej()&&!7J){u 2u}}9Q(6c){e=6c;1Y.2x("ei eg 63 "+63)}u fs.ef(63,o.I.ee(),A(){u 1Y.2x("ed ec 3N "+63)})};D.N.bQ=A(1s){M 1H;1H=28.3d(\'1H\');1H.1E=o.8Z(1s);1H.F=o.1c.F;1H.J=o.1c.J;B(4G.4k){1H.F/=4G.4k;1H.J/=4G.4k}u 1H};D.N.8Z=A(1s){B(1s==L){1s="bI"}1s=1s.6O();u o.I.eb("1f/"+1s)};2V=D.2V;D.3b=(A(){A 3b(c){o.c=c;o.1y=o.c;o.1F={8V:\'8U\',2l:1.0};o.ea=1v.8W.47();o.I=1r 2c!=="43"&&2c!==L?1C 3U():28.3d(\'I\');o.I.F=o.c.1c.F;o.I.J=o.c.1c.J;o.1j=o.I.3c(\'2d\');o.1j.e9(o.I.F,o.I.J);o.2y=o.1j.4h(0,0,o.I.F,o.I.J);o.T=o.2y.1Z}3b.N.32=A(cb){u o.c.32.1w(o.c,cb)};3b.N.3z=A(ck){o.1F.8V=ck;u o};3b.N.2l=A(2l){o.1F.2l=2l/1i;u o};3b.N.4g=A(){M i,2Y,H,K;2Y=o.c.T;X(i=H=0,K=o.c.T.P;Ho.c.T.P||3H<0){u 1C 26(0,0,0,E,o.c)}u o.8N(3H)};26.N.e4=A(8b,8c,C){M cR;B(o.c==L){2T"69 a 6a 1j";}cR=o.V+(o.c.1c.F*4*(8c*-1))+(4*8b);B(3H>o.c.T.P||3H<0){u}o.c.T[3H]=C.r;o.c.T[3H+1]=C.g;o.c.T[3H+2]=C.b;o.c.T[3H+3]=C.a;u 2Z};26.N.e3=A(x,y){M V;B(o.c==L){2T"69 a 6a 1j";}V=o.8S(x,y,o.F);u o.8N(V)};26.N.e2=A(x,y,C){M V;B(o.c==L){2T"69 a 6a 1j";}V=o.8S(x,y,o.F);o.c.T[V]=C.r;o.c.T[V+1]=C.g;o.c.T[V+2]=C.b;u o.c.T[V+3]=C.a};26.N.5F=A(){u o.e1()};26.N.e0=A(8f){M 3F;B(8f==L){8f=2u}3F=\'#\'+o.r.5F(16)+o.g.5F(16)+o.b.5F(16);B(8f){u 3F+o.a.5F(16)}S{u 3F}};u 26})();26=D.26;D.2v=(A(){A 2v(){}2v.8L={};2v.U=A(1q,4b){u o.8L[1q]=4b};2v.44=A(1j,1q,1l){u o.8L[1q].4p(1j,1l)};u 2v})();2v=D.2v;D.1Q=(A(){1Q.4T=D.2Q?71(\'dY\').dX().P:4;A 1Q(c){o.c=c;o.46=9t(o.46,o);o.6H=[];o.5l=L}1Q.N.4j=A(8K){B(8K==L){u}u o.6H.2k(8K)};1Q.N.46=A(){M 2b;B(o.6H.P===0){2W.5g(o,"d2");B(o.8J!=L){o.8J.1w(o.c)}u o}o.2a=o.6H.d5();6j(o.2a.1s){2i R.3i.9Y:2b=o.c.8M.d5();o.c.bn(2b);u o.46();2i R.3i.9X:o.c.bR();o.c.bB();u o.46();2i R.3i.99:u o.d6(o.2a.2b,o.2a.1E);2i R.3i.2v:u o.d7();dV:u o.d9()}};1Q.N.44=A(2g){o.8J=2g;o.5l=1v.6y(o.c.T.P);u o.46()};1Q.N.8I=A(fn){M 6T,8H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1m[0],3J=2<=1m.P?6k.1w(1m,1):[];6b=3J[3J.P-1];B(1r 6b==="A"){6Q=6b;3J.6n()}S B(1r 6b==="3g"){6Q=2j[6b];3J.6n()}S{6Q=2j.2e}B(1r 3Y==="3g"){3Y=3Y.dt("")}B(3Y[0]==="v"){3Y=[\'r\',\'g\',\'b\']}B(3J.P<2){2T"5T 8r 9H 1m 3N 2f 1y";}2e=6Q(3J,0,E);1K=3J[0];B(1K[0]>0){X(i=H=0,K=1K[0];0<=K?HK;i=0<=K?++H:--H){2e[i]=1K[1]}}1N=3J[3J.P-1];B(1N[0]=E;i=3P<=E?++1e:--1e){2e[i]=1N[1]}}u o.2q("2f",A(C){M 1I,4o;X(i=1I=0,4o=3Y.P;0<=4o?1I<4o:1I>4o;i=0<=4o?++1I:--1I){C[3Y[i]]=2e[C[3Y[i]]]}u C})});R.U("33",A(Q){M 4E,4D,p;p=O.4z(Q)/1i;4E=[0,E*p];4D=[E-(E*p),E];B(Q<0){4E=4E.bq();4D=4D.bq()}u o.2f(\'3f\',[0,0],4E,4D,[E,E])});D.2v.U("8P",A(F,J,x,y){M I,1T;B(x==L){x=0}B(y==L){y=0}B(1r 2c!=="43"&&2c!==L){I=1C 3U(F,J)}S{I=28.3d(\'I\');1v.67(o.I,I);I.F=F;I.J=J}1T=I.3c(\'2d\');1T.5q(o.I,x,y,F,J,0,0,F,J);o.6A={x:x,y:y};o.bG=2Z;u o.6t(I)});D.2v.U("86",A(2B){M I,1T;B(2B==L){2B=L}B(2B===L||((2B.F==L)&&(2B.J==L))){1Y.9z("5T d0 ds 1c aP X 86");u}B(2B.F==L){2B.F=o.I.F*2B.J/o.I.J}S B(2B.J==L){2B.J=o.I.J*2B.F/o.I.F}B(1r 2c!=="43"&&2c!==L){I=1C 3U(2B.F,2B.J)}S{I=28.3d(\'I\');1v.67(o.I,I);I.F=2B.F;I.J=2B.J}1T=I.3c(\'2d\');1T.5q(o.I,0,0,o.I.F,o.I.J,0,0,2B.F,2B.J);o.7M=2Z;u o.6t(I)});D.R.U("8P",A(){u o.59("8P",5Z.N.4V.1w(1m,0))});D.R.U("86",A(){u o.59("86",5Z.N.4V.1w(1m,0))});D.R.U("dr",A(){u o.3K("dq 83",[1,1,1,1,1,1,1,1,1])});D.R.U("dp",A(){u o.3K("do dn 83",[0,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,0,0,1,0,0])});D.R.U("dm",A(){u o.3K("dl 83",[1,4,6,4,1,4,16,24,16,4,6,24,36,24,6,4,16,24,16,4,1,4,6,4,1])});D.R.U("dk",A(3M){M 2I;B(3M===0||3M===4r){2I=[0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0]}S B((3M>0&&3M<90)||(3M>4r&&3M<7E)){2I=[0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0]}S B(3M===90||3M===7E){2I=[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0]}S{2I=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1]}u o.3K("dj 83",2I)});D.R.U("6u",A(1p){B(1p==L){1p=1i}1p/=1i;u o.3K("di",[0,-1p,0,-1p,4*1p+1,-1p,0,-1p,0])});9v={3l:A(C,1p,G){C.r=C.r-(C.r*1p*G.3h);C.g=C.g-(C.g*1p*G.3h);C.b=C.b-(C.b*1p*G.3h);u C},2t:A(C,1p,G){C.r=O.1S(C.r/E,O.1d(10*1p*G.3h,1))*E;C.g=O.1S(C.g/E,O.1d(10*1p*G.3h,1))*E;C.b=O.1S(C.b/E,O.1d(10*1p*G.3h,1))*E;u C},4c:A(C,1p,G){C.r-=(C.r-G.3j.r)*1p;C.g-=(C.g-G.3j.g)*1p;C.b-=(C.b-G.3j.b)*1p;u C}};R.U("1U",A(1t,3h){M 2e,3B,1N,1K;B(3h==L){3h=60}B(1r 1t==="3g"&&1t.58(-1)==="%"){B(o.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k,ci,41,ca,85,c9,3T,bT,7Y,bM,5v,bK,7H,bF,4u,bE,4N,7R,5s,5n,7f,7S,3m,bA,5B,bz,34,by,7b,bw,4t,84,79,5C,5r,bu,4M,bo,3v,bi,3W,ba,4C,b9,8w,b8,4S,b7,8u,b6,4B,b5,8g,b4,39,b3,88,b2,68,aQ,41,aO,4R,aK,7U,aH,62,aF,7Q,aC,3S,az,7O,aw,61,av,7K,ar,4s,ao,4N,7R,5Y,an,5n,ak,3p,7S,7v,aj,5W,5B,7n,ag,34,ad,7d,a9,5V,9M,8A,84,3R,d8,5C,d4,5P,cZ,4M,cY,4I,3v,89,cX,3W,cU,8C,4C];5D=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];9m=A(F,J,65,64,2H,P,c2){M 3Q,1j,2w,6C,6L,6I,6M;3Q=1r 2c!=="43"&&2c!==L?1C 3U():28.3d(\'I\');3Q.F=F;3Q.J=J;6C=65+O.c0(2H)*P*0.5;6I=64+O.bZ(2H)*P*0.5;6L=65-O.c0(2H)*P*0.5;6M=64-O.bZ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2C-=1k.b;p=(x+(((p=y+1a)<42?p:42)*F))<<2;1R+=(2p+=(1k.r=Y[p]));1M+=(2m+=(1k.g=Y[p+1]));1L+=(2o+=(1k.b=Y[p+2]));1k=1k.1O;2A+=(1A=1D.r);2E+=(1B=1D.g);2C+=(1z=1D.b);2p-=1A;2m-=1B;2o-=1z;1D=1D.1O;1h+=F}}u o});u D.R.U("5y",A(1V){u o.59("5y",[1V])})})();D.R.U("aY",A(Q){u o.2q("aY",A(C){M 6V;6V=(0.bs*C.r)+(0.bv*C.g)+(0.bx*C.b);B(6V35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(A(){M $,4H,2n,2j,D,53,3W,1X,2W,6E,R,2V,5Q,3b,1Y,3I,26,2v,1Q,7X,31,1v,fs,6y,86,5e,9u,6w=[].fa||A(bW){W(M i=0,l=o.P;iE){u E}u 2g};1v.5F=A(4F,3N,G){M 6I,H,1o,K,3U,1n;B(G==L){G={}}K=4F.e5;1n=[];W(H=0,1o=K.P;H<1o;H++){6I=K[H];B((G.9S!=L)&&(3U=6I.9N,6w.1x(G.9S,3U)>=0)){5J}1n.2k(3N.cL(6I.9N,6I.dd))}u 1n};1v.6F=A(P){B(P==L){P=0}B(D.2Q||(4G.cy!=L)){u 1C cy(P)}u 1C 5Y(P)};u 1v})();B(1r 2c!=="44"&&2c!==L){7X=2c;3W=6x(\'I\');5Q=3W.5Q;6E=6x(\'eQ\');fs=6x(\'fs\');6y=6x(\'6y\')}S{7X=4G}D=(A(cv){cc(D,cv);D.9t={ct:"4.1.2",cs:"7/27/de"};D.co=2r;D.6q=2Z;D.9q="cl";D.8r="";D.cj="df";D.2Q=1r 2c!=="44"&&2c!==L;D.cd=!D.2Q;D.64=A(){u"dg "+D.9t.ct+", dh "+D.9t.cs};D.9f=A(I){B(D.2Q){u 2Z}B(1r I==="3g"){I=$(I)}B(!((I!=L)&&(I.6c!=L))){u L}u I.6c(\'1Z-3L-2R\')};A D(){M 1l,2h,2R,1J=o;B(1m.P===0){2U"6e 1m";}B(o bY D){o.6j=o.6j.7m(o);o.6l=o.6l.7m(o);o.5X=o.5X.7m(o);1l=1m[0];B(!D.2Q){2R=4i(D.9f(1l[0]),10);2h=1r 1l[1]==="A"?1l[1]:1r 1l[2]==="A"?1l[2]:A(){};B(!bP(2R)&&31.bO(2R)){u 31.3P(2R,2h)}}o.2R=1v.8X.4h();o.7D=o.5d=L;o.6C={x:0,y:0};o.bG=2r;o.7R=2r;o.6L=[];o.8O=[];o.8M=[];o.6P=L;o.bk=2r;o.du=1C 4H(o);o.4O=1C 1Q(o);o.bi(A(){1J.bh(1l);u 1J.bf()});u o}S{u 1C D(1m)}}D.N.bi=A(cb){M 9p,1J=o;B(D.2Q){u 8B(A(){u cb.1x(1J)},0)}S{B(28.8E==="8y"){1Y.2x("aT aS");u 8B(A(){u cb.1x(1J)},0)}S{9p=A(){B(28.8E==="8y"){1Y.2x("aT aS");u cb.1x(1J)}};u 28.aR("dE",9p,2r)}}};D.N.bh=A(1l){M 2u,2g,K,1n;B(1l.P===0){2U"6e 1m aP";}o.3a=L;o.8x=L;o.8w=L;o.2h=A(){};o.aL(1l[0]);B(1l.P===1){u}5Z(1r 1l[1]){2i"3g":o.8w=1l[1];4Y;2i"A":o.2h=1l[1]}B(1l.P===2){u}o.2h=1l[2];B(1l.P===4){K=1l[4];1n=[];W(2u 5g K){B(!6r.1x(K,2u))5J;2g=K[2u];1n.2k(o.1F[2u]=2g)}u 1n}};D.N.aL=A(2F){B(D.2Q){o.3a=2F;o.8x=\'au\';u}B(1r 2F==="3Y"){o.3a=2F}S{o.3a=$(2F)}B(o.3a==L){2U"dN dU dW 1f d1 I W dZ.";}u o.8x=o.3a.9N.6M()};D.N.bf=A(){5Z(o.8x){2i"au":u o.cH();2i"1H":u o.cA();2i"I":u o.cu()}};D.N.cH=A(){1Y.2x("e8 W 2Q");B(1r o.3a==="3g"&&o.3a.7U(/^ck?:\\/\\//)){u o.cf(o.3a,o.5X)}S B(1r o.3a==="3g"){u fs.fc(o.3a,o.5X)}S{u o.5X(L,o.3a)}};D.N.cf=A(6z,2h){M 9v;1Y.2x("fj 1f 4F "+6z);9v=6y.4h(6z,A(4n){M 7M;7M=\'\';4n.fk(\'aE\');4n.9x(\'1Z\',A(ah){u 7M+=ah});u 4n.9x(\'1N\',A(){u 2h(L,1C fp(7M,\'aE\'))})});u 9v.9x(\'9y\',2h)};D.N.5X=A(9z,1Z){B(9z){2U 9z;}o.1f=1C 5Q();o.1f.1E=1Z;1Y.2x("5Q cN. cJ = "+(o.4V())+", cx = "+(o.59()));o.I=1C 3W(o.4V(),o.59());u o.6j()};D.N.cA=A(){o.1f=o.3a;o.I=28.3d(\'I\');o.1i=o.I.3c(\'2d\');1v.5F(o.1f,o.I,{9S:[\'1E\']});B(o.1f.7b!=L){o.1f.7b.9F(o.I,o.1f)}o.9H();u o.9I()};D.N.cu=A(){o.I=o.3a;o.1i=o.I.3c(\'2d\');B(o.8w!=L){o.1f=28.3d(\'1H\');o.1f.1E=o.8w;o.9H();u o.9I()}S{u o.6j()}};D.N.9H=A(){B(o.9J()){1Y.2x(o.1f.1E,"->",o.8j());o.bg=2Z;o.1f.1E=o.8j()}B(2V.aU(o.1f)){o.1f.1E=2V.56(o.1f.1E);u 1Y.2x("fu 1f fx, fF cP = "+o.1f.1E)}};D.N.9I=A(){B(o.cG()){u o.6l()}S{u o.1f.cF=o.6l}};D.N.cG=A(){B(!o.1f.8y){u 2r}B((o.1f.9M!=L)&&o.1f.9M===0){u 2r}u 2Z};D.N.4V=A(){u o.1f.F||o.1f.9M};D.N.59=A(){u o.1f.J||o.1f.fN};D.N.6l=A(){1Y.2x("5Q cN. cJ = "+(o.4V())+", cx = "+(o.59()));B(o.bg){o.I.F=o.4V()/o.7r();o.I.J=o.59()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,o.J).1Z;F=o.F}S{T=o.5d;F=o.4Z}W(i=1e=0,3U=T.P;1e<3U;i=1e+=4){7C=26.a7(i,F);B(((8k<=(4o=7C.x)&&4o<29))&&((8t<=(a3=7C.y)&&a3K;i=0<=K?++H:--H){2P+=Q[i]}}o.4O.4j({1s:R.3i.9Z,1p:1p,Q:Q,2P:2P,3k:3k});u o};D.N.4X=A(4b,1l){o.4O.4j({1s:R.3i.2v,4b:4b,1l:1l});u o};D.N.32=A(2h){M 2b;2b=1C 3b(o);o.8M.2k(2b);o.4O.4j({1s:R.3i.9X});2h.1x(2b);o.4O.4j({1s:R.3i.9W});u o};D.N.br=A(2b){u o.bt(2b)};D.N.bt=A(2b){o.8O.2k(o.6P);o.6L.2k(o.T);o.6P=2b;u o.T=2b.T};D.N.bL=A(){o.T=o.6L.6m();u o.6P=o.8O.6m()};D.N.bU=A(){u o.6P.bZ()};u D})(3I);7X.D=D;D.4H=(A(){A 4H(c){o.c=c}4H.N.fX=A(){M i,3n,71,H,1e,1I,K;3n={r:{},g:{},b:{}};W(i=H=0;H<=E;i=++H){3n.r[i]=0;3n.g[i]=0;3n.b[i]=0}W(i=1e=0,K=o.c.T.P;1e0)){u}1n=[];W(H=0,1o=6Z.P;H<1o;H++){1H=6Z[H];1n.2k(cQ=1C 53(1H,A(){o.cR();u o.3P()}))}u 1n};B(D.cd){(A(){B(28.8E==="8y"){u D.9V()}S{u 28.aR("fT",D.9V,2r)}})()}53=(A(){M 8f;8f="(\\\\w+)\\\\((.*?)\\\\)";A 53(4m,a8){o.ay=4m.6c(\'1Z-3L\');o.3L=D(4m,a8.7m(o))}53.N.cR=A(){M 1l,e,1A,5i,9U,9T,m,r,6X,H,1o,K,1n;o.4m=o.3L.I;r=1C bn(8f,\'g\');6X=o.ay.7U(r);B(!(6X.P>0)){u}r=1C bn(8f);1n=[];W(H=0,1o=6X.P;H<1o;H++){9U=6X[H];K=9U.7U(r),m=K[0],1A=K[1],1l=K[2];9T=1C fO("u A() { o."+1A+"("+1l+"); };");9Q{5i=9T();1n.2k(5i.1x(o.3L))}9P(5C){e=5C;1n.2k(1Y.2x(e))}}u 1n};53.N.3P=A(){M 4m;4m=o.4m;u o.3L.aJ(A(){u 4m.7b.9F(o.bS(),4m)})};u 53})();D.2n=(A(){A 2n(){}2n.9O={};2n.V=A(1p,5i){u o.9O[1p]=5i};2n.3P=A(1p,Z,X){u o.9O[1p](Z,X)};u 2n})();2n=D.2n;D.2j=(A(){A 2j(){}2j.51=A(6V,6T,6R,6O){u O.7H(O.1S(6R-6V,2)+O.1S(6O-6T,2))};2j.cB=A(1P,1c,6N){M 4s;B(6N==L){6N=2r}4s=1P+(O.fL()*(1c-1P));B(6N){u 4s.fH(6N)}S{u O.61(4s)}};2j.6K=A(C){u(0.9L*C.r)+(0.fE*C.g)+(0.fD*C.b)};2j.2f=A(1K,4E,4D,1N,57,58){M 2f,5q,2D,29,i,j,5r,1R,3G,t,H,1e,K;B(57==L){57=0}B(58==L){58=E}B(1K[0]bY 5Y){2D=1K;57=4E;58=4D}S{2D=[1K,4E,4D,1N]}B(2D.P<2){2U"6e 8s 9G 1m 3N 2f";}2f={};5r=A(a,b,t){u a*(1-t)+b*t};5q=A(a,1P,1c){u O.1P(O.1c(a,1P),1c)};W(i=H=0;H1){1R=[];W(j=1e=0,K=3G.P-2;0<=K?1e<=K:1e>=K;j=0<=K?++1e:--1e){1R.2k([5r(3G[j][0],3G[j+1][0],t),5r(3G[j][1],3G[j+1][1],t)])}3G=1R}2f[O.61(3G[0][0])]=O.61(5q(3G[0][1],57,58))}29=2D[2D.P-1][0];2f=D.2j.9D(2f,29);B(2f[29]==L){2f[29]=2f[29-1]}u 2f};2j.bV=A(2D,57,58){M 4j,5q,9C,29,74,76,77,78,i,j,5r,9B,9A,4x,p,5A,5B,4U,7g,7h,3o,7n,t,H,1e,K,1J=o;B(2D.P<2){2U"6e 8s 9G 1m 3N bV";}3o={};5r=A(a,b,t){u a*(1-t)+b*t};4j=A(a,b,c,d){u[a[0]+b[0]+c[0]+d[0],a[1]+b[1]+c[1]+d[1]]};4x=A(a,b){u[a[0]*b[0],a[1]*b[1]]};7n=A(a,b){u[a[0]-b[0],a[1]-b[1]]};5q=A(a,1P,1c){u O.1P(O.1c(a,1P),1c)};9C=0;W(i=H=0,K=2D.P-2;0<=K?H<=K:H>=K;i=0<=K?++H:--H){5A=2D[i];5B=2D[i+1];4U=5B[0]-5A[0];7g=1/4U;B(i===2D.P-2){7g=1/(4U-1)}p=i>0?2D[i-1]:5A;9B=4x(7n(5B,p),[0.5,0.5]);p=i<2D.P-2?2D[i+2]:5B;9A=4x(7n(p,5A),[0.5,0.5]);W(j=1e=0;0<=4U?1e<=4U:1e>=4U;j=0<=4U?++1e:--1e){t=j*7g;74=2.0*t*t*t-3.0*t*t+1.0;76=t*t*t-2.0*t*t+t;77=-2.0*t*t*t+3.0*t*t;78=t*t*t-t*t;7h=4j(4x(5A,[74,74]),4x(9B,[76,76]),4x(5B,[77,77]),4x(9A,[78,78]));3o[O.61(7h[0])]=O.61(5q(7h[1],57,58));9C+=1}}29=2D[2D.P-1][0];3o=D.2j.9D(3o,29);u 3o};2j.9D=A(5b,29){M i,j,5E,3o,7s,H,1e;B(be.ft(5b).P<29+1){3o={};W(i=H=0;0<=29?H<=29:H>=29;i=0<=29?++H:--H){B(5b[i]!=L){3o[i]=5b[i]}S{5E=[i-1,3o[i-1]];W(j=1e=i;i<=29?1e<=29:1e>=29;j=i<=29?++1e:--1e){B(5b[j]!=L){7s=[j,5b[j]];4Y}}3o[i]=5E[1]+((7s[1]-5E[1])/(7s[0]-5E[0]))*(i-5E[0])}}u 3o}u 5b};u 2j})();2j=D.2j;D.1X=(A(){A 1X(){}1X.7u=A(3F){M b,g,r;B(3F.fr(0)==="#"){3F=3F.5c(1)}r=4i(3F.5c(0,2),16);g=4i(3F.5c(2,2),16);b=4i(3F.5c(4,2),16);u{r:r,g:g,b:b}};1X.fq=A(r,g,b){M d,h,l,1c,1P,s;B(1r r==="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S(y,0.9i)}S{y=(7.9h*y)+0.68}B(z>0.9j){z=O.1S(z,0.9i)}S{z=(7.9h*z)+0.68}l=cK*y-16;a=cM*(x-y);b=69*(y-z);u{l:l,a:a,b:b}};1X.eZ=A(l,a,b){M x,y,z;B(1r l==="3Y"){a=l.a;b=l.b;l=l.l}y=(l+16)/cK;x=y+(a/cM);z=y-(b/69);B(x>0.9g){x=x*x*x}S{x=0.9d*(x-0.68)}B(y>0.9g){y=y*y*y}S{y=0.9d*(y-0.68)}B(z>0.9g){z=z*z*z}S{z=0.9d*(z-0.68)}u{x:x*95.cz,y:y*1j.0,z:z*9k.cE}};1X.eY=A(r,g,b){M 9c;B(1r r==="3Y"){g=r.g;b=r.b;r=r.r}9c=o.bd(r,g,b);u o.ch(9c)};1X.eX=A(l,a,b){};u 1X})();1X=D.1X;D.2W=(A(){A 2W(){}2W.5m={};2W.cX=["d2","d3","c7","d4","db","6g"];2W.5j=A(38,1s,1Z){M 6p,H,1o,K,1n;B(1Z==L){1Z=L}B(o.5m[1s]&&o.5m[1s].P){K=o.5m[1s];1n=[];W(H=0,1o=K.P;H<1o;H++){6p=K[H];B(6p.38===L||38.2R===6p.38.2R){1n.2k(6p.fn.1x(38,1Z))}S{1n.2k(aa 0)}}u 1n}};2W.eV=A(38,1s,fn){M 99,98;B(1r 38==="3g"){98=38;99=1s;38=L;1s=98;fn=99}B(6w.1x(o.cX,1s)<0){u 2r}B(!o.5m[1s]){o.5m[1s]=[]}o.5m[1s].2k({38:38,fn:fn});u 2Z};u 2W})();2W=D.2W;D.R=(A(){A R(){}R.3i={a0:1,9Z:2,9X:3,9W:4,97:5,2v:6};R.V=A(1p,as){u D.N[1p]=as};u R})();R=D.R;D.2V=(A(){A 2V(){}2V.at=/(?:(?:6y|ck):\\/\\/)((?:\\w+)\\.(?:(?:\\w|\\.)+))/;2V.aU=A(1H){B(1H==L){u 2r}B(o.ax(1H)){u 2r}u o.7k(1H.1E)};2V.ax=A(1H){M K;u(1H.9q!=L)&&((K=1H.9q.6M())===\'cl\'||K===\'aB-eT\')};2V.7k=A(6z){M 7l;7l=6z.7U(o.at);B(7l){u 7l[1]!==28.eS}S{u 2r}};2V.aN=A(1E){B(o.7k(1E)){B(!D.8r.P){1Y.96("eR 3N dc a aX 1f eN a eL b1. cP: "+1E)}S{B(D.7k(D.8r)){1Y.96("eK aB a aX b1 W eJ eI.");u}u o.56(1E)}}};2V.56=A(1E){u""+D.8r+"?"+D.cj+"="+(eF(1E))};2V.eD=A(4W){M 7v;7v={eC:\'eA\',ez:\'ey\',ex:\'ew\',ev:\'eu\'};4W=4W.6M();B(7v[4W]!=L){4W=7v[4W]}u"es/er."+4W};u 2V})();D.N.bD=A(){B(1r 2c!=="44"&&2c!==L){u o.bH.4q(o,1m)}S{u o.bI.4q(o,1m)}};D.N.bI=A(1s){M 1f;B(1s==L){1s="bJ"}1s=1s.6M();1f=o.91(1s).eq("1f/"+1s,"1f/ep-eo");u 28.en.em=1f};D.N.bH=A(5S,7I){M e,8Y;B(7I==L){7I=2Z}9Q{8Y=fs.ek(5S);B(8Y.ej()&&!7I){u 2r}}9P(5C){e=5C;1Y.2x("ei eg 5S "+5S)}u fs.ef(5S,o.I.ee(),A(){u 1Y.2x("ed ec 3N "+5S)})};D.N.bS=A(1s){M 1H;1H=28.3d(\'1H\');1H.1E=o.91(1s);1H.F=o.1d.F;1H.J=o.1d.J;B(4G.4k){1H.F/=4G.4k;1H.J/=4G.4k}u 1H};D.N.91=A(1s){B(1s==L){1s="bJ"}1s=1s.6M();u o.I.eb("1f/"+1s)};2V=D.2V;D.3b=(A(){A 3b(c){o.c=c;o.1A=o.c;o.1F={8W:\'8V\',2l:1.0};o.ea=1v.8X.4h();o.I=1r 2c!=="44"&&2c!==L?1C 3W():28.3d(\'I\');o.I.F=o.c.1d.F;o.I.J=o.c.1d.J;o.1i=o.I.3c(\'2d\');o.1i.e9(o.I.F,o.I.J);o.2y=o.1i.49(0,0,o.I.F,o.I.J);o.T=o.2y.1Z}3b.N.32=A(cb){u o.c.32.1x(o.c,cb)};3b.N.3A=A(cm){o.1F.8W=cm;u o};3b.N.2l=A(2l){o.1F.2l=2l/1j;u o};3b.N.46=A(){M i,2Y,H,K;2Y=o.c.T;W(i=H=0,K=o.c.T.P;Ho.c.T.P||3H<0){u 1C 26(0,0,0,E,o.c)}u o.8Q(3H)};26.N.e4=A(8a,8b,C){M cS;B(o.c==L){2U"6b a 66 1i";}cS=o.U+(o.c.1d.F*4*(8b*-1))+(4*8a);B(3H>o.c.T.P||3H<0){u}o.c.T[3H]=C.r;o.c.T[3H+1]=C.g;o.c.T[3H+2]=C.b;o.c.T[3H+3]=C.a;u 2Z};26.N.e3=A(x,y){M U;B(o.c==L){2U"6b a 66 1i";}U=o.8T(x,y,o.F);u o.8Q(U)};26.N.e2=A(x,y,C){M U;B(o.c==L){2U"6b a 66 1i";}U=o.8T(x,y,o.F);o.c.T[U]=C.r;o.c.T[U+1]=C.g;o.c.T[U+2]=C.b;u o.c.T[U+3]=C.a};26.N.64=A(){u o.e1()};26.N.e0=A(8e){M 3F;B(8e==L){8e=2r}3F=\'#\'+o.r.64(16)+o.g.64(16)+o.b.64(16);B(8e){u 3F+o.a.64(16)}S{u 3F}};u 26})();26=D.26;D.2v=(A(){A 2v(){}2v.8N={};2v.V=A(1p,4b){u o.8N[1p]=4b};2v.3P=A(1i,1p,1l){u o.8N[1p].4q(1i,1l)};u 2v})();2v=D.2v;D.1Q=(A(){1Q.4T=D.2Q?6x(\'dY\').dX().P:4;A 1Q(c){o.c=c;o.47=aD(o.47,o);o.73=[];o.52=L}1Q.N.4j=A(8L){B(8L==L){u}u o.73.2k(8L)};1Q.N.47=A(){M 2b;B(o.73.P===0){2W.5j(o,"d4");B(o.8K!=L){o.8K.1x(o.c)}u o}o.2a=o.73.d6();5Z(o.2a.1s){2i R.3i.9X:2b=o.c.8M.d6();o.c.br(2b);u o.47();2i R.3i.9W:o.c.bU();o.c.bL();u o.47();2i R.3i.97:u o.d7(o.2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+=(E-C.b)*1F.41}S{C.b-=C.b*O.4z(1F.41)}}u C})});R.V("2e",A(){M 6Q,2f,3Z,3J,1N,i,5W,1K,H,1e,K,3U;3Z=1m[0],3J=2<=1m.P?5n.1x(1m,1):[];5W=3J[3J.P-1];B(1r 5W==="A"){6Q=5W;3J.6m()}S B(1r 5W==="3g"){6Q=2j[5W];3J.6m()}S{6Q=2j.2f}B(1r 3Z==="3g"){3Z=3Z.dt("")}B(3Z[0]==="v"){3Z=[\'r\',\'g\',\'b\']}B(3J.P<2){2U"6e 8s 9G 1m 3N 2e 1A";}2f=6Q(3J,0,E);1K=3J[0];B(1K[0]>0){W(i=H=0,K=1K[0];0<=K?HK;i=0<=K?++H:--H){2f[i]=1K[1]}}1N=3J[3J.P-1];B(1N[0]=E;i=3U<=E?++1e:--1e){2f[i]=1N[1]}}u o.2q("2e",A(C){M 1I,4o;W(i=1I=0,4o=3Z.P;0<=4o?1I<4o:1I>4o;i=0<=4o?++1I:--1I){C[3Z[i]]=2f[C[3Z[i]]]}u C})});R.V("33",A(Q){M 4E,4D,p;p=O.4z(Q)/1j;4E=[0,E*p];4D=[E-(E*p),E];B(Q<0){4E=4E.bq();4D=4D.bq()}u o.2e(\'3f\',[0,0],4E,4D,[E,E])});D.2v.V("8P",A(F,J,x,y){M I,1T;B(x==L){x=0}B(y==L){y=0}B(1r 2c!=="44"&&2c!==L){I=1C 3W(F,J)}S{I=28.3d(\'I\');1v.5F(o.I,I);I.F=F;I.J=J}1T=I.3c(\'2d\');1T.5V(o.I,x,y,F,J,0,0,F,J);o.6C={x:x,y:y};o.bG=2Z;u o.6s(I)});D.2v.V("8d",A(2A){M I,1T;B(2A==L){2A=L}B(2A===L||((2A.F==L)&&(2A.J==L))){1Y.9y("6e d1 ds 1d aP W 8d");u}B(2A.F==L){2A.F=o.I.F*2A.J/o.I.J}S B(2A.J==L){2A.J=o.I.J*2A.F/o.I.F}B(1r 2c!=="44"&&2c!==L){I=1C 3W(2A.F,2A.J)}S{I=28.3d(\'I\');1v.5F(o.I,I);I.F=2A.F;I.J=2A.J}1T=I.3c(\'2d\');1T.5V(o.I,0,0,o.I.F,o.I.J,0,0,2A.F,2A.J);o.7R=2Z;u o.6s(I)});D.R.V("8P",A(){u o.4X("8P",5Y.N.5e.1x(1m,0))});D.R.V("8d",A(){u o.4X("8d",5Y.N.5e.1x(1m,0))});D.R.V("dr",A(){u o.3K("dq 84",[1,1,1,1,1,1,1,1,1])});D.R.V("dp",A(){u o.3K("do dn 84",[0,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,0,0,1,0,0])});D.R.V("dm",A(){u o.3K("dl 84",[1,4,6,4,1,4,16,24,16,4,6,24,36,24,6,4,16,24,16,4,1,4,6,4,1])});D.R.V("dk",A(3M){M 2I;B(3M===0||3M===4r){2I=[0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0]}S B((3M>0&&3M<90)||(3M>4r&&3M<7J)){2I=[0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0]}S B(3M===90||3M===7J){2I=[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0]}S{2I=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1]}u o.3K("dj 84",2I)});D.R.V("6v",A(1q){B(1q==L){1q=1j}1q/=1j;u o.3K("di",[0,-1q,0,-1q,4*1q+1,-1q,0,-1q,0])});9u={3w:A(C,1q,G){C.r=C.r-(C.r*1q*G.3h);C.g=C.g-(C.g*1q*G.3h);C.b=C.b-(C.b*1q*G.3h);u C},2t:A(C,1q,G){C.r=O.1S(C.r/E,O.1c(10*1q*G.3h,1))*E;C.g=O.1S(C.g/E,O.1c(10*1q*G.3h,1))*E;C.b=O.1S(C.b/E,O.1c(10*1q*G.3h,1))*E;u C},4c:A(C,1q,G){C.r-=(C.r-G.3j.r)*1q;C.g-=(C.g-G.3j.g)*1q;C.b-=(C.b-G.3j.b)*1q;u C}};R.V("1U",A(1t,3h){M 2f,3B,1N,1K;B(3h==L){3h=60}B(1r 1t==="3g"&&1t.5c(-1)==="%"){B(o.1d.J>o.1d.F){1t=o.1d.F*(4i(1t.5c(0,1t.P-1),10)/1j)}S{1t=o.1d.J*(4i(1t.5c(0,1t.P-1),10)/1j)}}3h/=1j;3B=[o.1d.F/2,o.1d.J/2];1K=O.7H(O.1S(3B[0],2)+O.1S(3B[1],2));1N=1K-1t;2f=2j.2f([0,1],[30,30],[70,60],[1j,80]);u o.2q("1U",A(C){M 7i,2G,U;U=C.8R();7i=2j.51(U.x,U.y,3B[0],3B[1]);B(7i>1N){2G=O.1c(1,(2f[O.61(((7i-1N)/1t)*1j)]/10)*3h);C.r=O.1S(C.r/E,2G)*E;C.g=O.1S(C.g/E,2G)*E;C.b=O.1S(C.b/E,2G)*E}u C})});R.V("bX",A(G){M 4a,6i,7c,1t,H,1o,K;4a={3h:50,2J:0,9e:\'3w\',3j:{r:0,g:0,b:0}};G=1v.7O(4a,G);B(!G.1t){u o}S B(1r G.1t==="3g"){7c=4i(G.1t,10)/1j;G.1t={F:o.1d.F*7c,J:o.1d.J*7c}}S B(1r G.1t==="3Y"){K=["F","J"];W(H=0,1o=K.P;H<1o;H++){6i=K[H];B(1r G.1t[6i]==="3g"){G.1t[6i]=o.1d[6i]*(4i(G.1t[6i],10)/1j)}}}S B(G.1t==="8s"){1t=G.1t;G.1t={F:1t,J:1t}}B(1r G.2J==="3g"){G.2J=(G.1t.F/2)*(4i(G.2J,10)/1j)}G.3h/=1j;G.1t.F=O.2M(G.1t.F);G.1t.J=O.2M(G.1t.J);G.1f={F:o.1d.F,J:o.1d.J};B(G.9e==="4c"&&1r G.3j==="3g"){G.3j=1X.7u(G.3j)}G.1W={5l:(o.1d.F-G.1t.F)/2,67:o.1d.F-G.1W.5l,5k:(o.1d.J-G.1t.J)/2,65:o.1d.J-G.1W.5k};G.1w=[{x:G.1W.5l+G.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l,4N,5v,5G,3p,7w,5u,7o,34,7d,5t,8C,3R,5L,5s,4M,4I,8c,3X,8D,2N,cD,8q,cw,5O,4B,8p,cq,4v,cp,8m,ci,43,ca,88,c9,3T,bT,7Y,bM,5N,bK,7L,bF,4u,bE,4N,82,5I,5G,7f,83,3m,bA,5z,bz,34,by,7a,bw,4t,85,79,5L,5H,bu,4M,bo,3x,bj,3X,ba,4C,b9,8A,b8,4S,b7,8z,b6,4B,b5,8i,b4,39,b3,89,b2,5y,aQ,43,aO,4R,aK,7V,aH,5x,aF,7T,aC,3S,az,7Q,aw,5w,av,7N,ar,4l,ao,4N,82,5v,an,5G,ak,3p,83,7w,aj,5u,5z,7o,ag,34,ad,7d,a9,5t,9L,8C,85,3R,d9,5L,d5,5s,d0,4M,cZ,4I,3x,8c,cY,3X,cV,8D,4C];62=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];9l=A(F,J,5K,5P,2H,P,c3){M 3Q,1i,2w,6V,6R,6T,6O;3Q=1r 2c!=="44"&&2c!==L?1C 3W():28.3d(\'I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2;Y[p]=(1O*2L)>>2O;Y[p+1]=(1M*2L)>>2O;Y[p+2]=(1L*2L)>>2O;1O-=2z;1M-=2E;1L-=2B;2z-=1k.r;2E-=1k.g;2B-=1k.b;p=(x+(((p=y+1a)<42?p:42)*F))<<2;1O+=(2p+=(1k.r=Y[p]));1M+=(2m+=(1k.g=Y[p+1]));1L+=(2o+=(1k.b=Y[p+2]));1k=1k.1R;2z+=(1y=1D.r);2E+=(1z=1D.g);2B+=(1B=1D.b);2p-=1y;2m-=1z;2o-=1B;1D=1D.1R;1h+=F}}u o});u D.R.V("5p",A(1V){u o.4X("5p",[1V])})})();D.R.V("bb",A(Q){u o.2q("bb",A(C){M 6K;6K=(0.bx*C.r)+(0.bB*C.g)+(0.bC*C.b);B(6K35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(o(){I $,2N,1A,1H,B,32,3e,1n,1O,4j,V,1U,3v,22,1m,2j,1r,1V,1h,59,1Z,1a,3i,3S,4m,3m,3M=[].9p||o(7E){U(I i=0,l=8.L;iD){9 D}9 1w};1a.3R=o(2J,2k,3Q){I 3P,C,13,F,2p,X;u(3Q==G){3Q={}}F=2J.aP;X=[];U(C=0,13=F.L;C<13;C++){3P=F[C];u((3Q.6w!=G)&&(2p=3P.6t,3M.18(3Q.6w,2p)>=0)){3V}X.1z(2k.6Z(3P.6t,3P.9t))}9 X};1a.3N=o(L){u(L==G){L=0}u(B.1N||(2O.70!=G)){9 1p 70(L)}9 1p 4c(L)};9 1a})();u(1g 21!=="3c"&&21!==G){59=21;3e=3L(\'E\');3v=3e.3v;4j=3L(\'9B\');3i=3L(\'3i\');3S=3L(\'3S\')}Q{59=2O}B=(o(73){6O(B,73);B.64={7k:"4.1.2",7u:"7/27/9l"};B.7J=1F;B.3O=2i;B.5S="7R";B.4q="";B.7S="9N";B.1N=1g 21!=="3c"&&21!==G;B.7W=!B.1N;B.3j=o(){9"am "+B.64.7k+", as "+B.64.7u};B.5Y=o(E){u(B.1N){9 2i}u(1g E==="2S"){E=$(E)}u(!((E!=G)&&(E.3l!=G))){9 G}9 E.3l(\'1y-2l-1Q\')};o B(){8.3t=5F(8.3t,8);I W,1t,1Q,1e=8;u(Y.L===0){1X"3F Y";}u(8 8E B){8.3I=8.3I.6p(8);8.46=8.46.6p(8);W=Y[0];u(!B.1N){1Q=4y(B.5Y(W[0]),10);1t=1g W[1]==="o"?W[1]:1g W[2]==="o"?W[2]:o(){};u(!bn(1Q)&&1Z.6y(1Q)){9 1Z.2r(1Q,1t)}}8.1Q=1a.5C.2t();8.5b=8.3a=G;8.4i={x:0,y:0};8.8D=1F;8.4Y=1F;8.49=[];8.5x=[];8.65=[];8.48=G;8.8C=1F;8.bf=1p 2N(8);8.2M=1p 1h(8);8.8B(o(){1e.8A(W);9 1e.8z()});9 8}Q{9 1p B(Y)}}B.H.8B=o(3g){I 6a,1e=8;u(B.1N){9 4W(o(){9 3g.18(1e)},0)}Q{u(1C.6o==="4Q"){1m.1B("8y 8x");9 4W(o(){9 3g.18(1e)},0)}Q{6a=o(){u(1C.6o==="4Q"){1m.1B("8y 8x");9 3g.18(1e)}};9 1C.8q("aS",6a,1F)}}};B.H.8A=o(W){I 1D,1w,F,X;u(W.L===0){1X"3F Y 8o";}8.23=G;8.4p=G;8.5e=G;8.1t=o(){};8.8k(W[0]);u(W.L===1){9}3k(1g W[1]){1u"2S":8.5e=W[1];3d;1u"o":8.1t=W[1]}u(W.L===2){9}8.1t=W[2];u(W.L===4){F=W[4];X=[];U(1D 2X F){u(!3U.18(F,1D))3V;1w=F[1D];X.1z(8.1d[1D]=1w)}9 X}};B.H.8k=o(1I){u(B.1N){8.23=1I;8.4p=\'8j\';9}u(1g 1I==="2w"){8.23=1I}Q{8.23=$(1I)}u(8.23==G){1X"aK aF ay S 8e E U ao.";}9 8.4p=8.23.6t.4h()};B.H.8z=o(){3k(8.4p){1u"8j":9 8.8d();1u"1f":9 8.8c();1u"E":9 8.8b()}};B.H.8d=o(){1m.1B("ab U 1N");u(1g 8.23==="2S"&&8.23.4E(/^84?:\\/\\//)){9 8.83(8.23,8.3t)}Q u(1g 8.23==="2S"){9 3i.a4(8.23,8.3t)}Q{9 8.3t(G,8.23)}};B.H.83=o(4d,1t){I 6d;1m.1B("a3 S 2J "+4d);6d=3S.2t(4d,o(2s){I 4M;4M=\'\';2s.a2(\'82\');2s.5u(\'1y\',o(81){9 4M+=81});9 2s.5u(\'1q\',o(){9 1t(G,1p 9T(4M,\'82\'))})});9 6d.5u(\'5I\',1t)};B.H.3t=o(5M,1y){u(5M){1X 5M;}8.S=1p 3v();8.S.1b=1y;1m.1B("3v 7V. 7U = "+(8.39())+", 7T = "+(8.38()));8.E=1p 3e(8.39(),8.38());9 8.3I()};B.H.8c=o(){8.S=8.23;8.E=1C.2o(\'E\');8.19=8.E.2q(\'2d\');1a.3R(8.S,8.E,{6w:[\'1b\']});u(8.S.4t!=G){8.S.4t.6q(8.E,8.S)}8.6s();9 8.5h()};B.H.8b=o(){8.E=8.23;8.19=8.E.2q(\'2d\');u(8.5e!=G){8.S=1C.2o(\'1f\');8.S.1b=8.5e;8.6s();9 8.5h()}Q{9 8.3I()}};B.H.6s=o(){u(8.5i()){1m.1B(8.S.1b,"->",8.4u());8.7P=2i;8.S.1b=8.4u()}u(1U.7O(8.S)){8.S.1b=1U.35(8.S.1b);9 1m.1B("9C S 9A, 9z 7M = "+8.S.1b)}};B.H.5h=o(){u(8.7L()){9 8.46()}Q{9 8.S.7K=8.46}};B.H.7L=o(){u(!8.S.4Q){9 1F}u((8.S.5O!=G)&&8.S.5O===0){9 1F}9 2i};B.H.39=o(){9 8.S.K||8.S.5O};B.H.38=o(){9 8.S.R||8.S.9u};B.H.46=o(){1m.1B("3v 7V. 7U = "+(8.39())+", 7T = "+(8.38()));u(8.7P){8.E.K=8.39()/8.5f();8.E.R=8.38()/8.5f()}Q{8.E.K=8.39();8.E.R=8.38()}9 8.3I()};B.H.3I=o(){I i,15,C,13,F;u(8.19==G){8.19=8.E.2q(\'2d\')}8.3q=8.3T=8.K=8.E.K;8.40=8.41=8.R=8.E.R;8.7H();u(!8.7G()){8.7F()}u(8.S!=G){8.19.4a(8.S,0,0,8.39(),8.38(),0,0,8.3T,8.41)}8.1G=8.19.2U(0,0,8.E.K,8.E.R);8.M=8.1G.1y;u(B.3O){8.5b=1a.3N(8.M.L);8.3a=1a.3N(8.M.L);F=8.M;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];8.5b[i]=15;8.3a[i]=15}}8.1K={K:8.E.K,R:8.E.R};u(!B.1N){1Z.6x(8.1Q,8)}8.1t.18(8,8);9 8.1t=o(){}};B.H.7A=o(){8.1G=8.19.2U(0,0,8.E.K,8.E.R);9 8.M=8.1G.1y};B.H.90=o(){I i,15,C,13,F,X;u(!B.3O){1X"5r 4D";}8.3a=1a.3N(8.M.L);F=8.M;X=[];U(i=C=0,13=F.L;C<13;i=++C){15=F[i];X.1z(8.3a[i]=15)}9 X};B.H.7G=o(){9 B.5Y(8.E)!=G};B.H.7F=o(){u(B.1N||8.E.3l(\'1y-2l-1Q\')){9}9 8.E.6Z(\'1y-2l-1Q\',8.1Q)};B.H.7z=o(){9 8.E.3l(\'1y-2l-7y-4D\')!==G};B.H.7H=o(){I 2E;u(B.1N||!8.5i()){9}2E=8.5f();u(2E!==1){1m.1B("bh 2E = "+2E);8.8C=2i;8.3T=8.E.K;8.41=8.E.R;8.E.K=8.3T*2E;8.E.R=8.41*2E;8.E.7r.K=""+8.3T+"7p";8.E.7r.R=""+8.41+"7p";8.19.aO(2E,2E);8.K=8.3q=8.E.K;9 8.R=8.40=8.E.R}};B.H.5f=o(){I 5B,2C;2C=2O.2C||1;5B=8.19.aH||8.19.aG||8.19.an||8.19.al||8.19.a9||1;9 2C/5B};B.H.7e=o(){9(2O.2C!=G)&&2O.2C!==1};B.H.5i=o(){u(8.7z()||!8.7e()){9 1F}9 8.4u()!==G};B.H.4u=o(){u(8.S==G){9 G}9 8.S.3l(\'1y-2l-7y\')};B.H.4U=o(7d){I 4V;4V=8.E;8.E=7d;8.19=8.E.2q(\'2d\');u(!B.1N){4V.4t.6q(8.E,4V)}8.K=8.E.K;8.R=8.E.R;8.7A();9 8.1K={K:8.E.K,R:8.E.R}};B.H.7c=o(1t){I 1e=8;u(1t==G){1t=o(){}}1O.2Z(8,"78");9 8.2M.2r(o(){1e.19.4Z(1e.1G,0,0);9 1t.18(1e)})};B.H.9S=o(51){I i,15,C,13,F;u(51==G){51=2i}u(!B.3O){1X"5r 4D";}F=8.77();U(i=C=0,13=F.L;C<13;i=++C){15=F[i];8.M[i]=15}u(51){9 8.19.4Z(8.1G,0,0)}};B.H.9Q=o(){I E,1M,i,1G,15,M,C,13,F;E=1C.2o(\'E\');1a.3R(8.E,E);E.K=8.3q;E.R=8.40;1M=E.2q(\'2d\');1G=1M.2U(0,0,E.K,E.R);M=1G.1y;F=8.5b;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];M[i]=15}1M.4Z(1G,0,0);8.4i={x:0,y:0};8.4Y=1F;9 8.4U(E)};B.H.77=o(){I E,5g,1M,1o,68,i,1G,15,M,58,3K,5a,5c,K,C,Z,13,F,2p,2x,6h;u(!B.3O){1X"5r 4D";}58=[];5a=8.4i.x;1o=5a+8.K;5c=8.4i.y;68=5c+8.R;u(8.4Y){E=1C.2o(\'E\');E.K=8.3q;E.R=8.40;1M=E.2q(\'2d\');1G=1M.2U(0,0,E.K,E.R);M=1G.1y;F=8.3a;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];M[i]=15}1M.4Z(1G,0,0);3K=1C.2o(\'E\');3K.K=8.K;3K.R=8.R;1M=3K.2q(\'2d\');1M.4a(E,0,0,8.3q,8.40,0,0,8.K,8.R);M=1M.2U(0,0,8.K,8.R).1y;K=8.K}Q{M=8.3a;K=8.3q}U(i=Z=0,2p=M.L;Z<2p;i=Z+=4){5g=1r.72(i,K);u(((5a<=(2x=5g.x)&&2x<1o))&&((5c<=(6h=5g.y)&&6h<68))){58.1z(M[i],M[i+1],M[i+2],M[i+3])}}9 58};B.H.1T=o(11,4n){8.2M.2D({14:V.25.6u,11:11,4n:4n});9 8};B.H.6v=o(11,J,1P,26){I i,C,F;u(1P==G){1P=G}u(26==G){26=0}u(1P==G){1P=0;U(i=C=0,F=J.L;0<=F?CF;i=0<=F?++C:--C){1P+=J[i]}}8.2M.2D({14:V.25.5j,11:11,J:J,1P:1P,26:26});9 8};B.H.5k=o(2v,W){8.2M.2D({14:V.25.1V,2v:2v,W:W});9 8};B.H.5m=o(1t){I 1v;1v=1p 22(8);8.65.1z(1v);8.2M.2D({14:V.25.5o});1t.18(1v);8.2M.2D({14:V.25.5p});9 8};B.H.6Y=o(1v){9 8.6X(1v)};B.H.6X=o(1v){8.5x.1z(8.48);8.49.1z(8.M);8.48=1v;9 8.M=1v.M};B.H.6W=o(){8.M=8.49.4l();9 8.48=8.5x.4l()};B.H.6V=o(){9 8.48.6T()};9 B})(2j);59.B=B;B.2N=(o(){o 2N(c){8.c=c}2N.H.ag=o(){I i,2a,3X,C,Z,1S,F;2a={r:{},g:{},b:{}};U(i=C=0;C<=D;i=++C){2a.r[i]=0;2a.g[i]=0;2a.b[i]=0}U(i=Z=0,F=8.c.M.L;Z0)){9}X=[];U(C=0,13=3Z.L;C<13;C++){1f=3Z[C];X.1z(6Q=1p 32(1f,o(){8.6N();9 8.2r()}))}9 X};u(B.7W){(o(){u(1C.6o==="4Q"){9 B.5D()}Q{9 1C.8q("9L",B.5D,1F)}})()}32=(o(){I 4G;4G="(\\\\w+)\\\\((.*?)\\\\)";o 32(2z,6M){8.6L=2z.3l(\'1y-2l\');8.2l=B(2z,6M.6p(8))}32.H.6N=o(){I W,e,43,2Y,5P,5Q,m,r,45,C,13,F,X;8.2z=8.2l.E;r=1p 6K(4G,\'g\');45=8.6L.4E(r);u(!(45.L>0)){9}r=1p 6K(4G);X=[];U(C=0,13=45.L;C<13;C++){5P=45[C];F=5P.4E(r),m=F[0],43=F[1],W=F[2];5Q=1p aL("9 o() { 8."+43+"("+W+"); };");5V{2Y=5Q();X.1z(2Y.18(8.2l))}5W(3C){e=3C;X.1z(1m.1B(e))}}9 X};32.H.2r=o(){I 2z;2z=8.2z;9 8.2l.7c(o(){9 2z.4t.6q(8.6I(),2z)})};9 32})();B.1A=(o(){o 1A(){}1A.5Z={};1A.17=o(11,2Y){9 8.5Z[11]=2Y};1A.2r=o(11,O,N){9 8.5Z[11](O,N)};9 1A})();1A=B.1A;B.1H=(o(){o 1H(){}1H.aj=o(6H,6G,6F,6E){9 P.6D(P.1Y(6F-6H,2)+P.1Y(6E-6G,2))};1H.6C=o(1i,T,4e){I 2A;u(4e==G){4e=1F}2A=1i+(P.8T()*(T-1i));u(4e){9 2A.aJ(4e)}Q{9 P.4f(2A)}};1H.6A=o(A){9(0.9M*A.r)+(0.9v*A.g)+(0.8W*A.b)};1H.1L=o(1j,2I,2H,1q,2W,2V){I 1L,3J,1J,1o,i,j,3H,57,2c,t,C,Z,F;u(2W==G){2W=0}u(2V==G){2V=D}u(1j[0]8E 4c){1J=1j;2W=2I;2V=2H}Q{1J=[1j,2I,2H,1q]}u(1J.L<2){1X"3F 6m 6l Y 2k 1L";}1L={};3H=o(a,b,t){9 a*(1-t)+b*t};3J=o(a,1i,T){9 P.1i(P.T(a,1i),T)};U(i=C=0;C<7B;i=++C){t=i/7B;2c=1J;a0(2c.L>1){57=[];U(j=Z=0,F=2c.L-2;0<=F?Z<=F:Z>=F;j=0<=F?++Z:--Z){57.1z([3H(2c[j][0],2c[j+1][0],t),3H(2c[j][1],2c[j+1][1],t)])}2c=57}1L[P.4f(2c[0][0])]=P.4f(3J(2c[0][1],2W,2V))}1o=1J[1J.L-1][0];1L=B.1H.6k(1L,1o);u(1L[1o]==G){1L[1o]=1L[1o-1]}9 1L};1H.6z=o(1J,2W,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66;u(1g x==="2w"){y=x.y;z=x.z;x=x.x}6i=95.74;6f=1l.0;66=75.76;x/=6i;y/=6f;z/=66;u(x>0.63){x=P.1Y(x,0.62)}Q{x=(7.60*x)+0.3f}u(y>0.63){y=P.1Y(y,0.62)}Q{y=(7.60*y)+0.3f}u(z>0.63){z=P.1Y(z,0.62)}Q{z=(7.60*z)+0.3f}l=79*y-16;a=7a*(x-y);b=7b*(y-z);9{l:l,a:a,b:b}};1n.9Z=o(l,a,b){I x,y,z;u(1g l==="2w"){a=l.a;b=l.b;l=l.l}y=(l+16)/79;x=y+(a/7a);z=y-(b/7b);u(x>0.5T){x=x*x*x}Q{x=0.5R*(x-0.3f)}u(y>0.5T){y=y*y*y}Q{y=0.5R*(y-0.3f)}u(z>0.5T){z=z*z*z}Q{z=0.5R*(z-0.3f)}9{x:x*95.74,y:y*1l.0,z:z*75.76}};1n.a5=o(r,g,b){I 5N;u(1g r==="2w"){g=r.g;b=r.b;r=r.r}5N=8.6U(r,g,b);9 8.71(5N)};1n.a8=o(l,a,b){};9 1n})();1n=B.1n;B.1O=(o(){o 1O(){}1O.30={};1O.7f=["7g","7h","78","7i","7j","3u"];1O.2Z=o(24,14,1y){I 4g,C,13,F,X;u(1y==G){1y=G}u(8.30[14]&&8.30[14].L){F=8.30[14];X=[];U(C=0,13=F.L;C<13;C++){4g=F[C];u(4g.24===G||24.1Q===4g.24.1Q){X.1z(4g.2m.18(24,1y))}Q{X.1z(ar 0)}}9 X}};1O.au=o(24,14,2m){I 5H,5G;u(1g 24==="2S"){5G=24;5H=14;24=G;14=5G;2m=5H}u(3M.18(8.7f,14)<0){9 1F}u(!8.30[14]){8.30[14]=[]}8.30[14].1z({24:24,2m:2m});9 2i};9 1O})();1O=B.1O;B.V=(o(){o V(){}V.25={6u:1,5j:2,5o:3,5p:4,5E:5,1V:6};V.17=o(11,7l){9 B.H[11]=7l};9 V})();V=B.V;B.1U=(o(){o 1U(){}1U.7m=/(?:(?:3S|84):\\/\\/)((?:\\w+)\\.(?:(?:\\w|\\.)+))/;1U.7O=o(1f){u(1f==G){9 1F}u(8.7n(1f)){9 1F}9 8.4L(1f.1b)};1U.7n=o(1f){I F;9(1f.5S!=G)&&((F=1f.5S.4h())===\'7R\'||F===\'7o-aQ\')};1U.4L=o(4d){I 4K;4K=4d.4E(8.7m);u(4K){9 4K[1]!==1C.aT}Q{9 1F}};1U.7q=o(1b){u(8.4L(1b)){u(!B.4q.L){1m.5y("b5 2k b6 a 7s S b8 a b9 7t. 7M: "+1b)}Q{u(B.4L(B.4q)){1m.5y("bb 7o a 7s 7t U bc bd.");9}9 8.35(1b)}}};1U.35=o(1b){9""+B.4q+"?"+B.7S+"="+(be(1b))};1U.bg=o(31){I 4I;4I={bl:\'bm\',8H:\'8I\',8J:\'8K\',8L:\'8M\'};31=31.4h();u(4I[31]!=G){31=4I[31]}9"8N/8O."+31};9 1U})();B.H.8P=o(){u(1g 21!=="3c"&&21!==G){9 8.7v.2u(8,Y)}Q{9 8.7w.2u(8,Y)}};B.H.7w=o(14){I S;u(14==G){14="7x"}14=14.4h();S=8.5v(14).8U("S/"+14,"S/8V-8G");9 1C.8X.8Y=S};B.H.7v=o(3s,4C){I e,5n;u(4C==G){4C=2i}5V{5n=3i.93(3s);u(5n.94()&&!4C){9 1F}}5W(3C){e=3C;1m.1B("96 97 3s "+3s)}9 3i.98(3s,8.E.99(),o(){9 1m.1B("9a 9b 2k "+3s)})};B.H.6I=o(14){I 1f;1f=1C.2o(\'1f\');1f.1b=8.5v(14);1f.K=8.1K.K;1f.R=8.1K.R;u(2O.2C){1f.K/=2O.2C;1f.R/=2O.2C}9 1f};B.H.5v=o(14){u(14==G){14="7x"}14=14.4h();9 8.E.9c("S/"+14)};1U=B.1U;B.22=(o(){o 22(c){8.c=c;8.43=8.c;8.1d={5l:\'7C\',2P:1.0};8.9f=1a.5C.2t();8.E=1g 21!=="3c"&&21!==G?1p 3e():1C.2o(\'E\');8.E.K=8.c.1K.K;8.E.R=8.c.1K.R;8.19=8.E.2q(\'2d\');8.19.9g(8.E.K,8.E.R);8.1G=8.19.2U(0,0,8.E.K,8.E.R);8.M=8.1G.1y}22.H.5m=o(3g){9 8.c.5m.18(8.c,3g)};22.H.9h=o(7D){8.1d.5l=7D;9 8};22.H.2P=o(2P){8.1d.2P=2P/1l;9 8};22.H.9j=o(){I i,20,C,F;20=8.c.M;U(i=C=0,F=8.c.M.L;C8.c.M.L||2g<0){9 1p 1r(0,0,0,D,8.c)}9 8.5z(2g)};1r.H.9F=o(4O,4J,A){I 7Q;u(8.c==G){1X"3p a 3o 19";}7Q=8.1k+(8.c.1K.K*4*(4J*-1))+(4*4O);u(2g>8.c.M.L||2g<0){9}8.c.M[2g]=A.r;8.c.M[2g+1]=A.g;8.c.M[2g+2]=A.b;8.c.M[2g+3]=A.a;9 2i};1r.H.9H=o(x,y){I 1k;u(8.c==G){1X"3p a 3o 19";}1k=8.5X(x,y,8.K);9 8.5z(1k)};1r.H.9I=o(x,y,A){I 1k;u(8.c==G){1X"3p a 3o 19";}1k=8.5X(x,y,8.K);8.c.M[1k]=A.r;8.c.M[1k+1]=A.g;8.c.M[1k+2]=A.b;9 8.c.M[1k+3]=A.a};1r.H.3j=o(){9 8.9J()};1r.H.9K=o(4s){I 2f;u(4s==G){4s=1F}2f=\'#\'+8.r.3j(16)+8.g.3j(16)+8.b.3j(16);u(4s){9 2f+8.a.3j(16)}Q{9 2f}};9 1r})();1r=B.1r;B.1V=(o(){o 1V(){}1V.6e={};1V.17=o(11,2v){9 8.6e[11]=2v};1V.2r=o(19,11,W){9 8.6e[11].2u(19,W)};9 1V})();1V=B.1V;B.1h=(o(){1h.2Q=B.1N?3L(\'9O\').9P().L:4;o 1h(c){8.c=c;8.2B=5F(8.2B,8);8.47=[];8.3b=G}1h.H.2D=o(5U){u(5U==G){9}9 8.47.1z(5U)};1h.H.2B=o(){I 1v;u(8.47.L===0){1O.2Z(8,"7i");u(8.5A!=G){8.5A.18(8.c)}9 8}8.1x=8.47.7X();3k(8.1x.14){1u V.25.5o:1v=8.c.65.7X();8.c.6Y(1v);9 8.2B();1u V.25.5p:8.c.6V();8.c.6W();9 8.2B();1u V.25.5E:9 8.7Y(8.1x.1v,8.1x.1b);1u V.25.1V:9 8.7Z();9Y:9 8.80()}};1h.H.2r=o(1t){8.5A=1t;8.3b=1a.3N(8.c.M.L);9 8.2B()};1h.H.5w=o(2m){I 4k,5q,1R,1q,f,i,69,n,1j,C,F,X,1e=8;8.4X=0;n=8.c.M.L;5q=P.2F((n/4)/1h.2Q);4k=5q*4;69=4k+((n/4)%1h.2Q)*4;X=[];U(i=C=0,F=1h.2Q;0<=F?CF;i=0<=F?++C:--C){1j=i*4k;1q=1j+(i===1h.2Q-1?69:4k);u(B.1N){f=4j(o(){9 2m.18(1e,i,1j,1q)});1R=f.a7();X.1z(8.3u(1R))}Q{X.1z(4W((o(i,1j,1q){9 o(){9 2m.18(1e,i,1j,1q)}})(i,1j,1q),0))}}9 X};1h.H.80=o(){1O.2Z(8.c,"7g",8.1x);u(8.1x.14===V.25.6u){9 8.5w(8.85)}Q{9 8.5w(8.86)}};1h.H.7Z=o(){1m.1B("aa 2v "+8.1x.2v);1V.2r(8.c,8.1x.2v,8.1x.W);1m.1B("1V "+8.1x.2v+" 5t!");9 8.2B()};1h.H.85=o(1R,1j,1q){I i,15,C;1m.1B("87 #"+1R+" - V: "+8.1x.11+", ad: "+1j+", ae: "+1q);1O.2Z(8.c,"7j",{88:1R,89:1h.2Q,ah:1j,ai:1q});15=1p 1r();15.5J(8.c);U(i=C=1j;C<1q;i=C+=4){15.1k=i;15.r=8.c.M[i];15.g=8.c.M[i+1];15.b=8.c.M[i+2];15.a=8.c.M[i+3];8.1x.4n(15);8.c.M[i]=1a.2h(15.r);8.c.M[i+1]=1a.2h(15.g);8.c.M[i+2]=1a.2h(15.b);8.c.M[i+3]=1a.2h(15.a)}u(B.1N){9 4j["8a"](1R)}Q{9 8.3u(1R)}};1h.H.86=o(1R,1j,1q){I J,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1s))/D;1c.g=N.g>1s?D-((D-N.g)*(D-(O.g-1s)))/D:(N.g*(O.g+1s))/D;1c.b=N.b>1s?D-((D-N.b)*(D-(O.b-1s)))/D:(N.b*(O.b+1s))/D;9 1c});1A.17("aD",o(O,N){9{r:N.r>O.r?N.r:O.r,g:N.g>O.g?N.g:O.g,b:N.b>O.b?N.b:O.b}});1A.17("aE",o(O,N){9{r:N.r>O.r?O.r:N.r,g:N.g>O.g?O.g:N.g,b:N.b>O.b?O.b:N.b}});V.17("4w",o(){I 3w;u(Y.L===1){3w=1n.5L(Y[0])}Q{3w={r:Y[0],g:Y[1],b:Y[2]}}9 8.1T("4w",o(A){A.r=3w.r;A.g=3w.g;A.b=3w.b;A.a=D;9 A})});V.17("8g",o(J){J=P.2F(D*(J/1l));9 8.1T("8g",o(A){A.r+=J;A.g+=J;A.b+=J;9 A})});V.17("8h",o(J){J*=-0.aI;9 8.1T("8h",o(A){I T;T=P.T(A.r,A.g,A.b);u(A.r!==T){A.r+=(T-A.r)*J}u(A.g!==T){A.g+=(T-A.g)*J}u(A.b!==T){A.b+=(T-A.b)*J}9 A})});V.17("8i",o(J){J*=-1;9 8.1T("8i",o(A){I 4b,2T,T;T=P.T(A.r,A.g,A.b);2T=(A.r+A.g+A.b)/3;4b=((P.2R(T-2T)*2/D)*J)/1l;u(A.r!==T){A.r+=(T-A.r)*4b}u(A.g!==T){A.g+=(T-A.g)*4b}u(A.b!==T){A.b+=(T-A.b)*4b}9 A})});V.17("8l",o(J){9 8.1T("8l",o(A){I 2T;2T=1H.6A(A);A.r=2T;A.g=2T;A.b=2T;9 A})});V.17("8m",o(J){J=P.1Y((J+1l)/1l,2);9 8.1T("8m",o(A){A.r/=D;A.r-=0.5;A.r*=J;A.r+=0.5;A.r*=D;A.g/=D;A.g-=0.5;A.g*=J;A.g+=0.5;A.g*=D;A.b/=D;A.b-=0.5;A.b*=J;A.b+=0.5;A.b*=D;9 A})});V.17("8n",o(J){9 8.1T("8n",o(A){I b,g,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.2R(1d.4v)}}9 A})});V.17("4x",o(){I 42,1L,2n,2b,1q,i,3G,1j,C,Z,F,2p;2n=Y[0],2b=2<=Y.L?3y.18(Y,1):[];3G=2b[2b.L-1];u(1g 3G==="o"){42=3G;2b.4l()}Q u(1g 3G==="2S"){42=1H[3G];2b.4l()}Q{42=1H.1L}u(1g 2n==="2S"){2n=2n.bj("")}u(2n[0]==="v"){2n=[\'r\',\'g\',\'b\']}u(2b.L<2){1X"3F 6m 6l Y 2k 4x 43";}1L=42(2b,0,D);1j=2b[0];u(1j[0]>0){U(i=C=0,F=1j[0];0<=F?CF;i=0<=F?++C:--C){1L[i]=1j[1]}}1q=2b[2b.L-1];u(1q[0]=D;i=2p<=D?++Z:--Z){1L[i]=1q[1]}}9 8.1T("4x",o(A){I 1S,2x;U(i=1S=0,2x=2n.L;0<=2x?1S<2x:1S>2x;i=0<=2x?++1S:--1S){A[2n[i]]=1L[A[2n[i]]]}9 A})});V.17("bk",o(J){I 2I,2H,p;p=P.2R(J)/1l;2I=[0,D*p];2H=[D-(D*p),D];u(J<0){2I=2I.8F();2H=2H.8F()}9 8.4x(\'34\',[0,0],2I,2H,[D,D])});B.1V.17("6g",o(K,R,x,y){I E,1M;u(x==G){x=0}u(y==G){y=0}u(1g 21!=="3c"&&21!==G){E=1p 3e(K,R)}Q{E=1C.2o(\'E\');1a.3R(8.E,E);E.K=K;E.R=R}1M=E.2q(\'2d\');1M.4a(8.E,x,y,K,R,0,0,K,R);8.4i={x:x,y:y};8.8D=2i;9 8.4U(E)});B.1V.17("5d",o(1E){I E,1M;u(1E==G){1E=G}u(1E===G||((1E.K==G)&&(1E.R==G))){1m.5I("3F 8e bo 1K 8o U 5d");9}u(1E.K==G){1E.K=8.E.K*1E.R/8.E.R}Q u(1E.R==G){1E.R=8.E.R*1E.K/8.E.K}u(1g 21!=="3c"&&21!==G){E=1p 3e(1E.K,1E.R)}Q{E=1C.2o(\'E\');1a.3R(8.E,E);E.K=1E.K;E.R=1E.R}1M=E.2q(\'2d\');1M.4a(8.E,0,0,8.E.K,8.E.R,0,0,1E.K,1E.R);8.4Y=2i;9 8.4U(E)});B.V.17("6g",o(){9 8.5k("6g",4c.H.3m.18(Y,0))});B.V.17("5d",o(){9 8.5k("5d",4c.H.3m.18(Y,0))})}).18(8);',62,707,'||||||||this|return|||||||||||||||function||||||if||||||rgba|Caman|_i|255|canvas|_ref|null|prototype|var|adjust|width|length|pixelData|rgbaParent|rgbaLayer|Math|else|height|image|max|for|Filter|args|_results|arguments|_j||name||_len|type|pixel||register|call|context|Util|src|result|options|_this|img|typeof|Renderer|min|start|loc|100|Log|Convert|endX|new|end|Pixel|128|callback|case|layer|val|currentJob|data|push|Blender|debug|document|key|newDims|false|imageData|Calculate|obj|controlPoints|dimensions|bezier|ctx|NodeJS|Event|divisor|id|bnum|_k|process|IO|Plugin|builder|throw|pow|Store|parentData|exports|Layer|initObj|target|Type|bias||ret|055|levels|cps|prev||kernel|hex|newLoc|clampRGB|true|Module|to|caman|fn|chans|createElement|_ref1|getContext|execute|res|get|apply|plugin|object|_ref2|value|ele|rand|processNext|devicePixelRatio|add|ratio|floor|search|ctrl2|ctrl1|from|mul|pointsPerSegment|renderer|Analyze|window|opacity|Blocks|abs|string|avg|getImageData|highBound|lowBound|in|func|trigger|events|lang|CamanParser|layerData|rgb|proxyUrl|hsv|values|imageHeight|imageWidth|originalPixelData|modPixelData|undefined|break|Canvas|1379310345|cb|builderIndex|fs|toString|switch|getAttribute|slice|level|CamanJS|Requires|originalWidth|chan|file|nodeFileReady|blockFinished|Image|color|items|__slice|child|parent|leftCoord|_error|p1|p0|Invalid|last|lerp|finishInit|clamp|scaledCanvas|require|__indexOf|dataArray|allowRevert|attr|opts|copyAttributes|http|preScaledWidth|__hasProp|continue|prop|numPixels|copy|imgs|originalHeight|preScaledHeight|algo|filter|adjustSize|unparsedInstructions|imageLoaded|renderQueue|currentLayer|pixelStack|drawImage|amt|Array|url|getFloat|round|event|toLowerCase|cropCoordinates|Fiber|blockN|pop|moduleKeywords|processFn|green|initType|remoteProxy|Logger|includeAlpha|parentNode|hiDPIReplacement|blue|fillColor|curves|parseInt|red|dest|hueToRGB|overwrite|disabled|match|substr|INST_REGEX|rightCoord|langToExt|vert|matches|isURLRemote|buf|sub|horiz|pos|complete|root|sel|pointsPerStep|replaceCanvas|oldCanvas|setTimeout|blocksDone|resized|putImageData|fac3|updateContext|fac2|fac1|fac0||source|next|pixels|Root|startX|initializedPixelData|startY|resize|imageUrl|hiDPIRatio|coord|waitForImageLoaded|needsHiDPISwap|Kernel|processPlugin|blendingMode|newLayer|stats|LayerDequeue|LayerFinished|blockPixelLength|Revert|04045|finished|on|toBase64|eachBlock|layerStack|info|pixelAtLocation|finishedFn|backingStoreRatio|uniqid|DOMUpdated|LoadOverlay|__bind|_type|_fn|error|setContext|ctor|hexToRGB|err|xyz|naturalWidth|inst|instFunc|1284185493|crossOrigin|2068965517|job|try|catch|coordinatesToLocation|getAttrId|blenders|787037037|console|3333333333|008856451679|version|canvasQueue|whiteZ|included|endY|lastBlockN|listener|m1|m0|req|plugins|whiteY|crop|_ref3|whiteX|count|missingValues|of|number|4166666667|readyState|bind|replaceChild|0031308|imageAdjustments|nodeName|Single|processKernel|except|put|has|hermite|luminance|Object|randomRange|sqrt|y2|x2|y1|x1|toImage|extended|RegExp|dataStr|ready|parse|__extends|me|parser|rgbToHSV|hsvToRGB|applyToParent|rgbToXYZ|applyCurrentLayer|popContext|pushContext|executeLayer|setAttribute|Uint8Array|xyzToLab|locationToCoordinates|_super|047|108|883|originalVisiblePixels|renderStart|116|500|200|render|newCanvas|hiDPICapable|types|processStart|processComplete|renderFinished|blockStarted|release|filterFunc|domainRegex|corsEnabled|use|px|remoteCheck|style|remote|proxy|date|nodeSave|browserSave|png|hidpi|hiDPIDisabled|reloadCanvasData|1000|normal|mode|item|assignId|hasId|hiDPIAdjustments|log|DEBUG|onload|isImageLoaded|URL|getPixelRelative|isRemote|swapped|nowLoc|anonymous|proxyParam|Height|Width|loaded|autoload|shift|loadOverlay|executePlugin|executeFilter|chunk|binary|readFromHttp|https|renderBlock|renderKernel|Block|blockNum|totalBlocks|yield|initCanvas|initImage|initNode|or|delete|brightness|saturation|vibrance|node|setInitObject|greyscale|contrast|hue|given|colorize|addEventListener|invert|sepia|gamma|noise|clip|channels|initialized|DOM|setup|parseArguments|domIsLoaded|scaled|cropped|instanceof|reverse|stream|python|py|perl|pl|javascript|js|proxies|caman_proxy|save|0193|1192|9505|random|replace|octet|114|location|href|xyzToRGB|resetOriginalPixelData|2406||statSync|isFile||Creating|output|writeFile|toBuffer|Finished|writing|toDataURL|5372|4986|layerID|createImageData|setBlendingMode|9689|copyParent|8758|2013|overlayImage|0415|0557|indexOf|2040|0570|warn|nodeValue|naturalHeight|587|defineProperty|locationXY|keys|using|detected|fibers|Remote|set|querySelector|putPixelRelative|charAt|getPixel|putPixel|toKey|toHex|DOMContentLoaded|299|camanProxyUrl|os|cpus|reset|rgbToHSL|revert|Buffer|querySelectorAll|extends|aliasFunction|hslToRGB|default|labToXYZ|while|extend|setEncoding|Fetching|readFile|rgbToLab|aliasProperty|run|labToRGB|backingStorePixelRatio|Executing|Initializing|hasOwnProperty|Start|End|delegate|calculateLevels|startPixel|endPixel|distance|includes|oBackingStorePixelRatio|Version|msBackingStorePixelRatio|initialization|Rendering|blocksFinished|void|Released|flush|listen|multiply|screen|overlay|find|difference|addition|exclusion|softLight|lighten|darken|not|mozBackingStorePixelRatio|webkitBackingStorePixelRatio|01|toFixed|Could|Function|__super__|constructor|scale|attributes|credentials|4124|readystatechange|domain|3576|1805|607|769|189|349|314|168|272|534|869|Attempting|load|2126|without|configured|7152|Cannot|loading|images|encodeURIComponent|analyze|useProxy|HiDPI|0722|split|exposure|ruby|rb|isNaN|missing'.split('|'),0,{})) \ No newline at end of file +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(o(){I $,2G,1A,1H,B,36,3a,1n,1O,4f,V,1U,3z,22,1m,2k,1p,1V,1i,4R,1Y,1a,3w,3N,57,3u,3L=[].9q||o(8t){U(I i=0,l=8.L;iD){9 D}9 1w};1a.47=o(2L,2l,48){I 49,C,13,F,2p,Y;u(48==G){48={}}F=2L.b7;Y=[];U(C=0,13=F.L;C<13;C++){49=F[C];u((48.5p!=G)&&(2p=49.5l,3L.18(48.5p,2p)>=0)){46}Y.1z(2l.7G(49.5l,49.b8))}9 Y};1a.4a=o(L){u(L==G){L=0}u(B.1N||(2N.7y!=G)){9 1q 7y(L)}9 1q 3V(L)};9 1a})();u(1g 21!=="39"&&21!==G){4R=21;3a=4d(\'E\');3z=3a.3z;4f=4d(\'ba\');3w=4d(\'3w\');3N=4d(\'3N\')}R{4R=2N}B=(o(6M){7e(B,6M);B.6c={6z:"4.1.2",7j:"7/27/9B"};B.72=1F;B.4b=2j;B.6p="81";B.4N="";B.8n="as";B.1N=1g 21!=="39"&&21!==G;B.6P=!B.1N;B.3m=o(){9"9A "+B.6c.6z+", 8R "+B.6c.7j};B.6h=o(E){u(B.1N){9 2j}u(1g E==="2R"){E=$(E)}u(!((E!=G)&&(E.3v!=G))){9 G}9 E.3v(\'1s-2i-1Q\')};o B(){I W,1x,1Q,1c=8;u(X.L===0){1X"3x X";}u(8 6N B){8.3F=8.3F.4q(8);8.3X=8.3X.4q(8);8.3o=8.3o.4q(8);W=X[0];u(!B.1N){1Q=4Q(B.6h(W[0]),10);1x=1g W[1]==="o"?W[1]:1g W[2]==="o"?W[2]:o(){};u(!bi(1Q)&&1Y.6A(1Q)){9 1Y.2r(1Q,1x)}}8.1Q=1a.5F.2t();8.4z=8.2W=G;8.3Q={x:0,y:0};8.6O=1F;8.4H=1F;8.4c=[];8.6r=[];8.6u=[];8.3R=G;8.83=1F;8.aG=1q 2G(8);8.2J=1q 1i(8);8.8h(o(){1c.8o(W);9 1c.8r()});9 8}R{9 1q B(X)}}B.H.8h=o(3A){I 5m,1c=8;u(B.1N){9 4P(o(){9 3A.18(1c)},0)}R{u(1C.5t==="54"){1m.1D("7o 7r");9 4P(o(){9 3A.18(1c)},0)}R{5m=o(){u(1C.5t==="54"){1m.1D("7o 7r");9 3A.18(1c)}};9 1C.7x("9S",5m,1F)}}};B.H.8o=o(W){I 1B,1w,F,Y;u(W.L===0){1X"3x X 7C";}8.23=G;8.59=G;8.5c=G;8.1x=o(){};8.7Z(W[0]);u(W.L===1){9}3j(1g W[1]){1y"2R":8.5c=W[1];37;1y"o":8.1x=W[1]}u(W.L===2){9}8.1x=W[2];u(W.L===4){F=W[4];Y=[];U(1B 3e F){u(!3M.18(F,1B))46;1w=F[1B];Y.1z(8.1b[1B]=1w)}9 Y}};B.H.7Z=o(1I){u(B.1N){8.23=1I;8.59=\'8p\';9}u(1g 1I==="2w"){8.23=1I}R{8.23=$(1I)}u(8.23==G){1X"9o 9f 8Z S 8c E U 9v.";}9 8.59=8.23.5l.40()};B.H.8r=o(){3j(8.59){1y"8p":9 8.85();1y"1e":9 8.7z();1y"E":9 8.7p()}};B.H.85=o(){1m.1D("8G U 1N");u(1g 8.23==="2R"&&8.23.56(/^7m?:\\/\\//)){9 8.7k(8.23,8.3o)}R u(1g 8.23==="2R"){9 3w.a5(8.23,8.3o)}R{9 8.3o(G,8.23)}};B.H.7k=o(3P,1x){I 5M;1m.1D("a9 S 2L "+3P);5M=3N.2t(3P,o(2s){I 4Z;4Z=\'\';2s.ak(\'6T\');2s.5D(\'1s\',o(6R){9 4Z+=6R});9 2s.5D(\'1o\',o(){9 1x(G,1q ap(4Z,\'6T\'))})});9 5M.5D(\'5k\',1x)};B.H.3o=o(5j,1s){u(5j){1X 5j;}8.S=1q 3z();8.S.1d=1s;1m.1D("3z 8z. 8y = "+(8.30())+", 8s = "+(8.2Y()));8.E=1q 3a(8.30(),8.2Y());9 8.3F()};B.H.7z=o(){8.S=8.23;8.E=1C.2n(\'E\');8.19=8.E.2q(\'2d\');1a.47(8.S,8.E,{5p:[\'1d\']});u(8.S.4M!=G){8.S.4M.6o(8.E,8.S)}8.62();9 8.60()};B.H.7p=o(){8.E=8.23;8.19=8.E.2q(\'2d\');u(8.5c!=G){8.S=1C.2n(\'1e\');8.S.1d=8.5c;8.62();9 8.60()}R{9 8.3F()}};B.H.62=o(){u(8.5S()){1m.1D(8.S.1d,"->",8.4J());8.7d=2j;8.S.1d=8.4J()}u(1U.6U(8.S)){8.S.1d=1U.2X(8.S.1d);9 1m.1D("aU S aV, aW 6I = "+8.S.1d)}};B.H.60=o(){u(8.6y()){9 8.3X()}R{9 8.S.8E=8.3X}};B.H.6y=o(){u(!8.S.54){9 1F}u((8.S.5r!=G)&&8.S.5r===0){9 1F}9 2j};B.H.30=o(){9 8.S.K||8.S.5r};B.H.2Y=o(){9 8.S.P||8.S.b9};B.H.3X=o(){1m.1D("3z 8z. 8y = "+(8.30())+", 8s = "+(8.2Y()));u(8.7d){8.E.K=8.30()/8.4E();8.E.P=8.2Y()/8.4E()}R{8.E.K=8.30();8.E.P=8.2Y()}9 8.3F()};B.H.3F=o(){I i,15,C,13,F;u(8.19==G){8.19=8.E.2q(\'2d\')}8.3H=8.4g=8.K=8.E.K;8.4h=8.4i=8.P=8.E.P;8.7Q();u(!8.6Q()){8.6x()}u(8.S!=G){8.19.4l(8.S,0,0,8.30(),8.2Y(),0,0,8.4g,8.4i)}8.1G=8.19.3c(0,0,8.E.K,8.E.P);8.M=8.1G.1s;u(B.4b){8.4z=1a.4a(8.M.L);8.2W=1a.4a(8.M.L);F=8.M;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];8.4z[i]=15;8.2W[i]=15}}8.1E={K:8.E.K,P:8.E.P};u(!B.1N){1Y.6S(8.1Q,8)}8.1x.18(8,8);9 8.1x=o(){}};B.H.7E=o(){8.1G=8.19.3c(0,0,8.E.K,8.E.P);9 8.M=8.1G.1s};B.H.bn=o(){I i,15,C,13,F,Y;u(!B.4b){1X"5I 4p";}8.2W=1a.4a(8.M.L);F=8.M;Y=[];U(i=C=0,13=F.L;C<13;i=++C){15=F[i];Y.1z(8.2W[i]=15)}9 Y};B.H.6Q=o(){9 B.6h(8.E)!=G};B.H.6x=o(){u(B.1N||8.E.3v(\'1s-2i-1Q\')){9}9 8.E.7G(\'1s-2i-1Q\',8.1Q)};B.H.74=o(){9 8.E.3v(\'1s-2i-77-4p\')!==G};B.H.7Q=o(){I 2E;u(B.1N||!8.5S()){9}2E=8.4E();u(2E!==1){1m.1D("bm 2E = "+2E);8.83=2j;8.4g=8.E.K;8.4i=8.E.P;8.E.K=8.4g*2E;8.E.P=8.4i*2E;8.E.7V.K=""+8.4g+"8b";8.E.7V.P=""+8.4i+"8b";8.19.bl(2E,2E);8.K=8.3H=8.E.K;9 8.P=8.4h=8.E.P}};B.H.4E=o(){I 5H,2C;2C=2N.2C||1;5H=8.19.bh||8.19.bg||8.19.bf||8.19.be||8.19.bd||1;9 2C/5H};B.H.7h=o(){9(2N.2C!=G)&&2N.2C!==1};B.H.5S=o(){u(8.74()||!8.7h()){9 1F}9 8.4J()!==G};B.H.4J=o(){u(8.S==G){9 G}9 8.S.3v(\'1s-2i-77\')};B.H.4u=o(7B){I 4v;4v=8.E;8.E=7B;8.19=8.E.2q(\'2d\');u(!B.1N){4v.4M.6o(8.E,4v)}8.K=8.E.K;8.P=8.E.P;8.7E();9 8.1E={K:8.E.K,P:8.E.P}};B.H.7H=o(1x){I 1c=8;u(1x==G){1x=o(){}}1O.35(8,"7T");9 8.2J.2r(o(){1c.19.4w(1c.1G,0,0);9 1x.18(1c)})};B.H.bc=o(4y){I i,15,C,13,F;u(4y==G){4y=2j}u(!B.4b){1X"5I 4p";}F=8.8B();U(i=C=0,13=F.L;C<13;i=++C){15=F[i];8.M[i]=15}u(4y){9 8.19.4w(8.1G,0,0)}};B.H.bb=o(){I E,1M,i,1G,15,M,C,13,F;E=1C.2n(\'E\');1a.47(8.E,E);E.K=8.3H;E.P=8.4h;1M=E.2q(\'2d\');1G=1M.3c(0,0,E.K,E.P);M=1G.1s;F=8.4z;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];M[i]=15}1M.4w(1G,0,0);8.3Q={x:0,y:0};8.4H=1F;9 8.4u(E)};B.H.8B=o(){I E,4A,1M,1r,5E,i,1G,15,M,4B,4e,4C,4D,K,C,Z,13,F,2p,2x,6n;u(!B.4b){1X"5I 4p";}4B=[];4C=8.3Q.x;1r=4C+8.K;4D=8.3Q.y;5E=4D+8.P;u(8.4H){E=1C.2n(\'E\');E.K=8.3H;E.P=8.4h;1M=E.2q(\'2d\');1G=1M.3c(0,0,E.K,E.P);M=1G.1s;F=8.2W;U(i=C=0,13=F.L;C<13;i=++C){15=F[i];M[i]=15}1M.4w(1G,0,0);4e=1C.2n(\'E\');4e.K=8.K;4e.P=8.P;1M=4e.2q(\'2d\');1M.4l(E,0,0,8.3H,8.4h,0,0,8.K,8.P);M=1M.3c(0,0,8.K,8.P).1s;K=8.K}R{M=8.2W;K=8.3H}U(i=Z=0,2p=M.L;Z<2p;i=Z+=4){4A=1p.7n(i,K);u(((4C<=(2x=4A.x)&&2x<1r))&&((4D<=(6n=4A.y)&&6n<5E))){4B.1z(M[i],M[i+1],M[i+2],M[i+3])}}9 4B};B.H.1T=o(11,4F){8.2J.2D({14:V.25.5n,11:11,4F:4F});9 8};B.H.5o=o(11,J,1P,26){I i,C,F;u(1P==G){1P=G}u(26==G){26=0}u(1P==G){1P=0;U(i=C=0,F=J.L;0<=F?CF;i=0<=F?++C:--C){1P+=J[i]}}8.2J.2D({14:V.25.5s,11:11,J:J,1P:1P,26:26});9 8};B.H.5w=o(2v,W){8.2J.2D({14:V.25.1V,2v:2v,W:W});9 8};B.H.5x=o(1x){I 1u;1u=1q 22(8);8.6u.1z(1u);8.2J.2D({14:V.25.5y});1x.18(1u);8.2J.2D({14:V.25.5z});9 8};B.H.6B=o(1u){9 8.6C(1u)};B.H.6C=o(1u){8.6r.1z(8.3R);8.4c.1z(8.M);8.3R=1u;9 8.M=1u.M};B.H.6D=o(){8.M=8.4c.4k();9 8.3R=8.6r.4k()};B.H.6F=o(){9 8.3R.6G()};9 B})(2k);4R.B=B;B.2G=(o(){o 2G(c){8.c=c}2G.H.b6=o(){I i,2a,44,C,Z,1S,F;2a={r:{},g:{},b:{}};U(i=C=0;C<=D;i=++C){2a.r[i]=0;2a.g[i]=0;2a.b[i]=0}U(i=Z=0,F=8.c.M.L;Z0)){9}Y=[];U(C=0,13=41.L;C<13;C++){1e=41[C];Y.1z(6V=1q 36(1e,o(){8.71();9 8.2r()}))}9 Y};u(B.6P){(o(){u(1C.5t==="54"){9 B.5G()}R{9 1C.7x("aR",B.5G,1F)}})()}36=(o(){I 4I;4I="(\\\\w+)\\\\((.*?)\\\\)";o 36(2z,7a){8.7c=2z.3v(\'1s-2i\');8.2i=B(2z,7a.4q(8))}36.H.71=o(){I W,e,3Z,2V,5O,5P,m,r,3Y,C,13,F,Y;8.2z=8.2i.E;r=1q 7q(4I,\'g\');3Y=8.7c.56(r);u(!(3Y.L>0)){9}r=1q 7q(4I);Y=[];U(C=0,13=3Y.L;C<13;C++){5O=3Y[C];F=5O.56(r),m=F[0],3Z=F[1],W=F[2];5P=1q aP("9 o() { 8."+3Z+"("+W+"); };");5X{2V=5P();Y.1z(2V.18(8.2i))}5Z(3D){e=3D;Y.1z(1m.1D(e))}}9 Y};36.H.2r=o(){I 2z;2z=8.2z;9 8.2i.7H(o(){9 2z.4M.6o(8.7D(),2z)})};9 36})();B.1A=(o(){o 1A(){}1A.61={};1A.17=o(11,2V){9 8.61[11]=2V};1A.2r=o(11,O,N){9 8.61[11](O,N)};9 1A})();1A=B.1A;B.1H=(o(){o 1H(){}1H.aO=o(7K,7M,7N,7O){9 Q.7S(Q.20(7N-7K,2)+Q.20(7O-7M,2))};1H.7U=o(1h,T,3T){I 2A;u(3T==G){3T=1F}2A=1h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l.0,z:z*6w.7R}};1n.9x=o(r,g,b){I 6g;u(1g r==="2w"){g=r.g;b=r.b;r=r.r}6g=8.7l(r,g,b);9 8.7L(6g)};1n.9w=o(l,a,b){};9 1n})();1n=B.1n;B.1O=(o(){o 1O(){}1O.3d={};1O.86=["87","88","7T","89","8a","3J"];1O.35=o(24,14,1s){I 3W,C,13,F,Y;u(1s==G){1s=G}u(8.3d[14]&&8.3d[14].L){F=8.3d[14];Y=[];U(C=0,13=F.L;C<13;C++){3W=F[C];u(3W.24===G||24.1Q===3W.24.1Q){Y.1z(3W.2o.18(24,1s))}R{Y.1z(9u 0)}}9 Y}};1O.9s=o(24,14,2o){I 6k,6l;u(1g 24==="2R"){6l=24;6k=14;24=G;14=6l;2o=6k}u(3L.18(8.86,14)<0){9 1F}u(!8.3d[14]){8.3d[14]=[]}8.3d[14].1z({24:24,2o:2o});9 2j};9 1O})();1O=B.1O;B.V=(o(){o V(){}V.25={5n:1,5s:2,5y:3,5z:4,6m:5,1V:6};V.17=o(11,8i){9 B.H[11]=8i};9 V})();V=B.V;B.1U=(o(){o 1U(){}1U.8j=/(?:(?:3N|7m):\\/\\/)((?:\\w+)\\.(?:(?:\\w|\\.)+))/;1U.6U=o(1e){u(1e==G){9 1F}u(8.8k(1e)){9 1F}9 8.5d(1e.1d)};1U.8k=o(1e){I F;9(1e.6p!=G)&&((F=1e.6p.40())===\'81\'||F===\'8m-9r\')};1U.5d=o(3P){I 5f;5f=3P.56(8.8j);u(5f){9 5f[1]!==1C.9p}R{9 1F}};1U.8q=o(1d){u(8.5d(1d)){u(!B.4N.L){1m.6q("9m 2l 9l a 8u S 9j a 9e 8x. 6I: "+1d)}R{u(B.5d(B.4N)){1m.6q("9d 8m a 8u 8x U 91 90.");9}9 8.2X(1d)}}};1U.2X=o(1d){9""+B.4N+"?"+B.8n+"="+(8T(1d))};1U.8S=o(3b){I 4n;4n={8Q:\'8H\',a4:\'8I\',8J:\'8K\',8L:\'8M\'};3b=3b.40();u(4n[3b]!=G){3b=4n[3b]}9"8N/8O."+3b};9 1U})();B.H.8P=o(){u(1g 21!=="39"&&21!==G){9 8.8F.2B(8,X)}R{9 8.8D.2B(8,X)}};B.H.8D=o(14){I S;u(14==G){14="8C"}14=14.40();S=8.6v(14).8U("S/"+14,"S/8V-8W");9 1C.8X.8Y=S};B.H.8F=o(3i,5h){I e,6t;u(5h==G){5h=2j}5X{6t=3w.93(3i);u(6t.94()&&!5h){9 1F}}5Z(3D){e=3D;1m.1D("96 97 3i "+3i)}9 3w.98(3i,8.E.99(),o(){9 1m.1D("9a 9b 2l "+3i)})};B.H.7D=o(14){I 1e;1e=1C.2n(\'1e\');1e.1d=8.6v(14);1e.K=8.1E.K;1e.P=8.1E.P;u(2N.2C){1e.K/=2N.2C;1e.P/=2N.2C}9 1e};B.H.6v=o(14){u(14==G){14="8C"}14=14.40();9 8.E.9c("S/"+14)};1U=B.1U;B.22=(o(){o 22(c){8.c=c;8.3Z=8.c;8.1b={6s:\'8w\',2S:1.0};8.9g=1a.5F.2t();8.E=1g 21!=="39"&&21!==G?1q 3a():1C.2n(\'E\');8.E.K=8.c.1E.K;8.E.P=8.c.1E.P;8.19=8.E.2q(\'2d\');8.19.9h(8.E.K,8.E.P);8.1G=8.19.3c(0,0,8.E.K,8.E.P);8.M=8.1G.1s}22.H.5x=o(3A){9 8.c.5x.18(8.c,3A)};22.H.9i=o(8v){8.1b.6s=8v;9 8};22.H.2S=o(2S){8.1b.2S=2S/1l;9 8};22.H.9k=o(){I i,1Z,C,F;1Z=8.c.M;U(i=C=0,F=8.c.M.L;C8.c.M.L||2g<0){9 1q 1p(0,0,0,D,8.c)}9 8.68(2g)};1p.H.9G=o(5b,5a,A){I 7F;u(8.c==G){1X"3p a 3s 19";}7F=8.1k+(8.c.1E.K*4*(5a*-1))+(4*5b);u(2g>8.c.M.L||2g<0){9}8.c.M[2g]=A.r;8.c.M[2g+1]=A.g;8.c.M[2g+2]=A.b;8.c.M[2g+3]=A.a;9 2j};1p.H.9I=o(x,y){I 1k;u(8.c==G){1X"3p a 3s 19";}1k=8.6i(x,y,8.K);9 8.68(1k)};1p.H.9J=o(x,y,A){I 1k;u(8.c==G){1X"3p a 3s 19";}1k=8.6i(x,y,8.K);8.c.M[1k]=A.r;8.c.M[1k+1]=A.g;8.c.M[1k+2]=A.b;9 8.c.M[1k+3]=A.a};1p.H.3m=o(){9 8.9K()};1p.H.9L=o(58){I 2f;u(58==G){58=1F}2f=\'#\'+8.r.3m(16)+8.g.3m(16)+8.b.3m(16);u(58){9 2f+8.a.3m(16)}R{9 2f}};9 1p})();1p=B.1p;B.1V=(o(){o 1V(){}1V.5Y={};1V.17=o(11,2v){9 8.5Y[11]=2v};1V.2r=o(19,11,W){9 8.5Y[11].2B(19,W)};9 1V})();1V=B.1V;B.1i=(o(){1i.2O=B.1N?4d(\'9P\').9Q().L:4;o 1i(c){8.c=c;8.2u=6Z(8.2u,8);8.3O=[];8.31=G}1i.H.2D=o(5W){u(5W==G){9}9 8.3O.1z(5W)};1i.H.2u=o(){I 1u;u(8.3O.L===0){1O.35(8,"89");u(8.5V!=G){8.5V.18(8.c)}9 8}8.1v=8.3O.7w();3j(8.1v.14){1y V.25.5y:1u=8.c.6u.7w();8.c.6B(1u);9 8.2u();1y V.25.5z:8.c.6F();8.c.6D();9 8.2u();1y V.25.6m:9 8.7v(8.1v.1u,8.1v.1d);1y V.25.1V:9 8.7u();9Z:9 8.7t()}};1i.H.2r=o(1x){8.5V=1x;8.31=1a.4a(8.c.M.L);9 8.2u()};1i.H.5U=o(2o){I 3K,5T,1R,1o,f,i,5Q,n,1j,C,F,Y,1c=8;8.52=0;n=8.c.M.L;5T=Q.2T((n/4)/1i.2O);3K=5T*4;5Q=3K+((n/4)%1i.2O)*4;Y=[];U(i=C=0,F=1i.2O;0<=F?CF;i=0<=F?++C:--C){1j=i*3K;1o=1j+(i===1i.2O-1?5Q:3K);u(B.1N){f=4f(o(){9 2o.18(1c,i,1j,1o)});1R=f.a8();Y.1z(8.3J(1R))}R{Y.1z(4P((o(i,1j,1o){9 o(){9 2o.18(1c,i,1j,1o)}})(i,1j,1o),0))}}9 Y};1i.H.7t=o(){1O.35(8.c,"87",8.1v);u(8.1v.14===V.25.5n){9 8.5U(8.7b)}R{9 8.5U(8.79)}};1i.H.7u=o(){1m.1D("ab 2v "+8.1v.2v);1V.2r(8.c,8.1v.2v,8.1v.W);1m.1D("1V "+8.1v.2v+" 5K!");9 8.2u()};1i.H.7b=o(1R,1j,1o){I i,15,C;1m.1D("76 #"+1R+" - V: "+8.1v.11+", ae: "+1j+", af: "+1o);1O.35(8.c,"8a",{75:1R,73:1i.2O,ai:1j,aj:1o});15=1q 1p();15.6f(8.c);U(i=C=1j;C<1o;i=C+=4){15.1k=i;15.r=8.c.M[i];15.g=8.c.M[i+1];15.b=8.c.M[i+2];15.a=8.c.M[i+3];8.1v.4F(15);8.c.M[i]=1a.2h(15.r);8.c.M[i+1]=1a.2h(15.g);8.c.M[i+2]=1a.2h(15.b);8.c.M[i+3]=1a.2h(15.a)}u(B.1N){9 4f["70"](1R)}R{9 8.3J(1R)}};1i.H.79=o(1R,1j,1o){I J,42,26,1W,3y,1P,i,j,k,2e,n,11,p,15,2s,C,Z,1S;11=8.1v.11;26=8.1v.26;1P=8.1v.1P;n=8.c.M.L;J=8.1v.J;42=Q.7S(J.L);2e=[];1m.1D("aq 2e - V: "+8.1v.11);1j=Q.T(1j,8.c.1E.K*4*((42-1)/2));1o=Q.1h(1o,n-(8.c.1E.K*4*((42-1)/2)));1W=(42-1)/2;15=1q 1p();15.6f(8.c);U(i=C=1j;C<1o;i=C+=4){15.1k=i;3y=0;U(j=Z=-1W;-1W<=1W?Z<=1W:Z>=1W;j=-1W<=1W?++Z:--Z){U(k=1S=1W;1W<=-1W?1S<=-1W:1S>=-1W;k=1W<=-1W?++1S:--1S){p=15.7I(j,k);2e[3y*3]=p.r;2e[3y*3+1]=p.g;2e[3y*3+2]=p.b;3y++}}2s=8.5o(J,2e,1P,26);8.31[i]=1a.2h(2s.r);8.31[i+1]=1a.2h(2s.g);8.31[i+2]=1a.2h(2s.b);8.31[i+3]=8.c.M[i+3]}u(B.1N){9 4f["70"](1R)}R{9 8.3J(1R)}};1i.H.3J=o(1R){I i,C,F;u(1R>=0){1m.1D("76 #"+1R+" 5K! V: "+8.1v.11)}8.52++;1O.35(8.c,"3J",{75:1R,ar:8.52,73:1i.2O});u(8.52===1i.2O){u(8.1v.14===V.25.5s){U(i=C=0,F=8.c.M.L;0<=F?CF;i=0<=F?++C:--C){8.c.M[i]=8.31[i]}}u(1R>=0){1m.1D("V "+8.1v.11+" 5K!")}1O.35(8.c,"88",8.1v);9 8.2u()}};1i.H.5o=o(J,2e,1P,26){I i,1w,C,F;1w={r:0,g:0,b:0};U(i=C=0,F=J.L;0<=F?CF;i=0<=F?++C:--C){1w.r+=J[i]*2e[i*3];1w.g+=J[i]*2e[i*3+1];1w.b+=J[i]*2e[i*3+2]}1w.r=(1w.r/1P)+26;1w.g=(1w.g/1P)+26;1w.b=(1w.b/1P)+26;9 1w};1i.H.7v=o(1u,1d){I 1e,2X,1c=8;1e=1C.2n(\'1e\');1e.8E=o(){1u.19.4l(1e,0,0,1c.c.1E.K,1c.c.1E.P);1u.1G=1u.19.3c(0,0,1c.c.1E.K,1c.c.1E.P);1u.M=1u.1G.1s;1c.c.M=1u.M;9 1c.2u()};2X=1U.8q(1d);9 1e.1d=2X!=G?2X:1d};9 1i})();1i=B.1i;B.1Y=(o(){o 1Y(){}1Y.3B={};1Y.6A=o(2K){9 8.3B[2K]!=G};1Y.2t=o(2K){9 8.3B[2K]};1Y.6S=o(11,1I){9 8.3B[11]=1I};1Y.2r=o(2K,1x){I 1c=8;4P(o(){9 1x.18(1c.2t(2K),1c.2t(2K))},0);9 8.2t(2K)};1Y.au=o(11){u(11==G){11=1F}u(11){9 8l 8.3B[11]}R{9 8.3B={}}};9 1Y})();1Y=B.1Y;1A.17("8w",o(O,N){9{r:O.r,g:O.g,b:O.b}});1A.17("aw",o(O,N){9{r:(O.r*N.r)/D,g:(O.g*N.g)/D,b:(O.b*N.b)/D}});1A.17("ax",o(O,N){9{r:D-(((D-O.r)*(D-N.r))/D),g:D-(((D-O.g)*(D-N.g))/D),b:D-(((D-O.b)*(D-N.b))/D)}});1A.17("ay",o(O,N){I 1f;1f={};1f.r=N.r>1t?D-2*(D-O.r)*(D-N.r)/D:(N.r*O.r*2)/D;1f.g=N.g>1t?D-2*(D-O.g)*(D-N.g)/D:(N.g*O.g*2)/D;1f.b=N.b>1t?D-2*(D-O.b)*(D-N.b)/D:(N.b*O.b*2)/D;9 1f});1A.17("aA",o(O,N){9{r:O.r-N.r,g:O.g-N.g,b:O.b-N.b}});1A.17("aB",o(O,N){9{r:N.r+O.r,g:N.g+O.g,b:N.b+O.b}});1A.17("aC",o(O,N){9{r:1t-2*(N.r-1t)*(O.r-1t)/D,g:1t-2*(N.g-1t)*(O.g-1t)/D,b:1t-2*(N.b-1t)*(O.b-1t)/D}});1A.17("aD",o(O,N){I 1f;1f={};1f.r=N.r>1t?D-((D-N.r)*(D-(O.r-1t)))/D:(N.r*(O.r+1t))/D;1f.g=N.g>1t?D-((D-N.g)*(D-(O.g-1t)))/D:(N.g*(O.g+1t))/D;1f.b=N.b>1t?D-((D-N.b)*(D-(O.b-1t)))/D:(N.b*(O.b+1t))/D;9 1f});1A.17("aE",o(O,N){9{r:N.r>O.r?N.r:O.r,g:N.g>O.g?N.g:O.g,b:N.b>O.b?N.b:O.b}});1A.17("aF",o(O,N){9{r:N.r>O.r?O.r:N.r,g:N.g>O.g?O.g:N.g,b:N.b>O.b?O.b:N.b}});V.17("5g",o(){I 3C;u(X.L===1){3C=1n.5J(X[0])}R{3C={r:X[0],g:X[1],b:X[2]}}9 8.1T("5g",o(A){A.r=3C.r;A.g=3C.g;A.b=3C.b;A.a=D;9 A})});V.17("8g",o(J){J=Q.2T(D*(J/1l));9 8.1T("8g",o(A){A.r+=J;A.g+=J;A.b+=J;9 A})});V.17("8f",o(J){J*=-0.aJ;9 8.1T("8f",o(A){I T;T=Q.T(A.r,A.g,A.b);u(A.r!==T){A.r+=(T-A.r)*J}u(A.g!==T){A.g+=(T-A.g)*J}u(A.b!==T){A.b+=(T-A.b)*J}9 A})});V.17("84",o(J){J*=-1;9 8.1T("84",o(A){I 3U,2I,T;T=Q.T(A.r,A.g,A.b);2I=(A.r+A.g+A.b)/3;3U=((Q.2H(T-2I)*2/D)*J)/1l;u(A.r!==T){A.r+=(T-A.r)*3U}u(A.g!==T){A.g+=(T-A.g)*3U}u(A.b!==T){A.b+=(T-A.b)*3U}9 A})});V.17("7J",o(J){9 8.1T("7J",o(A){I 2I;2I=1H.8d(A);A.r=2I;A.g=2I;A.b=2I;9 A})});V.17("7s",o(J){J=Q.20((J+1l)/1l,2);9 8.1T("7s",o(A){A.r/=D;A.r-=0.5;A.r*=J;A.r+=0.5;A.r*=D;A.g/=D;A.g-=0.5;A.g*=J;A.g+=0.5;A.g*=D;A.b/=D;A.b-=0.5;A.b*=J;A.b+=0.5;A.b*=D;9 A})});V.17("78",o(J){9 8.1T("78",o(A){I b,g,h,34,r,F;34=1n.7g(A.r,A.g,A.b);h=34.h*1l;h+=Q.2H(J);h=h%1l;h/=1l;34.h=h;F=1n.7i(34.h,34.s,34.v),r=F.r,g=F.g,b=F.b;A.r=r;A.g=g;A.b=b;9 A})});V.17("6X",o(){I 3E,2Z;u(X.L===2){2Z=1n.5J(X[0]);3E=X[1]}R u(X.L===4){2Z={r:X[0],g:X[1],b:X[2]};3E=X[3]}9 8.1T("6X",o(A){A.r-=(A.r-2Z.r)*(3E/1l);A.g-=(A.g-2Z.g)*(3E/1l);A.b-=(A.b-2Z.b)*(3E/1l);9 A})});V.17("6L",o(){9 8.1T("6L",o(A){A.r=D-A.r;A.g=D-A.g;A.b=D-A.b;9 A})});V.17("6K",o(J){u(J==G){J=1l}J/=1l;9 8.1T("6K",o(A){A.r=Q.1h(D,(A.r*(1-(0.aX*J)))+(A.g*(0.a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=0<=2x?++1S:--1S){A[2m[i]]=1L[A[2m[i]]]}9 A})});V.17("bk",o(J){I 2M,2F,p;p=Q.2H(J)/1l;2M=[0,D*p];2F=[D-(D*p),D];u(J<0){2M=2M.8A();2F=2F.8A()}9 8.4r(\'2Z\',[0,0],2M,2F,[D,D])});B.1V.17("5i",o(K,P,x,y){I E,1M;u(x==G){x=0}u(y==G){y=0}u(1g 21!=="39"&&21!==G){E=1q 3a(K,P)}R{E=1C.2n(\'E\');1a.47(8.E,E);E.K=K;E.P=P}1M=E.2q(\'2d\');1M.4l(8.E,x,y,K,P,0,0,K,P);8.3Q={x:x,y:y};8.6O=2j;9 8.4u(E)});B.1V.17("4o",o(1K){I E,1M;u(1K==G){1K=G}u(1K===G||((1K.K==G)&&(1K.P==G))){1m.5k("3x 8c bo 1E 7C U 4o");9}u(1K.K==G){1K.K=8.E.K*1K.P/8.E.P}R u(1K.P==G){1K.P=8.E.P*1K.K/8.E.K}u(1g 21!=="39"&&21!==G){E=1q 3a(1K.K,1K.P)}R{E=1C.2n(\'E\');1a.47(8.E,E);E.K=1K.K;E.P=1K.P}1M=E.2q(\'2d\');1M.4l(8.E,0,0,8.E.K,8.E.P,0,0,1K.K,1K.P);8.4H=2j;9 8.4u(E)});B.V.17("5i",o(){9 8.5w("5i",3V.H.3u.18(X,0))});B.V.17("4o",o(){9 8.5w("4o",3V.H.3u.18(X,0))})}).18(8);',62,707,'||||||||this|return|||||||||||||||function||||||if||||||rgba|Caman|_i|255|canvas|_ref|null|prototype|var|adjust|width|length|pixelData|rgbaParent|rgbaLayer|height|Math|else|image|max|for|Filter|args|arguments|_results|_j||name||_len|type|pixel||register|call|context|Util|options|_this|src|img|result|typeof|min|Renderer|start|loc|100|Log|Convert|end|Pixel|new|endX|data|128|layer|currentJob|val|callback|case|push|Blender|key|document|debug|dimensions|false|imageData|Calculate|obj|controlPoints|newDims|bezier|ctx|NodeJS|Event|divisor|id|bnum|_k|process|IO|Plugin|builder|throw|Store|parentData|pow|exports|Layer|initObj|target|Type|bias||ret|055|levels|cps|prev||kernel|hex|newLoc|clampRGB|caman|true|Module|to|chans|createElement|fn|_ref1|getContext|execute|res|get|processNext|plugin|object|_ref2|value|ele|rand|apply|devicePixelRatio|add|ratio|ctrl2|Analyze|abs|avg|renderer|search|from|ctrl1|window|Blocks|mul|pointsPerSegment|string|opacity|floor|values|func|originalPixelData|proxyUrl|imageHeight|rgb|imageWidth|modPixelData|lowBound|highBound|hsv|trigger|CamanParser|break|layerData|undefined|Canvas|lang|getImageData|events|in|clamp|1379310345|__slice|file|switch|child|parent|toString|leftCoord|nodeFileReady|Requires|p1|p0|CamanJS|lerp|slice|getAttribute|fs|Invalid|builderIndex|Image|cb|items|color|_error|level|finishInit|chan|originalWidth|last|blockFinished|blockN|__indexOf|__hasProp|http|renderQueue|url|cropCoordinates|currentLayer|round|getFloat|amt|Array|event|imageLoaded|unparsedInstructions|filter|toLowerCase|imgs|adjustSize|copy|numPixels|prop|continue|copyAttributes|opts|attr|dataArray|allowRevert|pixelStack|require|scaledCanvas|Fiber|preScaledWidth|originalHeight|preScaledHeight|algo|pop|drawImage|next|langToExt|resize|disabled|bind|curves|blue|green|replaceCanvas|oldCanvas|putImageData|red|updateContext|initializedPixelData|coord|pixels|startX|startY|hiDPIRatio|processFn|dest|resized|INST_REGEX|hiDPIReplacement|root|sel|parentNode|remoteProxy|source|setTimeout|parseInt|Root|fac0|fac1|fac2|fac3|pointsPerStep|pos|sub|buf|rightCoord|substr|blocksDone|hueToRGB|complete||match|moduleKeywords|includeAlpha|initType|vert|horiz|imageUrl|isURLRemote|Logger|matches|fillColor|overwrite|crop|err|error|nodeName|listener|Single|processKernel|except|number|naturalWidth|Kernel|readyState|missingValues|count|processPlugin|newLayer|LayerDequeue|LayerFinished|m0|m1|included|on|endY|uniqid|DOMUpdated|backingStoreRatio|Revert|hexToRGB|finished|ctor|req|of|inst|instFunc|lastBlockN|04045|needsHiDPISwap|blockPixelLength|eachBlock|finishedFn|job|try|plugins|catch|waitForImageLoaded|blenders|imageAdjustments|0031308|4166666667|whiteX|whiteY|whiteZ|pixelAtLocation|008856451679|3333333333|787037037|version|2068965517|1284185493|setContext|xyz|getAttrId|coordinatesToLocation|console|_fn|_type|LoadOverlay|_ref3|replaceChild|crossOrigin|info|layerStack|blendingMode|stats|canvasQueue|toBase64|108|assignId|isImageLoaded|release|has|executeLayer|pushContext|popContext|1000|applyCurrentLayer|applyToParent|hermite|URL|gamma|sepia|invert|_super|instanceof|cropped|autoload|hasId|chunk|put|binary|isRemote|parser|extended|colorize|me|__bind|yield|parse|DEBUG|totalBlocks|hiDPIDisabled|blockNum|Block|hidpi|hue|renderKernel|ready|renderBlock|dataStr|swapped|__extends|channels|rgbToHSV|hiDPICapable|hsvToRGB|date|readFromHttp|rgbToXYZ|https|locationToCoordinates|DOM|initCanvas|RegExp|initialized|contrast|executeFilter|executePlugin|loadOverlay|shift|addEventListener|Uint8Array|initImage|clip|newCanvas|given|toImage|reloadCanvasData|nowLoc|setAttribute|render|getPixelRelative|greyscale|x1|xyzToLab|y1|x2|y2|047|hiDPIAdjustments|883|sqrt|renderStart|randomRange|style|116|500|200|setInitObject|noise|anonymous|Object|scaled|vibrance|initNode|types|processStart|processComplete|renderFinished|blockStarted|px|or|luminance|log|saturation|brightness|domIsLoaded|filterFunc|domainRegex|corsEnabled|delete|use|proxyParam|parseArguments|node|remoteCheck|setup|Height|item|remote|mode|normal|proxy|Width|loaded|reverse|originalVisiblePixels|png|browserSave|onload|nodeSave|Initializing|rb|py|perl|pl|javascript|js|proxies|caman_proxy|save|ruby|Released|useProxy|encodeURIComponent|replace|octet|stream|location|href|find|images|loading||statSync|isFile||Creating|output|writeFile|toBuffer|Finished|writing|toDataURL|Cannot|configured|not|layerID|createImageData|setBlendingMode|without|copyParent|load|Attempting|overlayImage|Could|domain|indexOf|credentials|listen|warn|void|initialization|labToRGB|rgbToLab|locationXY|labToXYZ|Version|2013|0570|2040|0557|0415|putPixelRelative|8758|getPixel|putPixel|toKey|toHex|9689|4986|5372|os|cpus|2406|readystatechange|xyzToRGB|9505|1192|0193|0722|7152|default|2126|1805|3576|4124|python|readFile|hasOwnProperty|hslToRGB|run|Fetching|rgbToHSL|Executing|constructor|charAt|Start|End|__super__|keys|startPixel|endPixel|setEncoding|while|extends|includes|delegate|Buffer|Rendering|blocksFinished|camanProxyUrl|aliasFunction|flush|114|multiply|screen|overlay|587|difference|addition|exclusion|softLight|lighten|darken|analyze|299|aliasProperty|01|toFixed|random|defineProperty|set|distance|Function|querySelector|DOMContentLoaded|querySelectorAll|extend|Remote|detected|using|607|769|189|349|314|168|272|534|869|calculateLevels|attributes|nodeValue|naturalHeight|fibers|reset|revert|backingStorePixelRatio|oBackingStorePixelRatio|msBackingStorePixelRatio|mozBackingStorePixelRatio|webkitBackingStorePixelRatio|isNaN|split|exposure|scale|HiDPI|resetOriginalPixelData|missing'.split('|'),0,{})) \ No newline at end of file diff --git a/src/core/caman.coffee b/src/core/caman.coffee index b52dcf4c..dc5f9456 100644 --- a/src/core/caman.coffee +++ b/src/core/caman.coffee @@ -109,6 +109,7 @@ class Caman extends Module # a function and as a 'new' object. @finishInit = @finishInit.bind(@) @imageLoaded = @imageLoaded.bind(@) + @nodeFileReady = @nodeFileReady.bind(@) args = arguments[0] @@ -251,7 +252,7 @@ class Caman extends Module callback null, new Buffer(buf, 'binary'); req.on 'error', callback - nodeFileReady: (err, data) => + nodeFileReady: (err, data) -> throw err if err @image = new Image()