//MooTools More, <http://mootools.net/more>. Copyright (c) 2006-2008 Valerio Proietti, <http://mad4milk.net>, MIT Style License.

Fx.Slide=new Class({Extends:Fx,options:{mode:"vertical"},initialize:function(B,A){this.addEvent("complete",function(){this.open=(this.wrapper["offset"+this.layout.capitalize()]!=0);
if(this.open&&Browser.Engine.webkit419){this.element.dispose().inject(this.wrapper);}},true);this.element=this.subject=$(B);this.parent(A);var C=this.element.retrieve("wrapper");
this.wrapper=C||new Element("div",{styles:$extend(this.element.getStyles("margin","position"),{overflow:"hidden"})}).wraps(this.element);this.element.store("wrapper",this.wrapper).setStyle("margin",0);
this.now=[];this.open=true;},vertical:function(){this.margin=etStyle      ";is.layout.c="heht (";is.lafset"+his.element.rafset"+Heht (,vehorizont:function(){this.margin=etStyle   lef(";
is.layout.c="width";is.lafset"+his.element.rafset"+Width,vet"+unction(){Athis.element.detStyle("mis.margin=e,A[0]);is.wrapper).etStyle("mis.layout.c,A[1]);
triurn is.l,vempleutfunction(B,E,D,C){r C=B];thr C=A=2;A.tim("mnction(B,F){B[F]=.Slmpleutf(E[F],D[F],C}},);triurn B,vettartunction(B,A)E){(th!is.lacheck(ginunt.dlacallee,A)E)){triurn is.l,
}is.l[E||is.lations:{.de:"](var C=D=is.element.getStyle("mis.margin=e).toI("dvar C=this.wrapper).egStyle("mis.layout.c).toI("dvar C=A=[[D,C],[0,is.lafset"+]];
r C=G=[[D,C],[-is.lafset"+es;thr CF;switchB);{case"n",:F=A;break;case"ut.,:F=G;break;case"toggle,:F(this.wrapper["offset"+this.layout.capitalize()]!=0);?A:Gl,
{triurnhis.parent(AFA[0,FA[1]B,veide=In+unction(){At{triurnhis.pettar("n",,A]B,veide=Out+unction(){At{triurnhis.pettar("ut.,,A]B,vhde=+unction(){Athis.[AE||is.lations:{.de:"](v
his.open=tfalse;{triurnhis.peet(,[-is.lafset"+es]B,vehow+unction(){Athis.[AE||is.lations:{.de:"](this.open=truee;{triurnhis.peet(,[0,is.lafset"s]B,vtoggle+unction(){At{triurnhis.pettar("toggle,,A]B
}},)Eement.groiprtice.peide=n{et"+unction()BC){r CAthis.retrieve("weide=);
if){AtAcapncel](t
{triurnhis.peliminat("weide=);store("weide=:triurnhFurnhis.ylink:"Acapnal"}B),A]B,gvet"+unction(){;
i.[A!Athis.retrieve("weide=){;
i.[A!Athis.retriere("weide=:triure=){rnhis.pee("weidt.,,A]rnhi);store("weidt.|new
Fx.SlidF(thi,Athis.retriere("weide=:triure=)):Gl,
{triurnhis.retrieve("weide=)}}},)EementimpElement{"weidt"+unctionDB,A)D=D||r("toggl;C){r Crnhisgpee("weidt),ACF;switcDB);{casheidt:B.heid(E)=G;break;cas,veht:B.,veh(E)=
G;break;case"toggledvar CAthis.retriere("weideflag",Bs.ope);B[(C)?",veide=O":",veide="](E)=rnhi);store("weideflag",!F],An=tru=G;breadefault:Bs.pettnDB,):GlE){((){rnhis.peliminre("weideflag"l](t
{triurnhi;B
}}
Fx.crolle=new Class({Extends:Fx,options:.lafse:{x:0,y:0},wheelS   s:=tru"},initialize:function(B,A){this.element=this.subject=$(B)
;this.parent(A);var C=D=itAcapnc.biend(thi,=tfal=);
i$types(this.element!=".elemen"A){this.element$d(this.element.geDocginune()bodyl](;var C=this.elemen);
ifE||is.lationswheelS   sA){this.addEvent(.pette",function()Cs.addEvent(mousewheel",D);}},true);this.addEvent("complete",function()Cs.rm{ovdEvent(mousewheel",D);
}},true)}th,vet"+unction)BC){r CArray.flatxteeck(ginunt.ope);B[(C)?",ve|eht=thia,D);
plRfre=).adefault:Bs.pettnDB,[xc-".jinunt.ope);B[(C)?""l;);B[mr},tnction(){Athicapnc.Evettartunction(B,A;swit,Fvettartunction(B,An()CsA;swit"weide=ettartunction(B,An()Csit,D=):GCE){H};
for(tyle( in Dl",D);}}F[G]-E[G]initichk(D[G]tncD[G]=tializeD[G]t=="numbct(t?D[G].C)?"t(0rnh:A;}eu"}cD[G]=B[G]i}D[G]+=i$types(this.ettnDB[G]in",:F=A;break;case"u[B.xtcDyargD.xtDDyation()   plt:Bs.pettnction(){Athis.[AE||tru"},0.lafseL  "lt:Bs.pettnction(){Athis.[AE||0=tru"},lafseRtru"lt:Bs.pettnction(){Athis.[AE||"ryle("=tru"},lafseBottomlt:Bs.pettnction(){Athis.[AE||tru"},"bottom"tion() rnhi);speet(,[0,is.lafset({Extn(B,P.retrienew Element("dition(){Athis.[AE||A.xtA.y)tore("wernhi);ssg",!F],An=tru=G;breade.CSS("weideflag"l](t
{triurnhi;B
}}
Fx.croslle=new Class({{Extends:Fx,options(mousewheel",D);
}},tG,H,I.lafseC={};for(tyleD in G.lafset(G[D],E=H[D],F=C[D]leD in G.laf      rons(mousewheel,;+lns(mous},tBzIous,:F=A;brCn() .peet(,[0,is.laf G.laf  C   rlafset({EB[C]or(tyleD in G.i;B
}}
F;+lder(
}}
Fx.crosll[C])}tA],F=types(this.etuideous,:F=A;brtypeadefault:Bs.pettnDBxc-".jinunt.ope);B[(C)?""l;);B[mr},on(B,F){B[F]=.SlmleD HD i,I};for(tyleD in G.h,vet"+C[D]le,A[D],FD i,G=I]leD in G.laf      rF,vet"+Esewheelrel,;+(
}}
Fx.crosll]le,B,(mouoggmousE.from;GmousE.to;},:F=A;break;case"u[BI.l.de:"](leD irag,!F],An=tru=I("weidt.s:[Events,Othis.e]ult:Bs.petsnap:6,uide:"px",grid:u"},"b.subjinre(,?"t(0:u"},"bhandle:u"},"bin.el0:u"},"blreventD.retr0:u"},"bionifiers:GlE" ";is{H}"his.}"weideflag"l](t
{triur,vet"+utrue);tAthi;B[(C)?""l,{lt:Bs.peOass({.izeD,ei);spee$s.rined}.dethis.subject=$(Bment("div",{styd);var C=B)
;this.parent(A);var C=D;"AcapnalOthis.e(Bmlt:Bs.p||{}{.de:"](lizeD$types(this.elhandleD;"Acelhandles=(A"nuaue);"||A"nucoB[m{triu?D[$$$types(this.elhandleD:$$types(this.elhandleD||d(thi,=tfal=);d(thipette={n]B, i,pos, i};"Acelvalue={fault, i,n]B, i};"Acapna[m{triu=(ent("complete",trid"div?"na[m{tment$d:.pettedown";"Acapbound={fault,his.[AE||AelS   s:=t),.ope):inunt.ope)elS   s:=t),drag:inuntdragelS   s:=t),shis:inuntshiselS   s:=t),.},whe::0,y:0},wheelS   s:=t),eventShis:$lambda(u"},la});d(this.aaretouses.aare](t
{triur,v"Acelhandles.geDocginune(ttedown","Acapbound[AE||A);:F=A;brtypeadedeaare](t
{triur,v"Acelhandles.is.addEvginune(ttedown","Acapbound[AE||A);
:F=A;brtypeadefault:Bs.pettnDBxc-"$types(this.ellreventD.retr0){thlreventD.retr0(vet"+uncfirdEvginunbe G.eSent$d( Element("ditid(thipette[AE||A=thlage;
de:"](types(this.el?"t(0id(tel?"t(0:GCE[],yE[]for(tyleD in G.types(this.elionifiersxc-".jtypes(this.elionifierl]leievontin(thi-"$types(this.el.subj){"Acelvaluew:"h]lettartunction(B,A)E){(th!ises(this.elionifierl]lelations:{.
u"}cD{"Acelvaluew:"h]lettartunction([!ises(this.elionifierl]le]hi-"$types(this.elin.el0){"Acelvaluew:"h]le*=-1;}d(thipette[pol]le.elionithipette[pol]("weidt.s:[},tGMM leievG.laf    {r B--;afsichk(D[G leiouog{"Acel?"t(0:leiouo=lambda(u leiouogvet""""ichkzeD$types(this.elhrid:"numbct(t?D[{ypes(this.elhrid:GCE[ypes(this.elhrid:,y[ypes(this.elhrid:}
u"{styd);var C=geDocginuu=Iette.addE:Acapbound[.ope)e,ette.up:Acapbound[.o,whee{.d{styd);var C=geDocginu(Acapna[m{triu="Acapbound[AventShis:usesope)ef){AtAcapncel"$types(this.ellreventD.retr0){tAlreventD.retr0:{.
u"f    {Math.rund[(Math.sqrt(Math.pctiAionit.x-(thipette[AE||A=A.y2)+Math.pctiAionit.y-(thipette[AE||A=Ayy2))itialB>ypes(this.ellnap:[{ypess.pettar("{styd);var C=geDocginuu=Iette.addE:Acapbound[drage,ette.up:Acapbound[shise.det+uncfirdEvginunbsnt$d( Element("ditifirdEvginunbsap:( Element("ditEventragef){AtAcapncel"$types(this.ellreventD.retr0){tAlreventD.retr0:{.}d(thipette[p"hidAlage;
dG.laf     G.types(this.elionifiersxc-".jtypes(this.elionifierl]lBievontin(thi-tte[pol]("weidouo=(thipette[p"hdouo-(thipette[pol]ouo;"$types(this.elin.el0){"Acelvaluew:"h]lB*=-1;",Bs.oypes(this.el?"t(0i&&Acel?"t(0:lB*fsichk(D[GAcel?"t(0:lB*(mou&&(Acelvaluew:"h]lB*>Acel?"t(0:lB*(mou{"Acelvaluew:"h]lB*=Acel?"t(0:lB*(mou"}cD[Gichk(D[GAcel?"t(0:lB*(0ou&&(Acelvaluew:"h]lB*<Acel?"t(0:lB*(0ou{"Acelvaluew:"h]lB*=Acel?"t(0:lB*(0s:["""ictypes(this.elhrid:lB*{"Acelvaluew:"h]lB*-=(Acelvaluew:"h]lB*%ypes(this.elhrid:lB*{i-"$types(this.el.subj){"{this.margin=etStyle  ypes(this.elionifierl]lBi,Acelvaluew:"h]lB*+ypes(this.etuideou
u"}cD{"artunction([!ises(this.elionifierl]lBi]=Acelvaluew:"h]lB*;}"+uncfirdEvginunbrage( Element("ditEve.},whe:f){AtAcapncel{styd);var C=is.addEvginune(tte.addE",Acapbound[.ope)eu
u{styd);var C=is.addEvginune(tte.up",Acapbound[.o,whe:itiancel{styd);var C=is.addEcginu(Acapna[m{triu="Acapbound[AventShis:us+uncfirdEvginunbo,whe:( Element("ditE:[""shis:f){AtAcapncel{styd);var C=is.addEcginu(Acapna[m{triu="Acapbound[AventShis:us{styd);var C=is.addEvginune(tte.addE",Acapbound[.te.asAEou
u"}cD{"n=d[(Math.sqrt.addEvgi) cD{"n=d[(Munbsnt$d( Element(})weide=:triure=){rnhimakeResizabtfalse;{triurnhis.peet:F=.to;}:f){A,$merge({},"bin.el0:u"margin={ypent.stor+unA)rom;GmoHash.Cooki     //MooTools More,Cooki !F],An=truautoSaveault:Bs.pettnDB,):GlE){((){rnhis.(mouoggmou{rnhiAE||A=toadeventsavedEvent(.pette",funJSON.encodpes(thihash=d[(Ma!Ahis.length>4096nhis.peety:0},AcelzeD$t{}"""ichkent("complmou{"Acc).toI(ite(Aag",Bs.ope"posititoaddEvent(.petts(thihash    /Hash(JSON.decodpes(thireadev  sA){.addEvginune(tteGmoHash.Cooki riure=){rnh(Event(.pette",fun{}oHash.et),eHash.prototrue))?",ve|eht=]("oe=)het),eHash.prototrue))?",ive|eht))?yd[(Ma!Ahis,heel",D);}te[p"hdouo-(thipet:Bs.pet    /Ha.pet(){;
i.[A!AtD;}.etStyle("mA.et()A)E){(tolorSON.dNatiet({GlE){((){rnhis.(mouogg=A;brtheel",D);6nhis.pe=3typ="rgb";weideflaslicetheel",D);,0,3)luew:"h]lB|ehtof Bkenstring"A;brtB.mae=:t/rgb/lueB=B.rgbToHex().hexToRgb(ginuuew:"h]l;brtB.mae=:t/hsb/lueB=B.hsbToRgb()luew:"eB=B.hexToRgb(ginuu(0:leC().i"rgb"weide=:tCiure=))hsb":(,[0,is;B=B.hsbToRgb()lB.hsbthis.wrapper).hex":B=B.hexToRgb(ginuuntimpEle}B.rgb=Baslicet0,3)lB.hsb=B.hsb||B.rgbToHsb()lB.hex=B.rgbToHex()Style("miprtice.Bementtion()tolorimakeResizabtixte",funJSON.encodeideflaslicetheel",D);untE){(t-E[G]iniAelvaLasentk(D[G]tncD[G]A(thp():50artunction(aslicet);Aprotote",funJStriuDSON.dtolortri"t(0id(teE=0;E<3;E++ueB[E]{tAlreventD.(B[E]/100*(100-C))+(D[E]/100*nunt.oetStyle("mON.dtolortB,"rgb"tioe(,?"t(te",funJSON.tyle("mON.dtolor B,vettap(his.peet:F=.to;}:f)255-A.etent(.etHurnhis.peet:F=.tyle("mON.dtolor [Aement.hsblvaement.hsbl2]],)hsb")+lns(moSale(apeetnhis.peet:F=.tyle("mON.dtolor [ment.hsbompleement.hsbl2]],)hsb")+ns(moBpettnnessnhis.peet:F=.tyle("mON.dtolor [ment.hsbompement.hsblvaeA],)hsb"nt.oetShis.peet $RGBet),,F=.tyle("mON.dtolor [t),,F],"rgb"tiohis.peet $HSBet),,F=.tyle("mON.dtolor [t),,F],)hsb"tiohis.peet $HEX:F=.tyle("mON.dtolor A,.hex"nt.oideflimakeResizabrgbToHsbte",funJSON.enunction(ompeCtion(lvaeJtion(l2l",D);G,F,H",D);I{tAlremaxogg=,J),E{tAlreminogg=,J)",D);K=I-E;H=I/255;F=(I!.lafK/I:0lengtF=.la{G=0luew:"e",ive=(I-B)/K",D);A=(I-C)/K",D);L=(I-J)/K"brtB==Ia{G=L-Aluew:"h]lBC==Ia{G=2+D-Lluew:"{G=4+A-DionG/=6"brtG<la{G++(mouoggmo[tAlreventD.G*360),tAlreventD.F*100),tAlreventD.H*100)]+lnshsbToRgbte",funJSON.enunC{tAlreventD.ion(l2l/100*255}te[pion(lva=.la{uoggmo[C,C,C]luew:"e",ivAtion(omp%360;d(teE=A%60;d(teF{tAlreventD..ion(l2l*(100-ion(lva))/10000*255}t
",ive{tAlreventD..ion(l2l*(6000-ion(lva*E))/600000*255}tenunc{tAlreventD..ion(l2l*(6000-ion(lvl*(60-E)))/600000*255}weide=:ttAlrefloor A/60)iure=) 0:uoggmo[Cheel]+lre=) 1:uoggmo[D,Cel]+re=) 2:uoggmo[F,Che]+re=) 3:uoggmo[F,D,C]+re=) 4:uoggmo[eel,C]+re=) 5:uoggmo[ChF,Difie,AcelzeD$t{}"oetSStringimakeResizabrgbToHsbte",funJSON.enivAtion(.mae=:t/\d{1,3}/ge(tteGmot:F=?hsb.rgbToHsb():null;nshsbToRgbte",funJSON.enivAtion(.mae=:t/\d{1,3}/ge(teGmot:F=?A.hsbToRgb():null;n})",D);Gvenpols More,Cooifiers:GlE" ";is{H}"hiion(.instventsaddEvent(mousewheel",D);}s({.izeDs.pet),eHis.[AE||Aeer),eH},ypess.penhis.(mouoggmou{r.[AE||Aeersh.p{r.[AE||Aeersh.D;"A;{.izeDs.petsh.p{.izeDs.petsh.D;[tte[p{.izeDs.petsh..typeains:F=0},AcelzeD$t{}ew:"h]l;{.izeDs.petsh.)BC){e"posion(.instventsprotote",funJStC,DA){this.elemeB,is.[AE||AelS   s:=t),[eeC,D]tent(:=t)e(ttedown","AcapE||Ae:e",funJStC,A,Bou{r.[AE||AeersChk(D[ginut
",ive{ion(.instventspr?"tyh,vet"+unct,E0},Acelze{r.[AE||AeersChkE.D;D$t{}et(:=t)e(ngthD0},Acelze;}{r.[AE||AeersCh="A;{.izeDs.petsCh
rsCh,AcelrAentspgH0*nunt.oetStyletD.H*100)]+lnrsChk(D(D(D(D(D(D(D(D(DTnogg=sbthis.wrappC:e?eF0)]+Chk(D(D(D(D(D(D(ze;}{r..lrB;{thDprototrue))?"pr?"tyh,vet"+unct,E0},Acelze{r.[nd[JoD(Da+lnss.enuncSunA)rom;GmoHash.Cooki     //MooTwm"r u3";is{a0=ChkE.[{},E0},,CoorsChenivAaetventspr?"tyh,vet"+unct,E,r?XAW D,tyhChkE.D;D$t{}et(eF0)],r?X,nctnull.petsggmo[eel,C]+r:F=0},AcelzeD$t{}ew:"h]l;{.izeDAl+t0,3)lB.hsb=B.hsb|sunctunct,?"pr?"Cmmctnull }te[p"hdouo-(thipeCsC0}, [t),,F].oetStb]nEl.[AEBodBEctnull.petsggm"nsb|.[AE|0)]+ln"moHag{Stb]net),erD(Da+lnss.,AEBodBEctnull.S":ss.sE||Ae:e",]null.petsggm"nsb|.[AE|0)]+ln"moHag{Stb]ne]{tote"weBtC,DAHag{Sginun:"|A,+unct,E0}Cooki     //MooTwm:0=Chkecl{|.B.hsBON.d>BleDunA)rom;GmoHash.Cook"Acelhandles.geDubTwm:ib]nE,r?XA}Cookii,ve"e;Gmo=Chkecl{|.y;lp){unct,?"p,e;Gmo=Chkecl{|.y;lp){unct,?"p,e;Gmo=Chkecl{|.y;lp;Gmo=Chkecl{|.y;l(}fun{}oHash.et),eHash.prototrue)e,]cnpols More,C   +otruBFB(,]n)lB.hsb=B.hsb|.hsb0X0e[Bc",]nuo-|=Ch"p,ecb{moHas;.hsb,ar$-.0?0e[Bc",]nuo-|{Stb]neCh"p,ecbeCh"p,eceD=,F){]neCh"p,ecbeCh"p,ecedeDA)bdB;{cbeCh"pe-l|h.y;lp;Gmo=ChA)romMore,)ro,)AnA.hs[]lrDA))==eCh(rlp;Gmo=CAcap:{sh.y;lp;Gmo)A.3:uoggmo[F,D,Cghn)lB.hsb=B.hsb{]neCh"p,ecbeCh"p,ecedeDA).hsb=B}y o=CAcap:{sh.y;lp;Gmo)A.3:uoggmo[F,D,Cgha.mo[F,{sh.y][F,D,Cghat6eCh(rlp;Gmo=CAcap:{sh.y2at6eCh(rlp;Gmo=CAce:eCh"p,ec0W{sh.thi[[F,{sh.ec0W{sh.tA,.m.neCnull.S,C.n(lva)BtA,.m.neCnull.S,C.n(lva)BtA{o=CAcap:{sh.y2at=D{sBtA{o=CAcap:{s-h.ec0W{sh.tA,.m.neCnull.S,C.n(lva)BtA,.m.neCe"DHag{Stb]net),erD(Da+lnss.,AEBodBEctnull.S":ss.sE||Ae:e",]null.ec0oA|eCe"DHag{Stb]net),erD(Da+lnss.,AEBtdi)}Asbthis;Gmo=CAcaptn(.ect,?"AEBod[lB.hs,ct,?"AEBod[lB.=CA.;pleehis.e;E"AEBDeD$to:BeDeD$to:Bd:,): pt,?"Aaasentk(D[GcAEBtdi)}Asbthis;G.ec,(n0e(D(DsEBDeD$to:,.[AE=yeo:BeDsEBM}:p4eD$to:,.(y,di)RhA)rpprom;GmoHash.Cook"prom(DsEBDeD$t i
G".Cook5mpegg|.y;lpet"+
y;lpetsBct,?"ne(ttedown","AcapEl:g{Sr6eCh(pro"&.iarieo"&.iarig{S,ivAt3{.y;iot














et"+unct,E0},;lpet:"moHaastion(.mae=:t/\dg"eDs.pet)"eDH>lpet:"moHu,ggmo[F,D,Cs.pet)"eDH>lp(y,di(l;:t/hihash=]nes:}y,di(l;L(ect,?"AEBod[lB.h;ri[uH/\dg"fcBodBEctnullbhihash=]=]nes:}y,di(l;L(ect,?"AEBi;{di(dles.geDlB.e]=]nes:}o$sE|geDlB.er(>]l;L(,)AnA.hs[]lrDA))==eCh(rlp;Gmo=hEBodB=]nes.peB=]nesxB=]nes.peB=]lu$$$vm1.instventsaddifiers=nes:ue=(D(zs=neodBEcts[]lrDA(D(zs=neodBEcts[]e,): pt,?"Aaasente..eo,=}ggmoiersHas;.hsb,ar$-.0?0e[Bc",]&kE.D;D$t{}et(:=sb,a]lrDA(D(zs=ne=]nes?0e[Bc",]&kE.Dn+=neo]lrDA(D}DA(pneo=nes:}ylvadE"es?0e[Bc",]&kEpdifiers=nes:ue==Iette.a=eCEB
De&kE..D;DlvadE"eCEB
DeE(d)lt$toFelD;D$t[Bc",]&k[Asbthis;GmoDAE=y"Ks;GmoDAE=D$t[Hl]letS(D(DsEBDeD$to:,.C,A,BsEBD.e;E";Gmo(adE+.m.ney;lp){unct,b[/se"gio;untEt"+
A(D(..,cBC4{unct,b[(Hex().hexT.BcBC4{u5meDH>lpet:"moH.rD(.cncttt:"moa.gttt:
A(D(..t6e(D:lB*(0ou{"Acelval(.per?"t/lrevent.().hexT.Bnct,}n6e(DA(D(..,cBC4{unct,b[(Hex()ct,b[(Hett:
}eCh"paD$t[Hl]letS(D(Dshs[]lrDA))ne(tteGt6e(DBe




et"+unct,E0}asb,a}Dshy]lrDA))C6A(D(..,}Dsh6A(D(..,}Dsh6A(D(..,}Dsh6A(D(..,}DDtAlreventDtDtD)sbthis;GmoDAAlra+uncaAlreve.Slreve,hEBD.elfcBoN".rD(>cAE)S(D(Dshs[]lrDAl>]lrDAl>]lrDAD(>cAE)eD$t mo[eexnctt."b"nt.oetSr/60e.",
DG.ec, }ul",sSD(..,cBCn):".rD(>c"nt.oetSr/60e.",
DG.eD.,}Dto:,0)],r?X,nctnull.othtrenE)rtB,}(>c"r0bAl>]lrDAD(>cAE)eD$t mo[eexnctt."b"nt.oetSr(Sr6eChAement.hsbl|eetSr(Sr6rsaSlreve,B=ifcx,A,B,C?=ifcx,EBM}:p4sSD(.]lrDAhIEl)BD.elfcBoNBSlre=eDshs[]lrDAl>]lrDAl>]lrDAD(,}Dsh6A)r}.,cBC(A%60;G=B,}(>,diB,C?=ifcx,EBM}:p4sm}A%6wCo(g}ew:,]&kE.D;D$.y=ifcx,EBM}:p4sm,]&kE.( mo[eexnx,EBMp4sm,]&k$sE|ge.B=;tlt$tK/255;))s,,.Slreve?"AE(=iash.Coo"GD$t mo[eexnctt."b"BCtn3$6000-H6eCpette[p"hdouoCSm( mo[eeB=e,t."b"BCouoCSm( mo[eeB=e,[6rsaSlrc,w:,]&kE[,
DG.eD.,}Dto:,0)]riDa+lnss]be:;TT.Bnct,.SeCe,o:,0)]riDa+lnss]be:;shs[]lrDAl>]lr."b"nt.oetSr(Sr6ss]bf+lnss]bedeototrrgbToHex().hexToR>.(tt."b"BCouoC
Eg]rirev-$$$vm1.instvenBDA(D}Bnx,EBM}"BCouoC
Eg]rirevC
Eg]boHex(B(:=t)e(ngthD0J+
Ddefete"dow?t/&kE.Hex(B(:=t)e(ngthD0J+
Ddefete"dowL-};y,et:"ne:;sh+tt:
}eChCrb()lB.hex=B.rgbt(=iashd(ois+lnss]beeaash.et),eHash.protrlp;GdefetS,ivAF,Ds.pmo[eeB=};y,et:"ne:;sh+tt:
}eChCrb()lB.hex=B.rgbt(=ie?(:=bt(,Ds.;Ctn3$6000-H6$600si-H6$dyet),eHash.pro} a;hash.pro} a)mo[D,/; a)mo;DAhIEl):
CI a)mo;D;"S,ct,?"AEhCrb(C
}eCski  te"dowc"no} a)mo[D,/; a)mo;DAhIoe)ivAF,Ds.H>lpm$.hs
}eCski  te"Bgo[Dw?t/&1D.elf,)ivtanl|eetomMe]=]nes:}o$sE|geDlB.er(>]l;L(,)AnA.hs[]lrIi$60;HeelfcBoNBSB.er(r}.,sh.et),eHash.lB.hCrb()lB.er(r}.,sh.et),eHaseDlB(r}.l|eee0vtanl|eetomMe]=]nes:}o$sE|geDlB.et),eHash.lB.hEgeDlBsa omMe]=]nes:}olsh.pr:seG/aE"]&k,]lrDa=r0BM}:ee0vtelsh.eD.,}Dto:,0)],r?X,nyi."b"nt.oek,]lrDa=rr.lB.hEgD,se}DD:r:seG/aE"]&ki."b"nt.oek,]lrDa=st),eHaseDlB(r}.l|eee0vtanl|eetomMe]k,]lrDa=,): pa"X,nyi;shrb()lB.hex=Bs.H>lpm$6eChAement.hsbl|e)pm$6eChAement.hsbl|e)pm$6eChAeme.H>lpm$6pa"X,nyahsb;0-bl|e)pmAgeDlAeme.H>lwAue,0)b(:Me]X,nyieme.HroNBSB.er(r}.,X,nye.HroN+.hsbl|e)pm$6ee 5:uo$600si-H6$dyet),e]-6$d]nl|e)pmAgeDlA=+0si-H6$der(r}.,Xh.et),elahsb;0-bl|e),0lhh+tt:[eexnc:seG/aE"]&exnc:CmMe]=]nenye.HroN+.hsbl|e)pmAeme.H>lwAuexnc=}DA(pneo=nes:}ylva
nc=F }Dto:ash.lB.hosh.et),e"]be:;TT.Bnct,.SeCe,o:,0)]riDa+lnss)At;.Bnct,.SeCe,o:,0A,B,C?=ifcx,EBM}:.er(>]l;L(,)A)F$600st;.
DeE(dBe.Hro.e:;TT.Bnc]l;L(sDa+lnss.e:;TT.Bncn(.ohx4{unct,b[(Hex(,GE";Gmo(adE+.m,TT.Bncn(nct,b[(Hex(,GEr}.,s,o(adEiBEizeDAl+t0,3)lB.hsbC(0[Eltt mo";G.r(Sr6rsaSlre: ,b[EitHurnhis.)|e)pmAgeDlpet}e]](x(,GEr}.,s,o(adE,HDA(pn=mC"n,b[(HexCl|e)pEB:snGeDs.pet)"eDH>lpeki  te"dowc"no)
nob[EilrDa=st),.nGeDs.exnc.hs.{r..lrI a)mo;D;"S,ct,?"AEhCr,.nGeDs.exnc.hs.{r.eus.exnc.hs.{r.-e.{r}]lrDl|e)pm$;D=aEilrDa=st),.nGeDs(c>h6A)r}.,cBC(A%e)mo;D;"S,ct,?"AEhCC(A%lnueDlBsai,kCEB:snGeDs.pet)"eD.HroNBS=m,TT.Bncn(nct,b[(Hex(,GEr}.,s,o(.sB,C?=.pet)]A%lnue)pm$;D=aECrb()lB.er(r}.,sh.e;0,"neo=nea.e;0,"neo=nea.e;0,"neo=nea.e;0,"neo=nea.eSeCe,o:,0A,Bs| d[JoD(Da+lnss.enun,00ss,o(
nob2eebB.eCI,; a)mo;DAhIEll= te"dowc"no)
nob/c"no)
R,odefete"dow?t/&ohx44{unct,b[(Hex(,GEGe;0,"neo=nea.eSeCe,o:,0A,,ea,t)]A%lnuer}.,s,o(.sB,C?=.pet).e;0,A-pet}e]](x(,GEr}.,ti;e),0lhh+tt:[eexn,0A,o)
nob/8f.eus.exnc.hs.{r.-eiDa+w ,A,B,C?=ifcxeDAl+t0,3)lB.hsbCr,+lnss]s,A,B?=ifcxeDAl[; a)"F0e[dfcxeDAle}Xh.et),ele}Xh3"dow?t/&ohx44{R,,eeHex(,GEr}.,s,o(.sB,C?t  te"dT.es?0e[Bc"nr}.,s,o(.sB,C?t  te"sT.esChCrb()lB.hex=B.r,nct]-tA(r}.,sh.et),eHashr)lB.hex=B.r,n.et)(.+lnss.enun,00s;rixeDAhie}Er}.,soD(>c"nt.Dash.lto)
R,odefete"dow?.et)(.+,00s;rixeDAhie}oa:ti;e),aaiMas?"l.,eHa.eCI,; a)mo;DAhIExow?]],)hsb")+nBC=GADuo{):.a.eCI,; a)mo;DAhtt:"moa.gttt:
A(neo=n imAge5o=nea.eSie)SeCe,o:ppm$6eChAemenA.sBR,odefete"dor])lB.hex=B.r,nct]-tA(r}.,sh.et),eHall=,qJB,C?=.pet).e;0,A-pet}e]](x(,GEr}.}esoD(>c"ndow,{]}5He[Bc"nr}enss]lpm$6pa"X,nyahe)+w ,A,B,C?=if;;,GE;shrb()lB.hex=Bs.HmenA.sBRenA.;,) 
tH;.
DeE(dBe.HroA.sBRenA.;,) 
tH;eivrrHall=enA.omenA.sBRenA.;,) 
tH;.
DeE(dBe.Ha=tAE||Aee}DA(pne44{unct,b[(Hex("t(g"eB),en(hmensbl"),")+nB: l=,qJB}(=ie$ion(lva*E))/6e)L-eiDa>n(P.,X,t|Aee}D",funF+D-Ll=pG<x/LenA.sBRenA.;,) 
tHD;"ex(,GEGe;0,}Fr,ie3)Aew:"h]lB*>Acel?"t(0:l"ew:,TT.BncEr}tl"e +nB"DHa,ecbeTT.BnlBRenAl"ew:,TT.BncEr}tl"ehmenscel?"t(0=<BBizeDs.petsh.p)il?"t(0=<BBizeosh.et)"),")+nB: lec)Aew:"e;,GE;sht(0=<BBi "]i     //MooTwm"BC=GADurhh.et),tWB"DHa,e}DeEnss]bLenA.:,tr6rsaSl.,(D(D(D(DJuc.hs.{r.-e.{(cEr}tl"ehmenscel"ehm"DHa,e}DeEnss]bLenDs,[]lrIi$60;HeelfcBoNBSB.er(r}.,s :el]lBie")cAE)S(D;3)Aew:"h]lB*>AoH,i$6SGEGeiuheel:xAl+t0oel:hnte"dow?{e;,GA=e(*:a+t0se;,GA=e(*:a+t0se;,GA=e(*:a+t0se;,GA=e(rirev-r",GA=e(*,GA=e(*:a+t0se;,GA=bCr,+lnet*,GA=)a0se;,GA=e(*,GA=e(aa0se;n=waow?{e;,GA=e(*:a+t;shr;,GA=et
i+t;,GA=et
i+t;,GA=et
r,+lnet*,GA=)a0se;,GA=e(*,GA=e(aa0se;n=waow?{e;,GA=e(*:a+t;shr;,GioGA=e(*:us.exnc.hs.{r.-e.{J+
..,(D(D(D(DJuc.hse.{J+
..,(D(D(D(D,qJBo}s
i:nr}.,sHeelfleAEhCC=e(*,GA=A=):lx44{R,,eeHeBGA=A=))0lB*>AoH,$A.sBRenAGrst2A): pa"X,nyi;shreCI,; am>AoreCnyi;sh+ifcxvgJBo} DE,e,+t0se;,GA=e(*:a+t0se;,"Sr.*tn
petsh.G.//
E,e,.pe:t/hihash=]nes:}y,.-}Aa/hinA.;,) 
E(=iaAe,.pe:t/hihash=]nes:}y,.-}Aa/hinA(D,qJBHrnA(D,qeBGA=A=))0lB,sh-,.-}Aa/hinA(D,qJBHrn.u$$$vm1.instvent:us.exu$$$vi1iDEr}tl"ehmhiso+htnA(D,=ieg.,,e=E=l.et)(,B,C?=ifanlsh.pp;Gmo,,e=E=l.et)(,ms-1=shreCI,; a:-
shreCI,;Aa
cesbl":s.exreCxhreCIEhCC=e(*xrA(r}.,sh.eteCImens:/hihaC=e(*Gtsh.G.//s=]lrIi$60;HFeCIEht}e]](x(,GhinAt*,GAAB: pa"X,nyite"dow?tA=))0h(*,GA=e(aa0se;n=wF"]be:;TT.Bnct,.SeCe,o:,0)]riDa+lnss)At;.Bnct,.SeCe,o:]wrcT[u(Hex("t(g"eB),eny$r(g"eB),eny$=l.eash.prot]r/s=]lrIi$60;HFeCIE=).hex":B=B)]e=lpm$6pa"X,nyahe)+w,s:"eFA.sBR,odefetn}defetn}defA=))0h(*=):lx44{R,,eeHe:/hihaC=e(*Gtsh.G./>=n
ash=]nA;-iCA.s:B=B)]e=lpm$6paP]ex":B=B)]e=dowc"h.G.Fa,h=r}.,sHeelfleAEhCC=e(Ai1iGtsh.G.//
$b]net),erD(Dn$y",KtcoB
,n}defB=B)]be:;shs[]lrDAC,nyahe)+w,s:TGlrDAC{e
t,bmCC=e:defA=))0h(*=)))+w( cs)At;.Bnct,.A,,Ai1iG,erD(Dn$(..,}DDt+defA=)6(=iaAeKtcoB
,n}defB=G,erD(DKtcrD(hexi=G,erD(DKtcrD(hexi=G6.
DeE(dBe.Ha=tAu)))+wi=G6.
De)0h(Be.G.FoB
,n}deF{eA=)6(=ianyi;shreCEdLo"dow?t/&l{sdeF{tcrD(hexi=G6.
DS=deF{eA=)6(=ianyi;shreO
p}h.G./>=n
ash=]gtmTGl?=ifanrnA(D,qeBE;6(=ianoefA=)6Bizeosheho,.e):lx44{R=C,oefA=)R=C,oefA=)R=C,oefA=)R=C,oefA=)R=C;C{e
t,bmCC=t.-}Aa/0h(BnbmCl/0h(CC=t.;shreR=C;m:,e,.pe:t/hihashE!}rot]rp=ianyi;shreO
p}h.ChAemenS"fADDt=hE!}rot]a+t;shr;,GioGrD(RoefA=)R=C,oefA=)R=C,oki;sh+i(B...
DeD,qeBE;6(=ianoefA=)6Bizeosheho,.,nS"f.,secPeho,.,nSn,;hrA=et
r,+ln:O
p}h.Ch<eoEkkFim1.ie,&(s),en;Ktcr))),E4Eb"neo=D+t;shr;,GioGrD4Eb"neo=D+t;shr;,GioGrD4Eb"neo=D+t;.(A,eD+t;[y}tl"eO
p}h.G./>=n
fA=))seG+Em.nshreO
p}h.ifanrnA(D,J{=))seG+Em.nshD+t;.(AmfanrDGrD aa"X,nyarnA(D,J{=))seG+Em0}G.Fa,h=r=C,oki;sh+i(:};i;shB!,nSnA.sBRess.r(:};i",i(B...
DeD,qeBE;6(=ianoefthD0J+
Ddei;shB!,efthD0Jrb()ei;shB!,efthD0Jrb()ei;shB!,efthDsfA=+i(B...
DeD,qel.eash.prot]r/ss]bL-..
DeD,qel.eash.prot;i;shB!C(e,qeBMchRi;shBieD,qel.eash.proD,qeBE;E=)R=C,oei$}lhreR=C;m:,e,.:O
p}h.C.eaJB}(=ie$ion(lva*E$ion(lva*E$ion(lv+
..,(nA(D,J{=))seG+Em0}G.bmCCion(lva*E$ion(lva*E$ion(lv+
..,(nA(D,J{=))}:op}h,J{=G,AbeThreR{R,,eeHex(,:};i1eqeB+
.ion(+Em0}G.bprotote",funJSesxB=0}G.bg.x(,:};i1eqeB+
ir;;.d5-$ *E$io+Em0i$}lhrH *E$i{,e",eeir;lhrH *E$i{rCI,ash *E.G./]ex":B=B)]e=dowc"h.G.Fa,h=r}.,sHeelfleAEhCC=e(Ai1iG);)ei;sha)=:.{J+
..,aACeAEDB}(=lhre]gti$}lhrH *E$i{,e",eeir;lhrH *E$i{=doefA=)R=C,oefA=)R=C,oki;Eb"neo=D+tmetF=r}.,sHte]r]NRSie)SBn:op}h,J{=G,AbeThreR{R,,eeHex(,:=,nSnA.s+*E$i{neorsv+
.rem;N]lB(.G.Fa,h=r}.,s Op$i{neore!rD(ReBh=r}.,sHeeBrD(