c2runtime.js 283 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045
  1. // Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
  2. 'use strict';
  3. function A() {
  4. return function() {}
  5. }
  6. function aa(d) {
  7. return function() {
  8. return this[d]
  9. }
  10. }
  11. function B(d) {
  12. return function() {
  13. return d
  14. }
  15. }
  16. var ca, da, ea, fa, ga, ha, ia, ja, ka, la, ma, na, oa, pa, qa, ra, sa, ta, ua, va, wa, xa, ya, za, E, Aa, Ba, Ca, Da, Ea, Fa, Ha, Ia, Ja, Ka, Oa, Pa, Qa, Ra, Sa, Ta, Ya, Za, $a, ab, bb, fb, gb, hb, ib, jb, kb, lb, mb, nb, ob, pb, sb, tb, ub, vb, wb, xb, yb, zb, Ab, Bb, Cb, Db, Hb, Ib, Jb, Kb, Lb, Mb, Nb, Ob, Pb, Qb, Rb, Sb, Tb, Ub, Vb, Wb, Xb, Yb, Zb, $b, ac = {},
  17. bc = {};
  18. "function" !== typeof Object.getPrototypeOf && (Object.getPrototypeOf = "object" === typeof "test".__proto__ ? function(d) {
  19. return d.__proto__
  20. } : function(d) {
  21. return d.constructor.prototype
  22. });
  23. (function() {
  24. function d(H, f, m, e) {
  25. this.set(H, f, m, e)
  26. }
  27. function g() {
  28. this.Ta = this.Sa = this.Va = this.Ua = this.hb = this.gb = this.Ba = this.Aa = 0
  29. }
  30. function b(H, f, m, e) {
  31. H < f ? m < e ? (q = H < m ? H : m, p = f > e ? f : e) : (q = H < e ? H : e, p = f > m ? f : m) : m < e ? (q = f < m ? f : m, p = H > e ? H : e) : (q = f < e ? f : e, p = H > m ? H : m)
  32. }
  33. function c() {
  34. this.Id = this.od = null;
  35. this.Kf = 0;
  36. m && (this.od = new Set);
  37. this.gg = [];
  38. this.Wd = !0
  39. }
  40. function a(H) {
  41. w[l++] = H
  42. }
  43. function e() {
  44. this.aa = this.Kj = this.y = this.wk = 0
  45. }
  46. function h(H) {
  47. this.ab = [];
  48. this.Yh = this.$h = this.ai = this.Zh = 0;
  49. this.wh(H)
  50. }
  51. function s(H, f) {
  52. this.Qq = H;
  53. this.Pq = f;
  54. this.cells = {}
  55. }
  56. function r(H, f, m) {
  57. var e;
  58. return t.length ? (e = t.pop(), e.xs = H, e.x = f, e.y = m, e) : new ca(H, f, m)
  59. }
  60. function n(H, f, m) {
  61. this.xs = H;
  62. this.x = f;
  63. this.y = m;
  64. this.fh = new da
  65. }
  66. ea = function(f) {
  67. window.console && window.console.log && window.console.log(f)
  68. };
  69. fa = function(f) {
  70. return "undefined" === typeof f
  71. };
  72. ga = function(f) {
  73. return "number" === typeof f
  74. };
  75. ha = function(f) {
  76. return "string" === typeof f
  77. };
  78. ia = function(f) {
  79. return 0 < f && 0 === (f - 1 & f)
  80. };
  81. ja = function(f) {
  82. --f;
  83. for (var m = 1; 32 > m; m <<= 1) f |= f >> m;
  84. return f + 1
  85. };
  86. ka = function(f) {
  87. return 0 >
  88. f ? -f : f
  89. };
  90. la = function(f, m) {
  91. return f > m ? f : m
  92. };
  93. ma = function(f, m) {
  94. return f < m ? f : m
  95. };
  96. na = Math.PI;
  97. oa = function(f) {
  98. return f + 0.5 | 0
  99. };
  100. pa = function(f) {
  101. return 0 <= f ? f | 0 : (f | 0) - 1
  102. };
  103. qa = function(f) {
  104. var m = f | 0;
  105. return m === f ? m : m + 1
  106. };
  107. ra = function(f, m, e, a, b, l, k, h) {
  108. var t, w, x, s;
  109. f < e ? (w = f, t = e) : (w = e, t = f);
  110. b < k ? (s = b, x = k) : (s = k, x = b);
  111. if (t < s || w > x) return !1;
  112. m < a ? (w = m, t = a) : (w = a, t = m);
  113. l < h ? (s = l, x = h) : (s = h, x = l);
  114. if (t < s || w > x) return !1;
  115. t = b - f + k - e;
  116. w = l - m + h - a;
  117. f = e - f;
  118. m = a - m;
  119. b = k - b;
  120. l = h - l;
  121. h = ka(m * b - l * f);
  122. return ka(b * w - l * t) > h ? !1 : ka(f * w - m * t) <= h
  123. };
  124. d.prototype.set = function(f,
  125. m, e, a) {
  126. this.left = f;
  127. this.top = m;
  128. this.right = e;
  129. this.bottom = a
  130. };
  131. d.prototype.copy = function(f) {
  132. this.left = f.left;
  133. this.top = f.top;
  134. this.right = f.right;
  135. this.bottom = f.bottom
  136. };
  137. d.prototype.width = function() {
  138. return this.right - this.left
  139. };
  140. d.prototype.height = function() {
  141. return this.bottom - this.top
  142. };
  143. d.prototype.offset = function(f, m) {
  144. this.left += f;
  145. this.top += m;
  146. this.right += f;
  147. this.bottom += m;
  148. return this
  149. };
  150. d.prototype.normalize = function() {
  151. var f = 0;
  152. this.left > this.right && (f = this.left, this.left = this.right, this.right = f);
  153. this.top > this.bottom &&
  154. (f = this.top, this.top = this.bottom, this.bottom = f)
  155. };
  156. d.prototype.Es = function(f) {
  157. return !(f.right < this.left || f.bottom < this.top || f.left > this.right || f.top > this.bottom)
  158. };
  159. d.prototype.Fs = function(f, m, e) {
  160. return !(f.right + m < this.left || f.bottom + e < this.top || f.left + m > this.right || f.top + e > this.bottom)
  161. };
  162. d.prototype.Zb = function(f, m) {
  163. return f >= this.left && f <= this.right && m >= this.top && m <= this.bottom
  164. };
  165. d.prototype.sr = function(f) {
  166. return this.left === f.left && this.top === f.top && this.right === f.right && this.bottom === f.bottom
  167. };
  168. sa = d;
  169. g.prototype.vh = function(f) {
  170. this.Aa = f.left;
  171. this.Ba = f.top;
  172. this.gb = f.right;
  173. this.hb = f.top;
  174. this.Ua = f.right;
  175. this.Va = f.bottom;
  176. this.Sa = f.left;
  177. this.Ta = f.bottom
  178. };
  179. g.prototype.op = function(f, m) {
  180. if (0 === m) this.vh(f);
  181. else {
  182. var e = Math.sin(m),
  183. a = Math.cos(m),
  184. b = f.left * e,
  185. l = f.top * e,
  186. k = f.right * e,
  187. e = f.bottom * e,
  188. h = f.left * a,
  189. t = f.top * a,
  190. w = f.right * a,
  191. a = f.bottom * a;
  192. this.Aa = h - l;
  193. this.Ba = t + b;
  194. this.gb = w - l;
  195. this.hb = t + k;
  196. this.Ua = w - e;
  197. this.Va = a + k;
  198. this.Sa = h - e;
  199. this.Ta = a + b
  200. }
  201. };
  202. g.prototype.offset = function(f, m) {
  203. this.Aa += f;
  204. this.Ba += m;
  205. this.gb += f;
  206. this.hb +=
  207. m;
  208. this.Ua += f;
  209. this.Va += m;
  210. this.Sa += f;
  211. this.Ta += m;
  212. return this
  213. };
  214. var q = 0,
  215. p = 0;
  216. g.prototype.mn = function(f) {
  217. b(this.Aa, this.gb, this.Ua, this.Sa);
  218. f.left = q;
  219. f.right = p;
  220. b(this.Ba, this.hb, this.Va, this.Ta);
  221. f.top = q;
  222. f.bottom = p
  223. };
  224. g.prototype.Zb = function(f, m) {
  225. var e = this.gb - this.Aa,
  226. a = this.hb - this.Ba,
  227. b = this.Ua - this.Aa,
  228. l = this.Va - this.Ba,
  229. k = f - this.Aa,
  230. h = m - this.Ba,
  231. t = e * e + a * a,
  232. w = e * b + a * l,
  233. a = e * k + a * h,
  234. x = b * b + l * l,
  235. s = b * k + l * h,
  236. c = 1 / (t * x - w * w),
  237. e = (x * a - w * s) * c,
  238. t = (t * s - w * a) * c;
  239. if (0 <= e && 0 < t && 1 > e + t) return !0;
  240. e = this.Sa - this.Aa;
  241. a = this.Ta - this.Ba;
  242. t = e * e + a *
  243. a;
  244. w = e * b + a * l;
  245. a = e * k + a * h;
  246. c = 1 / (t * x - w * w);
  247. e = (x * a - w * s) * c;
  248. t = (t * s - w * a) * c;
  249. return 0 <= e && 0 < t && 1 > e + t
  250. };
  251. g.prototype.Td = function(f, m) {
  252. if (m) switch (f) {
  253. case 0:
  254. return this.Aa;
  255. case 1:
  256. return this.gb;
  257. case 2:
  258. return this.Ua;
  259. case 3:
  260. return this.Sa;
  261. case 4:
  262. return this.Aa;
  263. default:
  264. return this.Aa
  265. } else switch (f) {
  266. case 0:
  267. return this.Ba;
  268. case 1:
  269. return this.hb;
  270. case 2:
  271. return this.Va;
  272. case 3:
  273. return this.Ta;
  274. case 4:
  275. return this.Ba;
  276. default:
  277. return this.Ba
  278. }
  279. };
  280. g.prototype.Bo = function() {
  281. return (this.Aa + this.gb + this.Ua + this.Sa) / 4
  282. };
  283. g.prototype.Co = function() {
  284. return (this.Ba +
  285. this.hb + this.Va + this.Ta) / 4
  286. };
  287. g.prototype.bo = function(f) {
  288. var m = f.Bo(),
  289. e = f.Co();
  290. if (this.Zb(m, e)) return !0;
  291. m = this.Bo();
  292. e = this.Co();
  293. if (f.Zb(m, e)) return !0;
  294. var a, b, l, k, h, t, w, x;
  295. for (w = 0; 4 > w; w++)
  296. for (x = 0; 4 > x; x++)
  297. if (m = this.Td(w, !0), e = this.Td(w, !1), a = this.Td(w + 1, !0), b = this.Td(w + 1, !1), l = f.Td(x, !0), k = f.Td(x, !1), h = f.Td(x + 1, !0), t = f.Td(x + 1, !1), ra(m, e, a, b, l, k, h, t)) return !0;
  298. return !1
  299. };
  300. ta = g;
  301. ua = function(f, m) {
  302. for (var e in m) m.hasOwnProperty(e) && (f[e] = m[e]);
  303. return f
  304. };
  305. va = function(f, m) {
  306. var e, a;
  307. m = pa(m);
  308. if (!(0 > m || m >= f.length)) {
  309. e =
  310. m;
  311. for (a = f.length - 1; e < a; e++) f[e] = f[e + 1];
  312. f.length = a
  313. }
  314. };
  315. wa = function(f, m) {
  316. f.length = m.length;
  317. var e, a;
  318. e = 0;
  319. for (a = m.length; e < a; e++) f[e] = m[e]
  320. };
  321. xa = function(f, m) {
  322. f.push.apply(f, m)
  323. };
  324. ya = function(f, m) {
  325. var e, a;
  326. e = 0;
  327. for (a = f.length; e < a; ++e)
  328. if (f[e] === m) return e;
  329. return -1
  330. };
  331. za = function(f, m) {
  332. var e = ya(f, m); - 1 !== e && va(f, e)
  333. };
  334. E = function(f) {
  335. return f / (180 / na)
  336. };
  337. Aa = function(f) {
  338. return f * (180 / na)
  339. };
  340. Ba = function(f) {
  341. f %= 360;
  342. 0 > f && (f += 360);
  343. return f
  344. };
  345. Ca = function(f) {
  346. f %= 2 * na;
  347. 0 > f && (f += 2 * na);
  348. return f
  349. };
  350. Da = function(f) {
  351. return Ba(Aa(f))
  352. };
  353. Ea = function(f) {
  354. return Ca(E(f))
  355. };
  356. Fa = function(f, m, e, a) {
  357. return Math.atan2(a - m, e - f)
  358. };
  359. Ha = function(f, m) {
  360. if (f === m) return 0;
  361. var e = Math.sin(f),
  362. a = Math.cos(f),
  363. b = Math.sin(m),
  364. l = Math.cos(m),
  365. e = e * b + a * l;
  366. return 1 <= e ? 0 : -1 >= e ? na : Math.acos(e)
  367. };
  368. Ia = function(f, m, e) {
  369. var a = Math.sin(f),
  370. b = Math.cos(f),
  371. l = Math.sin(m),
  372. k = Math.cos(m);
  373. return Math.acos(a * l + b * k) > e ? 0 < b * l - a * k ? Ca(f + e) : Ca(f - e) : Ca(m)
  374. };
  375. Ja = function(f, m) {
  376. var e = Math.sin(f),
  377. a = Math.cos(f),
  378. b = Math.sin(m),
  379. l = Math.cos(m);
  380. return 0 >= a * b - e * l
  381. };
  382. Ka = function(f, m, e, a, b, l) {
  383. if (0 === e) return l ? f : m;
  384. var k = Math.sin(e);
  385. e = Math.cos(e);
  386. f -= a;
  387. m -= b;
  388. var h = f * k;
  389. f = f * e - m * k;
  390. m = m * e + h;
  391. return l ? f + a : m + b
  392. };
  393. Oa = function(f, m, e, a) {
  394. f = e - f;
  395. m = a - m;
  396. return Math.sqrt(f * f + m * m)
  397. };
  398. Pa = function(f, m) {
  399. return !f !== !m
  400. };
  401. Qa = function(f) {
  402. for (var m in f)
  403. if (f.hasOwnProperty(m)) return !0;
  404. return !1
  405. };
  406. Ra = function(f) {
  407. for (var m in f) f.hasOwnProperty(m) && delete f[m]
  408. };
  409. var v = +new Date;
  410. Sa = function() {
  411. if ("undefined" !== typeof window.performance) {
  412. var f = window.performance;
  413. if ("undefined" !== typeof f.now) return f.now();
  414. if ("undefined" !== typeof f.webkitNow) return f.webkitNow();
  415. if ("undefined" !==
  416. typeof f.mozNow) return f.mozNow();
  417. if ("undefined" !== typeof f.msNow) return f.msNow()
  418. }
  419. return Date.now() - v
  420. };
  421. var u = !1,
  422. f = u = !1,
  423. x = !1;
  424. "undefined" !== typeof window && (u = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent), u = !u && /safari/i.test(navigator.userAgent), f = /(iphone|ipod|ipad)/i.test(navigator.userAgent), x = window.c2ejecta);
  425. var m = !u && !x && !f && "undefined" !== typeof Set && "undefined" !== typeof Set.prototype.forEach;
  426. c.prototype.contains = function(f) {
  427. return this.Sc() ? !1 : m ? this.od.has(f) : this.Id &&
  428. this.Id.hasOwnProperty(f)
  429. };
  430. c.prototype.add = function(f) {
  431. if (m) this.od.has(f) || (this.od.add(f), this.Wd = !1);
  432. else {
  433. var e = f.toString(),
  434. a = this.Id;
  435. a ? a.hasOwnProperty(e) || (a[e] = f, this.Kf++, this.Wd = !1) : (this.Id = {}, this.Id[e] = f, this.Kf = 1, this.Wd = !1)
  436. }
  437. };
  438. c.prototype.remove = function(f) {
  439. if (!this.Sc())
  440. if (m) this.od.has(f) && (this.od["delete"](f), this.Wd = !1);
  441. else if (this.Id) {
  442. f = f.toString();
  443. var e = this.Id;
  444. e.hasOwnProperty(f) && (delete e[f], this.Kf--, this.Wd = !1)
  445. }
  446. };
  447. c.prototype.clear = function() {
  448. this.Sc() || (m ? this.od.clear() :
  449. (this.Id = null, this.Kf = 0), this.gg.length = 0, this.Wd = !0)
  450. };
  451. c.prototype.Sc = function() {
  452. return 0 === this.count()
  453. };
  454. c.prototype.count = function() {
  455. return m ? this.od.size : this.Kf
  456. };
  457. var w = null,
  458. l = 0;
  459. c.prototype.Xt = function() {
  460. if (!this.Wd) {
  461. if (m) this.gg.length = this.od.size, w = this.gg, l = 0, this.od.forEach(a), w = null, l = 0;
  462. else {
  463. var f = this.gg;
  464. f.length = this.Kf;
  465. var e, b = 0,
  466. k = this.Id;
  467. if (k)
  468. for (e in k) k.hasOwnProperty(e) && (f[b++] = k[e])
  469. }
  470. this.Wd = !0
  471. }
  472. };
  473. c.prototype.fg = function() {
  474. this.Xt();
  475. return this.gg
  476. };
  477. da = c;
  478. new da;
  479. e.prototype.add = function(f) {
  480. this.y =
  481. f - this.wk;
  482. this.Kj = this.aa + this.y;
  483. this.wk = this.Kj - this.aa - this.y;
  484. this.aa = this.Kj
  485. };
  486. e.prototype.reset = function() {
  487. this.aa = this.Kj = this.y = this.wk = 0
  488. };
  489. Ta = e;
  490. Ya = function(f) {
  491. return f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
  492. };
  493. h.prototype.wh = function(f) {
  494. this.bp = f;
  495. this.Zc = f.length / 2;
  496. this.ab.length = f.length;
  497. this.ci = this.di = -1;
  498. this.on = 0
  499. };
  500. h.prototype.Gf = function() {
  501. return !this.bp.length
  502. };
  503. h.prototype.La = function() {
  504. for (var f = this.ab, m = f[0], e = m, a = f[1], b = a, l, k, h = 1, t = this.Zc; h < t; ++h) k = 2 * h, l = f[k], k = f[k + 1], l < m && (m = l),
  505. l > e && (e = l), k < a && (a = k), k > b && (b = k);
  506. this.Zh = m;
  507. this.$h = e;
  508. this.ai = a;
  509. this.Yh = b
  510. };
  511. h.prototype.vh = function(f, m, e) {
  512. this.ab.length = 8;
  513. this.Zc = 4;
  514. var a = this.ab;
  515. a[0] = f.left - m;
  516. a[1] = f.top - e;
  517. a[2] = f.right - m;
  518. a[3] = f.top - e;
  519. a[4] = f.right - m;
  520. a[5] = f.bottom - e;
  521. a[6] = f.left - m;
  522. a[7] = f.bottom - e;
  523. this.di = f.right - f.left;
  524. this.ci = f.bottom - f.top;
  525. this.La()
  526. };
  527. h.prototype.Zf = function(f, m, e, a, b) {
  528. this.ab.length = 8;
  529. this.Zc = 4;
  530. var l = this.ab;
  531. l[0] = f.Aa - m;
  532. l[1] = f.Ba - e;
  533. l[2] = f.gb - m;
  534. l[3] = f.hb - e;
  535. l[4] = f.Ua - m;
  536. l[5] = f.Va - e;
  537. l[6] = f.Sa - m;
  538. l[7] = f.Ta - e;
  539. this.di = a;
  540. this.ci = b;
  541. this.La()
  542. };
  543. h.prototype.np = function(f) {
  544. this.Zc = f.Zc;
  545. wa(this.ab, f.ab);
  546. this.Zh = f.Zh;
  547. this.ai - f.ai;
  548. this.$h = f.$h;
  549. this.Yh = f.Yh
  550. };
  551. h.prototype.vf = function(f, m, e) {
  552. if (this.di !== f || this.ci !== m || this.on !== e) {
  553. this.di = f;
  554. this.ci = m;
  555. this.on = e;
  556. var a, l, b, k, h, t = 0,
  557. w = 1,
  558. x = this.bp,
  559. s = this.ab;
  560. 0 !== e && (t = Math.sin(e), w = Math.cos(e));
  561. e = 0;
  562. for (b = this.Zc; e < b; e++) a = 2 * e, l = a + 1, k = x[a] * f, h = x[l] * m, s[a] = k * w - h * t, s[l] = h * w + k * t;
  563. this.La()
  564. }
  565. };
  566. h.prototype.Zb = function(f, m) {
  567. var e = this.ab;
  568. if (f === e[0] && m === e[1]) return !0;
  569. var a, l, b, k = this.Zc,
  570. h = this.Zh - 110,
  571. t = this.ai - 101,
  572. w = this.$h + 131,
  573. x = this.Yh + 120,
  574. s, c, p = 0,
  575. g = 0;
  576. for (a = 0; a < k; a++) l = 2 * a, b = 2 * ((a + 1) % k), s = e[l], l = e[l + 1], c = e[b], b = e[b + 1], ra(h, t, f, m, s, l, c, b) && p++, ra(w, x, f, m, s, l, c, b) && g++;
  577. return 1 === p % 2 || 1 === g % 2
  578. };
  579. h.prototype.Kg = function(f, m, e) {
  580. var a = f.ab,
  581. l = this.ab;
  582. if (this.Zb(a[0] + m, a[1] + e) || f.Zb(l[0] - m, l[1] - e)) return !0;
  583. var b, k, h, t, w, x, s, c, p, g, d, r;
  584. b = 0;
  585. for (t = this.Zc; b < t; b++)
  586. for (k = 2 * b, h = 2 * ((b + 1) % t), c = l[k], k = l[k + 1], p = l[h], g = l[h + 1], h = 0, s = f.Zc; h < s; h++)
  587. if (w = 2 * h, x = 2 * ((h + 1) % s), d = a[w] + m, w = a[w + 1] + e, r = a[x] + m, x =
  588. a[x + 1] + e, ra(c, k, p, g, d, w, r, x)) return !0;
  589. return !1
  590. };
  591. Za = h;
  592. s.prototype.Vk = function(f, m, e) {
  593. var a;
  594. a = this.cells[f];
  595. return a ? (a = a[m]) ? a : e ? (a = r(this, f, m), this.cells[f][m] = a) : null : e ? (a = r(this, f, m), this.cells[f] = {}, this.cells[f][m] = a) : null
  596. };
  597. s.prototype.Th = function(f) {
  598. return pa(f / this.Qq)
  599. };
  600. s.prototype.Uh = function(f) {
  601. return pa(f / this.Pq)
  602. };
  603. s.prototype.update = function(f, m, e) {
  604. var a, l, b, k, h;
  605. if (m)
  606. for (a = m.left, l = m.right; a <= l; ++a)
  607. for (b = m.top, k = m.bottom; b <= k; ++b)
  608. if (!e || !e.Zb(a, b))
  609. if (h = this.Vk(a, b, !1)) h.remove(f), h.Sc() &&
  610. (h.fh.clear(), 1E3 > t.length && t.push(h), this.cells[a][b] = null);
  611. if (e)
  612. for (a = e.left, l = e.right; a <= l; ++a)
  613. for (b = e.top, k = e.bottom; b <= k; ++b) m && m.Zb(a, b) || this.Vk(a, b, !0).Ds(f)
  614. };
  615. s.prototype.dp = function(f, m) {
  616. var e, a, b, l, k, h;
  617. e = this.Th(f.left);
  618. b = this.Uh(f.top);
  619. a = this.Th(f.right);
  620. for (k = this.Uh(f.bottom); e <= a; ++e)
  621. for (l = b; l <= k; ++l)(h = this.Vk(e, l, !1)) && h.nr(m)
  622. };
  623. $a = s;
  624. var t = [];
  625. n.prototype.Sc = function() {
  626. return this.fh.Sc()
  627. };
  628. n.prototype.Ds = function(f) {
  629. this.fh.add(f)
  630. };
  631. n.prototype.remove = function(f) {
  632. this.fh.remove(f)
  633. };
  634. n.prototype.nr =
  635. function(f) {
  636. xa(f, this.fh.fg())
  637. };
  638. ca = n;
  639. var k = "lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
  640. ab = function(f) {
  641. return 0 >= f || 11 <= f ? "source-over" : k[f - 1]
  642. };
  643. bb = function(f, m, e) {
  644. if (e) switch (f.Cb = e.ONE, f.zb = e.ONE_MINUS_SRC_ALPHA, m) {
  645. case 1:
  646. f.Cb = e.ONE;
  647. f.zb = e.ONE;
  648. break;
  649. case 3:
  650. f.Cb = e.ONE;
  651. f.zb = e.ZERO;
  652. break;
  653. case 4:
  654. f.Cb = e.ONE_MINUS_DST_ALPHA;
  655. f.zb = e.ONE;
  656. break;
  657. case 5:
  658. f.Cb = e.DST_ALPHA;
  659. f.zb = e.ZERO;
  660. break;
  661. case 6:
  662. f.Cb = e.ZERO;
  663. f.zb = e.SRC_ALPHA;
  664. break;
  665. case 7:
  666. f.Cb = e.ONE_MINUS_DST_ALPHA;
  667. f.zb = e.ZERO;
  668. break;
  669. case 8:
  670. f.Cb = e.ZERO;
  671. f.zb = e.ONE_MINUS_SRC_ALPHA;
  672. break;
  673. case 9:
  674. f.Cb = e.DST_ALPHA;
  675. f.zb = e.ONE_MINUS_SRC_ALPHA;
  676. break;
  677. case 10:
  678. f.Cb = e.ONE_MINUS_DST_ALPHA, f.zb = e.SRC_ALPHA
  679. }
  680. };
  681. fb = function(f) {
  682. return oa(1E6 * f) / 1E6
  683. };
  684. gb = function(f, m) {
  685. return "string" !== typeof f || "string" !== typeof m || f.length !== m.length ? !1 : f === m ? !0 : f.toLowerCase() === m.toLowerCase()
  686. }
  687. })();
  688. var cc = "undefined" !== typeof Float32Array ? Float32Array : Array;
  689. function dc(d) {
  690. var g = new cc(3);
  691. d && (g[0] = d[0], g[1] = d[1], g[2] = d[2]);
  692. return g
  693. }
  694. function ec(d) {
  695. var g = new cc(16);
  696. d && (g[0] = d[0], g[1] = d[1], g[2] = d[2], g[3] = d[3], g[4] = d[4], g[5] = d[5], g[6] = d[6], g[7] = d[7], g[8] = d[8], g[9] = d[9], g[10] = d[10], g[11] = d[11], g[12] = d[12], g[13] = d[13], g[14] = d[14], g[15] = d[15]);
  697. return g
  698. }
  699. function fc(d, g) {
  700. g[0] = d[0];
  701. g[1] = d[1];
  702. g[2] = d[2];
  703. g[3] = d[3];
  704. g[4] = d[4];
  705. g[5] = d[5];
  706. g[6] = d[6];
  707. g[7] = d[7];
  708. g[8] = d[8];
  709. g[9] = d[9];
  710. g[10] = d[10];
  711. g[11] = d[11];
  712. g[12] = d[12];
  713. g[13] = d[13];
  714. g[14] = d[14];
  715. g[15] = d[15]
  716. }
  717. function gc(d, g) {
  718. var b = g[0],
  719. c = g[1];
  720. g = g[2];
  721. d[0] *= b;
  722. d[1] *= b;
  723. d[2] *= b;
  724. d[3] *= b;
  725. d[4] *= c;
  726. d[5] *= c;
  727. d[6] *= c;
  728. d[7] *= c;
  729. d[8] *= g;
  730. d[9] *= g;
  731. d[10] *= g;
  732. d[11] *= g
  733. }
  734. function hc(d, g, b, c) {
  735. c || (c = ec());
  736. var a, e, h, s, r, n, q, p, v = d[0],
  737. u = d[1];
  738. d = d[2];
  739. e = b[0];
  740. h = b[1];
  741. a = b[2];
  742. b = g[1];
  743. n = g[2];
  744. v === g[0] && u === b && d === n ? (d = c, d[0] = 1, d[1] = 0, d[2] = 0, d[3] = 0, d[4] = 0, d[5] = 1, d[6] = 0, d[7] = 0, d[8] = 0, d[9] = 0, d[10] = 1, d[11] = 0, d[12] = 0, d[13] = 0, d[14] = 0, d[15] = 1) : (b = v - g[0], n = u - g[1], q = d - g[2], p = 1 / Math.sqrt(b * b + n * n + q * q), b *= p, n *= p, q *= p, g = h * q - a * n, a = a * b - e * q, e = e * n - h * b, (p = Math.sqrt(g * g + a * a + e * e)) ? (p = 1 / p, g *= p, a *= p, e *= p) : e = a = g = 0, h = n * e - q * a, s = q * g - b * e, r = b * a - n * g, (p = Math.sqrt(h * h + s * s + r * r)) ? (p = 1 / p, h *= p, s *= p, r *= p) : r = s = h = 0,
  745. c[0] = g, c[1] = h, c[2] = b, c[3] = 0, c[4] = a, c[5] = s, c[6] = n, c[7] = 0, c[8] = e, c[9] = r, c[10] = q, c[11] = 0, c[12] = -(g * v + a * u + e * d), c[13] = -(h * v + s * u + r * d), c[14] = -(b * v + n * u + q * d), c[15] = 1)
  746. }
  747. (function() {
  748. function d(e) {
  749. this.kl = /msie/i.test(navigator.userAgent) || /trident/i.test(navigator.userAgent);
  750. this.height = this.width = 0;
  751. this.pn = dc([0, 0, 100]);
  752. this.xo = dc([0, 0, 0]);
  753. this.Hp = dc([0, 1, 0]);
  754. this.Im = dc([1, 1, 1]);
  755. this.zn = !0;
  756. this.El = ec();
  757. this.Fc = ec();
  758. this.po = ec();
  759. this.Fk = ec();
  760. this.A = e;
  761. this.Yn()
  762. }
  763. function g(e, a, b) {
  764. this.A = e;
  765. this.xh = a;
  766. this.name = b;
  767. this.Ec = e.getAttribLocation(a, "aPos");
  768. this.ie = e.getAttribLocation(a, "aTex");
  769. this.vo = e.getUniformLocation(a, "matP");
  770. this.Nf = e.getUniformLocation(a, "matMV");
  771. this.Of =
  772. e.getUniformLocation(a, "opacity");
  773. this.wo = e.getUniformLocation(a, "samplerFront");
  774. this.Yg = e.getUniformLocation(a, "samplerBack");
  775. this.$e = e.getUniformLocation(a, "destStart");
  776. this.Ze = e.getUniformLocation(a, "destEnd");
  777. this.Bl = e.getUniformLocation(a, "seconds");
  778. this.Al = e.getUniformLocation(a, "pixelWidth");
  779. this.zl = e.getUniformLocation(a, "pixelHeight");
  780. this.Xg = e.getUniformLocation(a, "layerScale");
  781. this.Wg = e.getUniformLocation(a, "layerAngle");
  782. this.Zg = e.getUniformLocation(a, "viewOrigin");
  783. this.As = !!(this.Al ||
  784. this.zl || this.Bl || this.Yg || this.$e || this.Ze || this.Xg || this.Wg || this.Zg);
  785. this.Of && e.uniform1f(this.Of, 1);
  786. this.wo && e.uniform1i(this.wo, 0);
  787. this.Yg && e.uniform1i(this.Yg, 1);
  788. this.$e && e.uniform2f(this.$e, 0, 0);
  789. this.Ze && e.uniform2f(this.Ze, 1, 1);
  790. this.Xg && e.uniform1f(this.Xg, 1);
  791. this.Wg && e.uniform1f(this.Wg, 0);
  792. this.Zg && e.uniform2f(this.Zg, 0, 0);
  793. this.Pe = !1
  794. }
  795. function b(e, a) {
  796. this.type = e;
  797. this.C = a;
  798. this.A = a.A;
  799. this.jd = this.Jc = this.Po = 0;
  800. this.na = this.cd = null;
  801. this.pp = []
  802. }
  803. d.prototype.Yn = function() {
  804. var e = this.A,
  805. a;
  806. this.qo = 1;
  807. this.Ue = this.Te = null;
  808. this.vn = 1;
  809. e.clearColor(0, 0, 0, 0);
  810. e.clear(e.COLOR_BUFFER_BIT);
  811. e.enable(e.BLEND);
  812. e.blendFunc(e.ONE, e.ONE_MINUS_SRC_ALPHA);
  813. e.disable(e.CULL_FACE);
  814. e.disable(e.DEPTH_TEST);
  815. this.ro = e.ONE;
  816. this.oo = e.ONE_MINUS_SRC_ALPHA;
  817. this.Wl = e.createBuffer();
  818. e.bindBuffer(e.ARRAY_BUFFER, this.Wl);
  819. this.Jh = Array(4);
  820. this.Bh = Array(4);
  821. for (a = 0; 4 > a; a++) this.Jh[a] = e.createBuffer(), e.bindBuffer(e.ARRAY_BUFFER, this.Jh[a]), this.Bh[a] = e.createBuffer(), e.bindBuffer(e.ARRAY_BUFFER, this.Bh[a]);
  822. this.yd = 0;
  823. this.Cs = e.createBuffer();
  824. e.bindBuffer(e.ELEMENT_ARRAY_BUFFER, this.Cs);
  825. this.Fm = new Float32Array(16E3);
  826. this.um = new Float32Array(16E3);
  827. this.et = new Float32Array(32E3);
  828. for (var b = new Uint16Array(12E3), c = a = 0; 12E3 > a;) b[a++] = c, b[a++] = c + 1, b[a++] = c + 2, b[a++] = c, b[a++] = c + 2, b[a++] = c + 3, c += 4;
  829. e.bufferData(e.ELEMENT_ARRAY_BUFFER, b, e.STATIC_DRAW);
  830. this.Xl = this.ud = 0;
  831. this.cb = [];
  832. a = this.Ck({
  833. src: "varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"
  834. },
  835. "attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}", "<default>");
  836. this.cb.push(a);
  837. a = this.Ck({
  838. src: "uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"
  839. }, "attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}",
  840. "<point>");
  841. this.cb.push(a);
  842. for (var g in ic) ic.hasOwnProperty(g) && this.cb.push(this.Ck(ic[g], "attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}", g));
  843. e.activeTexture(e.TEXTURE0);
  844. e.bindTexture(e.TEXTURE_2D, null);
  845. this.Vd = [];
  846. this.wd = 0;
  847. this.cc = !1;
  848. this.wn = this.Qg = -1;
  849. this.tg = null;
  850. this.Sr = e.createFramebuffer();
  851. this.gp =
  852. null;
  853. this.ue = dc([0, 0, 0]);
  854. this.yo = e.getParameter(e.ALIASED_POINT_SIZE_RANGE)[1];
  855. 2048 < this.yo && (this.yo = 2048);
  856. this.rd(0)
  857. };
  858. d.prototype.Ck = function(e, a, b) {
  859. var c = this.A,
  860. d = c.createShader(c.FRAGMENT_SHADER);
  861. c.shaderSource(d, e.src);
  862. c.compileShader(d);
  863. if (!c.getShaderParameter(d, c.COMPILE_STATUS)) return c.deleteShader(d), null;
  864. var q = c.createShader(c.VERTEX_SHADER);
  865. c.shaderSource(q, a);
  866. c.compileShader(q);
  867. if (!c.getShaderParameter(q, c.COMPILE_STATUS)) return c.deleteShader(d), c.deleteShader(q), null;
  868. a = c.createProgram();
  869. c.attachShader(a, d);
  870. c.attachShader(a, q);
  871. c.linkProgram(a);
  872. if (!c.getProgramParameter(a, c.LINK_STATUS)) return c.deleteShader(d), c.deleteShader(q), c.deleteProgram(a), null;
  873. c.useProgram(a);
  874. c.deleteShader(d);
  875. c.deleteShader(q);
  876. b = new g(c, a, b);
  877. b.Nk = e.Nk || 0;
  878. b.Ok = e.Ok || 0;
  879. b.un = !!e.un;
  880. b.jn = !!e.jn;
  881. b.R = e.R || [];
  882. e = 0;
  883. for (d = b.R.length; e < d; e++) b.R[e][1] = c.getUniformLocation(a, b.R[e][0]), c.uniform1f(b.R[e][1], 0);
  884. return b
  885. };
  886. d.prototype.$k = function(e) {
  887. var a, b;
  888. a = 0;
  889. for (b = this.cb.length; a < b; a++)
  890. if (this.cb[a].name === e) return a;
  891. return -1
  892. };
  893. d.prototype.$o = function(e, a, b) {
  894. var c = this.Fc,
  895. g = this.El,
  896. d = [0, 0, 0, 0, 0, 0, 0, 0];
  897. d[0] = c[0] * e + c[4] * a + c[12];
  898. d[1] = c[1] * e + c[5] * a + c[13];
  899. d[2] = c[2] * e + c[6] * a + c[14];
  900. d[3] = c[3] * e + c[7] * a + c[15];
  901. d[4] = g[0] * d[0] + g[4] * d[1] + g[8] * d[2] + g[12] * d[3];
  902. d[5] = g[1] * d[0] + g[5] * d[1] + g[9] * d[2] + g[13] * d[3];
  903. d[6] = g[2] * d[0] + g[6] * d[1] + g[10] * d[2] + g[14] * d[3];
  904. d[7] = -d[2];
  905. 0 !== d[7] && (d[7] = 1 / d[7], d[4] *= d[7], d[5] *= d[7], d[6] *= d[7], b[0] = (0.5 * d[4] + 0.5) * this.width, b[1] = (0.5 * d[5] + 0.5) * this.height)
  906. };
  907. d.prototype.Yf = function(e, a, b) {
  908. if (this.width !==
  909. e || this.height !== a || b) {
  910. this.Ke();
  911. this.width = e;
  912. this.height = a;
  913. this.A.viewport(0, 0, e, a);
  914. a = e / a;
  915. var c = this.El,
  916. d;
  917. d = 1 * Math.tan(45 * Math.PI / 360);
  918. a *= d;
  919. e = -a;
  920. b = -d;
  921. c || (c = ec());
  922. var g = a - e,
  923. p = d - b;
  924. c[0] = 2 / g;
  925. c[1] = 0;
  926. c[2] = 0;
  927. c[3] = 0;
  928. c[4] = 0;
  929. c[5] = 2 / p;
  930. c[6] = 0;
  931. c[7] = 0;
  932. c[8] = (a + e) / g;
  933. c[9] = (d + b) / p;
  934. c[10] = -1001 / 999;
  935. c[11] = -1;
  936. c[12] = 0;
  937. c[13] = 0;
  938. c[14] = -2E3 / 999;
  939. c[15] = 0;
  940. hc(this.pn, this.xo, this.Hp, this.Fc);
  941. e = [0, 0];
  942. a = [0, 0];
  943. this.$o(0, 0, e);
  944. this.$o(1, 1, a);
  945. this.Im[0] = 1 / (a[0] - e[0]);
  946. this.Im[1] = -1 / (a[1] - e[1]);
  947. e = 0;
  948. for (a = this.cb.length; e < a; e++) b = this.cb[e],
  949. b.Pe = !1, b.vo && (this.A.useProgram(b.xh), this.A.uniformMatrix4fv(b.vo, !1, this.El));
  950. this.A.useProgram(this.cb[this.Qg].xh);
  951. this.A.bindTexture(this.A.TEXTURE_2D, null);
  952. this.A.activeTexture(this.A.TEXTURE1);
  953. this.A.bindTexture(this.A.TEXTURE_2D, null);
  954. this.A.activeTexture(this.A.TEXTURE0);
  955. this.Ue = this.Te = null
  956. }
  957. };
  958. d.prototype.ne = function() {
  959. hc(this.pn, this.xo, this.Hp, this.Fc);
  960. gc(this.Fc, this.Im)
  961. };
  962. d.prototype.translate = function(e, a) {
  963. if (0 !== e || 0 !== a) {
  964. this.ue[0] = e;
  965. this.ue[1] = a;
  966. this.ue[2] = 0;
  967. var b = this.Fc,
  968. c = this.ue,
  969. d = c[0],
  970. g = c[1],
  971. c = c[2];
  972. b[12] = b[0] * d + b[4] * g + b[8] * c + b[12];
  973. b[13] = b[1] * d + b[5] * g + b[9] * c + b[13];
  974. b[14] = b[2] * d + b[6] * g + b[10] * c + b[14];
  975. b[15] = b[3] * d + b[7] * g + b[11] * c + b[15]
  976. }
  977. };
  978. d.prototype.scale = function(e, a) {
  979. if (1 !== e || 1 !== a) this.ue[0] = e, this.ue[1] = a, this.ue[2] = 1, gc(this.Fc, this.ue)
  980. };
  981. d.prototype.hp = function(e) {
  982. if (0 !== e) {
  983. var a = this.Fc,
  984. b, c = Math.sin(e);
  985. e = Math.cos(e);
  986. var d = a[0],
  987. g = a[1],
  988. p = a[2],
  989. v = a[3],
  990. u = a[4],
  991. f = a[5],
  992. x = a[6],
  993. m = a[7];
  994. b ? a !== b && (b[8] = a[8], b[9] = a[9], b[10] = a[10], b[11] = a[11], b[12] = a[12], b[13] = a[13], b[14] = a[14], b[15] =
  995. a[15]) : b = a;
  996. b[0] = d * e + u * c;
  997. b[1] = g * e + f * c;
  998. b[2] = p * e + x * c;
  999. b[3] = v * e + m * c;
  1000. b[4] = d * -c + u * e;
  1001. b[5] = g * -c + f * e;
  1002. b[6] = p * -c + x * e;
  1003. b[7] = v * -c + m * e
  1004. }
  1005. };
  1006. d.prototype.ve = function() {
  1007. for (var e = !1, a = 0; 16 > a; a++)
  1008. if (this.po[a] !== this.Fc[a]) {
  1009. e = !0;
  1010. break
  1011. }
  1012. e && (e = this.$c(), e.type = 5, e.na ? fc(this.Fc, e.na) : e.na = ec(this.Fc), fc(this.Fc, this.po), this.cc = !1)
  1013. };
  1014. b.prototype.ir = function() {
  1015. this.A.bindTexture(this.A.TEXTURE_2D, this.cd)
  1016. };
  1017. b.prototype.jr = function() {
  1018. var e = this.A;
  1019. e.activeTexture(e.TEXTURE1);
  1020. e.bindTexture(e.TEXTURE_2D, this.cd);
  1021. e.activeTexture(e.TEXTURE0)
  1022. };
  1023. b.prototype.fr = function() {
  1024. var e = this.Po,
  1025. a = this.C;
  1026. a.vn = e;
  1027. a = a.tg;
  1028. a.Of && this.A.uniform1f(a.Of, e)
  1029. };
  1030. b.prototype.cr = function() {
  1031. this.A.drawElements(this.A.TRIANGLES, this.jd, this.A.UNSIGNED_SHORT, 2 * this.Jc)
  1032. };
  1033. b.prototype.er = function() {
  1034. this.A.blendFunc(this.Jc, this.jd)
  1035. };
  1036. b.prototype.lr = function() {
  1037. var e, a, b, c = this.C.cb,
  1038. d = this.C.wn;
  1039. e = 0;
  1040. for (a = c.length; e < a; e++) b = c[e], e === d && b.Nf ? (this.A.uniformMatrix4fv(b.Nf, !1, this.na), b.Pe = !0) : b.Pe = !1;
  1041. fc(this.na, this.C.Fk)
  1042. };
  1043. b.prototype.dr = function() {
  1044. var e = this.A,
  1045. a = this.C;
  1046. this.cd ?
  1047. (a.Ue === this.cd && (e.activeTexture(e.TEXTURE1), e.bindTexture(e.TEXTURE_2D, null), a.Ue = null, e.activeTexture(e.TEXTURE0)), e.bindFramebuffer(e.FRAMEBUFFER, a.Sr), e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, this.cd, 0)) : (e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, null, 0), e.bindFramebuffer(e.FRAMEBUFFER, null))
  1048. };
  1049. b.prototype.$q = function() {
  1050. var e = this.A;
  1051. 0 === this.Jc ? (e.clearColor(this.na[0], this.na[1], this.na[2], this.na[3]), e.clear(e.COLOR_BUFFER_BIT)) : (e.enable(e.SCISSOR_TEST),
  1052. e.scissor(this.na[0], this.na[1], this.na[2], this.na[3]), e.clearColor(0, 0, 0, 0), e.clear(this.A.COLOR_BUFFER_BIT), e.disable(e.SCISSOR_TEST))
  1053. };
  1054. b.prototype.br = function() {
  1055. var e = this.A,
  1056. a = this.C,
  1057. b = a.cb[1];
  1058. e.useProgram(b.xh);
  1059. !b.Pe && b.Nf && (e.uniformMatrix4fv(b.Nf, !1, a.Fk), b.Pe = !0);
  1060. e.enableVertexAttribArray(b.Ec);
  1061. e.bindBuffer(e.ARRAY_BUFFER, a.Wl);
  1062. e.vertexAttribPointer(b.Ec, 4, e.FLOAT, !1, 0, 0);
  1063. e.drawArrays(e.POINTS, this.Jc / 4, this.jd);
  1064. b = a.tg;
  1065. e.useProgram(b.xh);
  1066. 0 <= b.Ec && (e.enableVertexAttribArray(b.Ec), e.bindBuffer(e.ARRAY_BUFFER,
  1067. a.Jh[a.yd]), e.vertexAttribPointer(b.Ec, 2, e.FLOAT, !1, 0, 0));
  1068. 0 <= b.ie && (e.enableVertexAttribArray(b.ie), e.bindBuffer(e.ARRAY_BUFFER, a.Bh[a.yd]), e.vertexAttribPointer(b.ie, 2, e.FLOAT, !1, 0, 0))
  1069. };
  1070. b.prototype.gr = function() {
  1071. var e = this.A,
  1072. a = this.C,
  1073. b = a.cb[this.Jc];
  1074. a.wn = this.Jc;
  1075. a.tg = b;
  1076. e.useProgram(b.xh);
  1077. !b.Pe && b.Nf && (e.uniformMatrix4fv(b.Nf, !1, a.Fk), b.Pe = !0);
  1078. b.Of && e.uniform1f(b.Of, a.vn);
  1079. 0 <= b.Ec && (e.enableVertexAttribArray(b.Ec), e.bindBuffer(e.ARRAY_BUFFER, a.Jh[a.yd]), e.vertexAttribPointer(b.Ec, 2, e.FLOAT, !1, 0, 0));
  1080. 0 <= b.ie && (e.enableVertexAttribArray(b.ie), e.bindBuffer(e.ARRAY_BUFFER, a.Bh[a.yd]), e.vertexAttribPointer(b.ie, 2, e.FLOAT, !1, 0, 0))
  1081. };
  1082. b.prototype.hr = function() {
  1083. var e, a, b = this.C.tg,
  1084. c = this.A;
  1085. e = this.na;
  1086. b.Yg && this.C.Ue !== this.cd && (c.activeTexture(c.TEXTURE1), c.bindTexture(c.TEXTURE_2D, this.cd), this.C.Ue = this.cd, c.activeTexture(c.TEXTURE0));
  1087. b.Al && c.uniform1f(b.Al, e[0]);
  1088. b.zl && c.uniform1f(b.zl, e[1]);
  1089. b.$e && c.uniform2f(b.$e, e[2], e[3]);
  1090. b.Ze && c.uniform2f(b.Ze, e[4], e[5]);
  1091. b.Xg && c.uniform1f(b.Xg, e[6]);
  1092. b.Wg && c.uniform1f(b.Wg,
  1093. e[7]);
  1094. b.Zg && c.uniform2f(b.Zg, e[8], e[9]);
  1095. b.Bl && c.uniform1f(b.Bl, Sa() / 1E3);
  1096. if (b.R.length)
  1097. for (e = 0, a = b.R.length; e < a; e++) c.uniform1f(b.R[e][1], this.pp[e])
  1098. };
  1099. d.prototype.$c = function() {
  1100. this.wd === this.Vd.length && this.Vd.push(new b(0, this));
  1101. return this.Vd[this.wd++]
  1102. };
  1103. d.prototype.Ke = function() {
  1104. if (0 !== this.wd && !this.A.isContextLost()) {
  1105. var e = this.A;
  1106. 0 < this.Xl && (e.bindBuffer(e.ARRAY_BUFFER, this.Wl), e.bufferData(e.ARRAY_BUFFER, this.et.subarray(0, this.Xl), e.STREAM_DRAW), a && 0 <= a.Ec && "<point>" === a.name && e.vertexAttribPointer(a.Ec,
  1107. 4, e.FLOAT, !1, 0, 0));
  1108. if (0 < this.ud) {
  1109. var a = this.tg;
  1110. e.bindBuffer(e.ARRAY_BUFFER, this.Jh[this.yd]);
  1111. e.bufferData(e.ARRAY_BUFFER, this.Fm.subarray(0, this.ud), e.STREAM_DRAW);
  1112. a && 0 <= a.Ec && "<point>" !== a.name && e.vertexAttribPointer(a.Ec, 2, e.FLOAT, !1, 0, 0);
  1113. e.bindBuffer(e.ARRAY_BUFFER, this.Bh[this.yd]);
  1114. e.bufferData(e.ARRAY_BUFFER, this.um.subarray(0, this.ud), e.STREAM_DRAW);
  1115. a && 0 <= a.ie && "<point>" !== a.name && e.vertexAttribPointer(a.ie, 2, e.FLOAT, !1, 0, 0)
  1116. }
  1117. for (var b, e = 0, a = this.wd; e < a; e++) switch (b = this.Vd[e], b.type) {
  1118. case 1:
  1119. b.cr();
  1120. break;
  1121. case 2:
  1122. b.ir();
  1123. break;
  1124. case 3:
  1125. b.fr();
  1126. break;
  1127. case 4:
  1128. b.er();
  1129. break;
  1130. case 5:
  1131. b.lr();
  1132. break;
  1133. case 6:
  1134. b.dr();
  1135. break;
  1136. case 7:
  1137. b.$q();
  1138. break;
  1139. case 8:
  1140. b.br();
  1141. break;
  1142. case 9:
  1143. b.gr();
  1144. break;
  1145. case 10:
  1146. b.hr();
  1147. break;
  1148. case 11:
  1149. b.jr()
  1150. }
  1151. this.Xl = this.ud = this.wd = 0;
  1152. this.cc = !1;
  1153. this.yd++;
  1154. 4 <= this.yd && (this.yd = 0)
  1155. }
  1156. };
  1157. d.prototype.gf = function(a) {
  1158. if (a !== this.qo) {
  1159. var b = this.$c();
  1160. b.type = 3;
  1161. this.qo = b.Po = a;
  1162. this.cc = !1
  1163. }
  1164. };
  1165. d.prototype.hc = function(a) {
  1166. if (a !== this.Te) {
  1167. var b = this.$c();
  1168. b.type = 2;
  1169. this.Te = b.cd = a;
  1170. this.cc = !1
  1171. }
  1172. };
  1173. d.prototype.oe = function(a, b) {
  1174. if (a !==
  1175. this.ro || b !== this.oo) {
  1176. var c = this.$c();
  1177. c.type = 4;
  1178. c.Jc = a;
  1179. c.jd = b;
  1180. this.ro = a;
  1181. this.oo = b;
  1182. this.cc = !1
  1183. }
  1184. };
  1185. d.prototype.kp = function() {
  1186. this.oe(this.A.ONE, this.A.ONE_MINUS_SRC_ALPHA)
  1187. };
  1188. d.prototype.wj = function(a, b, c, d, g, q, p, v) {
  1189. 15992 <= this.ud && this.Ke();
  1190. var u = this.ud,
  1191. f = this.Fm,
  1192. x = this.um;
  1193. if (this.cc) this.Vd[this.wd - 1].jd += 6;
  1194. else {
  1195. var m = this.$c();
  1196. m.type = 1;
  1197. m.Jc = 3 * (u / 4);
  1198. m.jd = 6;
  1199. this.cc = !0
  1200. }
  1201. f[u] = a;
  1202. x[u++] = 0;
  1203. f[u] = b;
  1204. x[u++] = 0;
  1205. f[u] = c;
  1206. x[u++] = 1;
  1207. f[u] = d;
  1208. x[u++] = 0;
  1209. f[u] = g;
  1210. x[u++] = 1;
  1211. f[u] = q;
  1212. x[u++] = 1;
  1213. f[u] = p;
  1214. x[u++] = 0;
  1215. f[u] = v;
  1216. x[u++] = 1;
  1217. this.ud =
  1218. u
  1219. };
  1220. d.prototype.nd = function(a, b, c, d, g, q, p, v, u) {
  1221. 15992 <= this.ud && this.Ke();
  1222. var f = this.ud,
  1223. x = this.Fm,
  1224. m = this.um;
  1225. if (this.cc) this.Vd[this.wd - 1].jd += 6;
  1226. else {
  1227. var w = this.$c();
  1228. w.type = 1;
  1229. w.Jc = 3 * (f / 4);
  1230. w.jd = 6;
  1231. this.cc = !0
  1232. }
  1233. var w = u.left,
  1234. l = u.top,
  1235. t = u.right;
  1236. u = u.bottom;
  1237. x[f] = a;
  1238. m[f++] = w;
  1239. x[f] = b;
  1240. m[f++] = l;
  1241. x[f] = c;
  1242. m[f++] = t;
  1243. x[f] = d;
  1244. m[f++] = l;
  1245. x[f] = g;
  1246. m[f++] = t;
  1247. x[f] = q;
  1248. m[f++] = u;
  1249. x[f] = p;
  1250. m[f++] = w;
  1251. x[f] = v;
  1252. m[f++] = u;
  1253. this.ud = f
  1254. };
  1255. d.prototype.rd = function(a) {
  1256. if (this.Qg !== a) {
  1257. if (!this.cb[a]) {
  1258. if (0 === this.Qg) return;
  1259. a = 0
  1260. }
  1261. var b = this.$c();
  1262. b.type = 9;
  1263. this.Qg =
  1264. b.Jc = a;
  1265. this.cc = !1
  1266. }
  1267. };
  1268. d.prototype.nh = function(a) {
  1269. a = this.cb[a];
  1270. return !(!a.$e && !a.Ze)
  1271. };
  1272. d.prototype.Zl = function(a) {
  1273. a = this.cb[a];
  1274. return !!(a.$e || a.Ze || a.un)
  1275. };
  1276. d.prototype.jt = function(a) {
  1277. a = this.cb[a];
  1278. return 0 !== a.Nk || 0 !== a.Ok
  1279. };
  1280. d.prototype.ds = function(a) {
  1281. return this.cb[a].Nk
  1282. };
  1283. d.prototype.es = function(a) {
  1284. return this.cb[a].Ok
  1285. };
  1286. d.prototype.gs = function(a, b) {
  1287. return this.cb[a].R[b][2]
  1288. };
  1289. d.prototype.tj = function(a) {
  1290. return this.cb[a].jn
  1291. };
  1292. d.prototype.Xf = function(a, b, c, d, g, q, p, v, u, f, x, m) {
  1293. var w = this.cb[this.Qg],
  1294. l, t;
  1295. if (w.As ||
  1296. m.length) {
  1297. l = this.$c();
  1298. l.type = 10;
  1299. l.na ? fc(this.Fc, l.na) : l.na = ec();
  1300. t = l.na;
  1301. t[0] = b;
  1302. t[1] = c;
  1303. t[2] = d;
  1304. t[3] = g;
  1305. t[4] = q;
  1306. t[5] = p;
  1307. t[6] = v;
  1308. t[7] = u;
  1309. t[8] = f;
  1310. t[9] = x;
  1311. l.cd = w.Yg ? a : null;
  1312. if (m.length)
  1313. for (c = l.pp, c.length = m.length, a = 0, b = m.length; a < b; a++) c[a] = m[a];
  1314. this.cc = !1
  1315. }
  1316. };
  1317. d.prototype.clear = function(a, b, c, d) {
  1318. var g = this.$c();
  1319. g.type = 7;
  1320. g.Jc = 0;
  1321. g.na || (g.na = ec());
  1322. g.na[0] = a;
  1323. g.na[1] = b;
  1324. g.na[2] = c;
  1325. g.na[3] = d;
  1326. this.cc = !1
  1327. };
  1328. d.prototype.clearRect = function(a, b, c, d) {
  1329. if (!(0 > c || 0 > d)) {
  1330. var g = this.$c();
  1331. g.type = 7;
  1332. g.Jc = 1;
  1333. g.na || (g.na = ec());
  1334. g.na[0] = a;
  1335. g.na[1] =
  1336. b;
  1337. g.na[2] = c;
  1338. g.na[3] = d;
  1339. this.cc = !1
  1340. }
  1341. };
  1342. d.prototype.it = function() {
  1343. this.Ke();
  1344. this.A.flush()
  1345. };
  1346. var c = [],
  1347. a = {};
  1348. d.prototype.Lf = function(b, h, g, d) {
  1349. h = !!h;
  1350. g = !!g;
  1351. var n = b.src + "," + h + "," + g + (h ? ",undefined" : ""),
  1352. q = null;
  1353. if ("undefined" !== typeof b.src && a.hasOwnProperty(n)) return q = a[n], q.bi++, q;
  1354. this.Ke();
  1355. var p = this.A,
  1356. v = ia(b.width) && ia(b.height),
  1357. q = p.createTexture();
  1358. p.bindTexture(p.TEXTURE_2D, q);
  1359. p.pixelStorei(p.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !0);
  1360. var u = p.RGBA,
  1361. f = p.RGBA,
  1362. x = p.UNSIGNED_BYTE;
  1363. if (d && !this.kl) switch (d) {
  1364. case 1:
  1365. f = u = p.RGB;
  1366. break;
  1367. case 2:
  1368. x = p.UNSIGNED_SHORT_4_4_4_4;
  1369. break;
  1370. case 3:
  1371. x = p.UNSIGNED_SHORT_5_5_5_1;
  1372. break;
  1373. case 4:
  1374. f = u = p.RGB, x = p.UNSIGNED_SHORT_5_6_5
  1375. }
  1376. if (!v && h) {
  1377. d = document.createElement("canvas");
  1378. d.width = ja(b.width);
  1379. d.height = ja(b.height);
  1380. var m = d.getContext("2d");
  1381. m.webkitImageSmoothingEnabled = g;
  1382. m.mozImageSmoothingEnabled = g;
  1383. m.msImageSmoothingEnabled = g;
  1384. m.imageSmoothingEnabled = g;
  1385. m.drawImage(b, 0, 0, b.width, b.height, 0, 0, d.width, d.height);
  1386. p.texImage2D(p.TEXTURE_2D, 0, u, f, x, d)
  1387. } else p.texImage2D(p.TEXTURE_2D, 0, u, f, x, b);
  1388. h ? (p.texParameteri(p.TEXTURE_2D,
  1389. p.TEXTURE_WRAP_S, p.REPEAT), p.texParameteri(p.TEXTURE_2D, p.TEXTURE_WRAP_T, p.REPEAT)) : (p.texParameteri(p.TEXTURE_2D, p.TEXTURE_WRAP_S, p.CLAMP_TO_EDGE), p.texParameteri(p.TEXTURE_2D, p.TEXTURE_WRAP_T, p.CLAMP_TO_EDGE));
  1390. g ? (p.texParameteri(p.TEXTURE_2D, p.TEXTURE_MAG_FILTER, p.LINEAR), v && this.zn ? (p.texParameteri(p.TEXTURE_2D, p.TEXTURE_MIN_FILTER, p.LINEAR_MIPMAP_LINEAR), p.generateMipmap(p.TEXTURE_2D)) : p.texParameteri(p.TEXTURE_2D, p.TEXTURE_MIN_FILTER, p.LINEAR)) : (p.texParameteri(p.TEXTURE_2D, p.TEXTURE_MAG_FILTER,
  1391. p.NEAREST), p.texParameteri(p.TEXTURE_2D, p.TEXTURE_MIN_FILTER, p.NEAREST));
  1392. p.bindTexture(p.TEXTURE_2D, null);
  1393. this.Te = null;
  1394. q.qg = b.width;
  1395. q.pg = b.height;
  1396. q.bi = 1;
  1397. q.nn = n;
  1398. c.push(q);
  1399. return a[n] = q
  1400. };
  1401. d.prototype.$d = function(a, b, g) {
  1402. var d;
  1403. this.Ke();
  1404. var n = this.A;
  1405. this.kl && (d = !1);
  1406. var q = n.createTexture();
  1407. n.bindTexture(n.TEXTURE_2D, q);
  1408. n.texImage2D(n.TEXTURE_2D, 0, n.RGBA, a, b, 0, n.RGBA, d ? n.UNSIGNED_SHORT_4_4_4_4 : n.UNSIGNED_BYTE, null);
  1409. n.texParameteri(n.TEXTURE_2D, n.TEXTURE_WRAP_S, n.CLAMP_TO_EDGE);
  1410. n.texParameteri(n.TEXTURE_2D,
  1411. n.TEXTURE_WRAP_T, n.CLAMP_TO_EDGE);
  1412. n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MAG_FILTER, g ? n.LINEAR : n.NEAREST);
  1413. n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MIN_FILTER, g ? n.LINEAR : n.NEAREST);
  1414. n.bindTexture(n.TEXTURE_2D, null);
  1415. this.Te = null;
  1416. q.qg = a;
  1417. q.pg = b;
  1418. c.push(q);
  1419. return q
  1420. };
  1421. d.prototype.deleteTexture = function(b) {
  1422. b && ("undefined" !== typeof b.bi && 1 < b.bi ? b.bi-- : (this.Ke(), b === this.Te && (this.A.bindTexture(this.A.TEXTURE_2D, null), this.Te = null), b === this.Ue && (this.A.activeTexture(this.A.TEXTURE1), this.A.bindTexture(this.A.TEXTURE_2D,
  1423. null), this.A.activeTexture(this.A.TEXTURE0), this.Ue = null), za(c, b), "undefined" !== typeof b.nn && delete a[b.nn], this.A.deleteTexture(b)))
  1424. };
  1425. d.prototype.qd = function(a) {
  1426. if (a !== this.gp) {
  1427. var b = this.$c();
  1428. b.type = 6;
  1429. this.gp = b.cd = a;
  1430. this.cc = !1
  1431. }
  1432. };
  1433. hb = d
  1434. })();
  1435. (function() {
  1436. function d(f) {
  1437. if (f && (f.getContext || f.dc) && !f.c2runtime) {
  1438. f.c2runtime = this;
  1439. var a = this;
  1440. this.Pi = /crosswalk/i.test(navigator.userAgent) || /xwalk/i.test(navigator.userAgent) || !("undefined" === typeof window.c2isCrosswalk || !window.c2isCrosswalk);
  1441. this.Uc = !this.Pi && "undefined" !== typeof window.device && ("undefined" !== typeof window.device.cordova || "undefined" !== typeof window.device.phonegap) || "undefined" !== typeof window.c2isphonegap && window.c2isphonegap;
  1442. this.Qb = !!f.dc;
  1443. this.Ef = "undefined" !== typeof window.AppMobi ||
  1444. this.Qb;
  1445. this.pc = !!window.c2cocoonjs;
  1446. this.Gd = !!window.c2ejecta;
  1447. this.pc && (CocoonJS.App.onSuspended.addEventListener(function() {
  1448. a.setSuspended(!0)
  1449. }), CocoonJS.App.onActivated.addEventListener(function() {
  1450. a.setSuspended(!1)
  1451. }));
  1452. this.Gd && (document.addEventListener("pagehide", function() {
  1453. a.setSuspended(!0)
  1454. }), document.addEventListener("pageshow", function() {
  1455. a.setSuspended(!1)
  1456. }), document.addEventListener("resize", function() {
  1457. a.setSize(window.innerWidth, window.innerHeight)
  1458. }));
  1459. this.lb = this.Qb || this.pc || this.Gd;
  1460. this.ho =
  1461. /tizen/i.test(navigator.userAgent);
  1462. this.Oi = /android/i.test(navigator.userAgent) && !this.ho;
  1463. this.kl = /msie/i.test(navigator.userAgent) || /trident/i.test(navigator.userAgent);
  1464. this.rl = /iphone/i.test(navigator.userAgent) || /ipod/i.test(navigator.userAgent);
  1465. this.lo = /ipad/i.test(navigator.userAgent);
  1466. this.Ti = this.rl || this.lo || this.Gd;
  1467. this.Os = this.rl && /os\s6/i.test(navigator.userAgent);
  1468. this.Lg = /chrome/i.test(navigator.userAgent) || /chromium/i.test(navigator.userAgent);
  1469. this.Gs = /amazonwebappplatform/i.test(navigator.userAgent);
  1470. this.eo = /firefox/i.test(navigator.userAgent);
  1471. this.fo = !this.Lg && /safari/i.test(navigator.userAgent);
  1472. this.Ks = /windows/i.test(navigator.userAgent);
  1473. this.ge = "undefined" !== typeof window.c2nodewebkit || /nodewebkit/i.test(navigator.userAgent);
  1474. this.Ms = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8);
  1475. this.Ns = !("undefined" === typeof window.c2isWindows8Capable || !window.c2isWindows8Capable);
  1476. this.pl = !("undefined" === typeof window.c2isWindowsPhone8 || !window.c2isWindowsPhone8);
  1477. this.jo = !("undefined" ===
  1478. typeof window.c2isWindowsPhone81 || !window.c2isWindowsPhone81);
  1479. this.io = this.Ms || this.Ns || this.jo;
  1480. this.Hs = !("undefined" === typeof window.c2isBlackberry10 || !window.c2isBlackberry10);
  1481. this.co = this.Oi && !this.Lg && !this.eo && !this.Gs && !this.lb;
  1482. this.devicePixelRatio = 1;
  1483. this.fe = this.Uc || this.Pi || this.Ef || this.pc || this.Oi || this.Ti || this.pl || this.jo || this.Hs || this.ho || this.Gd;
  1484. this.fe || (this.fe = /(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));
  1485. "undefined" === typeof cr_is_preview || this.ge || "?nw" !== window.location.search && !/nodewebkit/i.test(navigator.userAgent) || (this.ge = !0);
  1486. this.Is = "undefined" !== typeof cr_is_preview && -1 < window.location.search.indexOf("debug");
  1487. this.canvas = f;
  1488. this.qn = document.getElementById("c2canvasdiv");
  1489. this.ra = this.C = this.A = null;
  1490. this.Rk = "";
  1491. this.Ci = !1;
  1492. this.Jo = this.Ko = 0;
  1493. this.canvas.oncontextmenu = function(f) {
  1494. f.preventDefault && f.preventDefault();
  1495. return !1
  1496. };
  1497. this.canvas.onselectstart = function(f) {
  1498. f.preventDefault && f.preventDefault();
  1499. return !1
  1500. };
  1501. this.Qb && (window.c2runtime = this);
  1502. this.ge && (window.ondragover = function(f) {
  1503. f.preventDefault();
  1504. return !1
  1505. }, window.ondrop = function(f) {
  1506. f.preventDefault();
  1507. return !1
  1508. }, require("nw.gui").App.clearCache());
  1509. this.width = f.width;
  1510. this.height = f.height;
  1511. this.W = this.width;
  1512. this.V = this.height;
  1513. this.oi = this.width;
  1514. this.ni = this.height;
  1515. this.Sg = window.innerWidth;
  1516. this.Rg = window.innerHeight;
  1517. this.ha = !0;
  1518. this.Ng = !1;
  1519. Date.now || (Date.now = function() {
  1520. return +new Date
  1521. });
  1522. this.plugins = [];
  1523. this.types = {};
  1524. this.B = [];
  1525. this.Na = [];
  1526. this.xl = {};
  1527. this.Wc = [];
  1528. this.Mk = {};
  1529. this.Bd = [];
  1530. this.ig = [];
  1531. this.Tj = [];
  1532. this.qk = [];
  1533. this.Gq = [];
  1534. this.up = null;
  1535. this.gd = new da;
  1536. this.ll = !1;
  1537. this.Tc = 0;
  1538. this.nl = !1;
  1539. this.Pb = [];
  1540. this.Jd = this.Jb = this.Zi = this.jm = "";
  1541. this.zh = this.sp = !1;
  1542. this.Bk = this.$g = this.be = this.Je = 0;
  1543. this.cg = 1;
  1544. this.rc = new Ta;
  1545. this.Wi = 0;
  1546. this.Ao = !0;
  1547. this.dj = this.Di = this.xi = this.nf = this.Tg = this.Qk = 0;
  1548. this.Fe = null;
  1549. this.ti = [];
  1550. this.Lk = [];
  1551. this.wi = -1;
  1552. this.Cl = [
  1553. []
  1554. ];
  1555. this.zm = this.cj = 0;
  1556. this.vj(null);
  1557. this.Fo = this.eh = 0;
  1558. this.wl = !0;
  1559. this.wg = 0;
  1560. this.Ah = [];
  1561. this.Pj = this.xj = -1;
  1562. this.Jf = !0;
  1563. this.bj = 0;
  1564. this.Mg = !1;
  1565. this.Mt = 0;
  1566. this.ys = !1;
  1567. this.sl = 0;
  1568. this.kd = this.cl = this.$l = !1;
  1569. this.Ml = new da;
  1570. this.Nl = new da;
  1571. this.yj = [];
  1572. this.bd = new Za([]);
  1573. this.tm = new Za([]);
  1574. this.Sd = [];
  1575. this.Ji = {};
  1576. this.xf = {};
  1577. this.uf = {};
  1578. this.hg = {};
  1579. this.ln = {};
  1580. this.uo = this.Yi = this.fc = this.tc = this.to = this.Xi = this.$ = null;
  1581. this.eg = this.ql = !1;
  1582. this.Sk = [null, null];
  1583. this.Ne = 0;
  1584. this.Fn = "";
  1585. this.je = {};
  1586. this.Fj = this.Mf = null;
  1587. this.load();
  1588. this.devicePixelRatio = (this.Se = (!this.lb || this.Gd) && this.Yt && !this.co) ? window.devicePixelRatio || window.webkitDevicePixelRatio ||
  1589. window.mozDevicePixelRatio || window.msDevicePixelRatio || 1 : 1;
  1590. this.yb();
  1591. var m, b = this.rk && !(this.ge || this.io || this.pl || this.Pi);
  1592. 0 < this.ac && this.setSize(window.innerWidth, window.innerHeight, !0);
  1593. try {
  1594. this.qr && (this.pc || this.Gd || !this.lb) && (m = {
  1595. alpha: b,
  1596. depth: !1,
  1597. antialias: !1,
  1598. failIfMajorPerformanceCaveat: !0
  1599. }, this.A = f.getContext("webgl", m) || f.getContext("experimental-webgl", m))
  1600. } catch (e) {}
  1601. if (this.A) {
  1602. this.lb || (this.wb = document.createElement("canvas"), jQuery(this.wb).appendTo(this.canvas.parentNode), this.wb.oncontextmenu =
  1603. B(!1), this.wb.onselectstart = B(!1), this.wb.width = this.oi, this.wb.height = this.ni, jQuery(this.wb).css({
  1604. width: this.oi + "px",
  1605. height: this.ni + "px"
  1606. }), this.Zo(), this.Ul = this.wb.getContext("2d"));
  1607. this.C = new hb(this.A, this.fe);
  1608. this.C.Yf(f.width, f.height);
  1609. this.C.zn = 0 !== this.mr;
  1610. this.ra = null;
  1611. this.canvas.addEventListener("webglcontextlost", function(f) {
  1612. f.preventDefault();
  1613. a.Ws();
  1614. console.log("[Construct 2] WebGL context lost");
  1615. window.cr_setSuspended(!0)
  1616. }, !1);
  1617. this.canvas.addEventListener("webglcontextrestored", function() {
  1618. a.C.Yn();
  1619. a.C.Yf(a.C.width, a.C.height, !0);
  1620. a.tc = null;
  1621. a.fc = null;
  1622. a.Sk[0] = null;
  1623. a.Sk[1] = null;
  1624. a.Xs();
  1625. a.ha = !0;
  1626. console.log("[Construct 2] WebGL context restored");
  1627. window.cr_setSuspended(!1)
  1628. }, !1);
  1629. var t, k, c, h, g, d;
  1630. f = 0;
  1631. for (m = this.B.length; f < m; f++)
  1632. for (k = this.B[f], b = 0, t = k.O.length; b < t; b++) h = k.O[b], h.xb = this.C.$k(h.id), this.eg = this.eg || this.C.nh(h.xb);
  1633. f = 0;
  1634. for (m = this.Wc.length; f < m; f++) {
  1635. g = this.Wc[f];
  1636. b = 0;
  1637. for (t = g.O.length; b < t; b++) h = g.O[b], h.xb = this.C.$k(h.id);
  1638. b = 0;
  1639. for (t = g.Z.length; b < t; b++)
  1640. for (d = g.Z[b], k = 0, c = d.O.length; k < c; k++) h =
  1641. d.O[k], h.xb = this.C.$k(h.id), this.eg = this.eg || this.C.nh(h.xb)
  1642. }
  1643. } else {
  1644. if (0 < this.ac && this.Qb) {
  1645. this.canvas = null;
  1646. document.oncontextmenu = B(!1);
  1647. document.onselectstart = B(!1);
  1648. this.ra = AppMobi.canvas.getContext("2d");
  1649. try {
  1650. this.ra.samplingMode = this.ba ? "smooth" : "sharp", this.ra.globalScale = 1, this.ra.HTML5CompatibilityMode = !0, this.ra.imageSmoothingEnabled = this.ba
  1651. } catch (p) {}
  1652. 0 !== this.width && 0 !== this.height && (this.ra.width = this.width, this.ra.height = this.height)
  1653. }
  1654. this.ra || (m = this.pc ? {
  1655. antialias: !!this.ba,
  1656. alpha: b
  1657. } : {
  1658. alpha: b
  1659. },
  1660. this.ra = f.getContext("2d", m), this.ra.webkitImageSmoothingEnabled = this.ba, this.ra.mozImageSmoothingEnabled = this.ba, this.ra.msImageSmoothingEnabled = this.ba, this.ra.imageSmoothingEnabled = this.ba);
  1661. this.Ul = this.wb = null
  1662. }
  1663. this.Oj = function() {
  1664. a.fb(!1)
  1665. };
  1666. window == window.top || this.lb || this.io || this.pl || (document.addEventListener("mousedown", function() {
  1667. window.focus()
  1668. }, !0), document.addEventListener("touchstart", function() {
  1669. window.focus()
  1670. }, !0));
  1671. "undefined" !== typeof cr_is_preview && (this.pc && console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"), -1 < window.location.search.indexOf("continuous") && (ea("Reloading for continuous preview"), this.Zi = "__c2_continuouspreview", this.zh = !0), this.dt && !this.fe && (jQuery(window).focus(function() {
  1672. a.setSuspended(!1)
  1673. }), jQuery(window).blur(function() {
  1674. a.setSuspended(!0)
  1675. })));
  1676. 0 === this.ac && this.Se && 1 < this.devicePixelRatio && this.setSize(this.ob, this.nb, !0);
  1677. this.Dp();
  1678. this.go();
  1679. this.T = {}
  1680. }
  1681. }
  1682. function g(f) {
  1683. f.target.result.createObjectStore("saves", {
  1684. keyPath: "slot"
  1685. })
  1686. }
  1687. function b(f, a, m, b) {
  1688. var e = indexedDB.open("_C2SaveStates");
  1689. e.onupgradeneeded = g;
  1690. e.onerror = b;
  1691. e.onsuccess = function(e) {
  1692. e = e.target.result;
  1693. e.onerror = b;
  1694. e.transaction(["saves"], "readwrite").objectStore("saves").put({
  1695. slot: f,
  1696. data: a
  1697. }).onsuccess = m
  1698. }
  1699. }
  1700. function c(f, a, m) {
  1701. var b = indexedDB.open("_C2SaveStates");
  1702. b.onupgradeneeded = g;
  1703. b.onerror = m;
  1704. b.onsuccess = function(b) {
  1705. b = b.target.result;
  1706. b.onerror = m;
  1707. var e = b.transaction(["saves"]).objectStore("saves").get(f);
  1708. e.onsuccess = function() {
  1709. e.result ? a(e.result.data) : a(null)
  1710. }
  1711. }
  1712. }
  1713. function a() {
  1714. ea("Reloading for continuous preview");
  1715. window.c2cocoonjs ?
  1716. CocoonJS.App.reload() : -1 < window.location.search.indexOf("continuous") ? window.location.reload(!0) : window.location += "?continuous"
  1717. }
  1718. function e(f) {
  1719. var a, m = {};
  1720. for (a in f) !f.hasOwnProperty(a) || f[a] instanceof da || f[a] && "undefined" !== typeof f[a].ov || (m[a] = f[a]);
  1721. return m
  1722. }
  1723. d.prototype.setSize = function(f, a, m) {
  1724. var b = 0,
  1725. e = 0,
  1726. t = 0,
  1727. k = 0,
  1728. k = 0,
  1729. c = this.Os && this.fo && !navigator.standalone && !this.lb && !this.Uc;
  1730. c && (a += 60);
  1731. if (this.Sg !== f || this.Rg !== a || m) {
  1732. this.Sg = f;
  1733. this.Rg = a;
  1734. var h = this.ac,
  1735. g = (document.mozFullScreen || document.webkitIsFullScreen ||
  1736. !!document.msFullscreenElement || document.fullScreen || this.Mg) && !this.Uc;
  1737. if (g || 0 !== this.ac || m) g && 0 < this.Ne && (h = this.Ne), m = this.devicePixelRatio, 4 <= h ? (t = this.ob / this.nb, f / a > t ? (t *= a, 5 === h ? (k = t * m / this.ob, 1 < k ? k = Math.floor(k) : 1 > k && (k = 1 / Math.ceil(1 / k)), t = this.ob * k / m, k = this.nb * k / m, b = (f - t) / 2, e = (a - k) / 2, f = t, a = k) : (b = (f - t) / 2, f = t)) : (k = f / t, 5 === h ? (k = k * m / this.nb, 1 < k ? k = Math.floor(k) : 1 > k && (k = 1 / Math.ceil(1 / k)), t = this.ob * k / m, k = this.nb * k / m, b = (f - t) / 2, e = (a - k) / 2, f = t) : e = (a - k) / 2, a = k), g && !this.ge && (e = b = 0)) : this.ge && this.Mg &&
  1738. 0 === this.Hn && (b = Math.floor((f - this.ob) / 2), e = Math.floor((a - this.nb) / 2), f = this.ob, a = this.nb), 2 > h && (this.ng = m), this.Se && this.lo && 1 < m && (1024 <= f && (f = 1023), 1024 <= a && (a = 1023)), this.oi = Math.round(f), this.ni = Math.round(a), this.width = Math.round(f * m), this.height = Math.round(a * m), this.ha = !0, this.Pp ? (this.W = this.width, this.V = this.height, this.Bc = !0) : this.width < this.ob && this.height < this.nb || 1 === h ? (this.W = this.width, this.V = this.height, this.Bc = !0) : (this.W = this.ob, this.V = this.nb, this.Bc = !1, 2 === h ? (t = this.ob / this.nb,
  1739. h = this.Sg / this.Rg, h < t ? this.W = this.V * h : h > t && (this.V = this.W / h)) : 3 === h && (t = this.ob / this.nb, h = this.Sg / this.Rg, h > t ? this.W = this.V * h : h < t && (this.V = this.W / h))), this.qn && !this.lb && (jQuery(this.qn).css({
  1740. width: Math.round(f) + "px",
  1741. height: Math.round(a) + "px",
  1742. "margin-left": Math.floor(b) + "px",
  1743. "margin-top": Math.floor(e) + "px"
  1744. }), "undefined" !== typeof cr_is_preview && jQuery("#borderwrap").css({
  1745. width: Math.round(f) + "px",
  1746. height: Math.round(a) + "px"
  1747. })), this.canvas && (this.canvas.width = Math.round(f * m), this.canvas.height = Math.round(a *
  1748. m), this.Gd ? (this.canvas.style.left = Math.floor(b) + "px", this.canvas.style.top = Math.floor(e) + "px", this.canvas.style.width = Math.round(f) + "px", this.canvas.style.height = Math.round(a) + "px") : this.Se && !this.lb && jQuery(this.canvas).css({
  1749. width: Math.round(f) + "px",
  1750. height: Math.round(a) + "px"
  1751. })), this.wb && (this.wb.width = Math.round(f), this.wb.height = Math.round(a), jQuery(this.wb).css({
  1752. width: Math.round(f) + "px",
  1753. height: Math.round(a) + "px"
  1754. })), this.C && this.C.Yf(Math.round(f * m), Math.round(a * m)), this.Qb && this.ra && (this.ra.width =
  1755. Math.round(f), this.ra.height = Math.round(a)), this.ra && (this.ra.webkitImageSmoothingEnabled = this.ba, this.ra.mozImageSmoothingEnabled = this.ba, this.ra.msImageSmoothingEnabled = this.ba, this.ra.imageSmoothingEnabled = this.ba), this.Dp(), this.lb || !c && !this.rl || window.setTimeout(function() {
  1756. window.scrollTo(0, 1)
  1757. }, 100)
  1758. }
  1759. };
  1760. d.prototype.Dp = function() {
  1761. if (this.Hq && 0 !== this.Sl) {
  1762. var f = "portrait";
  1763. 2 === this.Sl && (f = "landscape");
  1764. screen.lockOrientation ? screen.lockOrientation(f) : screen.webkitLockOrientation ? screen.webkitLockOrientation(f) :
  1765. screen.mozLockOrientation ? screen.mozLockOrientation(f) : screen.msLockOrientation && screen.msLockOrientation(f)
  1766. }
  1767. };
  1768. d.prototype.Ws = function() {
  1769. this.ql = !0;
  1770. var f, a, b;
  1771. f = 0;
  1772. for (a = this.B.length; f < a; f++) b = this.B[f], b.fj && b.fj()
  1773. };
  1774. d.prototype.Xs = function() {
  1775. this.ql = !1;
  1776. var f, a, b;
  1777. f = 0;
  1778. for (a = this.B.length; f < a; f++) b = this.B[f], b.hj && b.hj()
  1779. };
  1780. d.prototype.Zo = function() {
  1781. if (!this.lb) {
  1782. var f = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || document.msFullscreenElement || this.Mg) && !this.Uc ? jQuery(this.canvas).offset() :
  1783. jQuery(this.canvas).position();
  1784. f.position = "absolute";
  1785. jQuery(this.wb).css(f)
  1786. }
  1787. };
  1788. var h = window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;
  1789. d.prototype.setSuspended = function(f) {
  1790. var a;
  1791. if (f && !this.Ng)
  1792. for (ea("[Construct 2] Suspending"), this.Ng = !0, -1 !== this.xj && h && h(this.xj), -1 !== this.Pj && clearTimeout(this.Pj), f = 0, a = this.Ah.length; f < a; f++) this.Ah[f](!0);
  1793. else if (!f && this.Ng) {
  1794. ea("[Construct 2] Resuming");
  1795. this.Ng = !1;
  1796. this.Wi = Sa();
  1797. this.Tg = Sa();
  1798. f = this.$g = this.Di = 0;
  1799. for (a = this.Ah.length; f < a; f++) this.Ah[f](!1);
  1800. this.fb(!1)
  1801. }
  1802. };
  1803. d.prototype.Fq = function(f) {
  1804. this.Ah.push(f)
  1805. };
  1806. d.prototype.load = function() {
  1807. var f = jc();
  1808. this.name = f[0];
  1809. this.Gn = f[1];
  1810. this.ac = f[11];
  1811. this.Hn = f[11];
  1812. this.ob = f[9];
  1813. this.nb = f[10];
  1814. this.Wo = this.ob / 2;
  1815. this.Xo = this.nb / 2;
  1816. this.lb && !this.Gd && (4 <= f[11] || 0 === f[11]) && (ea("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"), this.Hn = this.ac = 3);
  1817. this.Dm =
  1818. f[17];
  1819. this.Vg = f[18];
  1820. 0 === this.Vg && (this.Mf = new Image, this.Mf.src = "loading-logo.png");
  1821. this.eh = f[20];
  1822. this.sd = new Q(this);
  1823. var a, b, e, l, t, k, c, h, g;
  1824. a = 0;
  1825. for (b = f[2].length; a < b; a++) c = f[2][a], ib(c), g = new c[0](this), g.Ej = c[1], g.he = c[2], g.Do = c[9], g.da && g.da(), this.plugins.push(g);
  1826. f = jc();
  1827. a = 0;
  1828. for (b = f[3].length; a < b; a++) {
  1829. c = f[3][a];
  1830. t = c[1];
  1831. g = null;
  1832. e = 0;
  1833. for (l = this.plugins.length; e < l; e++)
  1834. if (this.plugins[e] instanceof t) {
  1835. g = this.plugins[e];
  1836. break
  1837. }
  1838. var d = new g.Fa(g);
  1839. d.name = c[0];
  1840. d.K = c[2];
  1841. d.il = c[3].slice(0);
  1842. d.$t = c[3].length;
  1843. d.Iq =
  1844. c[4];
  1845. d.Vr = c[5];
  1846. d.X = c[11];
  1847. d.K ? (d.Qf = [], d.Cd = this.wg++, d.Ca = null) : (d.Qf = null, d.Cd = -1, d.Ca = []);
  1848. d.Ai = null;
  1849. d.zf = null;
  1850. d.Bn = null;
  1851. d.qc = !1;
  1852. d.Yb = null;
  1853. c[6] ? (d.Lj = c[6][0], d.vm = c[6][1], d.Dh = c[6][2]) : (d.Lj = null, d.vm = 0, d.Dh = 0);
  1854. d.Vb = c[7] ? c[7] : null;
  1855. d.index = a;
  1856. d.i = [];
  1857. d.ri = [];
  1858. d.re = [new jb(d)];
  1859. d.zd = 0;
  1860. d.yc = null;
  1861. d.Xq = 0;
  1862. d.ag = !0;
  1863. d.Vj = kb;
  1864. d.Nn = lb;
  1865. d.cs = mb;
  1866. d.ga = nb;
  1867. d.oh = ob;
  1868. d.uj = pb;
  1869. d.ff = sb;
  1870. d.Ei = tb;
  1871. d.Uk = ub;
  1872. d.Xk = vb;
  1873. d.Rc = wb;
  1874. d.On = xb;
  1875. d.ki = new $a(this.ob, this.nb);
  1876. d.Vh = !0;
  1877. d.Wh = !1;
  1878. d.T = {};
  1879. d.toString = yb;
  1880. d.Na = [];
  1881. e = 0;
  1882. for (l = c[8].length; e < l; e++) {
  1883. h =
  1884. c[8][e];
  1885. var p = h[1],
  1886. s = null;
  1887. t = 0;
  1888. for (k = this.Na.length; t < k; t++)
  1889. if (this.Na[t] instanceof p) {
  1890. s = this.Na[t];
  1891. break
  1892. }
  1893. s || (s = new p(this), s.Kl = [], s.Jl = new da, s.da && s.da(), this.Na.push(s), bc.Lt && s instanceof bc.Lt && (this.up = s)); - 1 === s.Kl.indexOf(d) && s.Kl.push(d);
  1894. t = new s.Fa(s, d);
  1895. t.name = h[0];
  1896. t.X = h[2];
  1897. t.da();
  1898. d.Na.push(t)
  1899. }
  1900. d.global = c[9];
  1901. d.ml = c[10];
  1902. d.O = [];
  1903. e = 0;
  1904. for (l = c[12].length; e < l; e++) d.O.push({
  1905. id: c[12][e][0],
  1906. name: c[12][e][1],
  1907. xb: -1,
  1908. Nb: !0,
  1909. index: e
  1910. });
  1911. d.Cv = c[13];
  1912. this.Dm && !d.K && !d.ml && g.he || d.da();
  1913. d.name && (this.types[d.name] =
  1914. d);
  1915. this.B.push(d);
  1916. g.Ej && (e = new g.ya(d), e.uid = this.eh++, e.cp = this.Fo++, e.Qe = 0, e.Fg = zb, e.toString = Ab, e.D = c[14], e.da(), d.i.push(e), this.je[e.uid.toString()] = e)
  1917. }
  1918. a = 0;
  1919. for (b = f[4].length; a < b; a++)
  1920. for (t = f[4][a], k = this.B[t[0]], e = 1, l = t.length; e < l; e++) c = this.B[t[e]], c.Ca.push(k), k.Qf.push(c);
  1921. a = 0;
  1922. for (b = f[24].length; a < b; a++) {
  1923. t = f[24][a];
  1924. k = [];
  1925. e = 0;
  1926. for (l = t.length; e < l; e++) k.push(this.B[t[e]]);
  1927. e = 0;
  1928. for (l = k.length; e < l; e++) k[e].qc = !0, k[e].Yb = k
  1929. }
  1930. if (0 < this.wg)
  1931. for (a = 0, b = this.B.length; a < b; a++)
  1932. if (c = this.B[a], !c.K && c.Ca.length) {
  1933. c.Ai =
  1934. Array(this.wg);
  1935. c.zf = Array(this.wg);
  1936. c.Bn = Array(this.wg);
  1937. d = [];
  1938. e = s = p = h = 0;
  1939. for (l = c.Ca.length; e < l; e++)
  1940. for (g = c.Ca[e], c.Ai[g.Cd] = h, h += g.$t, c.zf[g.Cd] = p, p += g.Iq, c.Bn[g.Cd] = s, s += g.Vr, t = 0, k = g.O.length; t < k; t++) d.push(ua({}, g.O[t]));
  1941. c.O = d.concat(c.O);
  1942. e = 0;
  1943. for (l = c.O.length; e < l; e++) c.O[e].index = e
  1944. }
  1945. a = 0;
  1946. for (b = f[5].length; a < b; a++) c = f[5][a], e = new Bb(this, c), this.xl[e.name] = e, this.Wc.push(e);
  1947. a = 0;
  1948. for (b = f[6].length; a < b; a++) c = f[6][a], e = new Cb(this, c), this.Mk[e.name] = e, this.Bd.push(e);
  1949. a = 0;
  1950. for (b = this.Bd.length; a < b; a++) this.Bd[a].Ka();
  1951. a = 0;
  1952. for (b = this.Bd.length; a < b; a++) this.Bd[a].Bm();
  1953. a = 0;
  1954. for (b = this.Tj.length; a < b; a++) this.Tj[a].Ka();
  1955. this.Tj.length = 0;
  1956. this.Fn = f[7];
  1957. this.md = f[8];
  1958. this.ng = 1;
  1959. this.qr = f[12];
  1960. this.ba = f[13];
  1961. this.rk = f[14];
  1962. this.Yt = f[16];
  1963. this.Sl = f[19];
  1964. this.Hq = 0 < this.Sl;
  1965. this.dt = f[21];
  1966. this.Bc = this.Pp = f[22];
  1967. this.mr = f[23];
  1968. this.Hj = Date.now()
  1969. };
  1970. var s = !1;
  1971. d.prototype.Hm = function(f) {
  1972. f.onerror = function(a) {
  1973. s = f.Lq = !0;
  1974. console && console.error && console.error("Error loading image '" + f.src + "': ", a)
  1975. };
  1976. this.ig.push(f)
  1977. };
  1978. d.prototype.Tr = function(f) {
  1979. var a,
  1980. b;
  1981. a = 0;
  1982. for (b = this.ig.length; a < b; a++)
  1983. if (this.ig[a].Tq === f) return this.ig[a];
  1984. return null
  1985. };
  1986. d.prototype.kn = function() {
  1987. var f = 0,
  1988. a = 0,
  1989. b = !0,
  1990. e, l, c;
  1991. e = 0;
  1992. for (l = this.ig.length; e < l; e++) {
  1993. c = this.ig[e];
  1994. var k = c.sn;
  1995. if (!k || 0 >= k) k = 5E4;
  1996. f += k;
  1997. !c.complete && !c.loaded || c.Lq ? b = !1 : a += k
  1998. }
  1999. this.la = 0 == f ? 0 : a / f;
  2000. return b
  2001. };
  2002. d.prototype.go = function() {
  2003. if (this.ra || this.C) {
  2004. var f = this.ra || this.Ul;
  2005. this.wb && this.Zo();
  2006. this.la = 0;
  2007. this.so = -1;
  2008. if (this.kn()) this.ws();
  2009. else {
  2010. var a = Date.now() - this.Hj;
  2011. if (f) {
  2012. var b = this.width,
  2013. e = this.height,
  2014. l = this.devicePixelRatio;
  2015. this.wb && (b = this.oi, e = this.ni, l = 1);
  2016. if (3 !== this.Vg && (this.pc || 500 <= a && this.so != this.la)) {
  2017. f.clearRect(0, 0, b, e);
  2018. var a = b / 2,
  2019. e = e / 2,
  2020. b = 0 === this.Vg && this.Mf.complete,
  2021. c = 40 * l,
  2022. k = 0,
  2023. d = 80 * l,
  2024. h;
  2025. b && (d = this.Mf.width * l, h = this.Mf.height * l, c = d / 2, k = h / 2, f.drawImage(this.Mf, pa(a - c), pa(e - k), d, h));
  2026. 1 >= this.Vg ? (a = pa(a - c) + 0.5, e = pa(e + (k + (b ? 12 * l : 0))) + 0.5, f.fillStyle = s ? "red" : "DodgerBlue", f.fillRect(a, e, Math.floor(d * this.la), 6 * l), f.strokeStyle = "black", f.strokeRect(a, e, d, 6 * l), f.strokeStyle = "white", f.strokeRect(a - 1 * l, e - 1 * l, d + 2 * l, 8 *
  2027. l)) : 2 === this.Vg && (f.font = this.Gd ? "12pt ArialMT" : "12pt Arial", f.fillStyle = s ? "#f00" : "#999", f.Bv = "middle", l = Math.round(100 * this.la) + "%", b = f.measureText ? f.measureText(l) : null, f.fillText(l, a - (b ? b.width : 0) / 2, e))
  2028. }
  2029. this.so = this.la
  2030. }
  2031. setTimeout(function(f) {
  2032. return function() {
  2033. f.go()
  2034. }
  2035. }(this), this.pc ? 10 : 100)
  2036. }
  2037. }
  2038. };
  2039. d.prototype.ws = function() {
  2040. this.wb && (this.canvas.parentNode.removeChild(this.wb), this.wb = this.Ul = null);
  2041. this.Hj = Date.now();
  2042. this.Tg = Sa();
  2043. var f, a, b;
  2044. if (this.Dm)
  2045. for (f = 0, a = this.B.length; f < a; f++) b = this.B[f], b.K ||
  2046. b.ml || !b.Ea.he || b.da();
  2047. else this.Jf = !1;
  2048. f = 0;
  2049. for (a = this.Wc.length; f < a; f++) this.Wc[f].Uq();
  2050. 2 <= this.ac && (f = this.ob / this.nb, a = this.width / this.height, this.ng = 2 !== this.ac && a > f || 2 === this.ac && a < f ? this.height / this.nb : this.width / this.ob);
  2051. this.Gn ? this.xl[this.Gn].qm() : this.Wc[0].qm();
  2052. this.Dm || (this.bj = 1, this.trigger(Q.prototype.p.Pm, null));
  2053. navigator.splashscreen && navigator.splashscreen.hide && navigator.splashscreen.hide();
  2054. f = 0;
  2055. for (a = this.B.length; f < a; f++) b = this.B[f], b.Vs && b.Vs();
  2056. this.fb(!1);
  2057. this.Qb && AppMobi.webview.execute("onGameReady();")
  2058. };
  2059. var r = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame;
  2060. d.prototype.fb = function(f) {
  2061. if (this.$) {
  2062. var a = Sa();
  2063. if (this.ys && this.$l && 29 > a - this.sl) this.$l = !1, this.sl = a, r ? this.xj = r(this.Oj, this.canvas) : this.Pj = setTimeout(this.Oj, this.fe ? 1 : 16);
  2064. else {
  2065. this.$l = !0;
  2066. this.sl = a;
  2067. var b = this.ac,
  2068. e = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement) && !this.Uc;
  2069. (e || this.Mg) && 0 < this.Ne && (b = this.Ne);
  2070. if (0 < b && (!this.Ti || window.self !== window.top)) {
  2071. var b = window.innerWidth,
  2072. l = window.innerHeight;
  2073. this.Sg === b && this.Rg === l || this.setSize(b, l)
  2074. }
  2075. this.lb || (e ? (this.Ci || (this.Rk = jQuery(this.canvas).css("margin") || "0", this.Ci = !0), this.Lg || this.ge || jQuery(this.canvas).css({
  2076. "margin-left": "" + Math.floor((screen.width - this.width / this.devicePixelRatio) / 2) + "px",
  2077. "margin-top": "" + Math.floor((screen.height - this.height / this.devicePixelRatio) / 2) + "px"
  2078. })) : this.Ci ? (this.Lg || this.ge || jQuery(this.canvas).css("margin",
  2079. this.Rk), this.Rk = "", this.Ci = !1, 0 === this.ac && this.setSize(Math.round(this.Ko / this.devicePixelRatio), Math.round(this.Jo / this.devicePixelRatio), !0)) : (this.Ko = this.width, this.Jo = this.height));
  2080. this.Jf && (e = this.kn(), this.bj = this.la, e && (this.Jf = !1, this.la = 1, this.trigger(Q.prototype.p.Pm, null)));
  2081. this.Ss();
  2082. !this.ha && !this.pc || this.ql || this.zh || f || (this.ha = !1, this.C ? this.Ac() : this.Ad(), this.Fj && (this.canvas && this.canvas.toDataURL && (this.canvas.toDataURL(this.Fj[0], this.Fj[1]), this.trigger(Q.prototype.p.$p,
  2083. null)), this.Fj = null));
  2084. this.vv || (this.nf++, this.xi++, this.Di++);
  2085. this.$g += Sa() - a;
  2086. this.Ng || f || (r ? this.xj = r(this.Oj, this.canvas) : this.Pj = setTimeout(this.Oj, this.fe ? 1 : 16))
  2087. }
  2088. }
  2089. };
  2090. d.prototype.Ss = function() {
  2091. var f, a, b, e, l, c, k, d, h;
  2092. f = Sa();
  2093. 1E3 <= f - this.Tg && (this.Tg += 1E3, this.Qk = this.Di, this.Di = 0, this.Bk = this.$g, this.$g = 0);
  2094. this.Ao && (0 !== this.Wi && (a = f - this.Wi, 0 !== a || this.Is ? (this.be = a / 1E3, 0.5 < this.be ? this.be = 0 : 0.1 < this.be && (this.be = 0.1)) : (10 <= this.Dv && (this.Ao = !1), this.be = 1 / 60)), this.Wi = f);
  2095. this.Je = this.be * this.cg;
  2096. this.rc.add(this.Je);
  2097. f = (document.mozFullScreen || document.webkitIsFullScreen || document.fullScreen || !!document.msFullscreenElement || this.Mg) && !this.Uc;
  2098. 2 <= this.ac || f && 0 < this.Ne ? (a = this.ob / this.nb, b = this.width / this.height, e = this.ac, f && 0 < this.Ne && (e = this.Ne), this.ng = 2 !== e && b > a || 2 === e && b < a ? this.height / this.nb : this.width / this.ob, this.$ && (this.$.km(this.$.scrollX), this.$.jp(this.$.scrollY))) : this.ng = this.Se ? this.devicePixelRatio : 1;
  2099. this.yb();
  2100. this.Tc++;
  2101. this.sd.yt();
  2102. this.Tc--;
  2103. this.yb();
  2104. this.Tc++;
  2105. f = 0;
  2106. for (a = this.B.length; f <
  2107. a; f++)
  2108. if (k = this.B[f], !k.K && (k.Na.length || k.Ca.length))
  2109. for (b = 0, e = k.i.length; b < e; b++)
  2110. for (d = k.i[b], l = 0, c = d.S.length; l < c; l++) d.S[l].fb();
  2111. f = 0;
  2112. for (a = this.B.length; f < a; f++)
  2113. if (k = this.B[f], !k.K && (k.Na.length || k.Ca.length))
  2114. for (b = 0, e = k.i.length; b < e; b++)
  2115. for (d = k.i[b], l = 0, c = d.S.length; l < c; l++) h = d.S[l], h.ht && h.ht();
  2116. b = this.Ml.fg();
  2117. f = 0;
  2118. for (a = b.length; f < a; f++) b[f].fb();
  2119. this.Tc--;
  2120. this.zs();
  2121. for (f = 0; this.Fe && 10 > f++;) this.yn(this.Fe);
  2122. f = 0;
  2123. for (a = this.Bd.length; f < a; f++) this.Bd[f].el = !1;
  2124. this.$.Le && this.$.Le.Qa();
  2125. this.yj.length =
  2126. 0;
  2127. this.wl = !1;
  2128. this.Tc++;
  2129. f = 0;
  2130. for (a = this.B.length; f < a; f++)
  2131. if (k = this.B[f], !k.K && (k.Na.length || k.Ca.length))
  2132. for (b = 0, e = k.i.length; b < e; b++)
  2133. for (d = k.i[b], l = 0, c = d.S.length; l < c; l++) h = d.S[l], h.Eh && h.Eh();
  2134. b = this.Nl.fg();
  2135. f = 0;
  2136. for (a = b.length; f < a; f++) b[f].Eh();
  2137. this.Tc--
  2138. };
  2139. d.prototype.yn = function(f) {
  2140. var a = this.$;
  2141. this.$.Nt();
  2142. var b, e, l, c, k, d, h;
  2143. if (this.C)
  2144. for (b = 0, e = this.B.length; b < e; b++) k = this.B[b], k.K || !k.Uj || k.global && 0 !== k.i.length || -1 !== f.Jg.indexOf(k) || k.Uj();
  2145. a == f && (this.sd.Tb.length = 0);
  2146. f.qm();
  2147. b = 0;
  2148. for (e = this.B.length; b <
  2149. e; b++)
  2150. if (k = this.B[b], k.global || k.Ea.Ej)
  2151. for (f = 0, a = k.i.length; f < a; f++)
  2152. if (d = k.i[f], d.Ql && d.Ql(), d.S)
  2153. for (l = 0, c = d.S.length; l < c; l++) h = d.S[l], h.Ql && h.Ql();
  2154. this.wl = this.ha = !0;
  2155. this.yb()
  2156. };
  2157. d.prototype.wm = function(f) {
  2158. this.Ml.add(f)
  2159. };
  2160. d.prototype.Qt = function(f) {
  2161. this.Nl.add(f)
  2162. };
  2163. d.prototype.Af = function(f) {
  2164. return f && -1 !== f.dh ? this.be * f.dh : this.Je
  2165. };
  2166. d.prototype.Ad = function() {
  2167. this.$.Ad(this.ra);
  2168. this.Qb && this.ra.present()
  2169. };
  2170. d.prototype.Ac = function() {
  2171. this.$.Ac(this.C);
  2172. this.C.it()
  2173. };
  2174. d.prototype.pk = function(f) {
  2175. f && this.ti.push(f)
  2176. };
  2177. d.prototype.qt = function(f) {
  2178. za(this.ti, f)
  2179. };
  2180. d.prototype.Cg = function(f) {
  2181. f = f.toString();
  2182. return this.je.hasOwnProperty(f) ? this.je[f] : null
  2183. };
  2184. d.prototype.Qd = function(f) {
  2185. var a, b;
  2186. if (!this.gd.contains(f)) {
  2187. this.gd.add(f);
  2188. if (f.qc)
  2189. for (a = 0, b = f.siblings.length; a < b; a++) this.Qd(f.siblings[a]);
  2190. this.ll && this.gd.gg.push(f);
  2191. this.Tc++;
  2192. this.trigger(Object.getPrototypeOf(f.type.Ea).p.bq, f);
  2193. this.Tc--
  2194. }
  2195. };
  2196. d.prototype.yb = function() {
  2197. var f, a, b, e, l, c, k, d, h, g;
  2198. this.ll = !0;
  2199. e = 0;
  2200. for (c = this.Pb.length; e < c; e++)
  2201. for (f = this.Pb[e], a = f.type, a.i.push(f),
  2202. l = 0, k = a.Ca.length; l < k; l++) a.Ca[l].i.push(f), a.Ca[l].ag = !0;
  2203. this.Pb.length = 0;
  2204. c = this.gd.fg();
  2205. for (e = 0; e < c.length; e++) {
  2206. f = c[e];
  2207. a = f.type;
  2208. b = a.i;
  2209. l = 0;
  2210. for (k = this.ti.length; l < k; l++) this.ti[l](f);
  2211. za(b, f);
  2212. 0 === b.length && (a.Wh = !1);
  2213. f.ji && a.ki.update(f, f.ji, null);
  2214. f.q && (va(f.q.i, f.oc()), f.q.kc = !0);
  2215. l = 0;
  2216. for (k = a.Ca.length; l < k; l++) za(a.Ca[l].i, f), a.Ca[l].ag = !0;
  2217. if (f.S)
  2218. for (l = 0, k = f.S.length; l < k; l++) b = f.S[l], b.df && b.df(), b.Ma.Jl.remove(f);
  2219. this.Ml.remove(f);
  2220. this.Nl.remove(f);
  2221. l = 0;
  2222. for (k = this.sd.Tb.length; l < k; l++)
  2223. if (h = this.sd.Tb[l],
  2224. h.Kb.hasOwnProperty(a.index) && za(h.Kb[a.index].Fd, f), !a.K)
  2225. for (b = 0, d = a.Ca.length; b < d; b++) g = a.Ca[b], h.Kb.hasOwnProperty(g.index) && za(h.Kb[g.index].Fd, f);
  2226. f.df && f.df();
  2227. this.je.hasOwnProperty(f.uid.toString()) && delete this.je[f.uid.toString()];
  2228. this.dj--;
  2229. 64 > a.ri.length && a.ri.push(f);
  2230. a.ag = !0
  2231. }
  2232. this.gd.Sc() || (this.ha = !0);
  2233. this.gd.clear();
  2234. this.ll = !1
  2235. };
  2236. d.prototype.tn = function(f, a, b, e) {
  2237. if (f.K) {
  2238. var l = pa(Math.random() * f.Qf.length);
  2239. return this.tn(f.Qf[l], a, b, e)
  2240. }
  2241. return f.yc ? this.ae(f.yc, a, !1, b, e, !1) : null
  2242. };
  2243. var n = [];
  2244. d.prototype.ae = function(f, a, b, e, l, c) {
  2245. var k, d, h, g;
  2246. if (!f) return null;
  2247. var p = this.B[f[1]],
  2248. s = p.Ea.he;
  2249. if (this.Jf && s && !p.ml || s && !this.C && 11 === f[0][11]) return null;
  2250. var v = a;
  2251. s || (a = null);
  2252. var r;
  2253. p.ri.length ? (r = p.ri.pop(), r.uc = !0, p.Ea.ya.call(r, p)) : (r = new p.Ea.ya(p), r.uc = !1);
  2254. r.uid = b && !c ? f[2] : this.eh++;
  2255. this.je[r.uid.toString()] = r;
  2256. r.cp = this.Fo++;
  2257. r.Qe = p.i.length;
  2258. k = 0;
  2259. for (d = this.Pb.length; k < d; ++k) this.Pb[k].type === p && r.Qe++;
  2260. r.Fg = zb;
  2261. h = f[3];
  2262. if (r.uc) Ra(r.T);
  2263. else {
  2264. r.T = {};
  2265. if ("undefined" !== typeof cr_is_preview)
  2266. for (r.ao = [],
  2267. r.ao.length = h.length, k = 0, d = h.length; k < d; k++) r.ao[k] = h[k][1];
  2268. r.Ya = [];
  2269. r.Ya.length = h.length
  2270. }
  2271. k = 0;
  2272. for (d = h.length; k < d; k++) r.Ya[k] = h[k][0];
  2273. if (s) {
  2274. var q = f[0];
  2275. r.x = fa(e) ? q[0] : e;
  2276. r.y = fa(l) ? q[1] : l;
  2277. r.z = q[2];
  2278. r.width = q[3];
  2279. r.height = q[4];
  2280. r.depth = q[5];
  2281. r.n = q[6];
  2282. r.opacity = q[7];
  2283. r.Eb = q[8];
  2284. r.Fb = q[9];
  2285. r.Ob = q[10];
  2286. k = q[11];
  2287. !this.C && p.O.length && (r.Ob = k);
  2288. r.rg = ab(r.Ob);
  2289. this.A && bb(r, r.Ob, this.A);
  2290. if (r.uc) {
  2291. k = 0;
  2292. for (d = q[12].length; k < d; k++)
  2293. for (h = 0, g = q[12][k].length; h < g; h++) r.Ha[k][h] = q[12][k][h];
  2294. r.Ra.set(0, 0, 0, 0);
  2295. r.ji.set(0, 0, -1, -1);
  2296. r.Wb.vh(r.Ra);
  2297. r.vk.length = 0
  2298. } else {
  2299. r.Ha = q[12].slice(0);
  2300. k = 0;
  2301. for (d = r.Ha.length; k < d; k++) r.Ha[k] = q[12][k].slice(0);
  2302. r.fa = [];
  2303. r.Rd = [];
  2304. r.Rd.length = p.O.length;
  2305. r.Ra = new sa(0, 0, 0, 0);
  2306. r.ji = new sa(0, 0, -1, -1);
  2307. r.Wb = new ta;
  2308. r.vk = [];
  2309. r.ea = Db;
  2310. r.nv = Hb;
  2311. r.Zb = Ib;
  2312. r.La = Jb;
  2313. r.Lp = Kb;
  2314. r.oc = Lb
  2315. }
  2316. r.Fh = !1;
  2317. r.Tt = 0;
  2318. r.St = 0;
  2319. r.Rt = null;
  2320. 14 === q.length && (r.Fh = !0, r.Tt = q[13][0], r.St = q[13][1], r.Rt = q[13][2]);
  2321. k = 0;
  2322. for (d = p.O.length; k < d; k++) r.Rd[k] = !0;
  2323. r.Pd = Mb;
  2324. r.Pd();
  2325. r.Mp = !!r.fa.length;
  2326. r.uk = !0;
  2327. r.xk = !0;
  2328. p.Vh = !0;
  2329. r.visible = !0;
  2330. r.dh = -1;
  2331. r.q = a;
  2332. r.pf = a.i.length;
  2333. "undefined" === typeof r.ja &&
  2334. (r.ja = null);
  2335. this.ha = r.xd = !0
  2336. }
  2337. r.toString = Ab;
  2338. var u;
  2339. k = n.length = 0;
  2340. for (d = p.Ca.length; k < d; k++) n.push.apply(n, p.Ca[k].Na);
  2341. n.push.apply(n, p.Na);
  2342. if (r.uc)
  2343. for (k = 0, d = n.length; k < d; k++) {
  2344. var L = n[k];
  2345. u = r.S[k];
  2346. u.uc = !0;
  2347. L.Ma.ya.call(u, L, r);
  2348. q = f[4][k];
  2349. h = 0;
  2350. for (g = q.length; h < g; h++) u.D[h] = q[h];
  2351. u.da();
  2352. L.Ma.Jl.add(r)
  2353. } else
  2354. for (r.S = [], k = 0, d = n.length; k < d; k++) L = n[k], u = new L.Ma.ya(L, r), u.uc = !1, u.D = f[4][k].slice(0), u.da(), r.S.push(u), L.Ma.Jl.add(r);
  2355. q = f[5];
  2356. if (r.uc)
  2357. for (k = 0, d = q.length; k < d; k++) r.D[k] = q[k];
  2358. else r.D = q.slice(0);
  2359. this.Pb.push(r);
  2360. a && (a.i.push(r), 1 !== a.Gc || 1 !== a.Hc) && (p.Wh = !0);
  2361. this.dj++;
  2362. if (p.qc) {
  2363. if (r.qc = !0, r.uc ? r.siblings.length = 0 : r.siblings = [], !b && !c) {
  2364. k = 0;
  2365. for (d = p.Yb.length; k < d; k++)
  2366. if (p.Yb[k] !== p) {
  2367. if (!p.Yb[k].yc) return null;
  2368. r.siblings.push(this.ae(p.Yb[k].yc, v, !1, s ? r.x : e, s ? r.y : l, !0))
  2369. }
  2370. k = 0;
  2371. for (d = r.siblings.length; k < d; k++)
  2372. for (r.siblings[k].siblings.push(r), h = 0; h < d; h++) k !== h && r.siblings[k].siblings.push(r.siblings[h])
  2373. }
  2374. } else r.qc = !1, r.siblings = null;
  2375. r.da();
  2376. k = 0;
  2377. for (d = r.S.length; k < d; k++) r.S[k].gt && r.S[k].gt();
  2378. return r
  2379. };
  2380. d.prototype.Yk =
  2381. function(a) {
  2382. var b, e;
  2383. b = 0;
  2384. for (e = this.$.Z.length; b < e; b++) {
  2385. var c = this.$.Z[b];
  2386. if (gb(c.name, a)) return c
  2387. }
  2388. return null
  2389. };
  2390. d.prototype.Bg = function(a) {
  2391. a = pa(a);
  2392. 0 > a && (a = 0);
  2393. a >= this.$.Z.length && (a = this.$.Z.length - 1);
  2394. return this.$.Z[a]
  2395. };
  2396. d.prototype.zk = function(a) {
  2397. var b, e;
  2398. b = 0;
  2399. for (e = a.length; b < e; b++) a[b].ga().qa = !0
  2400. };
  2401. d.prototype.oh = function(a) {
  2402. var b, e;
  2403. b = 0;
  2404. for (e = a.length; b < e; b++) a[b].oh()
  2405. };
  2406. d.prototype.uj = function(a) {
  2407. var b, e;
  2408. b = 0;
  2409. for (e = a.length; b < e; b++) a[b].uj()
  2410. };
  2411. d.prototype.ff = function(a) {
  2412. var b, e;
  2413. b = 0;
  2414. for (e = a.length; b < e; b++) a[b].ff()
  2415. };
  2416. d.prototype.Jp = function(a) {
  2417. if (a.Vh) {
  2418. var b, e, c = a.i;
  2419. b = 0;
  2420. for (e = c.length; b < e; ++b) c[b].Lp();
  2421. c = this.Pb;
  2422. b = 0;
  2423. for (e = c.length; b < e; ++b) c[b].type === a && c[b].Lp();
  2424. a.Vh = !1
  2425. }
  2426. };
  2427. d.prototype.Kn = function(a, b, e, c) {
  2428. var l, d, k = a ? 1 !== a.Gc || 1 !== a.Hc : !1;
  2429. if (b.K)
  2430. for (a = 0, l = b.Qf.length; a < l; ++a) d = b.Qf[a], k || d.Wh ? xa(c, d.i) : (this.Jp(d), d.ki.dp(e, c));
  2431. else k || b.Wh ? xa(c, b.i) : (this.Jp(b), b.ki.dp(e, c))
  2432. };
  2433. d.prototype.js = function(a, b, e, c) {
  2434. var l, d;
  2435. l = 0;
  2436. for (d = b.length; l < d; ++l) this.Kn(a, b[l], e, c)
  2437. };
  2438. d.prototype.hs = function(a, b, e) {
  2439. var c = this.up;
  2440. c && this.js(a, c.Kl, b, e)
  2441. };
  2442. d.prototype.Pt = function(a, b, e) {
  2443. var c = a.ga(),
  2444. l, d, k, h, g, p;
  2445. if (c.qa)
  2446. for (c.qa = !1, l = c.i.length = 0, h = a.i.length; l < h; l++) k = a.i[l], k.La(), g = k.q.Xb(b, e, !0), p = k.q.Xb(b, e, !1), k.Zb(g, p) && c.i.push(k);
  2447. else {
  2448. l = d = 0;
  2449. for (h = c.i.length; l < h; l++) k = c.i[l], k.La(), g = k.q.Xb(b, e, !0), p = k.q.Xb(b, e, !1), k.Zb(g, p) && (c.i[d] = c.i[l], d++);
  2450. c.i.length = d
  2451. }
  2452. a.Rc();
  2453. return c.dl()
  2454. };
  2455. d.prototype.kf = function(a, b) {
  2456. if (!(a && b && a !== b && a.xd && b.xd)) return !1;
  2457. a.La();
  2458. b.La();
  2459. var e = a.q,
  2460. c = b.q,
  2461. l, d, k, h, g, p, s, r;
  2462. if (e === c || e.Gc === c.Gc && c.Hc ===
  2463. c.Hc && e.scale === c.scale && e.n === c.n && e.dd === c.dd) {
  2464. if (!a.Ra.Es(b.Ra) || !a.Wb.bo(b.Wb) || a.Fh && b.Fh) return !1;
  2465. if (a.Fh) return this.yp(a, b);
  2466. if (b.Fh) return this.yp(b, a);
  2467. s = a.ja && !a.ja.Gf();
  2468. l = b.ja && !b.ja.Gf();
  2469. if (!s && !l) return !0;
  2470. s ? (a.ja.vf(a.width, a.height, a.n), s = a.ja) : (this.bd.Zf(a.Wb, a.x, a.y, a.width, a.height), s = this.bd);
  2471. l ? (b.ja.vf(b.width, b.height, b.n), r = b.ja) : (this.bd.Zf(b.Wb, b.x, b.y, b.width, b.height), r = this.bd);
  2472. return s.Kg(r, b.x - a.x, b.y - a.y)
  2473. }
  2474. s = a.ja && !a.ja.Gf();
  2475. l = b.ja && !b.ja.Gf();
  2476. s ? (a.ja.vf(a.width, a.height,
  2477. a.n), this.bd.np(a.ja)) : this.bd.Zf(a.Wb, a.x, a.y, a.width, a.height);
  2478. s = this.bd;
  2479. l ? (b.ja.vf(b.width, b.height, b.n), this.tm.np(b.ja)) : this.tm.Zf(b.Wb, b.x, b.y, b.width, b.height);
  2480. r = this.tm;
  2481. l = 0;
  2482. for (d = s.Zc; l < d; l++) k = 2 * l, h = k + 1, g = s.ab[k], p = s.ab[h], s.ab[k] = e.Hb(g + a.x, p + a.y, !0), s.ab[h] = e.Hb(g + a.x, p + a.y, !1);
  2483. s.La();
  2484. l = 0;
  2485. for (d = r.Zc; l < d; l++) k = 2 * l, h = k + 1, g = r.ab[k], p = r.ab[h], r.ab[k] = c.Hb(g + b.x, p + b.y, !0), r.ab[h] = c.Hb(g + b.x, p + b.y, !1);
  2486. r.La();
  2487. return s.Kg(r, 0, 0)
  2488. };
  2489. var q = new ta;
  2490. new sa(0, 0, 0, 0);
  2491. var p = [];
  2492. d.prototype.yp = function(a,
  2493. b) {
  2494. var e, c, l, d, k = b.Ra,
  2495. h = a.x,
  2496. g = a.y;
  2497. a.rv(k, p);
  2498. var s = b.ja && !b.ja.Gf();
  2499. e = 0;
  2500. for (c = p.length; e < c; ++e)
  2501. if (l = p[e], d = l.xv, k.Fs(d, h, g) && (q.vh(d), q.offset(h, g), q.bo(b.Wb)))
  2502. if (s)
  2503. if (b.ja.vf(b.width, b.height, b.n), l.Yl) {
  2504. if (l.Yl.Kg(b.ja, b.x - (h + d.left), b.y - (g + d.top))) return p.length = 0, !0
  2505. } else {
  2506. if (this.bd.Zf(q, 0, 0, d.right - d.left, d.bottom - d.top), this.bd.Kg(b.ja, b.x, b.y)) return p.length = 0, !0
  2507. } else if (l.Yl) {
  2508. if (this.bd.Zf(b.Wb, 0, 0, b.width, b.height), l.Yl.Kg(this.bd, -(h + d.left), -(g + d.top))) return p.length = 0, !0
  2509. } else return p.length =
  2510. 0, !0;
  2511. p.length = 0;
  2512. return !1
  2513. };
  2514. d.prototype.Ep = function(a, b) {
  2515. if (!b) return !1;
  2516. var e, c, l, d, k;
  2517. e = 0;
  2518. for (c = a.Na.length; e < c; e++)
  2519. if (a.Na[e].Ma instanceof b) return !0;
  2520. if (!a.K)
  2521. for (e = 0, c = a.Ca.length; e < c; e++)
  2522. for (k = a.Ca[e], l = 0, d = k.Na.length; l < d; l++)
  2523. if (k.Na[l].Ma instanceof b) return !0;
  2524. return !1
  2525. };
  2526. d.prototype.Fp = function(a) {
  2527. return this.Ep(a, bc.Eu)
  2528. };
  2529. d.prototype.Am = function(a) {
  2530. return this.Ep(a, bc.Fu)
  2531. };
  2532. var v = [];
  2533. d.prototype.lf = function(a) {
  2534. var b, e, c;
  2535. a.La();
  2536. this.hs(a.q, a.Ra, v);
  2537. b = 0;
  2538. for (e = v.length; b < e; ++b)
  2539. if (c = v[b], c.T.Av && this.kf(a,
  2540. c)) return v.length = 0, c;
  2541. v.length = 0;
  2542. return null
  2543. };
  2544. d.prototype.mt = function(a, b, e, c) {
  2545. c = c || 50;
  2546. var l = a.x,
  2547. d = a.y,
  2548. k, h = null,
  2549. g = null;
  2550. for (k = 0; k < c; k++)
  2551. if (a.x = l + b * k, a.y = d + e * k, a.ea(), !this.kf(a, h) && ((h = this.lf(a)) && (g = h), !h && !h)) return g && this.kt(a, b, e, g), !0;
  2552. a.x = l;
  2553. a.y = d;
  2554. a.ea();
  2555. return !1
  2556. };
  2557. d.prototype.kt = function(a, b, e, c) {
  2558. var l = 2,
  2559. d, k = !1;
  2560. d = !1;
  2561. for (var h = a.x, g = a.y; 16 >= l;) d = 1 / l, l *= 2, a.x += b * d * (k ? 1 : -1), a.y += e * d * (k ? 1 : -1), a.ea(), this.kf(a, c) ? d = k = !0 : (d = k = !1, h = a.x, g = a.y);
  2562. d && (a.x = h, a.y = g, a.ea())
  2563. };
  2564. d.prototype.nt = function(a) {
  2565. var b =
  2566. 0,
  2567. e = a.x,
  2568. c = a.y,
  2569. l = 0,
  2570. d = 0,
  2571. k = 0,
  2572. h = this.lf(a);
  2573. if (h) {
  2574. for (; 100 >= b;) {
  2575. switch (l) {
  2576. case 0:
  2577. d = 0;
  2578. k = -1;
  2579. b++;
  2580. break;
  2581. case 1:
  2582. d = 1;
  2583. k = -1;
  2584. break;
  2585. case 2:
  2586. d = 1;
  2587. k = 0;
  2588. break;
  2589. case 3:
  2590. k = d = 1;
  2591. break;
  2592. case 4:
  2593. d = 0;
  2594. k = 1;
  2595. break;
  2596. case 5:
  2597. d = -1;
  2598. k = 1;
  2599. break;
  2600. case 6:
  2601. d = -1;
  2602. k = 0;
  2603. break;
  2604. case 7:
  2605. k = d = -1
  2606. }
  2607. l = (l + 1) % 8;
  2608. a.x = pa(e + d * b);
  2609. a.y = pa(c + k * b);
  2610. a.ea();
  2611. if (!this.kf(a, h) && (h = this.lf(a), !h)) return
  2612. }
  2613. a.x = e;
  2614. a.y = c;
  2615. a.ea()
  2616. }
  2617. };
  2618. d.prototype.pt = function(a, b) {
  2619. a.xd && b.xd && this.yj.push([a, b])
  2620. };
  2621. d.prototype.Sq = function(a, b) {
  2622. var e, c, l;
  2623. e = 0;
  2624. for (c = this.yj.length; e < c; e++)
  2625. if (l = this.yj[e], l[0] ==
  2626. a && l[1] == b || l[0] == b && l[1] == a) return !0;
  2627. return !1
  2628. };
  2629. d.prototype.Nq = function(a, b, e) {
  2630. var c = a.x,
  2631. l = a.y,
  2632. d = la(10, Oa(b, e, c, l)),
  2633. k = Fa(b, e, c, l),
  2634. h = this.lf(a);
  2635. if (!h) return Ca(k + na);
  2636. var g = h,
  2637. p, s, r, n, v = E(5);
  2638. for (p = 1; 36 > p; p++)
  2639. if (s = k - p * v, a.x = b + Math.cos(s) * d, a.y = e + Math.sin(s) * d, a.ea(), !this.kf(a, g) && (g = this.lf(a), !g)) {
  2640. r = s;
  2641. break
  2642. }
  2643. 36 === p && (r = Ca(k + na));
  2644. g = h;
  2645. for (p = 1; 36 > p; p++)
  2646. if (s = k + p * v, a.x = b + Math.cos(s) * d, a.y = e + Math.sin(s) * d, a.ea(), !this.kf(a, g) && (g = this.lf(a), !g)) {
  2647. n = s;
  2648. break
  2649. }
  2650. 36 === p && (n = Ca(k + na));
  2651. a.x = c;
  2652. a.y = l;
  2653. a.ea();
  2654. if (n === r) return n;
  2655. a = Ha(n, r) / 2;
  2656. a = Ja(n, r) ? Ca(r + a + na) : Ca(n + a);
  2657. r = Math.cos(k);
  2658. k = Math.sin(k);
  2659. n = Math.cos(a);
  2660. a = Math.sin(a);
  2661. b = r * n + k * a;
  2662. return Fa(0, 0, r - 2 * b * n, k - 2 * b * a)
  2663. };
  2664. var u = -1;
  2665. d.prototype.trigger = function(a, b, e) {
  2666. if (!this.$) return !1;
  2667. var c = this.$.Le;
  2668. if (!c) return !1;
  2669. var l = !1,
  2670. d, k, h;
  2671. u++;
  2672. var g = c.Hk;
  2673. k = 0;
  2674. for (h = g.length; k < h; ++k) d = this.Bp(a, b, g[k], e), l = l || d;
  2675. d = this.Bp(a, b, c, e);
  2676. u--;
  2677. return l || d
  2678. };
  2679. d.prototype.Bp = function(a, b, e, c) {
  2680. var l = !1,
  2681. d, k, h, g;
  2682. if (b)
  2683. for (h = this.ym(a, b, b.type.name, e, c), l = l || h, g = b.type.Ca, d = 0, k = g.length; d < k; ++d) h = this.ym(a,
  2684. b, g[d].name, e, c), l = l || h;
  2685. else h = this.ym(a, b, "system", e, c), l = l || h;
  2686. return l
  2687. };
  2688. d.prototype.ym = function(a, b, e, c, l) {
  2689. var d, k = !1,
  2690. h = !1,
  2691. h = "undefined" !== typeof l,
  2692. g = (h ? c.Dn : c.Cp)[e];
  2693. if (!g) return k;
  2694. var p = null;
  2695. c = 0;
  2696. for (d = g.length; c < d; ++c)
  2697. if (g[c].method == a) {
  2698. p = g[c].ug;
  2699. break
  2700. }
  2701. if (!p) return k;
  2702. a = h ? p[l] : p;
  2703. if (!a) return null;
  2704. c = 0;
  2705. for (d = a.length; c < d; c++) l = a[c][0], h = a[c][1], h = this.Rr(b, e, l, h), k = k || h;
  2706. return k
  2707. };
  2708. d.prototype.Rr = function(a, b, e, c) {
  2709. var l, d, k = !1;
  2710. this.zm++;
  2711. var h = this.Ab().$b;
  2712. h && this.oh(h.pe);
  2713. var g = 1 < this.zm;
  2714. this.oh(e.pe);
  2715. g && this.lt();
  2716. var p = this.vj(e);
  2717. p.$b = e;
  2718. a && (l = this.types[b].ga(), l.qa = !1, l.i.length = 1, l.i[0] = a, this.types[b].Rc());
  2719. a = !0;
  2720. if (e.parent) {
  2721. b = p.xp;
  2722. for (l = e.parent; l;) b.push(l), l = l.parent;
  2723. b.reverse();
  2724. l = 0;
  2725. for (d = b.length; l < d; l++)
  2726. if (!b[l].At()) {
  2727. a = !1;
  2728. break
  2729. }
  2730. }
  2731. a && (this.xi++, e.Xc ? e.zt(c) : e.Qa(), k = k || p.Ve);
  2732. this.pj();
  2733. g && this.ft();
  2734. this.ff(e.pe);
  2735. h && this.ff(h.pe);
  2736. 0 !== this.Tc || 0 !== u || this.nl || this.gd.Sc() && !this.Pb.length || this.yb();
  2737. this.zm--;
  2738. return k
  2739. };
  2740. d.prototype.Fi = function() {
  2741. var a = this.Ab();
  2742. return a.$b.ib[a.Wa]
  2743. };
  2744. d.prototype.lt =
  2745. function() {
  2746. this.cj++;
  2747. this.cj >= this.Cl.length && this.Cl.push([])
  2748. };
  2749. d.prototype.ft = function() {
  2750. this.cj--
  2751. };
  2752. d.prototype.Ln = function() {
  2753. return this.Cl[this.cj]
  2754. };
  2755. d.prototype.vj = function(a) {
  2756. this.wi++;
  2757. this.wi >= this.Lk.length && this.Lk.push(new Nb);
  2758. var b = this.Ab();
  2759. b.reset(a);
  2760. return b
  2761. };
  2762. d.prototype.pj = function() {
  2763. this.wi--
  2764. };
  2765. d.prototype.Ab = function() {
  2766. return this.Lk[this.wi]
  2767. };
  2768. d.prototype.Mn = function(a, b) {
  2769. for (var e, c, l, d, k, h; b;) {
  2770. e = 0;
  2771. for (c = b.Lc.length; e < c; e++)
  2772. if (h = b.Lc[e], h instanceof Ob && gb(a, h.name)) return h;
  2773. b = b.parent
  2774. }
  2775. e =
  2776. 0;
  2777. for (c = this.Bd.length; e < c; e++)
  2778. for (k = this.Bd[e], l = 0, d = k.de.length; l < d; l++)
  2779. if (h = k.de[l], h instanceof Ob && gb(a, h.name)) return h;
  2780. return null
  2781. };
  2782. d.prototype.Pn = function(a) {
  2783. var b, e;
  2784. b = 0;
  2785. for (e = this.Wc.length; b < e; b++)
  2786. if (this.Wc[b].X === a) return this.Wc[b];
  2787. return null
  2788. };
  2789. d.prototype.Ii = function(a) {
  2790. var b, e;
  2791. b = 0;
  2792. for (e = this.B.length; b < e; b++)
  2793. if (this.B[b].X === a) return this.B[b];
  2794. return null
  2795. };
  2796. d.prototype.Zr = function(a) {
  2797. var b, e;
  2798. b = 0;
  2799. for (e = this.Sd.length; b < e; b++)
  2800. if (this.Sd[b].X === a) return this.Sd[b];
  2801. return null
  2802. };
  2803. d.prototype.zs =
  2804. function() {
  2805. var e = this,
  2806. d = this.jm,
  2807. m = this.Jd,
  2808. h = this.Zi,
  2809. l = !1;
  2810. this.sp && (l = !0, d = "__c2_continuouspreview", this.sp = !1);
  2811. if (d.length) {
  2812. this.yb();
  2813. m = this.Et();
  2814. if (window.indexedDB && !this.pc) b(d, m, function() {
  2815. ea("Saved state to IndexedDB storage (" + m.length + " bytes)");
  2816. e.Jd = m;
  2817. e.trigger(Q.prototype.p.fk, null);
  2818. e.Jd = "";
  2819. l && a()
  2820. }, function(b) {
  2821. try {
  2822. localStorage.setItem("__c2save_" + d, m), ea("Saved state to WebStorage (" + m.length + " bytes)"), e.Jd = m, e.trigger(Q.prototype.p.fk, null), e.Jd = "", l && a()
  2823. } catch (c) {
  2824. ea("Failed to save game state: " +
  2825. b + "; " + c)
  2826. }
  2827. });
  2828. else try {
  2829. localStorage.setItem("__c2save_" + d, m), ea("Saved state to WebStorage (" + m.length + " bytes)"), e.Jd = m, this.trigger(Q.prototype.p.fk, null), e.Jd = "", l && a()
  2830. } catch (g) {
  2831. ea("Error saving to WebStorage: " + g)
  2832. }
  2833. this.Jb = this.Zi = this.jm = ""
  2834. }
  2835. h.length && (window.indexedDB && !this.pc ? c(h, function(a) {
  2836. a ? (e.Jb = a, ea("Loaded state from IndexedDB storage (" + e.Jb.length + " bytes)")) : (e.Jb = localStorage.getItem("__c2save_" + h) || "", ea("Loaded state from WebStorage (" + e.Jb.length + " bytes)"));
  2837. e.zh = !1;
  2838. e.Jb.length ||
  2839. e.trigger(Q.prototype.p.ek, null)
  2840. }, function() {
  2841. e.Jb = localStorage.getItem("__c2save_" + h) || "";
  2842. ea("Loaded state from WebStorage (" + e.Jb.length + " bytes)");
  2843. e.zh = !1;
  2844. e.Jb.length || e.trigger(Q.prototype.p.ek, null)
  2845. }) : (this.Jb = localStorage.getItem("__c2save_" + h) || "", ea("Loaded state from WebStorage (" + this.Jb.length + " bytes)"), this.zh = !1, e.Jb.length || e.trigger(Q.prototype.p.ek, null)), this.jm = this.Zi = "");
  2846. this.Jb.length && (this.yb(), this.Rs(this.Jb), this.Jd = this.Jb, this.trigger(Q.prototype.p.hq, null), this.Jb = this.Jd =
  2847. "")
  2848. };
  2849. d.prototype.Et = function() {
  2850. var a, b, c, d, l, h, k, g = {
  2851. c2save: !0,
  2852. version: 1,
  2853. rt: {
  2854. time: this.rc.aa,
  2855. timescale: this.cg,
  2856. tickcount: this.nf,
  2857. execcount: this.xi,
  2858. next_uid: this.eh,
  2859. running_layout: this.$.X,
  2860. start_time_offset: Date.now() - this.Hj
  2861. },
  2862. types: {},
  2863. layouts: {},
  2864. events: {
  2865. groups: {},
  2866. cnds: {},
  2867. acts: {},
  2868. vars: {}
  2869. }
  2870. };
  2871. a = 0;
  2872. for (b = this.B.length; a < b; a++)
  2873. if (l = this.B[a], !l.K && !this.Fp(l)) {
  2874. h = {
  2875. instances: []
  2876. };
  2877. Qa(l.T) && (h.ex = e(l.T));
  2878. c = 0;
  2879. for (d = l.i.length; c < d; c++) h.instances.push(this.im(l.i[c]));
  2880. g.types[l.X.toString()] = h
  2881. }
  2882. a = 0;
  2883. for (b = this.Wc.length; a <
  2884. b; a++) c = this.Wc[a], g.layouts[c.X.toString()] = c.Bb();
  2885. d = g.events.groups;
  2886. a = 0;
  2887. for (b = this.Sd.length; a < b; a++) c = this.Sd[a], d[c.X.toString()] = this.Ji[c.Gg].Cf;
  2888. b = g.events.cnds;
  2889. for (k in this.xf) this.xf.hasOwnProperty(k) && (a = this.xf[k], Qa(a.T) && (b[k] = {
  2890. ex: e(a.T)
  2891. }));
  2892. b = g.events.acts;
  2893. for (k in this.uf) this.uf.hasOwnProperty(k) && (a = this.uf[k], Qa(a.T) && (b[k] = {
  2894. ex: a.T
  2895. }));
  2896. b = g.events.vars;
  2897. for (k in this.hg) this.hg.hasOwnProperty(k) && (a = this.hg[k], a.Qi || a.parent && !a.Pg || (b[k] = a.data));
  2898. g.system = this.sd.Bb();
  2899. return JSON.stringify(g)
  2900. };
  2901. d.prototype.fp = function() {
  2902. var a, b, e, c, d, h;
  2903. this.je = {};
  2904. a = 0;
  2905. for (b = this.B.length; a < b; a++)
  2906. if (e = this.B[a], !e.K)
  2907. for (c = 0, d = e.i.length; c < d; c++) h = e.i[c], this.je[h.uid.toString()] = h
  2908. };
  2909. d.prototype.Rs = function(a) {
  2910. a = JSON.parse(a);
  2911. if (a.c2save && !(1 < a.version)) {
  2912. var b = a.rt;
  2913. this.rc.reset();
  2914. this.rc.aa = b.time;
  2915. this.cg = b.timescale;
  2916. this.nf = b.tickcount;
  2917. this.Hj = Date.now() - b.start_time_offset;
  2918. var e = b.running_layout;
  2919. if (e !== this.$.X)
  2920. if (e = this.Pn(e)) this.yn(e);
  2921. else return;
  2922. var c, d, h, k, g, p, s;
  2923. p = a.types;
  2924. for (d in p)
  2925. if (p.hasOwnProperty(d) &&
  2926. (k = this.Ii(parseInt(d, 10))) && !k.K && !this.Fp(k)) {
  2927. p[d].ex ? k.T = p[d].ex : Ra(k.T);
  2928. g = k.i;
  2929. h = p[d].instances;
  2930. e = 0;
  2931. for (c = ma(g.length, h.length); e < c; e++) this.$i(g[e], h[e]);
  2932. e = h.length;
  2933. for (c = g.length; e < c; e++) this.Qd(g[e]);
  2934. e = g.length;
  2935. for (c = h.length; e < c; e++) {
  2936. g = null;
  2937. if (k.Ea.he && (g = this.$.Hi(h[e].w.l), !g)) continue;
  2938. g = this.ae(k.yc, g, !1, 0, 0, !0);
  2939. this.$i(g, h[e])
  2940. }
  2941. k.ag = !0
  2942. }
  2943. this.yb();
  2944. this.fp();
  2945. c = a.layouts;
  2946. for (d in c) c.hasOwnProperty(d) && (e = this.Pn(parseInt(d, 10))) && e.Rb(c[d]);
  2947. c = a.events.groups;
  2948. for (d in c) c.hasOwnProperty(d) &&
  2949. (e = this.Zr(parseInt(d, 10))) && this.Ji[e.Gg] && (this.Ji[e.Gg].Cf = c[d]);
  2950. e = a.events.cnds;
  2951. for (d in e) e.hasOwnProperty(d) && this.xf.hasOwnProperty(d) && (this.xf[d].T = e[d].ex);
  2952. e = a.events.acts;
  2953. for (d in e) e.hasOwnProperty(d) && this.uf.hasOwnProperty(d) && (this.uf[d].T = e[d].ex);
  2954. e = a.events.vars;
  2955. for (d in e) e.hasOwnProperty(d) && this.hg.hasOwnProperty(d) && (this.hg[d].data = e[d]);
  2956. this.eh = b.next_uid;
  2957. this.sd.Rb(a.system);
  2958. e = 0;
  2959. for (c = this.B.length; e < c; e++)
  2960. if (k = this.B[e], !k.K)
  2961. for (d = 0, a = k.i.length; d < a; d++) {
  2962. g = k.i[d];
  2963. if (k.qc)
  2964. for (p =
  2965. g.Fg(), b = g.siblings.length = 0, h = k.Yb.length; b < h; b++) s = k.Yb[b], k !== s && g.siblings.push(s.i[p]);
  2966. g.ed && g.ed();
  2967. if (g.S)
  2968. for (b = 0, h = g.S.length; b < h; b++) p = g.S[b], p.ed && p.ed()
  2969. }
  2970. this.ha = !0
  2971. }
  2972. };
  2973. d.prototype.im = function(a, b) {
  2974. var c, d, h, g, k;
  2975. g = a.type;
  2976. h = g.Ea;
  2977. var p = {};
  2978. b ? p.c2 = !0 : p.uid = a.uid;
  2979. Qa(a.T) && (p.ex = e(a.T));
  2980. if (a.Ya && a.Ya.length)
  2981. for (p.ivs = {}, c = 0, d = a.Ya.length; c < d; c++) p.ivs[a.type.il[c].toString()] = a.Ya[c];
  2982. if (h.he) {
  2983. h = {
  2984. x: a.x,
  2985. y: a.y,
  2986. w: a.width,
  2987. h: a.height,
  2988. l: a.q.X,
  2989. zi: a.oc()
  2990. };
  2991. 0 !== a.n && (h.a = a.n);
  2992. 1 !== a.opacity && (h.o = a.opacity);
  2993. 0.5 !== a.Eb && (h.hX = a.Eb);
  2994. 0.5 !== a.Fb && (h.hY = a.Fb);
  2995. 0 !== a.Ob && (h.bm = a.Ob);
  2996. a.visible || (h.v = a.visible);
  2997. a.xd || (h.ce = a.xd); - 1 !== a.dh && (h.mts = a.dh);
  2998. if (g.O.length)
  2999. for (h.fx = [], c = 0, d = g.O.length; c < d; c++) k = g.O[c], h.fx.push({
  3000. name: k.name,
  3001. active: a.Rd[k.index],
  3002. params: a.Ha[k.index]
  3003. });
  3004. p.w = h
  3005. }
  3006. if (a.S && a.S.length)
  3007. for (p.behs = {}, c = 0, d = a.S.length; c < d; c++) g = a.S[c], g.Bb && (p.behs[g.type.X.toString()] = g.Bb());
  3008. a.Bb && (p.data = a.Bb());
  3009. return p
  3010. };
  3011. d.prototype.as = function(a, b) {
  3012. var e, c;
  3013. e = 0;
  3014. for (c = a.il.length; e < c; e++)
  3015. if (a.il[e] === b) return e;
  3016. return -1
  3017. };
  3018. d.prototype.Yr = function(a, b) {
  3019. var e, c;
  3020. e = 0;
  3021. for (c = a.S.length; e < c; e++)
  3022. if (a.S[e].type.X === b) return e;
  3023. return -1
  3024. };
  3025. d.prototype.$i = function(a, b, e) {
  3026. var c, d, h, k, g;
  3027. g = a.type;
  3028. h = g.Ea;
  3029. if (e) {
  3030. if (!b.c2) return
  3031. } else a.uid = b.uid;
  3032. b.ex ? a.T = b.ex : Ra(a.T);
  3033. if (d = b.ivs)
  3034. for (c in d) d.hasOwnProperty(c) && (e = this.as(g, parseInt(c, 10)), 0 > e || e >= a.Ya.length || (a.Ya[e] = d[c]));
  3035. if (h.he) {
  3036. h = b.w;
  3037. a.q.X !== h.l && (e = a.q, a.q = this.$.Hi(h.l), a.q ? (a.q.i.push(a), a.q.kc = !0, za(e.i, a), e.kc = !0) : (a.q = e, this.Qd(a)));
  3038. a.x = h.x;
  3039. a.y = h.y;
  3040. a.width = h.w;
  3041. a.height =
  3042. h.h;
  3043. a.pf = h.zi;
  3044. a.n = h.hasOwnProperty("a") ? h.a : 0;
  3045. a.opacity = h.hasOwnProperty("o") ? h.o : 1;
  3046. a.Eb = h.hasOwnProperty("hX") ? h.hX : 0.5;
  3047. a.Fb = h.hasOwnProperty("hY") ? h.hY : 0.5;
  3048. a.visible = h.hasOwnProperty("v") ? h.v : !0;
  3049. a.xd = h.hasOwnProperty("ce") ? h.ce : !0;
  3050. a.dh = h.hasOwnProperty("mts") ? h.mts : -1;
  3051. a.Ob = h.hasOwnProperty("bm") ? h.bm : 0;
  3052. a.rg = ab(a.Ob);
  3053. this.A && bb(a, a.Ob, this.A);
  3054. a.ea();
  3055. if (h.hasOwnProperty("fx"))
  3056. for (e = 0, d = h.fx.length; e < d; e++) k = g.Xk(h.fx[e].name), 0 > k || (a.Rd[k] = h.fx[e].active, a.Ha[k] = h.fx[e].params);
  3057. a.Pd()
  3058. }
  3059. if (g = b.behs)
  3060. for (c in g) g.hasOwnProperty(c) &&
  3061. (h = this.Yr(a, parseInt(c, 10)), 0 > h || a.S[h].Rb(g[c]));
  3062. b.data && a.Rb(b.data)
  3063. };
  3064. Pb = function(a) {
  3065. return new d(document.getElementById(a))
  3066. };
  3067. Qb = function(a, b) {
  3068. return new d({
  3069. dc: !0,
  3070. width: a,
  3071. height: b
  3072. })
  3073. };
  3074. window.cr_createRuntime = Pb;
  3075. window.cr_createDCRuntime = Qb;
  3076. window.createCocoonJSRuntime = function() {
  3077. window.c2cocoonjs = !0;
  3078. var a = document.createElement("screencanvas") || document.createElement("canvas");
  3079. a.zv = !0;
  3080. document.body.appendChild(a);
  3081. a = new d(a);
  3082. window.c2runtime = a;
  3083. window.addEventListener("orientationchange", function() {
  3084. window.c2runtime.setSize(window.innerWidth,
  3085. window.innerHeight)
  3086. });
  3087. window.c2runtime.setSize(window.innerWidth, window.innerHeight);
  3088. return a
  3089. };
  3090. window.createEjectaRuntime = function() {
  3091. var a = new d(document.getElementById("canvas"));
  3092. window.c2runtime = a;
  3093. window.c2runtime.setSize(window.innerWidth, window.innerHeight);
  3094. return a
  3095. }
  3096. })();
  3097. window.cr_getC2Runtime = function() {
  3098. var d = document.getElementById("c2canvas");
  3099. return d ? d.c2runtime : window.c2runtime ? window.c2runtime : null
  3100. };
  3101. window.cr_sizeCanvas = function(d, g) {
  3102. if (0 !== d && 0 !== g) {
  3103. var b = window.cr_getC2Runtime();
  3104. b && b.setSize(d, g)
  3105. }
  3106. };
  3107. window.cr_setSuspended = function(d) {
  3108. var g = window.cr_getC2Runtime();
  3109. g && g.setSuspended(d)
  3110. };
  3111. (function() {
  3112. function d(a, b) {
  3113. this.b = a;
  3114. this.Le = null;
  3115. this.scrollX = this.b.ob / 2;
  3116. this.scrollY = this.b.nb / 2;
  3117. this.scale = 1;
  3118. this.n = 0;
  3119. this.yg = !0;
  3120. this.name = b[0];
  3121. this.width = b[1];
  3122. this.height = b[2];
  3123. this.Gp = b[3];
  3124. this.qp = b[4];
  3125. this.X = b[5];
  3126. var c = b[6],
  3127. d, g;
  3128. this.Z = [];
  3129. this.Jg = [];
  3130. d = 0;
  3131. for (g = c.length; d < g; d++) {
  3132. var n = new Rb(this, c[d]);
  3133. n.Ho = d;
  3134. this.Z.push(n)
  3135. }
  3136. c = b[7];
  3137. this.Re = [];
  3138. d = 0;
  3139. for (g = c.length; d < g; d++) {
  3140. var n = c[d],
  3141. q = this.b.B[n[1]];
  3142. q.yc || (q.yc = n);
  3143. this.Re.push(n); - 1 === this.Jg.indexOf(q) && this.Jg.push(q)
  3144. }
  3145. this.O = [];
  3146. this.fa = [];
  3147. this.Ha =
  3148. [];
  3149. d = 0;
  3150. for (g = b[8].length; d < g; d++) this.O.push({
  3151. id: b[8][d][0],
  3152. name: b[8][d][1],
  3153. xb: -1,
  3154. Nb: !0,
  3155. index: d
  3156. }), this.Ha.push(b[8][d][2].slice(0));
  3157. this.Pd();
  3158. this.ph = new sa(0, 0, 1, 1);
  3159. this.am = new sa(0, 0, 1, 1);
  3160. this.le = {}
  3161. }
  3162. function g(a, b) {
  3163. this.wa = a;
  3164. this.b = a.b;
  3165. this.i = [];
  3166. this.scale = 1;
  3167. this.n = 0;
  3168. this.Ie = !1;
  3169. this.Od = new sa(0, 0, 0, 0);
  3170. this.Ap = new ta;
  3171. this.Nc = this.Mb = this.Oc = this.Lb = 0;
  3172. this.kc = !1;
  3173. this.name = b[0];
  3174. this.index = b[1];
  3175. this.X = b[2];
  3176. this.visible = b[3];
  3177. this.Ud = b[4];
  3178. this.of = b[5];
  3179. this.Gc = b[6];
  3180. this.Hc = b[7];
  3181. this.opacity = b[8];
  3182. this.Pk =
  3183. b[9];
  3184. this.dd = b[10];
  3185. this.Ob = b[11];
  3186. this.pr = b[12];
  3187. this.rg = "source-over";
  3188. this.zb = this.Cb = 0;
  3189. this.me = !1;
  3190. var c = b[13],
  3191. d, g;
  3192. this.Df = [];
  3193. d = 0;
  3194. for (g = c.length; d < g; d++) {
  3195. var n = c[d],
  3196. q = this.b.B[n[1]];
  3197. q.yc || (q.yc = n, q.Xq = this.index);
  3198. this.Df.push(n); - 1 === this.wa.Jg.indexOf(q) && this.wa.Jg.push(q)
  3199. }
  3200. this.O = [];
  3201. this.fa = [];
  3202. this.Ha = [];
  3203. d = 0;
  3204. for (g = b[14].length; d < g; d++) this.O.push({
  3205. id: b[14][d][0],
  3206. name: b[14][d][1],
  3207. xb: -1,
  3208. Nb: !0,
  3209. index: d
  3210. }), this.Ha.push(b[14][d][2].slice(0));
  3211. this.Pd();
  3212. this.ph = new sa(0, 0, 1, 1);
  3213. this.am = new sa(0, 0, 1, 1)
  3214. }
  3215. function b(a,
  3216. b) {
  3217. return a.pf - b.pf
  3218. }
  3219. d.prototype.Dt = function(a) {
  3220. var b = a.type.X.toString();
  3221. this.le.hasOwnProperty(b) || (this.le[b] = []);
  3222. this.le[b].push(this.b.im(a))
  3223. };
  3224. d.prototype.Un = function() {
  3225. var a = this.Z[0];
  3226. return !a.of && 1 === a.opacity && !a.Pk && a.visible
  3227. };
  3228. d.prototype.Pd = function() {
  3229. this.fa.length = 0;
  3230. var a, b, c;
  3231. a = 0;
  3232. for (b = this.O.length; a < b; a++) c = this.O[a], c.Nb && this.fa.push(c)
  3233. };
  3234. d.prototype.Wk = function(a) {
  3235. var b, c, d;
  3236. b = 0;
  3237. for (c = this.O.length; b < c; b++)
  3238. if (d = this.O[b], d.name === a) return d;
  3239. return null
  3240. };
  3241. var c = [];
  3242. d.prototype.qm = function() {
  3243. this.qp &&
  3244. (this.Le = this.b.Mk[this.qp], this.Le.Bm());
  3245. this.b.$ = this;
  3246. this.scrollX = this.b.ob / 2;
  3247. this.scrollY = this.b.nb / 2;
  3248. var a, e, d, g, r, n, q;
  3249. a = 0;
  3250. for (d = this.b.B.length; a < d; a++)
  3251. if (e = this.b.B[a], !e.K)
  3252. for (r = e.i, e = 0, g = r.length; e < g; e++)
  3253. if (n = r[e], n.q) {
  3254. var p = n.q.Ho;
  3255. p >= this.Z.length && (p = this.Z.length - 1);
  3256. n.q = this.Z[p];
  3257. n.q.i.push(n);
  3258. n.q.kc = !0
  3259. }
  3260. c.length = 0;
  3261. this.Kq();
  3262. a = 0;
  3263. for (d = this.Z.length; a < d; a++) n = this.Z[a], n.Vq(), n.Ie = !0, e = n.Xb(0, 0, !0, !0), g = n.Xb(0, 0, !1, !0), n.Ie = !1, this.b.md && (e = e + 0.5 | 0, g = g + 0.5 | 0), n.fm(e, g, null);
  3264. r = !1;
  3265. if (!this.yg) {
  3266. for (q in this.le)
  3267. if (this.le.hasOwnProperty(q) &&
  3268. (e = this.b.Ii(parseInt(q, 10))) && !e.K && this.b.Am(e)) {
  3269. g = this.le[q];
  3270. a = 0;
  3271. for (d = g.length; a < d; a++) {
  3272. n = null;
  3273. if (e.Ea.he && (n = this.Hi(g[a].w.l), !n)) continue;
  3274. n = this.b.ae(e.yc, n, !1, 0, 0, !0);
  3275. this.b.$i(n, g[a]);
  3276. r = !0;
  3277. c.push(n)
  3278. }
  3279. g.length = 0
  3280. }
  3281. a = 0;
  3282. for (d = this.Z.length; a < d; a++) this.Z[a].i.sort(b), this.Z[a].kc = !0
  3283. }
  3284. r && (this.b.yb(), this.b.fp());
  3285. for (a = 0; a < c.length; a++)
  3286. if (n = c[a], n.type.qc)
  3287. for (d = n.Fg(), e = 0, g = n.type.Yb.length; e < g; e++) q = n.type.Yb[e], n.type !== q && (q.i.length > d ? n.siblings.push(q.i[d]) : q.yc && (r = this.b.ae(q.yc, n.q, !0, n.x,
  3288. n.y, !0), this.b.yb(), q.Vj(), n.siblings.push(r), c.push(r)));
  3289. a = 0;
  3290. for (d = this.Re.length; a < d; a++) this.b.ae(this.Re[a], null, !0);
  3291. this.b.Fe = null;
  3292. this.b.yb();
  3293. if (this.b.ra && !this.b.lb)
  3294. for (a = 0, d = this.b.B.length; a < d; a++) q = this.b.B[a], !q.K && q.i.length && q.sj && q.sj(this.b.ra);
  3295. a = 0;
  3296. for (d = c.length; a < d; a++) n = c[a], this.b.trigger(Object.getPrototypeOf(n.type.Ea).p.bk, n);
  3297. c.length = 0;
  3298. this.b.trigger(Q.prototype.p.Om, null);
  3299. this.yg = !1
  3300. };
  3301. d.prototype.Uq = function() {
  3302. var a, b, c, d, g;
  3303. b = a = 0;
  3304. for (c = this.Re.length; a < c; a++) d = this.Re[a], g =
  3305. this.b.B[d[1]], g.global ? this.b.ae(d, null, !0) : (this.Re[b] = d, b++);
  3306. this.Re.length = b
  3307. };
  3308. d.prototype.Nt = function() {
  3309. this.b.trigger(Q.prototype.p.gq, null);
  3310. this.b.sd.Tb.length = 0;
  3311. var a, b, c, d, g, n;
  3312. a = 0;
  3313. for (b = this.Z.length; a < b; a++) {
  3314. g = this.Z[a].i;
  3315. c = 0;
  3316. for (d = g.length; c < d; c++) n = g[c], n.type.global || (this.b.Am(n.type) && this.Dt(n), this.b.Qd(n));
  3317. this.b.yb();
  3318. g.length = 0;
  3319. this.Z[a].kc = !0
  3320. }
  3321. a = 0;
  3322. for (b = this.b.B.length; a < b; a++)
  3323. if (g = this.b.B[a], !(g.global || g.Ea.he || g.Ea.Ej || g.K)) {
  3324. c = 0;
  3325. for (d = g.i.length; c < d; c++) this.b.Qd(g.i[c]);
  3326. this.b.yb()
  3327. }
  3328. };
  3329. d.prototype.Ad = function(a) {
  3330. var b, c = a,
  3331. d = !1,
  3332. g = !this.b.Bc;
  3333. g && (this.b.Yi || (this.b.Yi = document.createElement("canvas"), b = this.b.Yi, b.width = this.b.W, b.height = this.b.V, this.b.uo = b.getContext("2d"), d = !0), b = this.b.Yi, c = this.b.uo, b.width !== this.b.W && (b.width = this.b.W, d = !0), b.height !== this.b.V && (b.height = this.b.V, d = !0), d && (c.webkitImageSmoothingEnabled = this.b.ba, c.mozImageSmoothingEnabled = this.b.ba, c.msImageSmoothingEnabled = this.b.ba, c.imageSmoothingEnabled = this.b.ba));
  3334. c.globalAlpha = 1;
  3335. c.globalCompositeOperation =
  3336. "source-over";
  3337. this.b.rk && !this.Un() && c.clearRect(0, 0, this.b.W, this.b.V);
  3338. var n, q, d = 0;
  3339. for (n = this.Z.length; d < n; d++) q = this.Z[d], q.visible && 0 < q.opacity && 11 !== q.Ob && q.Ad(c);
  3340. g && a.drawImage(b, 0, 0, this.b.width, this.b.height)
  3341. };
  3342. d.prototype.Ac = function(a) {
  3343. var b = 0 < this.fa.length || this.b.eg || !this.b.Bc;
  3344. if (b) {
  3345. this.b.fc || (this.b.fc = a.$d(this.b.W, this.b.V, this.b.ba));
  3346. if (this.b.fc.qg !== this.b.W || this.b.fc.pg !== this.b.V) a.deleteTexture(this.b.fc), this.b.fc = a.$d(this.b.W, this.b.V, this.b.ba);
  3347. a.qd(this.b.fc);
  3348. this.b.Bc ||
  3349. a.Yf(this.b.W, this.b.V)
  3350. } else this.b.fc && (a.qd(null), a.deleteTexture(this.b.fc), this.b.fc = null);
  3351. this.b.rk && !this.Un() && a.clear(0, 0, 0, 0);
  3352. var c, d;
  3353. c = 0;
  3354. for (d = this.Z.length; c < d; c++) this.Z[c].visible && 0 < this.Z[c].opacity && this.Z[c].Ac(a);
  3355. b && (0 === this.fa.length || 1 === this.fa.length && this.b.Bc ? (1 === this.fa.length ? (b = this.fa[0].index, a.rd(this.fa[0].xb), a.Xf(null, 1 / this.b.W, 1 / this.b.V, 0, 0, 1, 1, this.scale, this.n, 0, 0, this.Ha[b]), a.tj(this.fa[0].xb) && (this.b.ha = !0)) : a.rd(0), this.b.Bc || a.Yf(this.b.width, this.b.height),
  3356. a.qd(null), a.gf(1), a.hc(this.b.fc), a.kp(), a.ne(), a.ve(), b = this.b.width / 2, c = this.b.height / 2, a.wj(-b, c, b, c, b, -c, -b, -c), a.hc(null)) : this.dm(a, null, null, null))
  3357. };
  3358. d.prototype.Dg = function() {
  3359. return 0 < this.fa.length || this.b.eg || !this.b.Bc ? this.b.fc : null
  3360. };
  3361. d.prototype.Qn = function() {
  3362. var a = this.Z[0].Dc(),
  3363. b, c, d;
  3364. b = 1;
  3365. for (c = this.Z.length; b < c; b++) d = this.Z[b], (0 !== d.Gc || 0 !== d.Hc) && d.Dc() < a && (a = d.Dc());
  3366. return a
  3367. };
  3368. d.prototype.km = function(a) {
  3369. if (!this.Gp) {
  3370. var b = this.b.W * (1 / this.Qn()) / 2;
  3371. a > this.width - b && (a = this.width - b);
  3372. a <
  3373. b && (a = b)
  3374. }
  3375. this.scrollX !== a && (this.scrollX = a, this.b.ha = !0)
  3376. };
  3377. d.prototype.jp = function(a) {
  3378. if (!this.Gp) {
  3379. var b = this.b.V * (1 / this.Qn()) / 2;
  3380. a > this.height - b && (a = this.height - b);
  3381. a < b && (a = b)
  3382. }
  3383. this.scrollY !== a && (this.scrollY = a, this.b.ha = !0)
  3384. };
  3385. d.prototype.Kq = function() {
  3386. this.km(this.scrollX);
  3387. this.jp(this.scrollY)
  3388. };
  3389. d.prototype.dm = function(a, b, c, d) {
  3390. var g = c ? c.fa : b ? b.fa : this.fa,
  3391. n = 1,
  3392. q = 0,
  3393. p = 0,
  3394. v = 0;
  3395. c ? (n = c.q.Dc(), q = c.q.kb(), p = c.q.Lb, v = c.q.Mb) : b && (n = b.Dc(), q = b.kb(), p = b.Lb, v = b.Mb);
  3396. var u = this.b.Sk,
  3397. f, x, m, w, l = 0,
  3398. t = 1,
  3399. k, H = this.b.W,
  3400. I = this.b.V,
  3401. G = H / 2,
  3402. ba = I / 2,
  3403. y = b ? b.ph : this.ph,
  3404. K = b ? b.am : this.am,
  3405. z = 0,
  3406. M = 0,
  3407. N = 0,
  3408. L = 0,
  3409. J = H,
  3410. C = H,
  3411. D = I,
  3412. P = I,
  3413. O = m = 0,
  3414. F = c ? c.q.kb() : 0;
  3415. if (c) {
  3416. f = 0;
  3417. for (x = g.length; f < x; f++) m += a.ds(g[f].xb), O += a.es(g[f].xb);
  3418. w = c.Ra;
  3419. z = b.Hb(w.left, w.top, !0, !0);
  3420. N = b.Hb(w.left, w.top, !1, !0);
  3421. J = b.Hb(w.right, w.bottom, !0, !0);
  3422. D = b.Hb(w.right, w.bottom, !1, !0);
  3423. 0 !== F && (f = b.Hb(w.right, w.top, !0, !0), x = b.Hb(w.right, w.top, !1, !0), M = b.Hb(w.left, w.bottom, !0, !0), L = b.Hb(w.left, w.bottom, !1, !0), w = Math.min(z, J, f, M), J = Math.max(z, J, f, M), z = w, w = Math.min(N, D, x, L), D = Math.max(N, D, x, L), N = w);
  3424. z -= m;
  3425. N -= O;
  3426. J += m;
  3427. D += O;
  3428. K.left = z / H;
  3429. K.top = 1 - N / I;
  3430. K.right = J / H;
  3431. K.bottom = 1 - D / I;
  3432. M = z = pa(z);
  3433. L = N = pa(N);
  3434. C = J = qa(J);
  3435. P = D = qa(D);
  3436. M -= m;
  3437. L -= O;
  3438. C += m;
  3439. P += O;
  3440. 0 > z && (z = 0);
  3441. 0 > N && (N = 0);
  3442. J > H && (J = H);
  3443. D > I && (D = I);
  3444. 0 > M && (M = 0);
  3445. 0 > L && (L = 0);
  3446. C > H && (C = H);
  3447. P > I && (P = I);
  3448. y.left = z / H;
  3449. y.top = 1 - N / I;
  3450. y.right = J / H;
  3451. y.bottom = 1 - D / I
  3452. } else y.left = K.left = 0, y.top = K.top = 0, y.right = K.right = 1, y.bottom = K.bottom = 1;
  3453. O = c && ((c.n || F) && a.nh(g[0].xb) || 0 !== m || 0 !== O || 1 !== c.opacity || c.type.Ea.Do) || b && !c && 1 !== b.opacity;
  3454. a.kp();
  3455. if (O) {
  3456. u[l] || (u[l] = a.$d(H, I, this.b.ba));
  3457. if (u[l].qg !== H || u[l].pg !==
  3458. I) a.deleteTexture(u[l]), u[l] = a.$d(H, I, this.b.ba);
  3459. a.rd(0);
  3460. a.qd(u[l]);
  3461. k = P - L;
  3462. a.clearRect(M, I - L - k, C - M, k);
  3463. c ? c.Ac(a) : (a.hc(this.b.tc), a.gf(b.opacity), a.ne(), a.translate(-G, -ba), a.ve(), a.nd(z, D, J, D, J, N, z, N, y));
  3464. K.left = K.top = 0;
  3465. K.right = K.bottom = 1;
  3466. c && (w = y.top, y.top = y.bottom, y.bottom = w);
  3467. l = 1;
  3468. t = 0
  3469. }
  3470. a.gf(1);
  3471. m = g.length - 1;
  3472. var F = a.Zl(g[m].xb) || !b && !c && !this.b.Bc,
  3473. W = 0;
  3474. f = 0;
  3475. for (x = g.length; f < x; f++) {
  3476. u[l] || (u[l] = a.$d(H, I, this.b.ba));
  3477. if (u[l].qg !== H || u[l].pg !== I) a.deleteTexture(u[l]), u[l] = a.$d(H, I, this.b.ba);
  3478. a.rd(g[f].xb);
  3479. W =
  3480. g[f].index;
  3481. a.tj(g[f].xb) && (this.b.ha = !0);
  3482. 0 != f || O ? (a.Xf(d, 1 / H, 1 / I, K.left, K.top, K.right, K.bottom, n, q, p, v, c ? c.Ha[W] : b ? b.Ha[W] : this.Ha[W]), a.hc(null), f !== m || F ? (a.qd(u[l]), k = P - L, w = I - L - k, a.clearRect(M, w, C - M, k)) : (c ? a.oe(c.Cb, c.zb) : b && a.oe(b.Cb, b.zb), a.qd(d)), a.hc(u[t]), a.ne(), a.translate(-G, -ba), a.ve(), a.nd(z, D, J, D, J, N, z, N, y), f !== m || F || a.hc(null)) : (a.qd(u[l]), k = P - L, w = I - L - k, a.clearRect(M, w, C - M, k), c ? (a.Xf(d, 1 / c.width, 1 / c.height, K.left, K.top, K.right, K.bottom, n, q, p, v, c.Ha[W]), c.Ac(a)) : (a.Xf(d, 1 / H, 1 / I, 0, 0, 1,
  3483. 1, n, q, p, v, b ? b.Ha[W] : this.Ha[W]), a.hc(b ? this.b.tc : this.b.fc), a.ne(), a.translate(-G, -ba), a.ve(), a.nd(z, D, J, D, J, N, z, N, y)), K.left = K.top = 0, K.right = K.bottom = 1, c && !F && (w = D, D = N, N = w));
  3484. l = 0 === l ? 1 : 0;
  3485. t = 0 === l ? 1 : 0
  3486. }
  3487. F && (a.rd(0), c ? a.oe(c.Cb, c.zb) : b ? a.oe(b.Cb, b.zb) : this.b.Bc || (a.Yf(this.b.width, this.b.height), G = this.b.width / 2, ba = this.b.height / 2, N = z = 0, J = this.b.width, D = this.b.height), a.qd(d), a.hc(u[t]), a.ne(), a.translate(-G, -ba), a.ve(), c && 1 === g.length && !O ? a.nd(z, N, J, N, J, D, z, D, y) : a.nd(z, D, J, D, J, N, z, N, y), a.hc(null))
  3488. };
  3489. d.prototype.Hi =
  3490. function(a) {
  3491. var b, c;
  3492. b = 0;
  3493. for (c = this.Z.length; b < c; b++)
  3494. if (this.Z[b].X === a) return this.Z[b];
  3495. return null
  3496. };
  3497. d.prototype.Bb = function() {
  3498. var a, b, c, d = {
  3499. sx: this.scrollX,
  3500. sy: this.scrollY,
  3501. s: this.scale,
  3502. a: this.n,
  3503. w: this.width,
  3504. h: this.height,
  3505. fv: this.yg,
  3506. persist: this.le,
  3507. fx: [],
  3508. layers: {}
  3509. };
  3510. a = 0;
  3511. for (b = this.O.length; a < b; a++) c = this.O[a], d.fx.push({
  3512. name: c.name,
  3513. active: c.Nb,
  3514. params: this.Ha[c.index]
  3515. });
  3516. a = 0;
  3517. for (b = this.Z.length; a < b; a++) c = this.Z[a], d.layers[c.X.toString()] = c.Bb();
  3518. return d
  3519. };
  3520. d.prototype.Rb = function(a) {
  3521. var b, c, d, g;
  3522. this.scrollX =
  3523. a.sx;
  3524. this.scrollY = a.sy;
  3525. this.scale = a.s;
  3526. this.n = a.a;
  3527. this.width = a.w;
  3528. this.height = a.h;
  3529. this.le = a.persist;
  3530. "undefined" !== typeof a.fv && (this.yg = a.fv);
  3531. var n = a.fx;
  3532. b = 0;
  3533. for (c = n.length; b < c; b++)
  3534. if (d = this.Wk(n[b].name)) d.Nb = n[b].active, this.Ha[d.index] = n[b].params;
  3535. this.Pd();
  3536. b = a.layers;
  3537. for (g in b) b.hasOwnProperty(g) && (a = this.Hi(parseInt(g, 10))) && a.Rb(b[g])
  3538. };
  3539. Bb = d;
  3540. g.prototype.Pd = function() {
  3541. this.fa.length = 0;
  3542. var a, b, c;
  3543. a = 0;
  3544. for (b = this.O.length; a < b; a++) c = this.O[a], c.Nb && this.fa.push(c)
  3545. };
  3546. g.prototype.Wk = function(a) {
  3547. var b, c,
  3548. d;
  3549. b = 0;
  3550. for (c = this.O.length; b < c; b++)
  3551. if (d = this.O[b], d.name === a) return d;
  3552. return null
  3553. };
  3554. g.prototype.Vq = function() {
  3555. var a, b, d, g, r, n;
  3556. b = a = 0;
  3557. for (d = this.Df.length; a < d; a++) {
  3558. g = this.Df[a];
  3559. r = this.b.B[g[1]];
  3560. n = this.b.Am(r);
  3561. r = !0;
  3562. if (!n || this.wa.yg) g = this.b.ae(g, this, !0), c.push(g), g.type.global && (r = !1);
  3563. r && (this.Df[b] = this.Df[a], b++)
  3564. }
  3565. this.Df.length = b;
  3566. this.b.yb();
  3567. !this.b.C && this.O.length && (this.Ob = this.pr);
  3568. this.rg = ab(this.Ob);
  3569. this.b.A && bb(this, this.Ob, this.b.A)
  3570. };
  3571. g.prototype.Wt = function() {
  3572. if (this.kc) {
  3573. var a, b;
  3574. a = 0;
  3575. for (b = this.i.length; a <
  3576. b; a++) this.i[a].pf = a;
  3577. this.kc = !1
  3578. }
  3579. };
  3580. g.prototype.Dc = function(a) {
  3581. return this.bs() * (this.b.Bc || a ? this.b.ng : 1)
  3582. };
  3583. g.prototype.bs = function() {
  3584. return (this.scale * this.wa.scale - 1) * this.dd + 1
  3585. };
  3586. g.prototype.kb = function() {
  3587. return this.Ie ? 0 : Ca(this.wa.n + this.n)
  3588. };
  3589. g.prototype.Ad = function(a) {
  3590. this.me = this.Pk || 1 !== this.opacity || 0 !== this.Ob;
  3591. var b = this.b.canvas,
  3592. c = a,
  3593. d = !1;
  3594. this.me && (this.b.Xi || (this.b.Xi = document.createElement("canvas"), b = this.b.Xi, b.width = this.b.W, b.height = this.b.V, this.b.to = b.getContext("2d"), d = !0), b = this.b.Xi,
  3595. c = this.b.to, b.width !== this.b.W && (b.width = this.b.W, d = !0), b.height !== this.b.V && (b.height = this.b.V, d = !0), d && (c.webkitImageSmoothingEnabled = this.b.ba, c.mozImageSmoothingEnabled = this.b.ba, c.msImageSmoothingEnabled = this.b.ba, c.imageSmoothingEnabled = this.b.ba), this.of && c.clearRect(0, 0, this.b.W, this.b.V));
  3596. c.globalAlpha = 1;
  3597. c.globalCompositeOperation = "source-over";
  3598. this.of || (c.fillStyle = "rgb(" + this.Ud[0] + "," + this.Ud[1] + "," + this.Ud[2] + ")", c.fillRect(0, 0, this.b.W, this.b.V));
  3599. c.save();
  3600. this.Ie = !0;
  3601. var d = this.Xb(0,
  3602. 0, !0, !0),
  3603. g = this.Xb(0, 0, !1, !0);
  3604. this.Ie = !1;
  3605. this.b.md && (d = d + 0.5 | 0, g = g + 0.5 | 0);
  3606. this.fm(d, g, c);
  3607. var n = this.Dc();
  3608. c.scale(n, n);
  3609. c.translate(-d, -g);
  3610. for (var q, d = 0, g = this.i.length; d < g; d++) n = this.i[d], n.visible && 0 !== n.width && 0 !== n.height && (n.La(), q = n.Ra, q.right < this.Lb || q.bottom < this.Mb || q.left > this.Oc || q.top > this.Nc || (c.globalCompositeOperation = n.rg, n.Ad(c)));
  3611. c.restore();
  3612. this.me && (a.globalCompositeOperation = this.rg, a.globalAlpha = this.opacity, a.drawImage(b, 0, 0))
  3613. };
  3614. g.prototype.fm = function(a, b, c) {
  3615. var d = this.Dc();
  3616. this.Lb = a;
  3617. this.Mb = b;
  3618. this.Oc = a + this.b.W * (1 / d);
  3619. this.Nc = b + this.b.V * (1 / d);
  3620. a = this.kb();
  3621. 0 !== a && (c && (c.translate(this.b.W / 2, this.b.V / 2), c.rotate(-a), c.translate(this.b.W / -2, this.b.V / -2)), this.Od.set(this.Lb, this.Mb, this.Oc, this.Nc), this.Od.offset((this.Lb + this.Oc) / -2, (this.Mb + this.Nc) / -2), this.Ap.op(this.Od, a), this.Ap.mn(this.Od), this.Od.offset((this.Lb + this.Oc) / 2, (this.Mb + this.Nc) / 2), this.Lb = this.Od.left, this.Mb = this.Od.top, this.Oc = this.Od.right, this.Nc = this.Od.bottom)
  3622. };
  3623. g.prototype.Ac = function(a) {
  3624. var b =
  3625. this.b.W,
  3626. c = this.b.V,
  3627. d = 0,
  3628. g = 0;
  3629. if (this.me = this.Pk || 1 !== this.opacity || 0 < this.fa.length || 0 !== this.Ob) {
  3630. this.b.tc || (this.b.tc = a.$d(this.b.W, this.b.V, this.b.ba));
  3631. if (this.b.tc.qg !== this.b.W || this.b.tc.pg !== this.b.V) a.deleteTexture(this.b.tc), this.b.tc = a.$d(this.b.W, this.b.V, this.b.ba);
  3632. a.qd(this.b.tc);
  3633. this.of && a.clear(0, 0, 0, 0)
  3634. }
  3635. this.of || a.clear(this.Ud[0] / 255, this.Ud[1] / 255, this.Ud[2] / 255, 1);
  3636. this.Ie = !0;
  3637. var g = this.Xb(0, 0, !0, !0),
  3638. n = this.Xb(0, 0, !1, !0);
  3639. this.Ie = !1;
  3640. this.b.md && (g = g + 0.5 | 0, n = n + 0.5 | 0);
  3641. this.fm(g, n, null);
  3642. n = this.Dc();
  3643. a.ne();
  3644. a.scale(n, n);
  3645. a.hp(-this.kb());
  3646. a.translate((this.Lb + this.Oc) / -2, (this.Mb + this.Nc) / -2);
  3647. a.ve();
  3648. var q, p, v;
  3649. q = 0;
  3650. for (p = this.i.length; q < p; q++)
  3651. if (v = this.i[q], v.visible && 0 !== v.width && 0 !== v.height && (v.La(), d = v.Ra, !(d.right < this.Lb || d.bottom < this.Mb || d.left > this.Oc || d.top > this.Nc)))
  3652. if (v.Mp)
  3653. if (d = v.fa[0].xb, g = v.fa[0].index, 1 !== v.fa.length || a.Zl(d) || a.jt(d) || (v.n || v.q.kb()) && a.nh(d) || 1 !== v.opacity || v.type.Ea.Do) this.wa.dm(a, this, v, this.me ? this.b.tc : this.wa.Dg()), a.ne(), a.scale(n, n), a.hp(-this.kb()),
  3654. a.translate((this.Lb + this.Oc) / -2, (this.Mb + this.Nc) / -2), a.ve();
  3655. else {
  3656. a.rd(d);
  3657. a.oe(v.Cb, v.zb);
  3658. a.tj(d) && (this.b.ha = !0);
  3659. var u = 0,
  3660. f = 0,
  3661. x = 0,
  3662. m = 0;
  3663. a.nh(d) && (d = v.Ra, u = this.Hb(d.left, d.top, !0, !0), f = this.Hb(d.left, d.top, !1, !0), x = this.Hb(d.right, d.bottom, !0, !0), d = this.Hb(d.right, d.bottom, !1, !0), u /= b, f = 1 - f / c, x /= b, m = 1 - d / c);
  3664. a.Xf(this.me ? this.b.tc : this.wa.Dg(), 1 / v.width, 1 / v.height, u, f, x, m, this.Dc(), this.kb(), this.Lb, this.Mb, v.Ha[g]);
  3665. v.Ac(a)
  3666. } else a.rd(0), a.oe(v.Cb, v.zb), v.Ac(a);
  3667. this.me && (d = this.fa.length ? this.fa[0].xb :
  3668. 0, g = this.fa.length ? this.fa[0].index : 0, 0 === this.fa.length || 1 === this.fa.length && !a.Zl(d) && 1 === this.opacity ? (1 === this.fa.length ? (a.rd(d), a.Xf(this.wa.Dg(), 1 / this.b.W, 1 / this.b.V, 0, 0, 1, 1, this.Dc(), this.kb(), this.Lb, this.Mb, this.Ha[g]), a.tj(d) && (this.b.ha = !0)) : a.rd(0), a.qd(this.wa.Dg()), a.gf(this.opacity), a.hc(this.b.tc), a.oe(this.Cb, this.zb), a.ne(), a.ve(), b = this.b.W / 2, c = this.b.V / 2, a.wj(-b, c, b, c, b, -c, -b, -c), a.hc(null)) : this.wa.dm(a, this, null, this.wa.Dg()))
  3669. };
  3670. g.prototype.Xb = function(a, b, c, d) {
  3671. var g = this.b.devicePixelRatio;
  3672. this.b.Se && (a *= g, b *= g);
  3673. var g = this.b.Wo,
  3674. n = this.b.Xo,
  3675. g = (this.wa.scrollX - g) * this.Gc + g,
  3676. n = (this.wa.scrollY - n) * this.Hc + n,
  3677. q = 1 / this.Dc(!d);
  3678. d ? (g -= this.b.W * q / 2, n -= this.b.V * q / 2) : (g -= this.b.width * q / 2, n -= this.b.height * q / 2);
  3679. g += a * q;
  3680. n += b * q;
  3681. b = this.kb();
  3682. 0 !== b && (g -= this.wa.scrollX, n -= this.wa.scrollY, a = Math.cos(b), b = Math.sin(b), d = g * a - n * b, n = n * a + g * b, g = d + this.wa.scrollX, n += this.wa.scrollY);
  3683. return c ? g : n
  3684. };
  3685. g.prototype.Hb = function(a, b, c, d) {
  3686. var g = this.kb();
  3687. if (0 !== g) {
  3688. a -= this.wa.scrollX;
  3689. b -= this.wa.scrollY;
  3690. var n = Math.cos(-g),
  3691. g =
  3692. Math.sin(-g),
  3693. q = a * n - b * g;
  3694. b = b * n + a * g;
  3695. a = q + this.wa.scrollX;
  3696. b += this.wa.scrollY
  3697. }
  3698. n = this.b.Wo;
  3699. g = this.b.Xo;
  3700. n = (this.wa.scrollX - n) * this.Gc + n;
  3701. g = (this.wa.scrollY - g) * this.Hc + g;
  3702. q = 1 / this.Dc(!d);
  3703. d ? (n -= this.b.W * q / 2, g -= this.b.V * q / 2) : (n -= this.b.width * q / 2, g -= this.b.height * q / 2);
  3704. n = (a - n) / q;
  3705. g = (b - g) / q;
  3706. a = this.b.devicePixelRatio;
  3707. this.b.Se && !d && (n /= a, g /= a);
  3708. return c ? n : g
  3709. };
  3710. g.prototype.Bb = function() {
  3711. var a, b, c, d = {
  3712. s: this.scale,
  3713. a: this.n,
  3714. vl: this.Lb,
  3715. vt: this.Mb,
  3716. vr: this.Oc,
  3717. vb: this.Nc,
  3718. v: this.visible,
  3719. bc: this.Ud,
  3720. t: this.of,
  3721. px: this.Gc,
  3722. py: this.Hc,
  3723. o: this.opacity,
  3724. zr: this.dd,
  3725. fx: [],
  3726. instances: []
  3727. };
  3728. a = 0;
  3729. for (b = this.O.length; a < b; a++) c = this.O[a], d.fx.push({
  3730. name: c.name,
  3731. active: c.Nb,
  3732. params: this.Ha[c.index]
  3733. });
  3734. return d
  3735. };
  3736. g.prototype.Rb = function(a) {
  3737. var c, d;
  3738. this.scale = a.s;
  3739. this.n = a.a;
  3740. this.Lb = a.vl;
  3741. this.Mb = a.vt;
  3742. this.Oc = a.vr;
  3743. this.Nc = a.vb;
  3744. this.visible = a.v;
  3745. this.Ud = a.bc;
  3746. this.of = a.t;
  3747. this.Gc = a.px;
  3748. this.Hc = a.py;
  3749. this.opacity = a.o;
  3750. this.dd = a.zr;
  3751. var g = a.fx;
  3752. a = 0;
  3753. for (c = g.length; a < c; a++)
  3754. if (d = this.Wk(g[a].name)) d.Nb = g[a].active, this.Ha[d.index] = g[a].params;
  3755. this.Pd();
  3756. this.i.sort(b);
  3757. this.kc = !0
  3758. };
  3759. Rb = g
  3760. })();
  3761. (function() {
  3762. function d(a, b) {
  3763. var c, e = a.length;
  3764. switch (e) {
  3765. case 0:
  3766. return !0;
  3767. case 1:
  3768. return a[0] === b[0];
  3769. case 2:
  3770. return a[0] === b[0] && a[1] === b[1];
  3771. default:
  3772. for (c = 0; c < e; c++)
  3773. if (a[c] !== b[c]) return !1;
  3774. return !0
  3775. }
  3776. }
  3777. function g(a, b) {
  3778. return a.index - b.index
  3779. }
  3780. function b(a) {
  3781. var b, c, e, f;
  3782. 2 === a.length ? a[0].index > a[1].index && (b = a[0], a[0] = a[1], a[1] = b) : 2 < a.length && a.sort(g);
  3783. a.length >= u.length && (u.length = a.length + 1);
  3784. u[a.length] || (u[a.length] = []);
  3785. f = u[a.length];
  3786. b = 0;
  3787. for (c = f.length; b < c; b++)
  3788. if (e = f[b], d(a, e)) return e;
  3789. f.push(a);
  3790. return a
  3791. }
  3792. function c(a, b) {
  3793. this.b = a;
  3794. this.Cp = {};
  3795. this.Dn = {};
  3796. this.el = !1;
  3797. this.Xn = new da;
  3798. this.Hk = [];
  3799. this.sk = [];
  3800. this.name = b[0];
  3801. var c = b[1];
  3802. this.de = [];
  3803. var e, d;
  3804. e = 0;
  3805. for (d = c.length; e < d; e++) this.Zn(c[e], null, this.de)
  3806. }
  3807. function a(a) {
  3808. this.type = a;
  3809. this.i = [];
  3810. this.ka = [];
  3811. this.qa = !0
  3812. }
  3813. function e(a, b, c) {
  3814. this.sheet = a;
  3815. this.parent = b;
  3816. this.b = a.b;
  3817. this.xa = [];
  3818. this.pe = [];
  3819. this.Vn = this.Qj = this.xm = this.Ni = this.group = this.tp = !1;
  3820. this.ib = [];
  3821. this.Pc = [];
  3822. this.Lc = [];
  3823. this.Gg = "";
  3824. this.Cf = this.Ni = this.group = !1;
  3825. this.li = null;
  3826. c[1] && (this.Gg = c[1][1].toLowerCase(),
  3827. this.group = !0, this.Ni = !!c[1][0], this.li = [], this.Cf = this.Ni, this.b.Sd.push(this), this.b.Ji[this.Gg] = this);
  3828. this.Xc = c[2];
  3829. this.X = c[4];
  3830. this.group || (this.b.ln[this.X.toString()] = this);
  3831. var e = c[5];
  3832. a = 0;
  3833. for (b = e.length; a < b; a++) {
  3834. var d = new Sb(this, e[a]);
  3835. d.index = a;
  3836. this.ib.push(d);
  3837. this.dn(d.type)
  3838. }
  3839. e = c[6];
  3840. a = 0;
  3841. for (b = e.length; a < b; a++) d = new Tb(this, e[a]), d.index = a, this.Pc.push(d);
  3842. if (8 === c.length)
  3843. for (c = c[7], a = 0, b = c.length; a < b; a++) this.sheet.Zn(c[a], this, this.Lc);
  3844. this.Ri = !1;
  3845. this.ib.length && (this.Ri = null == this.ib[0].type &&
  3846. this.ib[0].ub == Q.prototype.p.Rp)
  3847. }
  3848. function h(a, b) {
  3849. var c, e, d;
  3850. if (a && (-1 === b.indexOf(a) && b.push(a), a.qc))
  3851. for (c = 0, e = a.Yb.length; c < e; c++) d = a.Yb[c], a !== d && -1 === b.indexOf(d) && b.push(d)
  3852. }
  3853. function s(a, b) {
  3854. this.lc = a;
  3855. this.sheet = a.sheet;
  3856. this.b = a.b;
  3857. this.R = [];
  3858. this.va = [];
  3859. this.T = {};
  3860. this.index = -1;
  3861. this.mg = !1;
  3862. this.ub = b[1];
  3863. this.trigger = 0 < b[3];
  3864. this.Cn = 2 === b[3];
  3865. this.Kd = b[4];
  3866. this.jl = b[5];
  3867. this.Ps = b[6];
  3868. this.X = b[7];
  3869. this.b.xf[this.X.toString()] = this; - 1 === b[0] ? (this.type = null, this.Qa = this.hm, this.Ee = null, this.vc = -1) : (this.type =
  3870. this.b.B[b[0]], this.Qa = this.Ps ? this.Bt : this.gm, b[2] ? (this.Ee = this.type.Ei(b[2]), this.vc = this.type.Uk(b[2])) : (this.Ee = null, this.vc = -1), this.lc.parent && this.lc.parent.Dj());
  3871. this.Cn && (this.Qa = this.Ct);
  3872. if (10 === b.length) {
  3873. var c, e, d = b[9];
  3874. c = 0;
  3875. for (e = d.length; c < e; c++) {
  3876. var f = new Ub(this, d[c]);
  3877. this.R.push(f)
  3878. }
  3879. this.va.length = d.length
  3880. }
  3881. }
  3882. function r(a, b) {
  3883. this.lc = a;
  3884. this.sheet = a.sheet;
  3885. this.b = a.b;
  3886. this.R = [];
  3887. this.va = [];
  3888. this.T = {};
  3889. this.index = -1;
  3890. this.mg = !1;
  3891. this.ub = b[1]; - 1 === b[0] ? (this.type = null, this.Qa = this.hm, this.Ee = null,
  3892. this.vc = -1) : (this.type = this.b.B[b[0]], this.Qa = this.gm, b[2] ? (this.Ee = this.type.Ei(b[2]), this.vc = this.type.Uk(b[2])) : (this.Ee = null, this.vc = -1));
  3893. this.X = b[3];
  3894. this.b.uf[this.X.toString()] = this;
  3895. if (6 === b.length) {
  3896. var c, e, d = b[5];
  3897. c = 0;
  3898. for (e = d.length; c < e; c++) {
  3899. var f = new Ub(this, d[c]);
  3900. this.R.push(f)
  3901. }
  3902. this.va.length = d.length
  3903. }
  3904. }
  3905. function n(a, b) {
  3906. this.I = a;
  3907. this.lc = a.lc;
  3908. this.sheet = a.sheet;
  3909. this.b = a.b;
  3910. this.type = b[0];
  3911. this.hd = null;
  3912. this.qe = 0;
  3913. this.get = null;
  3914. this.rn = 0;
  3915. this.wa = null;
  3916. this.key = 0;
  3917. this.object = null;
  3918. this.index = 0;
  3919. this.Hh =
  3920. this.jf = this.Hh = this.jf = this.En = this.Me = this.Ih = null;
  3921. this.Mc = !1;
  3922. var c, e, d;
  3923. switch (b[0]) {
  3924. case 0:
  3925. case 7:
  3926. this.hd = new Vb(this, b[1]);
  3927. this.qe = 0;
  3928. this.get = this.ns;
  3929. break;
  3930. case 1:
  3931. this.hd = new Vb(this, b[1]);
  3932. this.qe = 0;
  3933. this.get = this.os;
  3934. break;
  3935. case 5:
  3936. this.hd = new Vb(this, b[1]);
  3937. this.qe = 0;
  3938. this.get = this.ss;
  3939. break;
  3940. case 3:
  3941. case 8:
  3942. this.rn = b[1];
  3943. this.get = this.ls;
  3944. break;
  3945. case 6:
  3946. this.wa = this.b.xl[b[1]];
  3947. this.get = this.ts;
  3948. break;
  3949. case 9:
  3950. this.key = b[1];
  3951. this.get = this.rs;
  3952. break;
  3953. case 4:
  3954. this.object = this.b.B[b[1]];
  3955. this.get = this.us;
  3956. this.lc.dn(this.object);
  3957. this.I instanceof Tb ? this.lc.Dj() : this.lc.parent && this.lc.parent.Dj();
  3958. break;
  3959. case 10:
  3960. this.index = b[1];
  3961. a.type.K ? (this.get = this.ps, this.Mc = !0) : this.get = this.qs;
  3962. break;
  3963. case 11:
  3964. this.Ih = b[1];
  3965. this.Me = null;
  3966. this.get = this.ms;
  3967. break;
  3968. case 2:
  3969. case 12:
  3970. this.En = b[1];
  3971. this.get = this.ks;
  3972. break;
  3973. case 13:
  3974. for (this.get = this.vs, this.jf = [], this.Hh = [], c = 1, e = b.length; c < e; c++) d = new Ub(this.I, b[c]), this.jf.push(d), this.Hh.push(0)
  3975. }
  3976. }
  3977. function q(a, b, c) {
  3978. this.sheet = a;
  3979. this.parent = b;
  3980. this.b = a.b;
  3981. this.xa = [];
  3982. this.name = c[1];
  3983. this.Wj = c[2];
  3984. this.Mi =
  3985. c[3];
  3986. this.Pg = !!c[4];
  3987. this.Qi = !!c[5];
  3988. this.X = c[6];
  3989. this.b.hg[this.X.toString()] = this;
  3990. this.data = this.Mi;
  3991. this.parent ? (this.bf = this.Pg || this.Qi ? -1 : this.b.Mt++, this.b.Gq.push(this)) : (this.bf = -1, this.b.qk.push(this))
  3992. }
  3993. function p(a, b, c) {
  3994. this.sheet = a;
  3995. this.parent = b;
  3996. this.b = a.b;
  3997. this.xa = [];
  3998. this.Ig = null;
  3999. this.Bs = c[1];
  4000. this.Nb = !0
  4001. }
  4002. function v() {
  4003. this.xp = [];
  4004. this.reset(null)
  4005. }
  4006. var u = [];
  4007. c.prototype.toString = aa("name");
  4008. c.prototype.Zn = function(a, b, c) {
  4009. switch (a[0]) {
  4010. case 0:
  4011. a = new Wb(this, b, a);
  4012. if (a.Xc)
  4013. for (c.push(a), c = 0, b = a.ib.length; c <
  4014. b; c++) a.ib[c].trigger && this.$n(a, c);
  4015. else a.ko() ? this.$n(a, 0) : c.push(a);
  4016. break;
  4017. case 1:
  4018. a = new Ob(this, b, a);
  4019. c.push(a);
  4020. break;
  4021. case 2:
  4022. a = new Xb(this, b, a), c.push(a)
  4023. }
  4024. };
  4025. c.prototype.Ka = function() {
  4026. var a, b;
  4027. a = 0;
  4028. for (b = this.de.length; a < b; a++) this.de[a].Ka(a < b - 1 && this.de[a + 1].Ri)
  4029. };
  4030. c.prototype.Bm = function() {
  4031. this.Hk.length = 0;
  4032. this.sk.length = 0;
  4033. this.cn(this);
  4034. this.sk.length = 0
  4035. };
  4036. c.prototype.cn = function(a) {
  4037. var b, c, e, d, f = a.Hk,
  4038. g = a.sk,
  4039. h = this.Xn.fg();
  4040. b = 0;
  4041. for (c = h.length; b < c; ++b) e = h[b], d = e.Ig, !e.Nb || a === d || -1 < g.indexOf(d) || (g.push(d),
  4042. d.cn(a), f.push(d))
  4043. };
  4044. c.prototype.Qa = function(a) {
  4045. this.b.yv || (this.el = !0, a || (this.b.nl = !0));
  4046. var b, c;
  4047. b = 0;
  4048. for (c = this.de.length; b < c; b++) {
  4049. var e = this.de[b];
  4050. e.Qa();
  4051. this.b.zk(e.xa);
  4052. this.b.gd.Sc() && !this.b.Pb.length || this.b.yb()
  4053. }
  4054. a || (this.b.nl = !1)
  4055. };
  4056. c.prototype.$n = function(a, b) {
  4057. a.Xc || this.b.Tj.push(a);
  4058. var c, e, d = a.ib[b],
  4059. f;
  4060. f = d.type ? d.type.name : "system";
  4061. var g = (c = d.Cn) ? this.Dn : this.Cp;
  4062. g[f] || (g[f] = []);
  4063. f = g[f];
  4064. g = d.ub;
  4065. if (c) {
  4066. if (d.R.length && (d = d.R[0], 1 === d.type && 2 === d.hd.type)) {
  4067. d = d.hd.value.toLowerCase();
  4068. c = 0;
  4069. for (e = f.length; c <
  4070. e; c++)
  4071. if (f[c].method == g) {
  4072. c = f[c].ug;
  4073. c[d] ? c[d].push([a, b]) : c[d] = [
  4074. [a, b]
  4075. ];
  4076. return
  4077. }
  4078. c = {};
  4079. c[d] = [
  4080. [a, b]
  4081. ];
  4082. f.push({
  4083. method: g,
  4084. ug: c
  4085. })
  4086. }
  4087. } else {
  4088. c = 0;
  4089. for (e = f.length; c < e; c++)
  4090. if (f[c].method == g) {
  4091. f[c].ug.push([a, b]);
  4092. return
  4093. }
  4094. S && g === S.prototype.p.tf ? f.unshift({
  4095. method: g,
  4096. ug: [
  4097. [a, b]
  4098. ]
  4099. }) : f.push({
  4100. method: g,
  4101. ug: [
  4102. [a, b]
  4103. ]
  4104. })
  4105. }
  4106. };
  4107. Cb = c;
  4108. a.prototype.dl = function() {
  4109. return this.qa ? this.type.i.length : this.i.length
  4110. };
  4111. a.prototype.Cc = function() {
  4112. return this.qa ? this.type.i : this.i
  4113. };
  4114. a.prototype.kh = function(a) {
  4115. a && (a.b.Ab().$b.Xc ? (this.qa && (this.i.length = 0,
  4116. wa(this.ka, a.type.i), this.qa = !1), a = this.ka.indexOf(a), -1 !== a && (this.i.push(this.ka[a]), this.ka.splice(a, 1))) : (this.qa = !1, this.i.length = 1, this.i[0] = a))
  4117. };
  4118. jb = a;
  4119. window._c2hh_ = "FC0C90610538C4CA22DE48CC1E26609CF8989051";
  4120. e.prototype.Ka = function(a) {
  4121. var c, e = this.parent;
  4122. if (this.group)
  4123. for (this.Qj = !0; e;) {
  4124. if (!e.group) {
  4125. this.Qj = !1;
  4126. break
  4127. }
  4128. e = e.parent
  4129. }
  4130. this.xm = !this.ko() && (!this.parent || this.parent.group && this.parent.Qj);
  4131. this.Vn = !!a;
  4132. this.pe = this.xa.slice(0);
  4133. for (e = this.parent; e;) {
  4134. a = 0;
  4135. for (c = e.xa.length; a < c; a++) this.Eq(e.xa[a]);
  4136. e = e.parent
  4137. }
  4138. this.xa = b(this.xa);
  4139. this.pe = b(this.pe);
  4140. a = 0;
  4141. for (c = this.ib.length; a < c; a++) this.ib[a].Ka();
  4142. a = 0;
  4143. for (c = this.Pc.length; a < c; a++) this.Pc[a].Ka();
  4144. a = 0;
  4145. for (c = this.Lc.length; a < c; a++) this.Lc[a].Ka(a < c - 1 && this.Lc[a + 1].Ri)
  4146. };
  4147. e.prototype.Gt = function(a) {
  4148. if (this.Cf !== !!a) {
  4149. this.Cf = !!a;
  4150. var b;
  4151. a = 0;
  4152. for (b = this.li.length; a < b; ++a) this.li[a].Ip();
  4153. 0 < b && this.b.$.Le && this.b.$.Le.Bm()
  4154. }
  4155. };
  4156. e.prototype.dn = function(a) {
  4157. h(a, this.xa)
  4158. };
  4159. e.prototype.Eq = function(a) {
  4160. h(a, this.pe)
  4161. };
  4162. e.prototype.Dj = function() {
  4163. this.tp = !0;
  4164. this.parent && this.parent.Dj()
  4165. };
  4166. e.prototype.ko = function() {
  4167. return this.ib.length ? this.ib[0].trigger : !1
  4168. };
  4169. e.prototype.Qa = function() {
  4170. var a, b = !1,
  4171. c, e = this.b,
  4172. d = this.b.Ab();
  4173. d.$b = this;
  4174. var f = this.ib;
  4175. this.Ri || (d.Kk = !1);
  4176. if (this.Xc) {
  4177. 0 === f.length && (b = !0);
  4178. d.Wa = 0;
  4179. for (a = f.length; d.Wa < a; d.Wa++) f[d.Wa].trigger || (c = f[d.Wa].Qa()) && (b = !0);
  4180. (d.Ve = b) && this.Aj()
  4181. } else {
  4182. d.Wa = 0;
  4183. for (a = f.length; d.Wa < a; d.Wa++)
  4184. if (c = f[d.Wa].Qa(), !c) {
  4185. d.Ve = !1;
  4186. !this.xm || e.gd.Sc() && !e.Pb.length || e.yb();
  4187. return
  4188. }
  4189. d.Ve = !0;
  4190. this.Aj()
  4191. }
  4192. this.rr(d)
  4193. };
  4194. e.prototype.rr = function(a) {
  4195. a.Ve && this.Vn && (a.Kk = !0);
  4196. !this.xm || this.b.gd.Sc() && !this.b.Pb.length || this.b.yb()
  4197. };
  4198. e.prototype.zt = function(a) {
  4199. this.b.Ab().$b = this;
  4200. this.ib[a].Qa() && (this.Aj(), this.b.Ab().Ve = !0)
  4201. };
  4202. e.prototype.Aj = function() {
  4203. var a = this.b.Ab(),
  4204. b;
  4205. a.Ub = 0;
  4206. for (b = this.Pc.length; a.Ub < b; a.Ub++)
  4207. if (this.Pc[a.Ub].Qa()) return;
  4208. this.ip()
  4209. };
  4210. e.prototype.tt = function() {
  4211. var a = this.b.Ab(),
  4212. b;
  4213. for (b = this.Pc.length; a.Ub < b; a.Ub++)
  4214. if (this.Pc[a.Ub].Qa()) return;
  4215. this.ip()
  4216. };
  4217. e.prototype.ip = function() {
  4218. if (this.Lc.length) {
  4219. var a, b, c, e, d = this.Lc.length - 1;
  4220. this.b.vj(this);
  4221. if (this.tp)
  4222. for (a =
  4223. 0, b = this.Lc.length; a < b; a++) c = this.Lc[a], (e = !this.Qj || !this.group && a < d) && this.b.uj(c.xa), c.Qa(), e ? this.b.ff(c.xa) : this.b.zk(c.xa);
  4224. else
  4225. for (a = 0, b = this.Lc.length; a < b; a++) this.Lc[a].Qa();
  4226. this.b.pj()
  4227. }
  4228. };
  4229. e.prototype.At = function() {
  4230. var a = this.b.Ab();
  4231. a.$b = this;
  4232. var b = !1,
  4233. c;
  4234. a.Wa = 0;
  4235. for (c = this.ib.length; a.Wa < c; a.Wa++)
  4236. if (this.ib[a.Wa].Qa()) b = !0;
  4237. else if (!this.Xc) return !1;
  4238. return this.Xc ? b : !0
  4239. };
  4240. e.prototype.ut = function() {
  4241. this.b.xi++;
  4242. var a = this.b.Ab().Wa,
  4243. b = this.b.vj(this);
  4244. if (!this.Xc)
  4245. for (b.Wa = a + 1, a = this.ib.length; b.Wa <
  4246. a; b.Wa++)
  4247. if (!this.ib[b.Wa].Qa()) {
  4248. this.b.pj();
  4249. return
  4250. }
  4251. this.Aj();
  4252. this.b.pj()
  4253. };
  4254. e.prototype.Js = function(a) {
  4255. var b = a.index;
  4256. if (0 === b) return !0;
  4257. for (--b; 0 <= b; --b)
  4258. if (this.ib[b].type === a.type) return !1;
  4259. return !0
  4260. };
  4261. Wb = e;
  4262. s.prototype.Ka = function() {
  4263. var a, b, c;
  4264. a = 0;
  4265. for (b = this.R.length; a < b; a++) c = this.R[a], c.Ka(), c.Mc && (this.mg = !0)
  4266. };
  4267. s.prototype.Ct = B(!0);
  4268. s.prototype.hm = function() {
  4269. var a, b;
  4270. a = 0;
  4271. for (b = this.R.length; a < b; a++) this.va[a] = this.R[a].get();
  4272. return Pa(this.ub.apply(this.b.sd, this.va), this.jl)
  4273. };
  4274. s.prototype.Bt = function() {
  4275. var a,
  4276. b;
  4277. a = 0;
  4278. for (b = this.R.length; a < b; a++) this.va[a] = this.R[a].get();
  4279. a = this.ub.apply(this.Ee ? this.Ee : this.type, this.va);
  4280. this.type.Rc();
  4281. return a
  4282. };
  4283. s.prototype.gm = function() {
  4284. var a, b, c, e, d, f, g, h, p = this.type,
  4285. n = p.ga(),
  4286. s = this.lc.Xc && !this.trigger;
  4287. b = 0;
  4288. var r = p.qc,
  4289. v = p.K,
  4290. q = p.Cd,
  4291. u = this.vc,
  4292. x = -1 < u,
  4293. C = this.mg,
  4294. D = this.R,
  4295. P = this.va,
  4296. O = this.jl,
  4297. F = this.ub,
  4298. W;
  4299. if (C)
  4300. for (b = 0, d = D.length; b < d; ++b) f = D[b], f.Mc || (P[b] = f.get(0));
  4301. else
  4302. for (b = 0, d = D.length; b < d; ++b) P[b] = D[b].get(0);
  4303. if (n.qa) {
  4304. n.i.length = 0;
  4305. n.ka.length = 0;
  4306. W = p.i;
  4307. a = 0;
  4308. for (e = W.length; a <
  4309. e; ++a) {
  4310. h = W[a];
  4311. if (C)
  4312. for (b = 0, d = D.length; b < d; ++b) f = D[b], f.Mc && (P[b] = f.get(a));
  4313. x ? (b = 0, v && (b = h.type.zf[q]), b = F.apply(h.S[u + b], P)) : b = F.apply(h, P);
  4314. (g = Pa(b, O)) ? n.i.push(h): s && n.ka.push(h)
  4315. }
  4316. p.finish && p.finish(!0);
  4317. n.qa = !1;
  4318. p.Rc();
  4319. return n.dl()
  4320. }
  4321. c = 0;
  4322. W = (g = s && !this.lc.Js(this)) ? n.ka : n.i;
  4323. var R = !1;
  4324. a = 0;
  4325. for (e = W.length; a < e; ++a) {
  4326. h = W[a];
  4327. if (C)
  4328. for (b = 0, d = D.length; b < d; ++b) f = D[b], f.Mc && (P[b] = f.get(a));
  4329. x ? (b = 0, v && (b = h.type.zf[q]), b = F.apply(h.S[u + b], P)) : b = F.apply(h, P);
  4330. if (Pa(b, O))
  4331. if (R = !0, g) {
  4332. if (n.i.push(h), r)
  4333. for (b = 0, d = h.siblings.length; b <
  4334. d; b++) f = h.siblings[b], f.type.ga().i.push(f)
  4335. } else {
  4336. W[c] = h;
  4337. if (r)
  4338. for (b = 0, d = h.siblings.length; b < d; b++) f = h.siblings[b], f.type.ga().i[c] = f;
  4339. c++
  4340. } else if (g) {
  4341. W[c] = h;
  4342. if (r)
  4343. for (b = 0, d = h.siblings.length; b < d; b++) f = h.siblings[b], f.type.ga().ka[c] = f;
  4344. c++
  4345. } else if (s && (n.ka.push(h), r))
  4346. for (b = 0, d = h.siblings.length; b < d; b++) f = h.siblings[b], f.type.ga().ka.push(f)
  4347. }
  4348. W.length = c;
  4349. if (r)
  4350. for (v = p.Yb, a = 0, e = v.length; a < e; a++) h = v[a].ga(), g ? h.ka.length = c : h.i.length = c;
  4351. c = R;
  4352. if (g && !R)
  4353. for (a = 0, e = n.i.length; a < e; a++) {
  4354. h = n.i[a];
  4355. if (C)
  4356. for (b = 0, d = D.length; b <
  4357. d; b++) f = D[b], f.Mc && (P[b] = f.get(a));
  4358. b = x ? F.apply(h.S[u], P) : F.apply(h, P);
  4359. if (Pa(b, O)) {
  4360. R = !0;
  4361. break
  4362. }
  4363. }
  4364. p.finish && p.finish(c || s);
  4365. return s ? R : n.dl()
  4366. };
  4367. Sb = s;
  4368. r.prototype.Ka = function() {
  4369. var a, b, c;
  4370. a = 0;
  4371. for (b = this.R.length; a < b; a++) c = this.R[a], c.Ka(), c.Mc && (this.mg = !0)
  4372. };
  4373. r.prototype.hm = function() {
  4374. var a, b;
  4375. a = 0;
  4376. for (b = this.R.length; a < b; a++) this.va[a] = this.R[a].get();
  4377. return this.ub.apply(this.b.sd, this.va)
  4378. };
  4379. r.prototype.gm = function() {
  4380. var a = this.type.ga().Cc(),
  4381. b = this.type.K,
  4382. c = this.type.Cd,
  4383. e = this.vc,
  4384. d = -1 < e,
  4385. f = this.mg,
  4386. g = this.R,
  4387. h = this.va,
  4388. p = this.ub,
  4389. n, s, r, v, q, u;
  4390. if (f)
  4391. for (s = 0, v = g.length; s < v; ++s) q = g[s], q.Mc || (h[s] = q.get(0));
  4392. else
  4393. for (s = 0, v = g.length; s < v; ++s) h[s] = g[s].get(0);
  4394. n = 0;
  4395. for (r = a.length; n < r; ++n) {
  4396. u = a[n];
  4397. if (f)
  4398. for (s = 0, v = g.length; s < v; ++s) q = g[s], q.Mc && (h[s] = q.get(n));
  4399. d ? (s = 0, b && (s = u.type.zf[c]), p.apply(u.S[e + s], h)) : p.apply(u, h)
  4400. }
  4401. return !1
  4402. };
  4403. Tb = r;
  4404. var f = [],
  4405. x = -1;
  4406. n.prototype.Ka = function() {
  4407. var a, b;
  4408. if (11 === this.type) this.Me = this.b.Mn(this.Ih, this.lc.parent);
  4409. else if (13 === this.type)
  4410. for (a = 0, b = this.jf.length; a < b; a++) this.jf[a].Ka();
  4411. this.hd &&
  4412. this.hd.Ka()
  4413. };
  4414. n.prototype.Us = function(a) {
  4415. this.Mc || !a || a.Ea.Ej || (this.Mc = !0)
  4416. };
  4417. n.prototype.mp = function() {
  4418. this.Mc = !0
  4419. };
  4420. n.prototype.bb = function() {
  4421. x++;
  4422. f.length === x && f.push(new Yb);
  4423. return f[x]
  4424. };
  4425. n.prototype.Pa = function() {
  4426. x--
  4427. };
  4428. n.prototype.ns = function(a) {
  4429. this.qe = a || 0;
  4430. a = this.bb();
  4431. this.hd.get(a);
  4432. this.Pa();
  4433. return a.data
  4434. };
  4435. n.prototype.os = function(a) {
  4436. this.qe = a || 0;
  4437. a = this.bb();
  4438. this.hd.get(a);
  4439. this.Pa();
  4440. return ha(a.data) ? a.data : ""
  4441. };
  4442. n.prototype.us = aa("object");
  4443. n.prototype.ls = aa("rn");
  4444. n.prototype.ss = function(a) {
  4445. this.qe =
  4446. a || 0;
  4447. a = this.bb();
  4448. this.hd.get(a);
  4449. this.Pa();
  4450. return a.mb() ? this.b.Bg(a.data) : this.b.Yk(a.data)
  4451. };
  4452. n.prototype.ts = aa("wa");
  4453. n.prototype.rs = aa("key");
  4454. n.prototype.qs = aa("index");
  4455. n.prototype.ps = function(a) {
  4456. a = a || 0;
  4457. var b = this.I.type,
  4458. c = null,
  4459. c = b.ga(),
  4460. e = c.Cc();
  4461. if (e.length) c = e[a % e.length].type;
  4462. else if (c.ka.length) c = c.ka[a % c.ka.length].type;
  4463. else if (b.i.length) c = b.i[a % b.i.length].type;
  4464. else return 0;
  4465. return this.index + c.Ai[b.Cd]
  4466. };
  4467. n.prototype.ms = aa("Me");
  4468. n.prototype.ks = aa("En");
  4469. n.prototype.vs = function() {
  4470. var a, b;
  4471. a = 0;
  4472. for (b =
  4473. this.jf.length; a < b; a++) this.Hh[a] = this.jf[a].get();
  4474. return this.Hh
  4475. };
  4476. Ub = n;
  4477. q.prototype.Ka = function() {
  4478. this.xa = b(this.xa)
  4479. };
  4480. q.prototype.hf = function(a) {
  4481. var b = this.b.Ln();
  4482. this.parent && !this.Pg && b ? (this.bf >= b.length && (b.length = this.bf + 1), b[this.bf] = a) : this.data = a
  4483. };
  4484. q.prototype.Eg = function() {
  4485. var a = this.b.Ln();
  4486. return !this.parent || this.Pg || !a || this.Qi ? this.data : this.bf >= a.length || "undefined" === typeof a[this.bf] ? this.Mi : a[this.bf]
  4487. };
  4488. q.prototype.Qa = function() {
  4489. !this.parent || this.Pg || this.Qi || this.hf(this.Mi)
  4490. };
  4491. Ob =
  4492. q;
  4493. p.prototype.toString = function() {
  4494. return "include:" + this.Ig.toString()
  4495. };
  4496. p.prototype.Ka = function() {
  4497. this.Ig = this.b.Mk[this.Bs];
  4498. this.sheet.Xn.add(this);
  4499. this.xa = b(this.xa);
  4500. for (var a = this.parent; a;) a.group && a.li.push(this), a = a.parent;
  4501. this.Ip()
  4502. };
  4503. p.prototype.Qa = function() {
  4504. this.parent && this.b.oh(this.b.B);
  4505. this.Ig.el || this.Ig.Qa(!0);
  4506. this.parent && this.b.ff(this.b.B)
  4507. };
  4508. p.prototype.Ip = function() {
  4509. for (var a = this.parent; a;) {
  4510. if (a.group && !a.Cf) {
  4511. this.Nb = !1;
  4512. return
  4513. }
  4514. a = a.parent
  4515. }
  4516. this.Nb = !0
  4517. };
  4518. Xb = p;
  4519. v.prototype.reset = function(a) {
  4520. this.$b =
  4521. a;
  4522. this.Ub = this.Wa = 0;
  4523. this.xp.length = 0;
  4524. this.Kk = this.Ve = !1
  4525. };
  4526. Nb = v
  4527. })();
  4528. (function() {
  4529. function d(b, c) {
  4530. this.I = b;
  4531. this.b = b.b;
  4532. this.type = c[0];
  4533. this.get = [this.Fr, this.Br, this.Nr, this.Qr, this.tr, this.Or, this.Jr, this.xr, this.Ir, this.Mr, this.ur, this.Lr, this.yr, this.Kr, this.Gr, this.Hr, this.Cr, this.Dr, this.wr, this.Pr, this.An, this.Er, this.An, this.Ar][this.type];
  4534. var a = null;
  4535. this.Sb = this.R = this.va = this.ub = this.Nj = this.qb = this.first = this.value = null;
  4536. this.vc = -1;
  4537. this.Ed = null;
  4538. this.Em = -1;
  4539. this.Me = this.Ih = null;
  4540. this.qh = !1;
  4541. switch (this.type) {
  4542. case 0:
  4543. case 1:
  4544. case 2:
  4545. this.value = c[1];
  4546. break;
  4547. case 3:
  4548. this.first =
  4549. new Vb(b, c[1]);
  4550. break;
  4551. case 18:
  4552. this.first = new Vb(b, c[1]);
  4553. this.qb = new Vb(b, c[2]);
  4554. this.Nj = new Vb(b, c[3]);
  4555. break;
  4556. case 19:
  4557. this.ub = c[1];
  4558. this.ub !== Q.prototype.J.random && this.ub !== Q.prototype.J.gi || this.I.mp();
  4559. this.va = [];
  4560. this.R = [];
  4561. 3 === c.length ? (a = c[2], this.va.length = a.length + 1) : this.va.length = 1;
  4562. break;
  4563. case 20:
  4564. this.Sb = this.b.B[c[1]];
  4565. this.vc = -1;
  4566. this.ub = c[2];
  4567. this.qh = c[3];
  4568. ac.Up && this.ub === ac.Up.prototype.J.iu && this.I.mp();
  4569. this.Ed = c[4] ? new Vb(b, c[4]) : null;
  4570. this.va = [];
  4571. this.R = [];
  4572. 6 === c.length ? (a = c[5], this.va.length =
  4573. a.length + 1) : this.va.length = 1;
  4574. break;
  4575. case 21:
  4576. this.Sb = this.b.B[c[1]];
  4577. this.qh = c[2];
  4578. this.Ed = c[3] ? new Vb(b, c[3]) : null;
  4579. this.Em = c[4];
  4580. break;
  4581. case 22:
  4582. this.Sb = this.b.B[c[1]];
  4583. this.Sb.Ei(c[2]);
  4584. this.vc = this.Sb.Uk(c[2]);
  4585. this.ub = c[3];
  4586. this.qh = c[4];
  4587. this.Ed = c[5] ? new Vb(b, c[5]) : null;
  4588. this.va = [];
  4589. this.R = [];
  4590. 7 === c.length ? (a = c[6], this.va.length = a.length + 1) : this.va.length = 1;
  4591. break;
  4592. case 23:
  4593. this.Ih = c[1], this.Me = null
  4594. }
  4595. this.I.Us(this.Sb);
  4596. 4 <= this.type && 17 >= this.type && (this.first = new Vb(b, c[1]), this.qb = new Vb(b, c[2]));
  4597. if (a) {
  4598. var e, d;
  4599. e = 0;
  4600. for (d = a.length; e < d; e++) this.R.push(new Vb(b, a[e]))
  4601. }
  4602. }
  4603. function g(b, c) {
  4604. this.type = b || Zb.sf;
  4605. this.data = c || 0;
  4606. this.Sf = null;
  4607. this.type == Zb.sf && (this.data = Math.floor(this.data))
  4608. }
  4609. d.prototype.Ka = function() {
  4610. 23 === this.type && (this.Me = this.I.b.Mn(this.Ih, this.I.lc.parent));
  4611. this.first && this.first.Ka();
  4612. this.qb && this.qb.Ka();
  4613. this.Nj && this.Nj.Ka();
  4614. this.Ed && this.Ed.Ka();
  4615. if (this.R) {
  4616. var b, c;
  4617. b = 0;
  4618. for (c = this.R.length; b < c; b++) this.R[b].Ka()
  4619. }
  4620. };
  4621. d.prototype.Pr = function(b) {
  4622. this.va[0] = b;
  4623. b = this.I.bb();
  4624. var c, a;
  4625. c = 0;
  4626. for (a = this.R.length; c <
  4627. a; c++) this.R[c].get(b), this.va[c + 1] = b.data;
  4628. this.I.Pa();
  4629. this.ub.apply(this.b.sd, this.va)
  4630. };
  4631. d.prototype.An = function(b) {
  4632. var c = this.Sb.ga(),
  4633. a = c.Cc();
  4634. if (!a.length)
  4635. if (c.ka.length) a = c.ka;
  4636. else {
  4637. this.qh ? b.ic("") : b.za(0);
  4638. return
  4639. }
  4640. this.va[0] = b;
  4641. b.Sf = this.Sb;
  4642. b = this.I.bb();
  4643. var e, c = 0;
  4644. for (e = this.R.length; c < e; c++) this.R[c].get(b), this.va[c + 1] = b.data;
  4645. c = this.I.qe;
  4646. this.Ed && (this.Ed.get(b), b.mb() && (c = b.data, a = this.Sb.i));
  4647. this.I.Pa();
  4648. c %= a.length;
  4649. 0 > c && (c += a.length);
  4650. a = a[c]; - 1 < this.vc ? (b = 0, this.Sb.K && (b = a.type.zf[this.Sb.Cd]),
  4651. this.ub.apply(a.S[this.vc + b], this.va)) : this.ub.apply(a, this.va)
  4652. };
  4653. d.prototype.Er = function(b) {
  4654. var c = this.Sb.ga(),
  4655. a = c.Cc();
  4656. if (!a.length)
  4657. if (c.ka.length) a = c.ka;
  4658. else {
  4659. this.qh ? b.ic("") : b.za(0);
  4660. return
  4661. }
  4662. c = this.I.qe;
  4663. if (this.Ed) {
  4664. var e = this.I.bb();
  4665. this.Ed.get(e);
  4666. if (e.mb()) {
  4667. c = e.data;
  4668. a = this.Sb.i;
  4669. c %= a.length;
  4670. 0 > c && (c += a.length);
  4671. a = a[c].Ya[this.Em];
  4672. ha(a) ? b.ic(a) : b.F(a);
  4673. this.I.Pa();
  4674. return
  4675. }
  4676. this.I.Pa()
  4677. }
  4678. c %= a.length;
  4679. 0 > c && (c += a.length);
  4680. a = a[c];
  4681. c = 0;
  4682. this.Sb.K && (c = a.type.Ai[this.Sb.Cd]);
  4683. a = a.Ya[this.Em + c];
  4684. ha(a) ? b.ic(a) : b.F(a)
  4685. };
  4686. d.prototype.Fr = function(b) {
  4687. b.type = Zb.sf;
  4688. b.data = this.value
  4689. };
  4690. d.prototype.Br = function(b) {
  4691. b.type = Zb.rf;
  4692. b.data = this.value
  4693. };
  4694. d.prototype.Nr = function(b) {
  4695. b.type = Zb.Rh;
  4696. b.data = this.value
  4697. };
  4698. d.prototype.Qr = function(b) {
  4699. this.first.get(b);
  4700. b.mb() && (b.data = -b.data)
  4701. };
  4702. d.prototype.tr = function(b) {
  4703. this.first.get(b);
  4704. var c = this.I.bb();
  4705. this.qb.get(c);
  4706. b.mb() && c.mb() && (b.data += c.data, c.Hf() && b.Pf());
  4707. this.I.Pa()
  4708. };
  4709. d.prototype.Or = function(b) {
  4710. this.first.get(b);
  4711. var c = this.I.bb();
  4712. this.qb.get(c);
  4713. b.mb() && c.mb() && (b.data -= c.data, c.Hf() &&
  4714. b.Pf());
  4715. this.I.Pa()
  4716. };
  4717. d.prototype.Jr = function(b) {
  4718. this.first.get(b);
  4719. var c = this.I.bb();
  4720. this.qb.get(c);
  4721. b.mb() && c.mb() && (b.data *= c.data, c.Hf() && b.Pf());
  4722. this.I.Pa()
  4723. };
  4724. d.prototype.xr = function(b) {
  4725. this.first.get(b);
  4726. var c = this.I.bb();
  4727. this.qb.get(c);
  4728. b.mb() && c.mb() && (b.data /= c.data, b.Pf());
  4729. this.I.Pa()
  4730. };
  4731. d.prototype.Ir = function(b) {
  4732. this.first.get(b);
  4733. var c = this.I.bb();
  4734. this.qb.get(c);
  4735. b.mb() && c.mb() && (b.data %= c.data, c.Hf() && b.Pf());
  4736. this.I.Pa()
  4737. };
  4738. d.prototype.Mr = function(b) {
  4739. this.first.get(b);
  4740. var c = this.I.bb();
  4741. this.qb.get(c);
  4742. b.mb() && c.mb() && (b.data = Math.pow(b.data, c.data), c.Hf() && b.Pf());
  4743. this.I.Pa()
  4744. };
  4745. d.prototype.ur = function(b) {
  4746. this.first.get(b);
  4747. var c = this.I.bb();
  4748. this.qb.get(c);
  4749. b.mb() ? c.Si() ? b.ic(b.data.toString() + c.data) : b.data && c.data ? b.za(1) : b.za(0) : b.Si() && (b.data = c.Si() ? b.data + c.data : b.data + (Math.round(1E10 * c.data) / 1E10).toString());
  4750. this.I.Pa()
  4751. };
  4752. d.prototype.Lr = function(b) {
  4753. this.first.get(b);
  4754. var c = this.I.bb();
  4755. this.qb.get(c);
  4756. b.mb() && c.mb() && (b.data || c.data ? b.za(1) : b.za(0));
  4757. this.I.Pa()
  4758. };
  4759. d.prototype.wr = function(b) {
  4760. this.first.get(b);
  4761. b.data ? this.qb.get(b) : this.Nj.get(b)
  4762. };
  4763. d.prototype.yr = function(b) {
  4764. this.first.get(b);
  4765. var c = this.I.bb();
  4766. this.qb.get(c);
  4767. b.za(b.data === c.data ? 1 : 0);
  4768. this.I.Pa()
  4769. };
  4770. d.prototype.Kr = function(b) {
  4771. this.first.get(b);
  4772. var c = this.I.bb();
  4773. this.qb.get(c);
  4774. b.za(b.data !== c.data ? 1 : 0);
  4775. this.I.Pa()
  4776. };
  4777. d.prototype.Gr = function(b) {
  4778. this.first.get(b);
  4779. var c = this.I.bb();
  4780. this.qb.get(c);
  4781. b.za(b.data < c.data ? 1 : 0);
  4782. this.I.Pa()
  4783. };
  4784. d.prototype.Hr = function(b) {
  4785. this.first.get(b);
  4786. var c = this.I.bb();
  4787. this.qb.get(c);
  4788. b.za(b.data <= c.data ? 1 : 0);
  4789. this.I.Pa()
  4790. };
  4791. d.prototype.Cr = function(b) {
  4792. this.first.get(b);
  4793. var c = this.I.bb();
  4794. this.qb.get(c);
  4795. b.za(b.data > c.data ? 1 : 0);
  4796. this.I.Pa()
  4797. };
  4798. d.prototype.Dr = function(b) {
  4799. this.first.get(b);
  4800. var c = this.I.bb();
  4801. this.qb.get(c);
  4802. b.za(b.data >= c.data ? 1 : 0);
  4803. this.I.Pa()
  4804. };
  4805. d.prototype.Ar = function(b) {
  4806. var c = this.Me.Eg();
  4807. ga(c) ? b.F(c) : b.ic(c)
  4808. };
  4809. Vb = d;
  4810. g.prototype.Hf = function() {
  4811. return this.type === Zb.rf
  4812. };
  4813. g.prototype.mb = function() {
  4814. return this.type === Zb.sf || this.type === Zb.rf
  4815. };
  4816. g.prototype.Si = function() {
  4817. return this.type === Zb.Rh
  4818. };
  4819. g.prototype.Pf = function() {
  4820. this.Hf() ||
  4821. (this.Si() && (this.data = parseFloat(this.data)), this.type = Zb.rf)
  4822. };
  4823. g.prototype.za = function(b) {
  4824. this.type = Zb.sf;
  4825. this.data = Math.floor(b)
  4826. };
  4827. g.prototype.F = function(b) {
  4828. this.type = Zb.rf;
  4829. this.data = b
  4830. };
  4831. g.prototype.ic = function(b) {
  4832. this.type = Zb.Rh;
  4833. this.data = b
  4834. };
  4835. g.prototype.Kt = function(b) {
  4836. ga(b) ? (this.type = Zb.rf, this.data = b) : ha(b) ? (this.type = Zb.Rh, this.data = b.toString()) : (this.type = Zb.sf, this.data = 0)
  4837. };
  4838. Yb = g;
  4839. Zb = {
  4840. sf: 0,
  4841. rf: 1,
  4842. Rh: 2
  4843. }
  4844. })();
  4845. function Q(d) {
  4846. this.b = d;
  4847. this.Tb = []
  4848. }
  4849. Q.prototype.Bb = function() {
  4850. var d = {},
  4851. g, b, c, a, e, h, s, r;
  4852. d.waits = [];
  4853. var n = d.waits,
  4854. q;
  4855. g = 0;
  4856. for (b = this.Tb.length; g < b; g++) {
  4857. h = this.Tb[g];
  4858. q = {
  4859. t: h.time,
  4860. ev: h.yf.X,
  4861. sm: [],
  4862. sols: {}
  4863. };
  4864. h.yf.Pc[h.Ub] && (q.act = h.yf.Pc[h.Ub].X);
  4865. c = 0;
  4866. for (a = h.xa.length; c < a; c++) q.sm.push(h.xa[c].X);
  4867. for (e in h.Kb)
  4868. if (h.Kb.hasOwnProperty(e)) {
  4869. s = this.b.B[parseInt(e, 10)];
  4870. r = {
  4871. sa: h.Kb[e].Bj,
  4872. insts: []
  4873. };
  4874. c = 0;
  4875. for (a = h.Kb[e].Fd.length; c < a; c++) r.insts.push(h.Kb[e].Fd[c].uid);
  4876. q.sols[s.X.toString()] = r
  4877. }
  4878. n.push(q)
  4879. }
  4880. return d
  4881. };
  4882. Q.prototype.Rb = function(d) {
  4883. d = d.waits;
  4884. var g, b, c, a, e, h, s, r, n, q, p;
  4885. g = this.Tb.length = 0;
  4886. for (b = d.length; g < b; g++)
  4887. if (h = d[g], r = this.b.ln[h.ev.toString()]) {
  4888. n = -1;
  4889. c = 0;
  4890. for (a = r.Pc.length; c < a; c++)
  4891. if (r.Pc[c].X === h.act) {
  4892. n = c;
  4893. break
  4894. }
  4895. if (-1 !== n) {
  4896. s = {
  4897. Kb: {},
  4898. xa: [],
  4899. Ik: !1
  4900. };
  4901. s.time = h.t;
  4902. s.yf = r;
  4903. s.Ub = n;
  4904. c = 0;
  4905. for (a = h.sm.length; c < a; c++)(r = this.b.Ii(h.sm[c])) && s.xa.push(r);
  4906. for (e in h.sols)
  4907. if (h.sols.hasOwnProperty(e) && (r = this.b.Ii(parseInt(e, 10)))) {
  4908. n = h.sols[e];
  4909. q = {
  4910. Bj: n.sa,
  4911. Fd: []
  4912. };
  4913. c = 0;
  4914. for (a = n.insts.length; c < a; c++)(p = this.b.Cg(n.insts[c])) &&
  4915. q.Fd.push(p);
  4916. s.Kb[r.index.toString()] = q
  4917. }
  4918. this.Tb.push(s)
  4919. }
  4920. }
  4921. };
  4922. (function() {
  4923. function d() {}
  4924. function g() {}
  4925. function b() {}
  4926. var c = Q.prototype;
  4927. d.prototype.Tp = B(!0);
  4928. d.prototype.Om = B(!0);
  4929. d.prototype.gq = B(!0);
  4930. d.prototype.wq = function() {
  4931. var a = this.b.Fi().T;
  4932. "undefined" === typeof a.nk && (a.nk = -1);
  4933. var b = a.nk,
  4934. c = this.b.nf;
  4935. a.nk = c;
  4936. return this.b.wl || b !== c - 1
  4937. };
  4938. d.prototype.Sp = function(a) {
  4939. var b = this.b.Fi(),
  4940. c = b.T.Lh || 0,
  4941. e = this.b.rc.aa;
  4942. "undefined" === typeof b.T.Zj && (b.T.Zj = a);
  4943. var d = b.T.Zj;
  4944. if (e >= c + d) return b.T.Lh = c + d, e >= b.T.Lh + 0.04 && (b.T.Lh = e), b.T.Zj = a, !0;
  4945. e < c - 0.1 && (b.T.Lh = e);
  4946. return !1
  4947. };
  4948. d.prototype.we =
  4949. function(a, b, c) {
  4950. return $b(a.Eg(), b, c)
  4951. };
  4952. d.prototype.Rp = function() {
  4953. var a = this.b.Ab();
  4954. return a.Kk ? !1 : !a.Ve
  4955. };
  4956. d.prototype.Pm = B(!0);
  4957. d.prototype.$p = B(!0);
  4958. d.prototype.fk = B(!0);
  4959. d.prototype.hq = B(!0);
  4960. d.prototype.ek = B(!0);
  4961. c.p = new d;
  4962. g.prototype.Vp = function(a) {
  4963. this.b.Jf || this.b.Fe || (this.b.Fe = a)
  4964. };
  4965. g.prototype.xe = function(a, b, c, e) {
  4966. if (b && a && (b = this.b.tn(a, b, c, e))) {
  4967. this.b.Tc++;
  4968. var d;
  4969. this.b.trigger(Object.getPrototypeOf(a.Ea).p.bk, b);
  4970. if (b.qc)
  4971. for (c = 0, e = b.siblings.length; c < e; c++) d = b.siblings[c], this.b.trigger(Object.getPrototypeOf(d.type.Ea).p.bk,
  4972. d);
  4973. this.b.Tc--;
  4974. a = a.ga();
  4975. a.qa = !1;
  4976. a.i.length = 1;
  4977. a.i[0] = b;
  4978. if (b.qc)
  4979. for (c = 0, e = b.siblings.length; c < e; c++) d = b.siblings[c], a = d.type.ga(), a.qa = !1, a.i.length = 1, a.i[0] = d
  4980. }
  4981. };
  4982. g.prototype.qq = function(a) {
  4983. this.b.$.km(a)
  4984. };
  4985. g.prototype.sb = function(a, b) {
  4986. 0 === a.Wj ? ga(b) ? a.hf(b) : a.hf(parseFloat(b)) : 1 === a.Wj && a.hf(b.toString())
  4987. };
  4988. g.prototype.Qp = function(a, b) {
  4989. 0 === a.Wj ? ga(b) ? a.hf(a.Eg() + b) : a.hf(a.Eg() + parseFloat(b)) : 1 === a.Wj && a.hf(a.Eg() + b.toString())
  4990. };
  4991. var a = [],
  4992. e = [];
  4993. g.prototype.Sh = function(b) {
  4994. if (!(0 > b)) {
  4995. var c, d, g, q = this.b.Ab(),
  4996. p;
  4997. p = a.length ? a.pop() : {
  4998. Kb: {},
  4999. xa: []
  5000. };
  5001. p.Ik = !1;
  5002. p.time = this.b.rc.aa + b;
  5003. p.yf = q.$b;
  5004. p.Ub = q.Ub + 1;
  5005. b = 0;
  5006. for (c = this.b.B.length; b < c; b++) g = this.b.B[b], d = g.ga(), d.qa && -1 === q.$b.xa.indexOf(g) || (p.xa.push(g), g = void 0, g = e.length ? e.pop() : {
  5007. Fd: []
  5008. }, g.Bj = !1, g.Bj = d.qa, wa(g.Fd, d.i), p.Kb[b.toString()] = g);
  5009. this.Tb.push(p);
  5010. return !0
  5011. }
  5012. };
  5013. g.prototype.nq = function() {
  5014. var a, b, c;
  5015. a = 0;
  5016. for (b = this.b.qk.length; a < b; a++) c = this.b.qk[a], c.data = c.Mi
  5017. };
  5018. g.prototype.oq = function() {
  5019. if (!this.b.Jf && !this.b.Fe && this.b.$) {
  5020. this.b.Fe = this.b.$;
  5021. var a, b, c;
  5022. a = 0;
  5023. for (b =
  5024. this.b.Sd.length; a < b; a++) c = this.b.Sd[a], c.Gt(c.Ni)
  5025. }
  5026. };
  5027. c.k = new g;
  5028. b.prototype["int"] = function(a, b) {
  5029. ha(b) ? (a.za(parseInt(b, 10)), isNaN(a.data) && (a.data = 0)) : a.za(b)
  5030. };
  5031. b.prototype["float"] = function(a, b) {
  5032. ha(b) ? (a.F(parseFloat(b)), isNaN(a.data) && (a.data = 0)) : a.F(b)
  5033. };
  5034. b.prototype.random = function(a, b, c) {
  5035. void 0 === c ? a.F(Math.random() * b) : a.F(Math.random() * (c - b) + b)
  5036. };
  5037. b.prototype.sqrt = function(a, b) {
  5038. a.F(Math.sqrt(b))
  5039. };
  5040. b.prototype.abs = function(a, b) {
  5041. a.F(Math.abs(b))
  5042. };
  5043. b.prototype.round = function(a, b) {
  5044. a.za(Math.round(b))
  5045. };
  5046. b.prototype.floor = function(a, b) {
  5047. a.za(Math.floor(b))
  5048. };
  5049. b.prototype.ceil = function(a, b) {
  5050. a.za(Math.ceil(b))
  5051. };
  5052. b.prototype.sin = function(a, b) {
  5053. a.F(Math.sin(E(b)))
  5054. };
  5055. b.prototype.cos = function(a, b) {
  5056. a.F(Math.cos(E(b)))
  5057. };
  5058. b.prototype.tan = function(a, b) {
  5059. a.F(Math.tan(E(b)))
  5060. };
  5061. b.prototype.asin = function(a, b) {
  5062. a.F(Aa(Math.asin(b)))
  5063. };
  5064. b.prototype.acos = function(a, b) {
  5065. a.F(Aa(Math.acos(b)))
  5066. };
  5067. b.prototype.exp = function(a, b) {
  5068. a.F(Math.exp(b))
  5069. };
  5070. b.prototype.max = function(a) {
  5071. var b = arguments[1],
  5072. c, e;
  5073. c = 2;
  5074. for (e = arguments.length; c < e; c++) b <
  5075. arguments[c] && (b = arguments[c]);
  5076. a.F(b)
  5077. };
  5078. b.prototype.min = function(a) {
  5079. var b = arguments[1],
  5080. c, e;
  5081. c = 2;
  5082. for (e = arguments.length; c < e; c++) b > arguments[c] && (b = arguments[c]);
  5083. a.F(b)
  5084. };
  5085. b.prototype.Je = function(a) {
  5086. a.F(this.b.Je)
  5087. };
  5088. b.prototype.cg = function(a) {
  5089. a.F(this.b.cg)
  5090. };
  5091. b.prototype.time = function(a) {
  5092. a.F(this.b.rc.aa)
  5093. };
  5094. b.prototype.nf = function(a) {
  5095. a.za(this.b.nf)
  5096. };
  5097. b.prototype.dj = function(a) {
  5098. a.za(this.b.dj)
  5099. };
  5100. b.prototype.Qk = function(a) {
  5101. a.za(this.b.Qk)
  5102. };
  5103. b.prototype.n = function(a, b, c, e, d) {
  5104. a.F(Aa(Fa(b, c, e, d)))
  5105. };
  5106. b.prototype.left =
  5107. function(a, b, c) {
  5108. a.ic(ha(b) ? b.substr(0, c) : "")
  5109. };
  5110. b.prototype.right = function(a, b, c) {
  5111. a.ic(ha(b) ? b.substr(b.length - c) : "")
  5112. };
  5113. b.prototype.replace = function(a, b, c, e) {
  5114. ha(b) && ha(c) && ha(e) ? a.ic(b.replace(RegExp(Ya(c), "gi"), e)) : a.ic(ha(b) ? b : "")
  5115. };
  5116. b.prototype.gi = function(a) {
  5117. var b = pa(Math.random() * (arguments.length - 1));
  5118. a.Kt(arguments[b + 1])
  5119. };
  5120. b.prototype.Bk = function(a) {
  5121. a.F(this.b.Bk / 1E3)
  5122. };
  5123. b.prototype.bj = function(a) {
  5124. a.F(this.b.bj)
  5125. };
  5126. c.J = new b;
  5127. c.yt = function() {
  5128. var b, c, d, g, q, p, v = this.b.Ab();
  5129. b = 0;
  5130. for (d = this.Tb.length; b < d; b++)
  5131. if (g =
  5132. this.Tb[b], !(g.time > this.b.rc.aa)) {
  5133. v.$b = g.yf;
  5134. v.Ub = g.Ub;
  5135. v.Wa = 0;
  5136. for (c in g.Kb) g.Kb.hasOwnProperty(c) && (q = this.b.B[parseInt(c, 10)].ga(), p = g.Kb[c], q.qa = p.Bj, wa(q.i, p.Fd), q = p, q.Fd.length = 0, e.push(q));
  5137. g.yf.tt();
  5138. this.b.zk(g.xa);
  5139. g.Ik = !0
  5140. }
  5141. c = b = 0;
  5142. for (d = this.Tb.length; b < d; b++) g = this.Tb[b], this.Tb[c] = g, g.Ik ? (Ra(g.Kb), g.xa.length = 0, a.push(g)) : c++;
  5143. this.Tb.length = c
  5144. }
  5145. })();
  5146. (function() {
  5147. ib = function(d) {
  5148. var b = d[0].prototype,
  5149. c = d[1],
  5150. a = d[3],
  5151. e = d[4],
  5152. h = d[5],
  5153. s = d[6],
  5154. r = d[7];
  5155. d = d[8];
  5156. b.p || (b.p = {});
  5157. b.k || (b.k = {});
  5158. b.J || (b.J = {});
  5159. var n = b.p,
  5160. q = b.k,
  5161. b = b.J;
  5162. a && (n.ou = function(a, b) {
  5163. return $b(this.x, a, b)
  5164. }, n.Km = function(a, b) {
  5165. return $b(this.y, a, b)
  5166. }, n.wu = function() {
  5167. var a = this.q;
  5168. this.La();
  5169. var b = this.Ra;
  5170. return !(b.right < a.Lb || b.bottom < a.Mb || b.left > a.Oc || b.top > a.Nc)
  5171. }, n.xu = function() {
  5172. this.La();
  5173. var a = this.Ra,
  5174. b = this.b.$;
  5175. return 0 > a.right || 0 > a.bottom || a.left > b.width || a.top > b.height
  5176. }, n.Gu = function(a, b, c) {
  5177. var e =
  5178. this.ga(),
  5179. d = e.Cc();
  5180. if (!d.length) return !1;
  5181. var g = d[0],
  5182. h = g,
  5183. l = Oa(g.x, g.y, b, c),
  5184. t, k, n;
  5185. t = 1;
  5186. for (k = d.length; t < k; t++)
  5187. if (g = d[t], n = Oa(g.x, g.y, b, c), 0 === a && n < l || 1 === a && n > l) l = n, h = g;
  5188. e.kh(h);
  5189. return !0
  5190. }, q.dv = function(a) {
  5191. this.x !== a && (this.x = a, this.ea())
  5192. }, q.sq = function(a) {
  5193. this.y !== a && (this.y = a, this.ea())
  5194. }, q.Zu = function(a, b) {
  5195. if (this.x !== a || this.y !== b) this.x = a, this.y = b, this.ea()
  5196. }, q.Xm = function(a, b) {
  5197. var c = a.cs(this);
  5198. if (c) {
  5199. var e;
  5200. c.Gi ? (e = c.Gi(b, !0), c = c.Gi(b, !1)) : (e = c.x, c = c.y);
  5201. if (this.x !== e || this.y !== c) this.x = e, this.y = c, this.ea()
  5202. }
  5203. },
  5204. q.Bu = function(a) {
  5205. 0 !== a && (this.x += Math.cos(this.n) * a, this.y += Math.sin(this.n) * a, this.ea())
  5206. }, q.Au = function(a, b) {
  5207. 0 !== b && (this.x += Math.cos(E(a)) * b, this.y += Math.sin(E(a)) * b, this.ea())
  5208. }, b.Be = function(a) {
  5209. a.F(this.x)
  5210. }, b.kg = function(a) {
  5211. a.F(this.y)
  5212. }, b.Je = function(a) {
  5213. a.F(this.b.Af(this))
  5214. });
  5215. e && (n.nu = function(a, b) {
  5216. return $b(this.width, a, b)
  5217. }, n.ju = function(a, b) {
  5218. return $b(this.height, a, b)
  5219. }, q.mk = function(a) {
  5220. this.width !== a && (this.width = a, this.ea())
  5221. }, q.Vu = function(a) {
  5222. this.height !== a && (this.height = a, this.ea())
  5223. }, q.$u =
  5224. function(a, b) {
  5225. if (this.width !== a || this.height !== b) this.width = a, this.height = b, this.ea()
  5226. }, b.ok = function(a) {
  5227. a.F(this.width)
  5228. }, b.qu = function(a) {
  5229. a.F(this.height)
  5230. }, b.fu = function(a) {
  5231. this.La();
  5232. a.F(this.Ra.left)
  5233. }, b.hu = function(a) {
  5234. this.La();
  5235. a.F(this.Ra.top)
  5236. }, b.gu = function(a) {
  5237. this.La();
  5238. a.F(this.Ra.right)
  5239. }, b.eu = function(a) {
  5240. this.La();
  5241. a.F(this.Ra.bottom)
  5242. });
  5243. h && (n.du = function(a, b) {
  5244. return Ha(this.n, E(b)) <= E(a)
  5245. }, n.uu = function(a) {
  5246. return Ja(this.n, E(a))
  5247. }, n.tu = function(a, b) {
  5248. var c = Ea(a),
  5249. e = Ea(b),
  5250. d = Ca(this.n);
  5251. return Ja(e,
  5252. c) ? Ja(d, c) && !Ja(d, e) : !(!Ja(d, c) && Ja(d, e))
  5253. }, q.Pu = function(a) {
  5254. a = E(Ba(a));
  5255. isNaN(a) || this.n === a || (this.n = a, this.ea())
  5256. }, q.Lu = function(a) {
  5257. 0 === a || isNaN(a) || (this.n += E(a), this.n = Ca(this.n), this.ea())
  5258. }, q.Mu = function(a) {
  5259. 0 === a || isNaN(a) || (this.n -= E(a), this.n = Ca(this.n), this.ea())
  5260. }, q.Nu = function(a, b) {
  5261. var c = Ia(this.n, E(b), E(a));
  5262. isNaN(c) || this.n === c || (this.n = c, this.ea())
  5263. }, q.Ou = function(a, b, c) {
  5264. a = Ia(this.n, Math.atan2(c - this.y, b - this.x), E(a));
  5265. isNaN(a) || this.n === a || (this.n = a, this.ea())
  5266. }, q.av = function(a, b) {
  5267. var c = Math.atan2(b -
  5268. this.y, a - this.x);
  5269. isNaN(c) || this.n === c || (this.n = c, this.ea())
  5270. }, b.cu = function(a) {
  5271. a.F(Da(this.n))
  5272. });
  5273. c || (n.ku = function(a, b, c) {
  5274. return $b(this.Ya[a], b, c)
  5275. }, n.$j = function(a) {
  5276. return this.Ya[a]
  5277. }, n.Hu = function(a, b) {
  5278. var c = this.ga(),
  5279. e = c.Cc();
  5280. if (!e.length) return !1;
  5281. var d = e[0],
  5282. g = d,
  5283. h = d.Ya[b],
  5284. l, t, k;
  5285. l = 1;
  5286. for (t = e.length; l < t; l++)
  5287. if (d = e[l], k = d.Ya[b], 0 === a && k < h || 1 === a && k > h) h = k, g = d;
  5288. c.kh(g);
  5289. return !0
  5290. }, n.Tm = function(a) {
  5291. var b, c, e, d, g;
  5292. if (this.b.Fi().jl) {
  5293. g = this.ga();
  5294. if (g.qa)
  5295. for (g.qa = !1, g.i.length = 0, g.ka.length = 0, e = this.i, b = 0, c =
  5296. e.length; b < c; b++) d = e[b], d.uid === a ? g.ka.push(d) : g.i.push(d);
  5297. else {
  5298. e = b = 0;
  5299. for (c = g.i.length; b < c; b++) d = g.i[b], g.i[e] = d, d.uid === a ? g.ka.push(d) : e++;
  5300. g.i.length = e
  5301. }
  5302. this.Rc();
  5303. return !!g.i.length
  5304. }
  5305. d = this.b.Cg(a);
  5306. if (!d) return !1;
  5307. g = this.ga();
  5308. if (!g.qa && -1 === g.i.indexOf(d)) return !1;
  5309. if (this.K)
  5310. for (a = d.type.Ca, b = 0, c = a.length; b < c; b++) {
  5311. if (a[b] === this) return g.kh(d), this.Rc(), !0
  5312. } else if (d.type === this) return g.kh(d), this.Rc(), !0;
  5313. return !1
  5314. }, n.bk = B(!0), n.bq = B(!0), q.kk = function(a, b) {
  5315. var c = this.Ya;
  5316. ga(c[a]) ? c[a] = ga(b) ? b : parseFloat(b) :
  5317. ha(c[a]) && (c[a] = ha(b) ? b : b.toString())
  5318. }, q.bu = function(a, b) {
  5319. var c = this.Ya;
  5320. ga(c[a]) ? c[a] = ga(b) ? c[a] + b : c[a] + parseFloat(b) : ha(c[a]) && (c[a] = ha(b) ? c[a] + b : c[a] + b.toString())
  5321. }, q.gv = function(a, b) {
  5322. var c = this.Ya;
  5323. ga(c[a]) && (c[a] = ga(b) ? c[a] - b : c[a] - parseFloat(b))
  5324. }, q.ze = function(a, b) {
  5325. this.Ya[a] = b ? 1 : 0
  5326. }, q.iv = function(a) {
  5327. this.Ya[a] = 1 - this.Ya[a]
  5328. }, q.Yj = function() {
  5329. this.b.Qd(this)
  5330. }, q.Xp || (q.Xp = function(a) {
  5331. var b, c;
  5332. try {
  5333. b = JSON.parse(a)
  5334. } catch (e) {
  5335. return
  5336. }
  5337. this.b.$i(this, b, !0);
  5338. this.ed && this.ed();
  5339. if (this.S)
  5340. for (a = 0, b = this.S.length; a <
  5341. b; ++a) c = this.S[a], c.ed && c.ed()
  5342. }), b.pu = function(a) {
  5343. var b = a.Sf.i.length,
  5344. c, e, d;
  5345. c = 0;
  5346. for (e = this.b.Pb.length; c < e; c++) d = this.b.Pb[c], a.Sf.K ? 0 <= d.type.Ca.indexOf(a.Sf) && b++ : d.type === a.Sf && b++;
  5347. a.za(b)
  5348. }, b.Ju = function(a) {
  5349. a.za(a.Sf.ga().Cc().length)
  5350. }, b.jv = function(a) {
  5351. a.za(this.uid)
  5352. }, b.ru = function(a) {
  5353. a.za(this.Fg())
  5354. }, b.Jm || (b.Jm = function(a) {
  5355. a.ic(JSON.stringify(this.b.im(this, !0)))
  5356. }));
  5357. s && (n.Wp = aa("visible"), q.Ae = function(a) {
  5358. !a !== !this.visible && (this.visible = a, this.b.ha = !0)
  5359. }, n.lu = function(a, b) {
  5360. return $b(fb(100 *
  5361. this.opacity), a, b)
  5362. }, q.Xu = function(a) {
  5363. a /= 100;
  5364. 0 > a ? a = 0 : 1 < a && (a = 1);
  5365. a !== this.opacity && (this.opacity = a, this.b.ha = !0)
  5366. }, b.Opacity = function(a) {
  5367. a.F(fb(100 * this.opacity))
  5368. });
  5369. r && (n.vu = function(a) {
  5370. return a ? this.q === a : !1
  5371. }, n.Iu = function(a) {
  5372. var b = this.ga(),
  5373. c = b.Cc();
  5374. if (!c.length) return !1;
  5375. var e = c[0],
  5376. d = e,
  5377. g, h;
  5378. g = 1;
  5379. for (h = c.length; g < h; g++)
  5380. if (e = c[g], 0 === a) {
  5381. if (e.q.index > d.q.index || e.q.index === d.q.index && e.oc() > d.oc()) d = e
  5382. } else if (e.q.index < d.q.index || e.q.index === d.q.index && e.oc() < d.oc()) d = e;
  5383. b.kh(d);
  5384. return !0
  5385. }, q.Du = function() {
  5386. var a =
  5387. this.oc();
  5388. a !== this.q.i.length - 1 && (va(this.q.i, a), this.q.i.push(this), this.b.ha = !0, this.q.kc = !0)
  5389. }, q.ak = function() {
  5390. var a = this.oc();
  5391. 0 !== a && (va(this.q.i, a), this.q.i.unshift(this), this.b.ha = !0, this.q.kc = !0)
  5392. }, q.Cu = function(a) {
  5393. a && a != this.q && (va(this.q.i, this.oc()), this.q.kc = !0, this.q = a, this.pf = a.i.length, a.i.push(this), this.b.ha = !0)
  5394. }, q.mv = function(a, b) {
  5395. var c = 0 === a;
  5396. if (b) {
  5397. var e = b.Nn(this);
  5398. if (e && e.uid !== this.uid) {
  5399. this.q.index !== e.q.index && (va(this.q.i, this.oc()), this.q.kc = !0, this.q = e.q, this.pf = e.q.i.length,
  5400. e.q.i.push(this));
  5401. var d = this.oc(),
  5402. e = e.oc();
  5403. va(this.q.i, d);
  5404. d < e && e--;
  5405. c && e++;
  5406. e === this.q.i.length ? this.q.i.push(this) : this.q.i.splice(e, 0, this);
  5407. this.q.kc = !0;
  5408. this.b.ha = !0
  5409. }
  5410. }
  5411. }, b.zu = function(a) {
  5412. a.za(this.q.Ho)
  5413. }, b.yu = function(a) {
  5414. a.ic(this.q.name)
  5415. }, b.lv = function(a) {
  5416. a.za(this.oc())
  5417. });
  5418. d && (q.Su = function(a, b) {
  5419. if (this.b.C) {
  5420. var c = this.type.Xk(b);
  5421. if (!(0 > c)) {
  5422. var e = 1 === a;
  5423. this.Rd[c] !== e && (this.Rd[c] = e, this.Pd(), this.b.ha = !0)
  5424. }
  5425. }
  5426. }, q.Tu = function(a, b, c) {
  5427. if (this.b.C) {
  5428. var e = this.type.Xk(a);
  5429. 0 > e || (a = this.type.O[e], e = this.Ha[e],
  5430. b = Math.floor(b), 0 > b || b >= e.length || (1 === this.b.C.gs(a.xb, b) && (c /= 100), e[b] !== c && (e[b] = c, a.Nb && (this.b.ha = !0))))
  5431. }
  5432. })
  5433. };
  5434. Db = function() {
  5435. this.xk = this.uk = !0;
  5436. this.type.Vh = !0;
  5437. this.b.ha = !0;
  5438. var d, b, c = this.vk;
  5439. d = 0;
  5440. for (b = c.length; d < b; ++d) c[d](this)
  5441. };
  5442. Hb = function(d) {
  5443. d && this.vk.push(d)
  5444. };
  5445. Jb = function() {
  5446. if (this.uk) {
  5447. var d = this.Ra,
  5448. b = this.Wb;
  5449. d.set(this.x, this.y, this.x + this.width, this.y + this.height);
  5450. d.offset(-this.Eb * this.width, -this.Fb * this.height);
  5451. this.n ? (d.offset(-this.x, -this.y), b.op(d, this.n), b.offset(this.x, this.y),
  5452. b.mn(d)) : b.vh(d);
  5453. d.normalize();
  5454. this.uk = !1
  5455. }
  5456. };
  5457. var d = new sa(0, 0, 0, 0);
  5458. Kb = function() {
  5459. if (this.xk && this.xd) {
  5460. this.La();
  5461. var g = this.type.ki,
  5462. b = this.ji,
  5463. c = this.Ra;
  5464. d.set(g.Th(c.left), g.Uh(c.top), g.Th(c.right), g.Uh(c.bottom));
  5465. b.sr(d) || (b.right < b.left ? g.update(this, null, d) : g.update(this, b, d), b.copy(d), this.xk = !1)
  5466. }
  5467. };
  5468. Ib = function(d, b) {
  5469. return this.Ra.Zb(d, b) && this.Wb.Zb(d, b) ? this.ja && !this.ja.Gf() ? (this.ja.vf(this.width, this.height, this.n), this.ja.Zb(d - this.x, b - this.y)) : !0 : !1
  5470. };
  5471. zb = function() {
  5472. this.type.Vj();
  5473. return this.Qe
  5474. };
  5475. Lb = function() {
  5476. this.q.Wt();
  5477. return this.pf
  5478. };
  5479. Mb = function() {
  5480. this.fa.length = 0;
  5481. var d, b;
  5482. d = 0;
  5483. for (b = this.Rd.length; d < b; d++) this.Rd[d] && this.fa.push(this.type.O[d]);
  5484. this.Mp = !!this.fa.length
  5485. };
  5486. Ab = function() {
  5487. return "Inst" + this.cp
  5488. };
  5489. lb = function(d) {
  5490. if (d && d.qc && d.type != this) {
  5491. var b, c, a;
  5492. b = 0;
  5493. for (c = d.siblings.length; b < c; b++)
  5494. if (a = d.siblings[b], a.type == this) return a
  5495. }
  5496. d = this.ga().Cc();
  5497. return d.length ? d[0] : null
  5498. };
  5499. mb = function(d) {
  5500. var b = this.ga().Cc();
  5501. return b.length ? b[d.Fg() % b.length] : null
  5502. };
  5503. kb = function() {
  5504. if (this.ag && !this.K) {
  5505. var d,
  5506. b;
  5507. d = 0;
  5508. for (b = this.i.length; d < b; d++) this.i[d].Qe = d;
  5509. var c = d,
  5510. a = this.b.Pb;
  5511. d = 0;
  5512. for (b = a.length; d < b; ++d) a[d].type === this && (a[d].Qe = c++);
  5513. this.ag = !1
  5514. }
  5515. };
  5516. xb = function(d) {
  5517. if (d < this.i.length) return this.i[d];
  5518. d -= this.i.length;
  5519. var b = this.b.Pb,
  5520. c, a;
  5521. c = 0;
  5522. for (a = b.length; c < a; ++c)
  5523. if (b[c].type === this) {
  5524. if (0 === d) return b[c];
  5525. --d
  5526. }
  5527. return null
  5528. };
  5529. nb = function() {
  5530. return this.re[this.zd]
  5531. };
  5532. ob = function() {
  5533. this.zd++;
  5534. this.zd === this.re.length ? this.re.push(new jb(this)) : this.re[this.zd].qa = !0
  5535. };
  5536. pb = function() {
  5537. this.zd++;
  5538. this.zd === this.re.length &&
  5539. this.re.push(new jb(this));
  5540. var d = this.re[this.zd],
  5541. b = this.re[this.zd - 1];
  5542. b.qa ? d.qa = !0 : (d.qa = !1, wa(d.i, b.i), wa(d.ka, b.ka))
  5543. };
  5544. sb = function() {
  5545. this.zd--
  5546. };
  5547. tb = function(d) {
  5548. var b, c, a, e, h, s = 0;
  5549. if (!this.K)
  5550. for (b = 0, c = this.Ca.length; b < c; b++)
  5551. for (h = this.Ca[b], a = 0, e = h.Na.length; a < e; a++) {
  5552. if (d === h.Na[a].name) return this.T.no = s, h.Na[a];
  5553. s++
  5554. }
  5555. b = 0;
  5556. for (c = this.Na.length; b < c; b++) {
  5557. if (d === this.Na[b].name) return this.T.no = s, this.Na[b];
  5558. s++
  5559. }
  5560. return null
  5561. };
  5562. ub = function(d) {
  5563. return this.Ei(d) ? this.T.no : -1
  5564. };
  5565. vb = function(d) {
  5566. var b, c;
  5567. b = 0;
  5568. for (c =
  5569. this.O.length; b < c; b++)
  5570. if (this.O[b].name === d) return b;
  5571. return -1
  5572. };
  5573. wb = function() {
  5574. if (this.qc && !this.K) {
  5575. var d, b, c, a, e, h, s;
  5576. this.Vj();
  5577. h = this.ga();
  5578. var r = h.qa,
  5579. n = (d = this.b.Ab()) && d.$b && d.$b.Xc;
  5580. d = 0;
  5581. for (b = this.Yb.length; d < b; d++)
  5582. if (e = this.Yb[d], e !== this && (e.Vj(), s = e.ga(), s.qa = r, !r)) {
  5583. s.i.length = h.i.length;
  5584. c = 0;
  5585. for (a = h.i.length; c < a; c++) s.i[c] = e.On(h.i[c].Qe);
  5586. if (n)
  5587. for (s.ka.length = h.ka.length, c = 0, a = h.ka.length; c < a; c++) s.ka[c] = e.On(h.ka[c].Qe)
  5588. }
  5589. }
  5590. };
  5591. yb = function() {
  5592. return "Type" + this.X
  5593. };
  5594. $b = function(d, b, c) {
  5595. if ("undefined" ===
  5596. typeof d || "undefined" === typeof c) return !1;
  5597. switch (b) {
  5598. case 0:
  5599. return d === c;
  5600. case 1:
  5601. return d !== c;
  5602. case 2:
  5603. return d < c;
  5604. case 3:
  5605. return d <= c;
  5606. case 4:
  5607. return d > c;
  5608. case 5:
  5609. return d >= c;
  5610. default:
  5611. return !1
  5612. }
  5613. }
  5614. })();
  5615. var ic = {};
  5616. function kc(d) {
  5617. this.b = d
  5618. }
  5619. (function() {
  5620. function d(a) {
  5621. 0 > a && (a = 0);
  5622. 1 < a && (a = 1);
  5623. return 20 * (Math.log(a) / Math.log(10))
  5624. }
  5625. function g(a) {
  5626. a = a.toLowerCase();
  5627. return X.hasOwnProperty(a) && X[a].length ? X[a][0].nc() : F.destination
  5628. }
  5629. function b() {
  5630. return F.createGain ? F.createGain() : F.createGainNode()
  5631. }
  5632. function c(a) {
  5633. return F.createDelay ? F.createDelay(a) : F.createDelayNode(a)
  5634. }
  5635. function a(a) {
  5636. a.start ? a.start(0) : a.noteOn(0)
  5637. }
  5638. function e(a, b, c) {
  5639. a.start ? a.start(0, b) : a.noteGrainOn(0, b, c - b)
  5640. }
  5641. function h(a) {
  5642. try {
  5643. a.stop ? a.stop(0) : a.noteOff(0)
  5644. } catch (b) {}
  5645. }
  5646. function s(a,
  5647. c, d, e, f, g) {
  5648. this.type = "filter";
  5649. this.Yc = [a, c, d, e, f, g];
  5650. this.Y = b();
  5651. this.N = b();
  5652. this.N.gain.value = g;
  5653. this.M = b();
  5654. this.M.gain.value = 1 - g;
  5655. this.Oa = F.createBiquadFilter();
  5656. this.Oa.type = "number" === typeof this.Oa.type ? a : Nc[a];
  5657. this.Oa.frequency.value = c;
  5658. this.Oa.detune && (this.Oa.detune.value = d);
  5659. this.Oa.Q.value = e;
  5660. this.Oa.gain.value = f;
  5661. this.Y.connect(this.Oa);
  5662. this.Y.connect(this.M);
  5663. this.Oa.connect(this.N)
  5664. }
  5665. function r(a, d, e) {
  5666. this.type = "delay";
  5667. this.Yc = [a, d, e];
  5668. this.Y = b();
  5669. this.N = b();
  5670. this.N.gain.value = e;
  5671. this.M = b();
  5672. this.M.gain.value =
  5673. 1 - e;
  5674. this.ah = b();
  5675. this.zc = c(a);
  5676. this.zc.delayTime.value = a;
  5677. this.si = b();
  5678. this.si.gain.value = d;
  5679. this.Y.connect(this.ah);
  5680. this.Y.connect(this.M);
  5681. this.ah.connect(this.N);
  5682. this.ah.connect(this.zc);
  5683. this.zc.connect(this.si);
  5684. this.si.connect(this.ah)
  5685. }
  5686. function n(a, c, d, e) {
  5687. this.type = "convolve";
  5688. this.Yc = [c, d, e];
  5689. this.Y = b();
  5690. this.N = b();
  5691. this.N.gain.value = d;
  5692. this.M = b();
  5693. this.M.gain.value = 1 - d;
  5694. this.Ge = F.createConvolver();
  5695. a && (this.Ge.normalize = c, this.Ge.buffer = a);
  5696. this.Y.connect(this.Ge);
  5697. this.Y.connect(this.M);
  5698. this.Ge.connect(this.N)
  5699. }
  5700. function q(d, e, f, g, k) {
  5701. this.type = "flanger";
  5702. this.Yc = [d, e, f, g, k];
  5703. this.Y = b();
  5704. this.M = b();
  5705. this.M.gain.value = 1 - k / 2;
  5706. this.N = b();
  5707. this.N.gain.value = k / 2;
  5708. this.Bi = b();
  5709. this.Bi.gain.value = g;
  5710. this.zc = c(d + e);
  5711. this.zc.delayTime.value = d;
  5712. this.pb = F.createOscillator();
  5713. this.pb.frequency.value = f;
  5714. this.gc = b();
  5715. this.gc.gain.value = e;
  5716. this.Y.connect(this.zc);
  5717. this.Y.connect(this.M);
  5718. this.zc.connect(this.N);
  5719. this.zc.connect(this.Bi);
  5720. this.Bi.connect(this.zc);
  5721. this.pb.connect(this.gc);
  5722. this.gc.connect(this.zc.delayTime);
  5723. a(this.pb)
  5724. }
  5725. function p(c,
  5726. d, e, f, g, k) {
  5727. this.type = "phaser";
  5728. this.Yc = [c, d, e, f, g, k];
  5729. this.Y = b();
  5730. this.M = b();
  5731. this.M.gain.value = 1 - k / 2;
  5732. this.N = b();
  5733. this.N.gain.value = k / 2;
  5734. this.Oa = F.createBiquadFilter();
  5735. this.Oa.type = "number" === typeof this.Oa.type ? 7 : "allpass";
  5736. this.Oa.frequency.value = c;
  5737. this.Oa.detune && (this.Oa.detune.value = d);
  5738. this.Oa.Q.value = e;
  5739. this.pb = F.createOscillator();
  5740. this.pb.frequency.value = g;
  5741. this.gc = b();
  5742. this.gc.gain.value = f;
  5743. this.Y.connect(this.Oa);
  5744. this.Y.connect(this.M);
  5745. this.Oa.connect(this.N);
  5746. this.pb.connect(this.gc);
  5747. this.gc.connect(this.Oa.frequency);
  5748. a(this.pb)
  5749. }
  5750. function v(a) {
  5751. this.type = "gain";
  5752. this.Yc = [a];
  5753. this.ca = b();
  5754. this.ca.gain.value = a
  5755. }
  5756. function u(c, d) {
  5757. this.type = "tremolo";
  5758. this.Yc = [c, d];
  5759. this.ca = b();
  5760. this.ca.gain.value = 1 - d / 2;
  5761. this.pb = F.createOscillator();
  5762. this.pb.frequency.value = c;
  5763. this.gc = b();
  5764. this.gc.gain.value = d / 2;
  5765. this.pb.connect(this.gc);
  5766. this.gc.connect(this.ca.gain);
  5767. a(this.pb)
  5768. }
  5769. function f(c, d) {
  5770. this.type = "ringmod";
  5771. this.Yc = [c, d];
  5772. this.Y = b();
  5773. this.N = b();
  5774. this.N.gain.value = d;
  5775. this.M = b();
  5776. this.M.gain.value = 1 - d;
  5777. this.rh = b();
  5778. this.rh.gain.value = 0;
  5779. this.pb = F.createOscillator();
  5780. this.pb.frequency.value = c;
  5781. this.pb.connect(this.rh.gain);
  5782. a(this.pb);
  5783. this.Y.connect(this.rh);
  5784. this.Y.connect(this.M);
  5785. this.rh.connect(this.N)
  5786. }
  5787. function x(a, c, d, e, f) {
  5788. this.type = "distortion";
  5789. this.Yc = [a, c, d, e, f];
  5790. this.Y = b();
  5791. this.rj = b();
  5792. this.qj = b();
  5793. this.Ft(d, Math.pow(10, e / 20));
  5794. this.N = b();
  5795. this.N.gain.value = f;
  5796. this.M = b();
  5797. this.M.gain.value = 1 - f;
  5798. this.Xj = F.createWaveShaper();
  5799. this.qi = new Float32Array(65536);
  5800. this.Wr(a, c);
  5801. this.Xj.qi = this.qi;
  5802. this.Y.connect(this.rj);
  5803. this.Y.connect(this.M);
  5804. this.rj.connect(this.Xj);
  5805. this.Xj.connect(this.qj);
  5806. this.qj.connect(this.N)
  5807. }
  5808. function m(a, b, c, d, e) {
  5809. this.type = "compressor";
  5810. this.Yc = [a, b, c, d, e];
  5811. this.ca = F.createDynamicsCompressor();
  5812. try {
  5813. this.ca.threshold.value = a, this.ca.knee.value = b, this.ca.ratio.value = c, this.ca.attack.value = d, this.ca.release.value = e
  5814. } catch (f) {}
  5815. }
  5816. function w(a, b) {
  5817. this.type = "analyser";
  5818. this.Yc = [a, b];
  5819. this.ca = F.createAnalyser();
  5820. this.ca.fftSize = a;
  5821. this.ca.smoothingTimeConstant = b;
  5822. this.Ur = new Float32Array(this.ca.frequencyBinCount);
  5823. this.rp = new Uint8Array(a);
  5824. this.jh = 0
  5825. }
  5826. function l() {
  5827. this.U = null;
  5828. this.aj =
  5829. 0;
  5830. this.se = [];
  5831. this.Il = this.Vi = this.Ui = 0
  5832. }
  5833. function t(a, c) {
  5834. this.src = a;
  5835. this.ta = O;
  5836. this.Vc = c;
  5837. this.gn = !1;
  5838. var d = this;
  5839. this.Gl = this.Tl = null;
  5840. this.Wf = [];
  5841. this.Cj = 0;
  5842. this.vp = this.kj = !1;
  5843. O === C && c && (this.ta = J, this.Tl = b());
  5844. this.Xh = this.Da = null;
  5845. var e;
  5846. switch (this.ta) {
  5847. case J:
  5848. this.Da = new Audio;
  5849. O !== C || !F.createMediaElementSource || z.eo || /wiiu/i.test(navigator.userAgent) || (this.vp = !0, this.Da.addEventListener("canplay", function() {
  5850. d.Gl || (d.Gl = F.createMediaElementSource(d.Da), d.Gl.connect(d.Tl))
  5851. }));
  5852. this.Da.autoplay = !1;
  5853. this.Da.wv =
  5854. "auto";
  5855. this.Da.src = a;
  5856. break;
  5857. case C:
  5858. e = new XMLHttpRequest;
  5859. e.open("GET", a, !0);
  5860. e.responseType = "arraybuffer";
  5861. e.onload = function() {
  5862. d.Xh = e.response;
  5863. d.Wq()
  5864. };
  5865. e.send();
  5866. break;
  5867. case D:
  5868. this.Da = !0;
  5869. break;
  5870. case P:
  5871. this.Da = !0
  5872. }
  5873. }
  5874. function k(a, c) {
  5875. var d = this;
  5876. this.te = c;
  5877. this.Kc = this.ee = !0;
  5878. this.src = a.src;
  5879. this.buffer = a;
  5880. this.ta = O;
  5881. this.Vc = a.Vc;
  5882. this.playbackRate = 1;
  5883. this.Vl = !0;
  5884. this.Hd = this.Md = !1;
  5885. this.ad = 0;
  5886. this.Og = this.If = this.Kd = !1;
  5887. this.bh = this.volume = 1;
  5888. this.startTime = z.rc.aa;
  5889. this.Ja = this.jb = null;
  5890. this.ld = !1;
  5891. this.Ia = null;
  5892. this.To = this.So =
  5893. this.Ro = this.Qo = this.Vo = this.Uo = 0;
  5894. this.u = null;
  5895. var e = !1;
  5896. this.ta !== C || this.buffer.ta !== J || this.buffer.vp || (this.ta = J);
  5897. switch (this.ta) {
  5898. case J:
  5899. this.Vc ? (this.u = a.Da, e = !a.gn, a.gn = !0) : (this.u = new Audio, this.u.autoplay = !1, this.u.src = a.Da.src, e = !0);
  5900. e && this.u.addEventListener("ended", function() {
  5901. N = d.te;
  5902. d.Kc = !0;
  5903. z.trigger(kc.prototype.p.dk, M)
  5904. });
  5905. break;
  5906. case C:
  5907. this.jb = b();
  5908. this.jb.connect(g(c));
  5909. this.buffer.ta === C ? a.Da && (this.u = F.createBufferSource(), this.u.buffer = a.Da, this.u.connect(this.jb)) : (this.u = this.buffer.Da,
  5910. this.buffer.Tl.connect(this.jb));
  5911. break;
  5912. case D:
  5913. this.u = new window.Media(L + this.src, null, null, function(a) {
  5914. a === window.Media.MEDIA_STOPPED && (d.Vl = !0, d.Kc = !0, N = d.te, z.trigger(kc.prototype.p.dk, M))
  5915. });
  5916. break;
  5917. case P:
  5918. this.u = !0
  5919. }
  5920. }
  5921. function H(a) {
  5922. Ga.length = 0;
  5923. if (a.length) {
  5924. var b, c, d;
  5925. b = 0;
  5926. for (c = R.length; b < c; b++) d = R[b], gb(a, d.te) && Ga.push(d)
  5927. } else Va && !Va.Hg() && (Ga.length = 1, Ga[0] = Va)
  5928. }
  5929. function I(a, b) {
  5930. X.hasOwnProperty(a) ? X[a].push(b) : X[a] = [b];
  5931. var c, d, e, f, g = F.destination;
  5932. if (X.hasOwnProperty(a) && (e = X[a], e.length))
  5933. for (g = e[0].nc(),
  5934. c = 0, d = e.length; c < d; c++) f = e[c], c + 1 === d ? f.wc(F.destination) : f.wc(e[c + 1].nc());
  5935. H(a);
  5936. c = 0;
  5937. for (d = Ga.length; c < d; c++) Ga[c].ot(g);
  5938. Ua && Eb === a && (Ua.disconnect(), Ua.connect(g))
  5939. }
  5940. function G() {}
  5941. function ba() {}
  5942. function y() {}
  5943. var K = kc.prototype;
  5944. K.Fa = function(a) {
  5945. this.Ea = a;
  5946. this.b = a.b
  5947. };
  5948. K.Fa.prototype.da = A();
  5949. var z = null,
  5950. M = null,
  5951. N = "",
  5952. L = "",
  5953. J = 0,
  5954. C = 1,
  5955. D = 2,
  5956. P = 3,
  5957. O = J,
  5958. F = null,
  5959. W = [],
  5960. R = [],
  5961. Va = null,
  5962. qb = !1,
  5963. rb = 0,
  5964. La = !1,
  5965. Ma = 1,
  5966. Wa = 0,
  5967. Xa = 0,
  5968. Fb = 1,
  5969. Gb = 1,
  5970. Ac = 10,
  5971. Bc = 1E4,
  5972. Cc = 1,
  5973. Ua = null,
  5974. Eb = "",
  5975. cb = !1,
  5976. db = [],
  5977. X = {},
  5978. Nc = "lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");
  5979. s.prototype.wc = function(a) {
  5980. this.N.disconnect();
  5981. this.N.connect(a);
  5982. this.M.disconnect();
  5983. this.M.connect(a)
  5984. };
  5985. s.prototype.remove = function() {
  5986. this.Y.disconnect();
  5987. this.Oa.disconnect();
  5988. this.N.disconnect();
  5989. this.M.disconnect()
  5990. };
  5991. s.prototype.nc = aa("Y");
  5992. r.prototype.wc = function(a) {
  5993. this.N.disconnect();
  5994. this.N.connect(a);
  5995. this.M.disconnect();
  5996. this.M.connect(a)
  5997. };
  5998. r.prototype.remove = function() {
  5999. this.Y.disconnect();
  6000. this.ah.disconnect();
  6001. this.zc.disconnect();
  6002. this.si.disconnect();
  6003. this.N.disconnect();
  6004. this.M.disconnect()
  6005. };
  6006. r.prototype.nc =
  6007. aa("Y");
  6008. n.prototype.wc = function(a) {
  6009. this.N.disconnect();
  6010. this.N.connect(a);
  6011. this.M.disconnect();
  6012. this.M.connect(a)
  6013. };
  6014. n.prototype.remove = function() {
  6015. this.Y.disconnect();
  6016. this.Ge.disconnect();
  6017. this.N.disconnect();
  6018. this.M.disconnect()
  6019. };
  6020. n.prototype.nc = aa("Y");
  6021. q.prototype.wc = function(a) {
  6022. this.M.disconnect();
  6023. this.M.connect(a);
  6024. this.N.disconnect();
  6025. this.N.connect(a)
  6026. };
  6027. q.prototype.remove = function() {
  6028. this.Y.disconnect();
  6029. this.zc.disconnect();
  6030. this.pb.disconnect();
  6031. this.gc.disconnect();
  6032. this.M.disconnect();
  6033. this.N.disconnect();
  6034. this.Bi.disconnect()
  6035. };
  6036. q.prototype.nc = aa("Y");
  6037. p.prototype.wc = function(a) {
  6038. this.M.disconnect();
  6039. this.M.connect(a);
  6040. this.N.disconnect();
  6041. this.N.connect(a)
  6042. };
  6043. p.prototype.remove = function() {
  6044. this.Y.disconnect();
  6045. this.Oa.disconnect();
  6046. this.pb.disconnect();
  6047. this.gc.disconnect();
  6048. this.M.disconnect();
  6049. this.N.disconnect()
  6050. };
  6051. p.prototype.nc = aa("Y");
  6052. v.prototype.wc = function(a) {
  6053. this.ca.disconnect();
  6054. this.ca.connect(a)
  6055. };
  6056. v.prototype.remove = function() {
  6057. this.ca.disconnect()
  6058. };
  6059. v.prototype.nc = aa("ca");
  6060. u.prototype.wc = function(a) {
  6061. this.ca.disconnect();
  6062. this.ca.connect(a)
  6063. };
  6064. u.prototype.remove = function() {
  6065. this.pb.disconnect();
  6066. this.gc.disconnect();
  6067. this.ca.disconnect()
  6068. };
  6069. u.prototype.nc = aa("ca");
  6070. f.prototype.wc = function(a) {
  6071. this.N.disconnect();
  6072. this.N.connect(a);
  6073. this.M.disconnect();
  6074. this.M.connect(a)
  6075. };
  6076. f.prototype.remove = function() {
  6077. this.pb.disconnect();
  6078. this.rh.disconnect();
  6079. this.Y.disconnect();
  6080. this.N.disconnect();
  6081. this.M.disconnect()
  6082. };
  6083. f.prototype.nc = aa("Y");
  6084. x.prototype.Ft = function(a, b) {
  6085. 0.01 > a && (a = 0.01);
  6086. this.rj.gain.value = a;
  6087. this.qj.gain.value = Math.pow(1 / a, 0.6) *
  6088. b
  6089. };
  6090. x.prototype.shape = function(a, b, c) {
  6091. var d = 1.05 * c * b - b;
  6092. c = 0 > a ? -1 : 1;
  6093. a = 0 > a ? -a : a;
  6094. b = a < b ? a : b + d * (1 - Math.exp(-(1 / d) * (a - b)));
  6095. return b * c
  6096. };
  6097. x.prototype.Wr = function(a, b) {
  6098. for (var c = Math.pow(10, a / 20), d = Math.pow(10, b / 20), e = 0, f = 0; 32768 > f; ++f) e = f / 32768, e = this.shape(e, c, d), this.qi[32768 + f] = e, this.qi[32768 - f - 1] = -e
  6099. };
  6100. x.prototype.wc = function(a) {
  6101. this.N.disconnect();
  6102. this.N.connect(a);
  6103. this.M.disconnect();
  6104. this.M.connect(a)
  6105. };
  6106. x.prototype.remove = function() {
  6107. this.Y.disconnect();
  6108. this.rj.disconnect();
  6109. this.Xj.disconnect();
  6110. this.qj.disconnect();
  6111. this.N.disconnect();
  6112. this.M.disconnect()
  6113. };
  6114. x.prototype.nc = aa("Y");
  6115. m.prototype.wc = function(a) {
  6116. this.ca.disconnect();
  6117. this.ca.connect(a)
  6118. };
  6119. m.prototype.remove = function() {
  6120. this.ca.disconnect()
  6121. };
  6122. m.prototype.nc = aa("ca");
  6123. w.prototype.fb = function() {
  6124. this.ca.getFloatFrequencyData(this.Ur);
  6125. this.ca.getByteTimeDomainData(this.rp);
  6126. for (var a = this.ca.fftSize, b = 0, c = this.jh = 0, e = 0; b < a; b++) e = (this.rp[b] - 128) / 128, 0 > e && (e = -e), this.jh < e && (this.jh = e), c += e * e;
  6127. this.jh = d(this.jh);
  6128. d(Math.sqrt(c / a))
  6129. };
  6130. w.prototype.wc = function(a) {
  6131. this.ca.disconnect();
  6132. this.ca.connect(a)
  6133. };
  6134. w.prototype.remove = function() {
  6135. this.ca.disconnect()
  6136. };
  6137. w.prototype.nc = aa("ca");
  6138. l.prototype.uh = function(a) {
  6139. if (this.U = a) this.Ui = this.U.x, this.Vi = this.U.y;
  6140. this.se.length = 0
  6141. };
  6142. l.prototype.Ki = function() {
  6143. return !!this.U
  6144. };
  6145. l.prototype.fb = function(a) {
  6146. this.U && 0 !== a && (this.Il = Fa(this.Ui, this.Vi, this.U.x, this.U.y), a = Oa(this.Ui, this.Vi, this.U.x, this.U.y) / a, 4 > this.se.length || this.se.shift(), this.se.push(a), this.Ui = this.U.x, this.Vi = this.U.y)
  6147. };
  6148. l.prototype.Rn = function() {
  6149. if (!this.se.length) return 0;
  6150. var a,
  6151. b, c = 0;
  6152. a = 0;
  6153. for (b = this.se.length; a < b; a++) c += this.se[a];
  6154. return c / this.se.length
  6155. };
  6156. l.prototype.al = function() {
  6157. return Math.cos(this.Il) * this.Rn()
  6158. };
  6159. l.prototype.bl = function() {
  6160. return Math.sin(this.Il) * this.Rn()
  6161. };
  6162. var Dc = !1;
  6163. t.prototype.Wq = function() {
  6164. if (!this.Da && this.Xh) {
  6165. var a = this;
  6166. if (F.decodeAudioData) F.decodeAudioData(this.Xh, function(b) {
  6167. a.Da = b;
  6168. var c, d, e;
  6169. if (fa(a.mj) || La) fa(a.mi) || (c = a.mi.Ge, c.normalize = a.Go, c.buffer = b);
  6170. else if (a.Wf.length) {
  6171. c = 0;
  6172. for (d = a.Wf.length; c < d; c++) {
  6173. b = a.Wf[c];
  6174. e = new k(a, b.zp);
  6175. e.nm(!0);
  6176. if ("undefined" !==
  6177. typeof b.Io && (b.U = z.Cg(b.Io), !b.U)) continue;
  6178. if (b.U) {
  6179. var f = Ka(b.U.x, b.U.y, -b.U.q.kb(), Wa, Xa, !0),
  6180. g = Ka(b.U.x, b.U.y, -b.U.q.kb(), Wa, Xa, !1);
  6181. e.mm(f, g, Aa(b.U.n - b.U.q.kb()), b.fl, b.Ll, b.Ol);
  6182. e.uh(b.U)
  6183. } else e.mm(b.x, b.y, b.Aq, b.fl, b.Ll, b.Ol);
  6184. e.play(a.Dl, a.Gm, a.Cj);
  6185. a.kj && e.pause();
  6186. R.push(e)
  6187. }
  6188. a.Wf.length = 0
  6189. } else e = new k(a, a.mj), e.play(a.Dl, a.Gm, a.Cj), a.kj && e.pause(), R.push(e)
  6190. });
  6191. else if (this.Da = F.createBuffer(this.Xh, !1), fa(this.mj) || La) fa(this.mi) || (b = this.mi.Ge, b.normalize = this.Go, b.buffer = this.Da);
  6192. else {
  6193. var b = new k(this,
  6194. this.mj);
  6195. b.play(this.Dl, this.Gm, this.Cj);
  6196. this.kj && b.pause();
  6197. R.push(b)
  6198. }
  6199. }
  6200. };
  6201. k.prototype.Hg = function() {
  6202. switch (this.ta) {
  6203. case J:
  6204. return this.u.ended;
  6205. case C:
  6206. return this.buffer.ta === C ? !this.ee && !this.Kc && this.u.loop || this.Hd ? !1 : z.rc.aa - this.startTime > this.buffer.Da.duration : this.u.ended;
  6207. case D:
  6208. return this.Vl;
  6209. case P:
  6210. !0
  6211. }
  6212. return !0
  6213. };
  6214. k.prototype.Oq = function() {
  6215. return this.ee || this.Kc ? !0 : this.Hg()
  6216. };
  6217. k.prototype.nm = function(a) {
  6218. O === C && (!this.ld && a ? this.jb && (this.Ja || (this.Ja = F.createPanner(), this.Ja.panningModel = "number" ===
  6219. typeof this.Ja.panningModel ? Fb : ["equalpower", "HRTF", "soundfield"][Fb], this.Ja.distanceModel = "number" === typeof this.Ja.distanceModel ? Gb : ["linear", "inverse", "exponential"][Gb], this.Ja.refDistance = Ac, this.Ja.maxDistance = Bc, this.Ja.rolloffFactor = Cc), this.jb.disconnect(), this.jb.connect(this.Ja), this.Ja.connect(g(this.te)), this.ld = !0) : this.ld && !a && this.jb && (this.Ja.disconnect(), this.jb.disconnect(), this.jb.connect(g(this.te)), this.ld = !1))
  6220. };
  6221. k.prototype.mm = function(a, b, c, d, e, f) {
  6222. this.ld && O === C && (this.Ja.setPosition(a,
  6223. b, 0), this.Ja.setOrientation(Math.cos(E(c)), Math.sin(E(c)), 0), this.Ja.coneInnerAngle = d, this.Ja.coneOuterAngle = e, this.Ja.coneOuterGain = f, this.Uo = a, this.Vo = b, this.Qo = c, this.Ro = d, this.So = e, this.To = f)
  6224. };
  6225. k.prototype.uh = function(a) {
  6226. this.ld && O === C && (this.Ia || (this.Ia = new l), this.Ia.uh(a))
  6227. };
  6228. k.prototype.fb = function(a) {
  6229. if (this.ld && O === C && this.Ia && this.Ia.Ki() && this.Ff()) {
  6230. this.Ia.fb(a);
  6231. a = this.Ia.U;
  6232. var b = Ka(a.x, a.y, -a.q.kb(), Wa, Xa, !0),
  6233. c = Ka(a.x, a.y, -a.q.kb(), Wa, Xa, !1);
  6234. this.Ja.setPosition(b, c, 0);
  6235. b = 0;
  6236. "undefined" !==
  6237. typeof this.Ia.U.n && (b = a.n - a.q.kb(), this.Ja.setOrientation(Math.cos(b), Math.sin(b), 0));
  6238. b = Ka(this.Ia.al(), this.Ia.bl(), -a.q.kb(), 0, 0, !0);
  6239. c = Ka(this.Ia.al(), this.Ia.bl(), -a.q.kb(), 0, 0, !1);
  6240. this.Ja.setVelocity(b, c, 0)
  6241. }
  6242. };
  6243. k.prototype.play = function(b, c, d) {
  6244. var f = this.u;
  6245. this.Kd = b;
  6246. this.volume = c;
  6247. d = d || 0;
  6248. switch (this.ta) {
  6249. case J:
  6250. 1 !== f.playbackRate && (f.playbackRate = 1);
  6251. f.volume !== c * Ma && (f.volume = c * Ma);
  6252. f.loop !== b && (f.loop = b);
  6253. f.muted && (f.muted = !1);
  6254. if (f.currentTime !== d) try {
  6255. f.currentTime = d
  6256. } catch (g) {}
  6257. if (this.Vc && cb && !z.kd) db.push(this);
  6258. else try {
  6259. this.u.play()
  6260. } catch (k) {}
  6261. break;
  6262. case C:
  6263. this.muted = !1;
  6264. this.bh = 1;
  6265. if (this.buffer.ta === C) this.ee || (this.u = F.createBufferSource(), this.u.buffer = this.buffer.Da, this.u.connect(this.jb)), this.u.loop = b, this.jb.gain.value = c * Ma, 0 === d ? a(this.u) : e(this.u, d, this.Oe());
  6266. else {
  6267. 1 !== f.playbackRate && (f.playbackRate = 1);
  6268. f.loop !== b && (f.loop = b);
  6269. this.jb.gain.value = c * Ma;
  6270. if (f.currentTime !== d) try {
  6271. f.currentTime = d
  6272. } catch (l) {}
  6273. this.Vc && cb && !z.kd ? db.push(this) : f.play()
  6274. }
  6275. break;
  6276. case D:
  6277. (!this.ee && this.Kc || 0 !== d) && f.seekTo(d);
  6278. f.play();
  6279. this.Vl = !1;
  6280. break;
  6281. case P:
  6282. z.Qb ? AppMobi.context.playSound(this.src, b) : AppMobi.player.playSound(this.src, b)
  6283. }
  6284. this.playbackRate = 1;
  6285. this.startTime = z.rc.aa - d;
  6286. this.Hd = this.Kc = this.ee = !1
  6287. };
  6288. k.prototype.stop = function() {
  6289. switch (this.ta) {
  6290. case J:
  6291. this.u.paused || this.u.pause();
  6292. break;
  6293. case C:
  6294. this.buffer.ta === C ? h(this.u) : this.u.paused || this.u.pause();
  6295. break;
  6296. case D:
  6297. this.u.stop();
  6298. break;
  6299. case P:
  6300. z.Qb && AppMobi.context.stopSound(this.src)
  6301. }
  6302. this.Kc = !0;
  6303. this.Hd = !1
  6304. };
  6305. k.prototype.pause = function() {
  6306. if (!(this.ee || this.Kc || this.Hg() || this.Hd)) {
  6307. switch (this.ta) {
  6308. case J:
  6309. this.u.paused ||
  6310. this.u.pause();
  6311. break;
  6312. case C:
  6313. this.buffer.ta === C ? (this.ad = this.Zk(), this.Kd && (this.ad %= this.Oe()), h(this.u)) : this.u.paused || this.u.pause();
  6314. break;
  6315. case D:
  6316. this.u.pause();
  6317. break;
  6318. case P:
  6319. z.Qb && AppMobi.context.stopSound(this.src)
  6320. }
  6321. this.Hd = !0
  6322. }
  6323. };
  6324. k.prototype.ot = function(a) {
  6325. this.ta === C && (this.ld ? (this.Ja.disconnect(), this.Ja.connect(a)) : (this.jb.disconnect(), this.jb.connect(a)))
  6326. };
  6327. k.prototype.Oe = function() {
  6328. switch (this.ta) {
  6329. case J:
  6330. if ("undefined" !== typeof this.u.duration) return this.u.duration;
  6331. break;
  6332. case C:
  6333. return this.buffer.Da.duration;
  6334. case D:
  6335. return this.u.getDuration();
  6336. case P:
  6337. if (z.Qb) return AppMobi.context.getDurationSound(this.src)
  6338. }
  6339. return 0
  6340. };
  6341. k.prototype.Zk = function() {
  6342. var a = this.Oe(),
  6343. b = 0;
  6344. switch (this.ta) {
  6345. case J:
  6346. "undefined" !== typeof this.u.currentTime && (b = this.u.currentTime);
  6347. break;
  6348. case C:
  6349. if (this.buffer.ta === C) {
  6350. if (this.Hd) return this.ad;
  6351. b = z.rc.aa - this.startTime
  6352. } else "undefined" !== typeof this.u.currentTime && (b = this.u.currentTime);
  6353. break;
  6354. case P:
  6355. z.Qb && (b = AppMobi.context.getPlaybackTimeSound(this.src))
  6356. }!this.Kd && b > a && (b = a);
  6357. return b
  6358. };
  6359. k.prototype.Ff =
  6360. function() {
  6361. return !this.Hd && !this.ee && !this.Kc && !this.Hg()
  6362. };
  6363. k.prototype.Vt = function() {
  6364. var a = this.volume * Ma;
  6365. switch (this.ta) {
  6366. case J:
  6367. this.u.volume && this.u.volume !== a && (this.u.volume = a);
  6368. break;
  6369. case C:
  6370. this.jb.gain.value = a * this.bh
  6371. }
  6372. };
  6373. k.prototype.vi = function(a) {
  6374. switch (this.ta) {
  6375. case J:
  6376. this.u.muted !== !!a && (this.u.muted = !!a);
  6377. break;
  6378. case C:
  6379. this.bh = a ? 0 : 1, this.jb.gain.value = Ma * this.volume * this.bh
  6380. }
  6381. };
  6382. k.prototype.Ht = function() {
  6383. this.If = !0;
  6384. this.vi(this.If || this.Og)
  6385. };
  6386. k.prototype.lp = function(a) {
  6387. this.Og = !!a;
  6388. this.vi(this.If ||
  6389. this.Og)
  6390. };
  6391. k.prototype.Kp = function() {
  6392. var a = this.playbackRate;
  6393. if (1 === rb && !this.Vc || 2 === rb) a *= z.cg;
  6394. switch (this.ta) {
  6395. case J:
  6396. this.u.playbackRate !== a && (this.u.playbackRate = a);
  6397. break;
  6398. case C:
  6399. this.buffer.ta === C ? this.u.playbackRate.value !== a && (this.u.playbackRate.value = a) : this.u.playbackRate !== a && (this.u.playbackRate = a)
  6400. }
  6401. };
  6402. k.prototype.Jt = function(a) {
  6403. switch (this.ta) {
  6404. case J:
  6405. a ? this.Ff() ? (this.u.pause(), this.Md = !0) : this.Md = !1 : this.Md && this.u.play();
  6406. break;
  6407. case C:
  6408. a ? this.Ff() ? (this.buffer.ta === C ? (this.ad = this.Zk(), this.Kd &&
  6409. (this.ad %= this.Oe()), h(this.u)) : this.u.pause(), this.Md = !0) : this.Md = !1 : this.Md && (this.buffer.ta === C ? (this.u = F.createBufferSource(), this.u.buffer = this.buffer.Da, this.u.connect(this.jb), this.u.loop = this.Kd, this.jb.gain.value = Ma * this.volume * this.bh, this.startTime = z.rc.aa - this.ad, e(this.u, this.ad, this.Oe())) : this.u.play());
  6410. break;
  6411. case D:
  6412. a ? this.Ff() ? (this.u.pause(), this.Md = !0) : this.Md = !1 : this.Md && this.u.play()
  6413. }
  6414. };
  6415. K.ya = function(b) {
  6416. this.type = b;
  6417. z = this.b = b.b;
  6418. M = this;
  6419. this.Ib = null;
  6420. this.Ug = -600;
  6421. !(this.b.Ti || this.b.Oi &&
  6422. (this.b.Lg || this.b.co)) || this.b.Pi || this.b.lb || (cb = !0);
  6423. F = null;
  6424. "undefined" !== typeof AudioContext ? (O = C, F = new AudioContext) : "undefined" !== typeof webkitAudioContext && (O = C, F = new webkitAudioContext);
  6425. (this.b.Ti && O === C || cb) && document.addEventListener("touchstart", function() {
  6426. var b, c, d;
  6427. !Dc && F && (b = F.createBuffer(1, 1, 22050), c = F.createBufferSource(), c.buffer = b, c.connect(F.destination), a(c), Dc = !0);
  6428. if (cb) {
  6429. if (!La)
  6430. for (b = 0, c = db.length; b < c; ++b) d = db[b], d.Kc || d.Hd || d.u.play();
  6431. db.length = 0
  6432. }
  6433. }, !0);
  6434. O !== C && (this.b.Uc && "undefined" !==
  6435. typeof window.Media ? O = D : this.b.Ef && (O = P));
  6436. O === D && (L = location.href, b = L.lastIndexOf("/"), -1 < b && (L = L.substr(0, b + 1)), L = L.replace("file://", ""));
  6437. if (this.b.fo && this.b.Ks && "undefined" === typeof Audio) alert("It looks like you're using Safari for Windows without Quicktime. Audio cannot be played until Quicktime is installed."), this.b.Qd(this);
  6438. else {
  6439. if (this.b.Qb) qb = this.b.Oi;
  6440. else try {
  6441. qb = !!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')
  6442. } catch (c) {
  6443. qb = !1
  6444. }
  6445. this.b.wm(this)
  6446. }
  6447. };
  6448. var Na = K.ya.prototype;
  6449. Na.da = function() {
  6450. rb =
  6451. this.D[0];
  6452. this.Nd = this.D[1];
  6453. Fb = this.D[2];
  6454. Gb = this.D[3];
  6455. this.Ug = -this.D[4];
  6456. Ac = this.D[5];
  6457. Bc = this.D[6];
  6458. Cc = this.D[7];
  6459. this.Ib = new l;
  6460. O === C && (F.listener.speedOfSound = this.D[8], F.listener.dopplerFactor = this.D[9], F.listener.setPosition(this.b.W / 2, this.b.V / 2, this.Ug), F.listener.setOrientation(0, 0, 1, 0, -1, 0), window.c2OnAudioMicStream = function(a, b) {
  6461. Ua && Ua.disconnect();
  6462. Eb = b.toLowerCase();
  6463. Ua = F.createMediaStreamSource(a);
  6464. Ua.connect(g(Eb))
  6465. });
  6466. this.b.Fq(function(a) {
  6467. M.ct(a)
  6468. });
  6469. var a = this;
  6470. this.b.pk(function(b) {
  6471. a.Pl(b)
  6472. })
  6473. };
  6474. Na.Pl = function(a) {
  6475. var b, c, d;
  6476. b = 0;
  6477. for (c = R.length; b < c; b++) d = R[b], d.Ia && d.Ia.U === a && (d.Ia.U = null, d.ld && d.Ff() && d.Kd && d.stop());
  6478. this.Ib.U === a && (this.Ib.U = null)
  6479. };
  6480. Na.Bb = function() {
  6481. var a = {
  6482. silent: La,
  6483. masterVolume: Ma,
  6484. listenerZ: this.Ug,
  6485. listenerUid: this.Ib.Ki() ? this.Ib.U.uid : -1,
  6486. playing: [],
  6487. effects: {}
  6488. },
  6489. b = a.playing,
  6490. c, d, e, f, g, k;
  6491. c = 0;
  6492. for (d = R.length; c < d; c++) e = R[c], !e.Ff() || 3 === this.Nd || e.Vc && 1 === this.Nd || !e.Vc && 2 === this.Nd || (f = e.Zk(), e.Kd && (f %= e.Oe()), f = {
  6493. tag: e.te,
  6494. buffersrc: e.buffer.src,
  6495. is_music: e.Vc,
  6496. playbackTime: f,
  6497. volume: e.volume,
  6498. looping: e.Kd,
  6499. muted: e.If,
  6500. playbackRate: e.playbackRate,
  6501. paused: e.Hd,
  6502. resume_position: e.ad
  6503. }, e.ld && (f.pan = {}, k = f.pan, e.Ia && e.Ia.Ki() ? k.objUid = e.Ia.U.uid : (k.x = e.Uo, k.y = e.Vo, k.a = e.Qo), k.ia = e.Ro, k.oa = e.So, k.og = e.To), b.push(f));
  6504. b = a.effects;
  6505. for (g in X)
  6506. if (X.hasOwnProperty(g)) {
  6507. e = [];
  6508. c = 0;
  6509. for (d = X[g].length; c < d; c++) e.push({
  6510. type: X[g][c].type,
  6511. params: X[g][c].Yc
  6512. });
  6513. b[g] = e
  6514. }
  6515. return a
  6516. };
  6517. var eb = [];
  6518. Na.Rb = function(a) {
  6519. var b = a.silent;
  6520. Ma = a.masterVolume;
  6521. this.Ug = a.listenerZ;
  6522. this.Ib.uh(null);
  6523. var c = a.listenerUid; - 1 !== c && (this.Ib.aj = c,
  6524. eb.push(this.Ib));
  6525. var c = a.playing,
  6526. d, e, g, k, h, t, H, K, G, y, z;
  6527. if (3 !== this.Nd)
  6528. for (d = 0, e = R.length; d < e; d++) G = R[d], G.Vc && 1 === this.Nd || (G.Vc || 2 !== this.Nd) && G.stop();
  6529. for (h in X)
  6530. if (X.hasOwnProperty(h))
  6531. for (d = 0, e = X[h].length; d < e; d++) X[h][d].remove();
  6532. Ra(X);
  6533. for (h in a.effects)
  6534. if (a.effects.hasOwnProperty(h))
  6535. for (t = a.effects[h], d = 0, e = t.length; d < e; d++) switch (g = t[d].type, y = t[d].params, g) {
  6536. case "filter":
  6537. I(h, new s(y[0], y[1], y[2], y[3], y[4], y[5]));
  6538. break;
  6539. case "delay":
  6540. I(h, new r(y[0], y[1], y[2]));
  6541. break;
  6542. case "convolve":
  6543. g = y[2];
  6544. G =
  6545. this.Tk(g, !1);
  6546. G.Da ? g = new n(G.Da, y[0], y[1], g) : (g = new n(null, y[0], y[1], g), G.Go = y[0], G.mi = g);
  6547. I(h, g);
  6548. break;
  6549. case "flanger":
  6550. I(h, new q(y[0], y[1], y[2], y[3], y[4]));
  6551. break;
  6552. case "phaser":
  6553. I(h, new p(y[0], y[1], y[2], y[3], y[4], y[5]));
  6554. break;
  6555. case "gain":
  6556. I(h, new v(y[0]));
  6557. break;
  6558. case "tremolo":
  6559. I(h, new u(y[0], y[1]));
  6560. break;
  6561. case "ringmod":
  6562. I(h, new f(y[0], y[1]));
  6563. break;
  6564. case "distortion":
  6565. I(h, new x(y[0], y[1], y[2], y[3], y[4]));
  6566. break;
  6567. case "compressor":
  6568. I(h, new m(y[0], y[1], y[2], y[3], y[4]));
  6569. break;
  6570. case "analyser":
  6571. I(h, new w(y[0], y[1]))
  6572. }
  6573. d =
  6574. 0;
  6575. for (e = c.length; d < e; d++) 3 === this.Nd || (a = c[d], g = a.buffersrc, k = a.is_music, h = a.tag, t = a.playbackTime, H = a.looping, K = a.volume, z = (y = a.pan) && y.hasOwnProperty("objUid") ? y.objUid : -1, k && 1 === this.Nd) || !k && 2 === this.Nd || ((G = this.Jn(g, h, k, H, K)) ? (G.ad = a.resume_position, G.nm(!!y), G.play(H, K, t), G.Kp(), G.Vt(), G.vi(G.If || G.Og), a.paused && G.pause(), a.muted && G.Ht(), G.vi(G.If || G.Og), y && (-1 !== z ? (G.Ia = G.Ia || new l, G.Ia.aj = z, eb.push(G.Ia)) : G.mm(y.x, y.y, y.a, y.ia, y.oa, y.og))) : (G = this.Tk(g, k), G.Cj = t, G.kj = a.paused, y && (-1 !== z ? G.Wf.push({
  6576. Io: z,
  6577. fl: y.ia,
  6578. Ll: y.oa,
  6579. Ol: y.og,
  6580. zp: h
  6581. }) : G.Wf.push({
  6582. x: y.x,
  6583. y: y.y,
  6584. Aq: y.a,
  6585. fl: y.ia,
  6586. Ll: y.oa,
  6587. Ol: y.og,
  6588. zp: h
  6589. }))));
  6590. if (b && !La) {
  6591. d = 0;
  6592. for (e = R.length; d < e; d++) R[d].lp(!0);
  6593. La = !0
  6594. } else if (!b && La) {
  6595. d = 0;
  6596. for (e = R.length; d < e; d++) R[d].lp(!1);
  6597. La = !1
  6598. }
  6599. };
  6600. Na.ed = function() {
  6601. var a, b, c, d;
  6602. a = 0;
  6603. for (b = eb.length; a < b; a++) c = eb[a], d = this.b.Cg(c.aj), c.uh(d), c.aj = -1, d && (Wa = d.x, Xa = d.y);
  6604. eb.length = 0
  6605. };
  6606. Na.ct = function(a) {
  6607. var b, c;
  6608. b = 0;
  6609. for (c = R.length; b < c; b++) R[b].Jt(a)
  6610. };
  6611. Na.fb = function() {
  6612. var a = this.b.Je,
  6613. b, c, d;
  6614. b = 0;
  6615. for (c = R.length; b < c; b++) d = R[b], d.fb(a), d.ta === J ||
  6616. d.ta === P || d.ee || d.Kc || !d.Hg() || (d.Kc = !0, N = d.te, z.trigger(kc.prototype.p.dk, M)), 0 !== rb && d.Kp();
  6617. var e, f;
  6618. for (e in X)
  6619. if (X.hasOwnProperty(e))
  6620. for (d = X[e], b = 0, c = d.length; b < c; b++) f = d[b], f.fb && f.fb();
  6621. O === C && this.Ib.Ki() && (this.Ib.fb(a), Wa = this.Ib.U.x, Xa = this.Ib.U.y, F.listener.setPosition(this.Ib.U.x, this.Ib.U.y, this.Ug), F.listener.setVelocity(this.Ib.al(), this.Ib.bl(), 0))
  6622. };
  6623. Na.Tk = function(a, b) {
  6624. var c, d, e, f = null;
  6625. c = 0;
  6626. for (d = W.length; c < d; c++)
  6627. if (e = W[c], e.src === a) {
  6628. f = e;
  6629. break
  6630. }
  6631. f || (f = new t(a, b), W.push(f));
  6632. return f
  6633. };
  6634. Na.Jn =
  6635. function(a, b, c, d, e) {
  6636. var f, g, l;
  6637. f = 0;
  6638. for (g = R.length; f < g; f++)
  6639. if (l = R[f], l.src === a && (l.Oq() || c)) return l.te = b, l;
  6640. a = this.Tk(a, c);
  6641. if (!a.Da) return "<preload>" !== b && (a.mj = b, a.Dl = d, a.Gm = e), null;
  6642. l = new k(a, b);
  6643. R.push(l);
  6644. return l
  6645. };
  6646. var Ga = [];
  6647. G.prototype.dk = function(a) {
  6648. return gb(N, a)
  6649. };
  6650. K.p = new G;
  6651. ba.prototype.Play = function(a, b, c, d) {
  6652. !La && (c = Math.pow(10, c / 20), 0 > c && (c = 0), 1 < c && (c = 1), Va = this.Jn(this.b.Fn + a[0] + (qb ? ".ogg" : ".m4a"), d, a[1], 0 !== b, c)) && (Va.nm(!1), Va.play(0 !== b, c))
  6653. };
  6654. ba.prototype.Qh = function(a) {
  6655. H(a);
  6656. var b;
  6657. a = 0;
  6658. for (b =
  6659. Ga.length; a < b; a++) Ga[a].stop()
  6660. };
  6661. K.k = new ba;
  6662. y.prototype.Lm = function(a, b) {
  6663. H(b);
  6664. Ga.length ? a.F(Ga[0].Oe()) : a.F(0)
  6665. };
  6666. K.J = new y
  6667. })();
  6668. function S(d) {
  6669. this.b = d
  6670. }
  6671. (function() {
  6672. function d() {
  6673. if (0 === this.Gk.length) {
  6674. var a = document.createElement("canvas");
  6675. a.width = this.width;
  6676. a.height = this.height;
  6677. var b = a.getContext("2d");
  6678. this.$f ? b.drawImage(this.H, this.Tf, this.Uf, this.width, this.height, 0, 0, this.width, this.height) : b.drawImage(this.H, 0, 0, this.width, this.height);
  6679. this.Gk = a.toDataURL("image/png")
  6680. }
  6681. return this.Gk
  6682. }
  6683. function g() {}
  6684. function b(a) {
  6685. a[0] = 0;
  6686. a[1] = 0;
  6687. a[2] = 0;
  6688. u.push(a)
  6689. }
  6690. function c(a, b) {
  6691. return a < b ? "" + a + "," + b : "" + b + "," + a
  6692. }
  6693. function a(a, b, d, e) {
  6694. b = b.uid;
  6695. d = d.uid;
  6696. var f = c(b, d);
  6697. if (a.hasOwnProperty(f)) a[f][2] =
  6698. e;
  6699. else {
  6700. var g = u.length ? u.pop() : [0, 0, 0];
  6701. g[0] = b;
  6702. g[1] = d;
  6703. g[2] = e;
  6704. a[f] = g
  6705. }
  6706. }
  6707. function e(a, d, e) {
  6708. d = c(d.uid, e.uid);
  6709. a.hasOwnProperty(d) && (b(a[d]), delete a[d])
  6710. }
  6711. function h(a, b, d) {
  6712. b = c(b.uid, d.uid);
  6713. if (a.hasOwnProperty(b)) return f = a[b][2], !0;
  6714. f = -2;
  6715. return !1
  6716. }
  6717. function s() {}
  6718. function r() {}
  6719. var n = S.prototype;
  6720. n.Fa = function(a) {
  6721. this.Ea = a;
  6722. this.b = a.b
  6723. };
  6724. var q = n.Fa.prototype;
  6725. q.da = function() {
  6726. if (!this.K) {
  6727. var a, b, c, e, f, g, h, p, m;
  6728. this.Qc = [];
  6729. this.Li = !1;
  6730. a = 0;
  6731. for (b = this.Vb.length; a < b; a++) {
  6732. f = this.Vb[a];
  6733. h = {};
  6734. h.name = f[0];
  6735. h.speed = f[1];
  6736. h.loop = f[2];
  6737. h.em = f[3];
  6738. h.zj = f[4];
  6739. h.ef = f[5];
  6740. h.X = f[6];
  6741. h.frames = [];
  6742. c = 0;
  6743. for (e = f[7].length; c < e; c++) g = f[7][c], p = {}, p.Lj = g[0], p.vm = g[1], p.Tf = g[2], p.Uf = g[3], p.width = g[4], p.height = g[5], p.duration = g[6], p.Eb = g[7], p.Fb = g[8], p.gl = g[9], p.oj = g[10], p.Yo = g[11], p.$f = 0 !== p.width, p.Gk = "", p.sv = d, m = {
  6744. left: 0,
  6745. top: 0,
  6746. right: 1,
  6747. bottom: 1
  6748. }, p.pm = m, p.P = null, (m = this.b.Tr(g[0])) ? p.H = m : (p.H = new Image, p.H.idtkLoadDisposed = !0, p.H.src = g[0], p.H.Tq = g[0], p.H.sn = g[1], p.H.Mq = null, this.b.Hm(p.H)), h.frames.push(p), this.Qc.push(p);
  6749. this.Vb[a] = h
  6750. }
  6751. }
  6752. };
  6753. q.Ut = function() {
  6754. var a,
  6755. b, c;
  6756. a = 0;
  6757. for (b = this.i.length; a < b; a++) c = this.i[a], c.pi = c.xc.P
  6758. };
  6759. q.fj = function() {
  6760. if (!this.K) {
  6761. var a, b, c;
  6762. a = 0;
  6763. for (b = this.Qc.length; a < b; ++a) c = this.Qc[a], c.H.Mq = null, c.P = null
  6764. }
  6765. };
  6766. q.hj = function() {
  6767. if (!this.K && this.i.length) {
  6768. var a, b, c;
  6769. a = 0;
  6770. for (b = this.Qc.length; a < b; ++a) c = this.Qc[a], c.P = this.b.C.Lf(c.H, !1, this.b.ba, c.Yo);
  6771. this.Ut()
  6772. }
  6773. };
  6774. q.yl = function() {
  6775. if (!this.K && !this.Li && this.b.C) {
  6776. var a, b, c;
  6777. a = 0;
  6778. for (b = this.Qc.length; a < b; ++a) c = this.Qc[a], c.P = this.b.C.Lf(c.H, !1, this.b.ba, c.Yo);
  6779. this.Li = !0
  6780. }
  6781. };
  6782. q.Uj = function() {
  6783. if (!this.K &&
  6784. !this.i.length && this.Li) {
  6785. var a, b, c;
  6786. a = 0;
  6787. for (b = this.Qc.length; a < b; ++a) c = this.Qc[a], this.b.C.deleteTexture(c.P), c.P = null;
  6788. this.Li = !1
  6789. }
  6790. };
  6791. var p = [];
  6792. q.sj = function(a) {
  6793. var b, c, d;
  6794. b = p.length = 0;
  6795. for (c = this.Qc.length; b < c; ++b) d = this.Qc[b].H, -1 === p.indexOf(d) && (a.drawImage(d, 0, 0), p.push(d))
  6796. };
  6797. n.ya = function(a) {
  6798. this.type = a;
  6799. this.b = a.b;
  6800. a = this.type.Vb[0].frames[0].oj;
  6801. this.uc ? this.ja.wh(a) : this.ja = new Za(a)
  6802. };
  6803. var v = n.ya.prototype;
  6804. v.da = function() {
  6805. this.visible = 0 === this.D[0];
  6806. this.hl = this.ol = !1;
  6807. this.xd = 0 !== this.D[3];
  6808. 1 === this.type.Vb.length &&
  6809. 1 === this.type.Vb[0].frames.length || 0 === this.type.Vb[0].speed || (this.b.wm(this), this.ol = !0);
  6810. this.Ga = this.In(this.D[1]) || this.type.Vb[0];
  6811. this.G = this.D[2];
  6812. 0 > this.G && (this.G = 0);
  6813. this.G >= this.Ga.frames.length && (this.G = this.Ga.frames.length - 1);
  6814. var a = this.Ga.frames[this.G];
  6815. this.ja.wh(a.oj);
  6816. this.Eb = a.Eb;
  6817. this.Fb = a.Fb;
  6818. this.sg = this.Ga.speed;
  6819. this.uc ? this.fd.reset() : this.fd = new Ta;
  6820. this.Dd = this.fd.aa;
  6821. this.De = !0;
  6822. this.vd = 0;
  6823. this.Ce = !0;
  6824. this.yk = this.hn = "";
  6825. this.Rq = 0;
  6826. this.ei = -1;
  6827. this.type.yl();
  6828. var b, c, d, e, f, g, h, a = 0;
  6829. for (b =
  6830. this.type.Vb.length; a < b; a++)
  6831. for (e = this.type.Vb[a], c = 0, d = e.frames.length; c < d; c++) f = e.frames[c], 0 === f.width && (f.width = f.H.width, f.height = f.H.height), f.$f && (h = f.H, g = f.pm, g.left = f.Tf / h.width, g.top = f.Uf / h.height, g.right = (f.Tf + f.width) / h.width, g.bottom = (f.Uf + f.height) / h.height, 0 === f.Tf && 0 === f.Uf && f.width === h.width && f.height === h.height && (f.$f = !1));
  6832. this.xc = this.Ga.frames[this.G];
  6833. this.pi = this.xc.P
  6834. };
  6835. v.Bb = function() {
  6836. var a = {
  6837. a: this.Ga.X,
  6838. f: this.G,
  6839. cas: this.sg,
  6840. fs: this.Dd,
  6841. ar: this.vd,
  6842. at: this.fd.aa
  6843. };
  6844. this.De || (a.ap =
  6845. this.De);
  6846. this.Ce || (a.af = this.Ce);
  6847. return a
  6848. };
  6849. v.Rb = function(a) {
  6850. var b = this.Xr(a.a);
  6851. b && (this.Ga = b);
  6852. this.G = a.f;
  6853. 0 > this.G && (this.G = 0);
  6854. this.G >= this.Ga.frames.length && (this.G = this.Ga.frames.length - 1);
  6855. this.sg = a.cas;
  6856. this.Dd = a.fs;
  6857. this.vd = a.ar;
  6858. this.fd.reset();
  6859. this.fd.aa = a.at;
  6860. this.De = a.hasOwnProperty("ap") ? a.ap : !0;
  6861. this.Ce = a.hasOwnProperty("af") ? a.af : !0;
  6862. this.xc = this.Ga.frames[this.G];
  6863. this.pi = this.xc.P;
  6864. this.ja.wh(this.xc.oj);
  6865. this.Eb = this.xc.Eb;
  6866. this.Fb = this.xc.Fb
  6867. };
  6868. v.tk = function(a) {
  6869. this.G = a ? 0 : this.Ga.frames.length -
  6870. 1;
  6871. this.De = !1;
  6872. this.hn = this.Ga.name;
  6873. this.hl = !0;
  6874. this.b.trigger(S.prototype.p.Zp, this);
  6875. this.b.trigger(S.prototype.p.Yp, this);
  6876. this.hl = !1;
  6877. this.vd = 0
  6878. };
  6879. v.uv = function() {
  6880. return this.fd.aa
  6881. };
  6882. v.fb = function() {
  6883. this.fd.add(this.b.Af(this));
  6884. this.yk.length && this.Zq();
  6885. 0 <= this.ei && this.xn();
  6886. var a = this.fd.aa,
  6887. b = this.Ga,
  6888. c = b.frames[this.G],
  6889. d = c.duration / this.sg;
  6890. this.De && a >= this.Dd + d && (this.Ce ? this.G++ : this.G--, this.Dd += d, this.G >= b.frames.length && (b.ef ? (this.Ce = !1, this.G = b.frames.length - 2) : b.loop ? this.G = b.zj : (this.vd++, this.vd >=
  6891. b.em ? this.tk(!1) : this.G = b.zj)), 0 > this.G && (b.ef ? (this.G = 1, this.Ce = !0, b.loop || (this.vd++, this.vd >= b.em && this.tk(!0))) : b.loop ? this.G = b.zj : (this.vd++, this.vd >= b.em ? this.tk(!0) : this.G = b.zj)), 0 > this.G ? this.G = 0 : this.G >= b.frames.length && (this.G = b.frames.length - 1), a > this.Dd + b.frames[this.G].duration / this.sg && (this.Dd = a), a = b.frames[this.G], this.tf(c, a), this.b.ha = !0)
  6892. };
  6893. v.In = function(a) {
  6894. var b, c, d;
  6895. b = 0;
  6896. for (c = this.type.Vb.length; b < c; b++)
  6897. if (d = this.type.Vb[b], gb(d.name, a)) return d;
  6898. return null
  6899. };
  6900. v.Xr = function(a) {
  6901. var b,
  6902. c, d;
  6903. b = 0;
  6904. for (c = this.type.Vb.length; b < c; b++)
  6905. if (d = this.type.Vb[b], d.X === a) return d;
  6906. return null
  6907. };
  6908. v.Zq = function() {
  6909. var a = this.Ga.frames[this.G],
  6910. b = this.In(this.yk);
  6911. this.yk = "";
  6912. !b || gb(b.name, this.Ga.name) && this.De || (this.Ga = b, this.sg = b.speed, 0 > this.G && (this.G = 0), this.G >= this.Ga.frames.length && (this.G = this.Ga.frames.length - 1), 1 === this.Rq && (this.G = 0), this.De = !0, this.Dd = this.fd.aa, this.Ce = !0, this.tf(a, this.Ga.frames[this.G]), this.b.ha = !0)
  6913. };
  6914. v.xn = function() {
  6915. var a = this.Ga.frames[this.G],
  6916. b = this.G;
  6917. this.G = pa(this.ei);
  6918. 0 > this.G && (this.G = 0);
  6919. this.G >= this.Ga.frames.length && (this.G = this.Ga.frames.length - 1);
  6920. b !== this.G && (this.tf(a, this.Ga.frames[this.G]), this.Dd = this.fd.aa, this.b.ha = !0);
  6921. this.ei = -1
  6922. };
  6923. v.tf = function(a, b) {
  6924. var c = a.width,
  6925. d = a.height,
  6926. e = b.width,
  6927. f = b.height;
  6928. c != e && (this.width *= e / c);
  6929. d != f && (this.height *= f / d);
  6930. this.Eb = b.Eb;
  6931. this.Fb = b.Fb;
  6932. this.ja.wh(b.oj);
  6933. this.ea();
  6934. this.xc = b;
  6935. this.pi = b.P;
  6936. c = 0;
  6937. for (d = this.S.length; c < d; c++) e = this.S[c], e.bt && e.bt(a, b);
  6938. this.b.trigger(S.prototype.p.tf, this)
  6939. };
  6940. v.Ad = function(a) {
  6941. a.globalAlpha = this.opacity;
  6942. var b = this.xc,
  6943. c = b.$f,
  6944. d = b.H,
  6945. e = this.x,
  6946. f = this.y,
  6947. g = this.width,
  6948. h = this.height;
  6949. if (0 === this.n && 0 <= g && 0 <= h) e -= this.Eb * g, f -= this.Fb * h, this.b.md && (e = e + 0.5 | 0, f = f + 0.5 | 0), c ? a.drawImage(d, b.Tf, b.Uf, b.width, b.height, e, f, g, h) : a.drawImage(d, e, f, g, h);
  6950. else {
  6951. this.b.md && (e = e + 0.5 | 0, f = f + 0.5 | 0);
  6952. a.save();
  6953. var p = 0 < g ? 1 : -1,
  6954. m = 0 < h ? 1 : -1;
  6955. a.translate(e, f);
  6956. 1 === p && 1 === m || a.scale(p, m);
  6957. a.rotate(this.n * p * m);
  6958. e = 0 - this.Eb * ka(g);
  6959. f = 0 - this.Fb * ka(h);
  6960. c ? a.drawImage(d, b.Tf, b.Uf, b.width, b.height, e, f, ka(g), ka(h)) : a.drawImage(d, e, f, ka(g), ka(h));
  6961. a.restore()
  6962. }
  6963. };
  6964. v.Ac = function(a) {
  6965. a.hc(this.pi);
  6966. a.gf(this.opacity);
  6967. var b = this.xc,
  6968. c = this.Wb;
  6969. if (this.b.md) {
  6970. var d = (this.x + 0.5 | 0) - this.x,
  6971. e = (this.y + 0.5 | 0) - this.y;
  6972. b.$f ? a.nd(c.Aa + d, c.Ba + e, c.gb + d, c.hb + e, c.Ua + d, c.Va + e, c.Sa + d, c.Ta + e, b.pm) : a.wj(c.Aa + d, c.Ba + e, c.gb + d, c.hb + e, c.Ua + d, c.Va + e, c.Sa + d, c.Ta + e)
  6973. } else b.$f ? a.nd(c.Aa, c.Ba, c.gb, c.hb, c.Ua, c.Va, c.Sa, c.Ta, b.pm) : a.wj(c.Aa, c.Ba, c.gb, c.hb, c.Ua, c.Va, c.Sa, c.Ta)
  6974. };
  6975. v.$r = function(a) {
  6976. var b = this.xc,
  6977. c, d;
  6978. c = 0;
  6979. for (d = b.gl.length; c < d; c++)
  6980. if (gb(a, b.gl[c][0])) return c;
  6981. return -1
  6982. };
  6983. v.Gi = function(a,
  6984. b) {
  6985. var c = this.xc,
  6986. d = c.gl,
  6987. e;
  6988. e = ha(a) ? this.$r(a) : a - 1;
  6989. e = pa(e);
  6990. if (0 > e || e >= d.length) return b ? this.x : this.y;
  6991. var f = (d[e][1] - c.Eb) * this.width,
  6992. d = d[e][2],
  6993. d = (d - c.Fb) * this.height,
  6994. c = Math.cos(this.n);
  6995. e = Math.sin(this.n);
  6996. var g = f * c - d * e,
  6997. d = d * c + f * e,
  6998. f = g + this.x,
  6999. d = d + this.y;
  7000. return b ? f : d
  7001. };
  7002. var u = [],
  7003. f = -2,
  7004. x = [];
  7005. g.prototype.aq = function(c) {
  7006. if (!c) return !1;
  7007. var d = this.b,
  7008. g = d.Fi(),
  7009. p = g.type;
  7010. g.T.Ak || (g.T.Ak = {}, d.pk(function(a) {
  7011. return function(c) {
  7012. c = c.uid;
  7013. var d, e;
  7014. for (d in a) a.hasOwnProperty(d) && (e = a[d], e[0] === c || e[1] === c) && (b(a[d]), delete a[d])
  7015. }
  7016. }(g.T.Ak)));
  7017. var g = g.T.Ak,
  7018. m = p.ga(),
  7019. n = c.ga(),
  7020. m = m.Cc(),
  7021. q, r, s, v, u, w, L, J = this.b.nf,
  7022. C = J - 1,
  7023. D = d.Ab().$b;
  7024. for (r = 0; r < m.length; r++) {
  7025. s = m[r];
  7026. n.qa ? (s.La(), this.b.Kn(s.q, c, s.Ra, x), q = x) : q = n.Cc();
  7027. for (v = 0; v < q.length; v++) u = q[v], d.kf(s, u) || d.Sq(s, u) ? (w = h(g, s, u), w = !w || f < C, a(g, s, u, J), w && (d.uj(D.xa), w = p.ga(), L = c.ga(), w.qa = !1, L.qa = !1, p === c ? (w.i.length = 2, w.i[0] = s, w.i[1] = u, p.Rc()) : (w.i.length = 1, L.i.length = 1, w.i[0] = s, L.i[0] = u, p.Rc(), c.Rc()), D.ut(), d.ff(D.xa))) : e(g, s, u);
  7028. x.length = 0
  7029. }
  7030. return !1
  7031. };
  7032. var m = new da,
  7033. w = !1;
  7034. q.finish = function(a) {
  7035. if (w) {
  7036. if (a) {
  7037. var b =
  7038. this.b.Ab().$b.Xc;
  7039. a = null.ga();
  7040. var c = m.fg(),
  7041. d, e;
  7042. if (a.qa) {
  7043. a.qa = !1;
  7044. a.i.length = c.length;
  7045. d = 0;
  7046. for (e = c.length; d < e; d++) a.i[d] = c[d];
  7047. if (b)
  7048. for (d = a.ka.length = 0, e = null.i.length; d < e; d++) c = null.i[d], m.contains(c) || a.ka.push(c)
  7049. } else if (b)
  7050. for (b = a.i.length, a.i.length = b + c.length, d = 0, e = c.length; d < e; d++) a.i[b + d] = c[d], za(a.ka, c[d]);
  7051. else wa(a.i, c);
  7052. null.Rc()
  7053. }
  7054. m.clear();
  7055. w = !1
  7056. }
  7057. };
  7058. g.prototype.qf = function(a, b) {
  7059. return $b(this.G, a, b)
  7060. };
  7061. g.prototype.Yp = function(a) {
  7062. return gb(this.hn, a)
  7063. };
  7064. g.prototype.Zp = B(!0);
  7065. g.prototype.tf = B(!0);
  7066. n.p =
  7067. new g;
  7068. s.prototype.rq = function(a) {
  7069. this.ei = a;
  7070. this.ol || (this.b.wm(this), this.ol = !0);
  7071. this.hl || this.xn()
  7072. };
  7073. n.k = new s;
  7074. r.prototype.Mm = function(a, b) {
  7075. a.F(this.Gi(b, !1))
  7076. };
  7077. n.J = new r
  7078. })();
  7079. function lc(d) {
  7080. this.b = d
  7081. }
  7082. (function() {
  7083. function d(a, b, c) {
  7084. if (c) {
  7085. var d;
  7086. c = 0;
  7087. for (d = b.length; c < d; c++) a.length < e && a.push(b[c]);
  7088. b.length = 0
  7089. } else
  7090. for (d in b) Object.prototype.hasOwnProperty.call(b, d) && (a.length < e && a.push(b[d]), delete b[d])
  7091. }
  7092. function g(a, b, c) {
  7093. var d = a.Ye;
  7094. c = c.replace(/\s\s*$/, "");
  7095. b >= d.length && d.push(h.length ? h.pop() : {});
  7096. b = d[b];
  7097. b.text = c;
  7098. b.width = a.Fl(c);
  7099. a.bg = la(a.bg, b.width)
  7100. }
  7101. function b() {}
  7102. var c = lc.prototype;
  7103. c.da = A();
  7104. c.Fa = function(a) {
  7105. this.Ea = a;
  7106. this.b = a.b
  7107. };
  7108. var a = c.Fa.prototype;
  7109. a.da = function() {
  7110. this.K || (this.H = new Image, this.H.idtkLoadDisposed = !0, this.H.src = this.Lj, this.b.Hm(this.H), this.P = null)
  7111. };
  7112. a.fj = function() {
  7113. this.K || (this.P = null)
  7114. };
  7115. a.hj = function() {
  7116. if (!this.K && this.i.length) {
  7117. this.P || (this.P = this.b.C.Lf(this.H, !1, this.b.ba, this.Dh));
  7118. var a, b;
  7119. a = 0;
  7120. for (b = this.i.length; a < b; a++) this.i[a].P = this.P
  7121. }
  7122. };
  7123. a.Uj = function() {
  7124. this.K || this.i.length || !this.P || (this.b.C.deleteTexture(this.P), this.P = null)
  7125. };
  7126. a.sj = function(a) {
  7127. a.drawImage(this.H, 0, 0)
  7128. };
  7129. c.ya = function(a) {
  7130. this.type = a;
  7131. this.b = a.b
  7132. };
  7133. a = c.ya.prototype;
  7134. a.df = function() {
  7135. d(h, this.Ye, !0);
  7136. d(s, this.hi, !1);
  7137. d(r,
  7138. this.ii, !1);
  7139. Ra(this.Zd)
  7140. };
  7141. a.da = function() {
  7142. this.H = this.type.H;
  7143. this.fi = this.D[0];
  7144. this.Xd = this.D[1];
  7145. this.characterSet = this.D[2];
  7146. this.text = this.D[3];
  7147. this.Yd = this.D[4];
  7148. this.visible = 0 === this.D[5];
  7149. this.Tn = this.D[6] / 2;
  7150. this.Np = this.D[7] / 2;
  7151. this.au = 0 === this.D[9];
  7152. this.wf = this.D[10];
  7153. this.lineHeight = this.D[11];
  7154. this.mf = this.bg = 0;
  7155. this.uc ? (this.Ye.length = 0, Ra(this.hi), Ra(this.ii), Ra(this.Zd)) : (this.Ye = [], this.hi = {}, this.ii = {}, this.Zd = {});
  7156. this.Ch = !0;
  7157. this.ul = this.width;
  7158. this.b.C && (this.type.P || (this.type.P = this.b.C.Lf(this.type.H, !1, this.b.ba, this.type.Dh)), this.P = this.type.P);
  7159. this.tq()
  7160. };
  7161. a.Bb = function() {
  7162. var a = {
  7163. t: this.text,
  7164. csc: this.Yd,
  7165. csp: this.wf,
  7166. lh: this.lineHeight,
  7167. tw: this.bg,
  7168. th: this.mf,
  7169. lrt: this.Qs,
  7170. cw: {}
  7171. },
  7172. b;
  7173. for (b in this.Zd) a.cw[b] = this.Zd[b];
  7174. return a
  7175. };
  7176. a.Rb = function(a) {
  7177. this.text = a.t;
  7178. this.Yd = a.csc;
  7179. this.wf = a.csp;
  7180. this.lineHeight = a.lh;
  7181. this.bg = a.tw;
  7182. this.mf = a.th;
  7183. this.Qs = a.lrt;
  7184. for (var b in a.cw) this.Zd[b] = a.cw[b];
  7185. this.Ch = !0;
  7186. this.ul = this.width
  7187. };
  7188. var e = 1E3,
  7189. h = [],
  7190. s = [],
  7191. r = [];
  7192. a.tq = function() {
  7193. for (var a = this.H, b = a.width, c = a.height, a = this.fi,
  7194. d = this.Xd, e = a / b, g = d / c, h = this.characterSet, b = Math.floor(b / a), c = Math.floor(c / d), l = 0; l < h.length && !(l >= b * c); l++) {
  7195. var n = l % b,
  7196. k = Math.floor(l / b),
  7197. q = h.charAt(l);
  7198. if (this.b.C) {
  7199. var I = this.ii,
  7200. G = n * e,
  7201. ba = k * g,
  7202. n = (n + 1) * e,
  7203. k = (k + 1) * g;
  7204. void 0 === I[q] && (I[q] = r.length ? r.pop() : new sa);
  7205. I[q].left = G;
  7206. I[q].top = ba;
  7207. I[q].right = n;
  7208. I[q].bottom = k
  7209. } else I = this.hi, n *= a, k *= d, G = a, ba = d, void 0 === I[q] && (I[q] = s.length ? s.pop() : {}), I[q].x = n, I[q].y = k, I[q].Op = G, I[q].Sn = ba
  7210. }
  7211. };
  7212. var n = [];
  7213. c.vq = function(a) {
  7214. n.length = 0;
  7215. for (var b = "", c, d = 0; d < a.length;)
  7216. if (c = a.charAt(d),
  7217. "\n" === c) b.length && (n.push(b), b = ""), n.push("\n"), ++d;
  7218. else if (" " === c || "\t" === c || "-" === c) {
  7219. do b += a.charAt(d), d++; while (d < a.length && (" " === a.charAt(d) || "\t" === a.charAt(d)));
  7220. n.push(b);
  7221. b = ""
  7222. } else d < a.length && (b += c, d++);
  7223. b.length && n.push(b)
  7224. };
  7225. c.yq = function(a) {
  7226. var b = a.text,
  7227. c = a.Ye;
  7228. if (b && b.length) {
  7229. var e = a.width;
  7230. if (2 >= e) d(h, c, !0);
  7231. else {
  7232. var g = a.Yd,
  7233. m = a.wf;
  7234. if (b.length * (a.fi * g + m) - m <= e && -1 === b.indexOf("\n") && (m = a.Fl(b), m <= e)) {
  7235. d(h, c, !0);
  7236. c.push(h.length ? h.pop() : {});
  7237. c[0].text = b;
  7238. c[0].width = m;
  7239. a.bg = m;
  7240. a.mf = a.Xd * g + a.lineHeight;
  7241. return
  7242. }
  7243. this.zq(a);
  7244. a.mf = c.length * (a.Xd * g + a.lineHeight)
  7245. }
  7246. } else d(h, c, !0)
  7247. };
  7248. c.zq = function(a) {
  7249. var b = a.au,
  7250. c = a.text,
  7251. d = a.Ye,
  7252. q = a.width;
  7253. b && (this.vq(c), c = n);
  7254. var m = "",
  7255. r, l, t, k = 0,
  7256. s = !1;
  7257. for (t = 0; t < c.length; t++) "\n" === c[t] ? (!0 === s ? s = !1 : (g(a, k, m), k++), m = "") : (s = !1, r = m, m += c[t], l = a.Fl(m.replace(/\s\s*$/, "")), l > q && ("" === r ? (g(a, k, m), m = "", s = !0) : (g(a, k, r), m = c[t]), k++, b || " " !== m || (m = "")));
  7258. m.replace(/\s\s*$/, "").length && (g(a, k, m), k++);
  7259. for (t = k; t < d.length; t++) h.length < e && h.push(d[t]);
  7260. d.length = k
  7261. };
  7262. a.Fl = function(a) {
  7263. for (var b = this.wf,
  7264. c = a.length, d = 0, e = 0; e < c; e++) d += this.Ag(a.charAt(e)) * this.Yd + b;
  7265. return d - (0 < d ? b : 0)
  7266. };
  7267. a.Ag = function(a) {
  7268. var b = this.Zd;
  7269. return void 0 !== b[a] ? b[a] : this.fi
  7270. };
  7271. a.ep = function() {
  7272. if (this.Ch || this.width !== this.ul) this.mf = this.bg = 0, this.type.Ea.yq(this), this.Ch = !1, this.ul = this.width
  7273. };
  7274. a.Ad = function(a) {
  7275. var b = this.H;
  7276. if ("" !== this.text && null != b && (this.ep(), !(this.height < this.Xd * this.Yd + this.lineHeight))) {
  7277. a.globalAlpha = this.opacity;
  7278. var b = this.x,
  7279. c = this.y;
  7280. this.b.md && (b = b + 0.5 | 0, c = c + 0.5 | 0);
  7281. a.save();
  7282. a.translate(b, c);
  7283. a.rotate(this.n);
  7284. for (var b = this.Tn, c = this.Yd, d = this.Xd * c, e = this.lineHeight, g = this.wf, h = this.Ye, l, n = -(this.Eb * this.width), k = -(this.Fb * this.height), k = k + this.Np * la(0, this.height - this.mf), q, r, s = 0; s < h.length; s++) {
  7285. var ba = h[s].text;
  7286. l = b * la(0, this.width - h[s].width);
  7287. l = n + l;
  7288. for (var k = k + e, y = 0; y < ba.length; y++) {
  7289. var K = ba.charAt(y),
  7290. z = this.hi[K];
  7291. if (l + this.Ag(K) * c > this.width + 1E-5) break;
  7292. void 0 !== z && (q = l, r = k, 0 === this.n && (q = Math.round(q), r = Math.round(r)), a.drawImage(this.H, z.x, z.y, z.Op, z.Sn, q, r, z.Op * c, z.Sn * c));
  7293. l += this.Ag(K) * c + g
  7294. }
  7295. k += d;
  7296. if (k +
  7297. d + e > this.height) break
  7298. }
  7299. a.restore()
  7300. }
  7301. };
  7302. var q = new ta;
  7303. a.Ac = function(a) {
  7304. a.hc(this.P);
  7305. a.gf(this.opacity);
  7306. if ("" !== this.text && (this.ep(), !(this.height < this.Xd * this.Yd + this.lineHeight))) {
  7307. this.La();
  7308. var b = this.Wb,
  7309. c = 0,
  7310. d = 0;
  7311. this.b.md && (c = (this.x + 0.5 | 0) - this.x, d = (this.y + 0.5 | 0) - this.y);
  7312. var e = this.n,
  7313. g = this.Tn,
  7314. h = this.Np,
  7315. l = this.Yd,
  7316. n = this.Xd * l,
  7317. k = this.lineHeight,
  7318. r = this.wf,
  7319. s = this.Ye,
  7320. G = this.mf,
  7321. ba, y;
  7322. 0 !== e && (ba = Math.cos(e), y = Math.sin(e));
  7323. for (var K, c = b.Aa + c, b = b.Ba + d, h = h * la(0, this.height - G), z, M, G = 0; G < s.length; G++) {
  7324. d = s[G].text;
  7325. K = g * la(0, this.width - s[G].width);
  7326. for (var h = h + k, N = 0; N < d.length; N++) {
  7327. var L = d.charAt(N),
  7328. J = this.ii[L];
  7329. if (K + this.Ag(L) * l > this.width + 1E-5) break;
  7330. if (void 0 !== J) {
  7331. var C = this.fi * l,
  7332. D = this.Xd * l;
  7333. z = K;
  7334. M = h;
  7335. 0 === e && (z = Math.round(z), M = Math.round(M));
  7336. q.Aa = z;
  7337. q.Ba = M;
  7338. q.gb = z + C;
  7339. q.hb = M;
  7340. q.Sa = z;
  7341. q.Ta = M + D;
  7342. q.Ua = z + C;
  7343. q.Va = M + D;
  7344. 0 !== e && (z = q, M = ba, C = y, D = void 0, D = z.Aa * M - z.Ba * C, z.Ba = z.Ba * M + z.Aa * C, z.Aa = D, D = z.gb * M - z.hb * C, z.hb = z.hb * M + z.gb * C, z.gb = D, D = z.Sa * M - z.Ta * C, z.Ta = z.Ta * M + z.Sa * C, z.Sa = D, D = z.Ua * M - z.Va * C, z.Va = z.Va * M + z.Ua * C, z.Ua = D);
  7345. q.offset(c,
  7346. b);
  7347. a.nd(q.Aa, q.Ba, q.gb, q.hb, q.Ua, q.Va, q.Sa, q.Ta, J)
  7348. }
  7349. K += this.Ag(L) * l + r
  7350. }
  7351. h += n;
  7352. if (h + n + k > this.height) break
  7353. }
  7354. }
  7355. };
  7356. c.p = new(A());
  7357. b.prototype.lk = function(a) {
  7358. ga(a) && 1E9 > a && (a = Math.round(1E10 * a) / 1E10);
  7359. a = a.toString();
  7360. this.text !== a && (this.text = a, this.Ch = !0, this.b.ha = !0)
  7361. };
  7362. a.Qu = function(a, b) {
  7363. var c = parseInt(b, 10);
  7364. this.Zd[a] !== c && (this.Zd[a] = c, this.Ch = !0, this.b.ha = !0)
  7365. };
  7366. c.k = new b;
  7367. c.J = new(A())
  7368. })();
  7369. function mc(d) {
  7370. this.b = d
  7371. }
  7372. (function() {
  7373. var d = mc.prototype;
  7374. d.Fa = function(b) {
  7375. this.Ea = b;
  7376. this.b = b.b
  7377. };
  7378. var g = d.Fa.prototype;
  7379. g.da = function() {
  7380. this.K || (this.H = new Image, this.H.idtkLoadDisposed = !0, this.H.src = this.Lj, this.H.sn = this.vm, this.b.Hm(this.H), this.P = this.pattern = null)
  7381. };
  7382. g.fj = function() {
  7383. this.K || (this.P = null)
  7384. };
  7385. g.hj = function() {
  7386. if (!this.K && this.i.length) {
  7387. this.P || (this.P = this.b.C.Lf(this.H, !0, this.b.ba, this.Dh));
  7388. var b, c;
  7389. b = 0;
  7390. for (c = this.i.length; b < c; b++) this.i[b].P = this.P
  7391. }
  7392. };
  7393. g.yl = function() {
  7394. this.K || this.P || !this.b.C || (this.P = this.b.C.Lf(this.H, !0, this.b.ba, this.Dh))
  7395. };
  7396. g.Uj = function() {
  7397. this.K || this.i.length || !this.P || (this.b.C.deleteTexture(this.P), this.P = null)
  7398. };
  7399. g.sj = function(b) {
  7400. b.drawImage(this.H, 0, 0)
  7401. };
  7402. d.ya = function(b) {
  7403. this.type = b;
  7404. this.b = b.b
  7405. };
  7406. g = d.ya.prototype;
  7407. g.da = function() {
  7408. this.visible = 0 === this.D[0];
  7409. this.ph = new sa(0, 0, 0, 0);
  7410. this.Wn = !1;
  7411. this.H = this.type.H;
  7412. this.b.C ? (this.type.yl(), this.P = this.type.P) : (this.type.pattern || (this.type.pattern = this.b.ra.createPattern(this.type.H, "repeat")), this.pattern = this.type.pattern)
  7413. };
  7414. g.ed = function() {
  7415. this.Wn = !1;
  7416. this.H = this.type.H
  7417. };
  7418. g.df = function() {
  7419. this.b.C && this.Wn && this.P && (this.b.C.deleteTexture(this.P), this.P = null)
  7420. };
  7421. g.Ad = function(b) {
  7422. b.globalAlpha = this.opacity;
  7423. b.save();
  7424. b.fillStyle = this.pattern;
  7425. var c = this.x,
  7426. a = this.y;
  7427. this.b.md && (c = c + 0.5 | 0, a = a + 0.5 | 0);
  7428. var d = -(this.Eb * this.width),
  7429. g = -(this.Fb * this.height),
  7430. s = d % this.H.width,
  7431. r = g % this.H.height;
  7432. 0 > s && (s += this.H.width);
  7433. 0 > r && (r += this.H.height);
  7434. b.translate(c, a);
  7435. b.rotate(this.n);
  7436. b.translate(s, r);
  7437. b.fillRect(d - s, g - r, this.width, this.height);
  7438. b.restore()
  7439. };
  7440. g.Ac = function(b) {
  7441. b.hc(this.P);
  7442. b.gf(this.opacity);
  7443. var c = this.ph;
  7444. c.right = this.width / this.H.width;
  7445. c.bottom = this.height / this.H.height;
  7446. var a = this.Wb;
  7447. if (this.b.md) {
  7448. var d = (this.x + 0.5 | 0) - this.x,
  7449. g = (this.y + 0.5 | 0) - this.y;
  7450. b.nd(a.Aa + d, a.Ba + g, a.gb + d, a.hb + g, a.Ua + d, a.Va + g, a.Sa + d, a.Ta + g, c)
  7451. } else b.nd(a.Aa, a.Ba, a.gb, a.hb, a.Ua, a.Va, a.Sa, a.Ta, c)
  7452. };
  7453. d.p = new(A());
  7454. d.k = new(A());
  7455. d.J = new(A())
  7456. })();
  7457. function T(d) {
  7458. this.b = d
  7459. }
  7460. (function() {
  7461. function d(a) {
  7462. n = a.x;
  7463. q = a.y;
  7464. p = a.z
  7465. }
  7466. function g(a) {
  7467. v = a.x;
  7468. u = a.y;
  7469. f = a.z
  7470. }
  7471. function b(a, b, d, e) {
  7472. var f;
  7473. f = x.length ? x.pop() : new c;
  7474. f.init(a, b, d, e);
  7475. return f
  7476. }
  7477. function c() {
  7478. this.yh = this.id = this.Xe = this.We = this.y = this.x = this.Jj = this.Ij = this.tl = this.time = this.rm = 0;
  7479. this.Gh = this.Sj = !1
  7480. }
  7481. function a() {}
  7482. function e() {}
  7483. var h = T.prototype;
  7484. h.Fa = function(a) {
  7485. this.Ea = a;
  7486. this.b = a.b
  7487. };
  7488. h.Fa.prototype.da = A();
  7489. h.ya = function(a) {
  7490. this.type = a;
  7491. this.b = a.b;
  7492. this.touches = [];
  7493. this.Hl = !1
  7494. };
  7495. var s = h.ya.prototype,
  7496. r = {
  7497. left: 0,
  7498. top: 0
  7499. };
  7500. s.xg = function(a) {
  7501. var b,
  7502. c;
  7503. b = 0;
  7504. for (c = this.touches.length; b < c; b++)
  7505. if (this.touches[b].id === a) return b;
  7506. return -1
  7507. };
  7508. var n = 0,
  7509. q = 0,
  7510. p = 0,
  7511. v = 0,
  7512. u = 0,
  7513. f = 0,
  7514. x = [];
  7515. c.prototype.init = function(a, b, c, d) {
  7516. var e = Sa();
  7517. this.rm = this.tl = this.time = e;
  7518. this.Ij = a;
  7519. this.Jj = b;
  7520. this.x = a;
  7521. this.y = b;
  7522. this.We = a;
  7523. this.Xe = b;
  7524. this.id = c;
  7525. this.yh = d;
  7526. this.Gh = this.Sj = !1
  7527. };
  7528. c.prototype.update = function(a, b, c) {
  7529. this.tl = this.time;
  7530. this.time = a;
  7531. this.We = this.x;
  7532. this.Xe = this.y;
  7533. this.x = b;
  7534. this.y = c;
  7535. !this.Gh && 15 <= Oa(this.Ij, this.Jj, this.x, this.y) && (this.Gh = !0)
  7536. };
  7537. c.prototype.Ts = function(a, b) {
  7538. !this.Sj &&
  7539. 500 <= Sa() - this.rm && !this.Gh && 15 > Oa(this.Ij, this.Jj, this.x, this.y) && (this.Sj = !0, a.td = this.yh, a.dg = this.id, a.Bf = b, a.b.trigger(T.prototype.p.fq, a), a.Bf = 0)
  7540. };
  7541. var m = -1E3,
  7542. w = -1E3,
  7543. l = -1E4;
  7544. c.prototype.zo = function(a, b) {
  7545. if (!this.Sj) {
  7546. var c = Sa();
  7547. 333 >= c - this.rm && !this.Gh && 15 > Oa(this.Ij, this.Jj, this.x, this.y) && (a.td = this.yh, a.dg = this.id, a.Bf = b, 666 >= c - l && 25 > Oa(m, w, this.x, this.y) ? (a.b.trigger(T.prototype.p.cq, a), w = m = -1E3, l = -1E4) : (a.b.trigger(T.prototype.p.lq, a), m = this.x, w = this.y, l = c), a.Bf = 0)
  7548. }
  7549. };
  7550. s.da = function() {
  7551. this.Ls = !("undefined" === typeof window.c2isWindows8 || !window.c2isWindows8);
  7552. this.Bf = this.dg = this.td = this.Ek = this.Dk = this.bn = this.an = this.$m = this.Dq = this.Cq = this.Bq = this.ih = this.hh = this.gh = 0;
  7553. this.Zt = 0 !== this.D[0];
  7554. var a = 0 < this.b.ac ? document : this.b.canvas,
  7555. b = document;
  7556. this.b.Qb ? b = a = window.Canvas : this.b.pc && (b = a = window);
  7557. var c = this;
  7558. window.navigator.pointerEnabled ? (a.addEventListener("pointerdown", function(a) {
  7559. c.Mo(a)
  7560. }, !1), a.addEventListener("pointermove", function(a) {
  7561. c.Lo(a)
  7562. }, !1), b.addEventListener("pointerup", function(a) {
  7563. c.gj(a, !1)
  7564. }, !1), b.addEventListener("pointercancel", function(a) {
  7565. c.gj(a, !0)
  7566. }, !1), this.b.canvas && (this.b.canvas.addEventListener("MSGestureHold", function(a) {
  7567. a.preventDefault()
  7568. }, !1), document.addEventListener("MSGestureHold", function(a) {
  7569. a.preventDefault()
  7570. }, !1), this.b.canvas.addEventListener("gesturehold", function(a) {
  7571. a.preventDefault()
  7572. }, !1), document.addEventListener("gesturehold", function(a) {
  7573. a.preventDefault()
  7574. }, !1))) : window.navigator.msPointerEnabled ? (a.addEventListener("MSPointerDown", function(a) {
  7575. c.Mo(a)
  7576. }, !1),
  7577. a.addEventListener("MSPointerMove", function(a) {
  7578. c.Lo(a)
  7579. }, !1), b.addEventListener("MSPointerUp", function(a) {
  7580. c.gj(a, !1)
  7581. }, !1), b.addEventListener("MSPointerCancel", function(a) {
  7582. c.gj(a, !0)
  7583. }, !1), this.b.canvas && (this.b.canvas.addEventListener("MSGestureHold", function(a) {
  7584. a.preventDefault()
  7585. }, !1), document.addEventListener("MSGestureHold", function(a) {
  7586. a.preventDefault()
  7587. }, !1))) : (a.addEventListener("touchstart", function(a) {
  7588. c.Oo(a)
  7589. }, !1), a.addEventListener("touchmove", function(a) {
  7590. c.No(a)
  7591. }, !1), b.addEventListener("touchend",
  7592. function(a) {
  7593. c.Rl(a, !1)
  7594. }, !1), b.addEventListener("touchcancel", function(a) {
  7595. c.Rl(a, !0)
  7596. }, !1));
  7597. if (this.Ls) {
  7598. var e = function(a) {
  7599. a = a.reading;
  7600. c.$m = a.accelerationX;
  7601. c.an = a.accelerationY;
  7602. c.bn = a.accelerationZ
  7603. },
  7604. f = function(a) {
  7605. a = a.reading;
  7606. c.gh = a.yawDegrees;
  7607. c.hh = a.pitchDegrees;
  7608. c.ih = a.rollDegrees
  7609. },
  7610. h = Windows.Devices.Sensors.Accelerometer.getDefault();
  7611. h && (h.reportInterval = Math.max(h.minimumReportInterval, 16), h.addEventListener("readingchanged", e));
  7612. var l = Windows.Devices.Sensors.Inclinometer.getDefault();
  7613. l && (l.reportInterval =
  7614. Math.max(l.minimumReportInterval, 16), l.addEventListener("readingchanged", f));
  7615. document.addEventListener("visibilitychange", function() {
  7616. document.hidden || document.msHidden ? (h && h.removeEventListener("readingchanged", e), l && l.removeEventListener("readingchanged", f)) : (h && h.addEventListener("readingchanged", e), l && l.addEventListener("readingchanged", f))
  7617. }, !1)
  7618. } else window.addEventListener("deviceorientation", function(a) {
  7619. c.gh = a.alpha || 0;
  7620. c.hh = a.beta || 0;
  7621. c.ih = a.gamma || 0
  7622. }, !1), window.addEventListener("devicemotion",
  7623. function(a) {
  7624. a.accelerationIncludingGravity && (c.Bq = a.accelerationIncludingGravity.x || 0, c.Cq = a.accelerationIncludingGravity.y || 0, c.Dq = a.accelerationIncludingGravity.z || 0);
  7625. a.acceleration && (c.$m = a.acceleration.x || 0, c.an = a.acceleration.y || 0, c.bn = a.acceleration.z || 0)
  7626. }, !1);
  7627. this.Zt && !this.b.lb && (jQuery(document).mousemove(function(a) {
  7628. c.Zs(a)
  7629. }), jQuery(document).mousedown(function(a) {
  7630. c.Ys(a)
  7631. }), jQuery(document).mouseup(function(a) {
  7632. c.$s(a)
  7633. }));
  7634. this.b.Ef && !this.b.Qb && AppMobi.accelerometer.watchAcceleration(d, {
  7635. frequency: 40,
  7636. adjustForRotation: !0
  7637. });
  7638. this.b.Uc && navigator.accelerometer && navigator.accelerometer.watchAcceleration && navigator.accelerometer.watchAcceleration(g, null, {
  7639. frequency: 40
  7640. });
  7641. this.b.Qt(this)
  7642. };
  7643. s.Lo = function(a) {
  7644. if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) {
  7645. a.preventDefault && a.preventDefault();
  7646. var b = this.xg(a.pointerId),
  7647. c = Sa();
  7648. if (0 <= b) {
  7649. var d = this.b.lb ? r : jQuery(this.b.canvas).offset(),
  7650. b = this.touches[b];
  7651. 2 > c - b.time || b.update(c, a.pageX - d.left, a.pageY - d.top)
  7652. }
  7653. }
  7654. };
  7655. s.Mo = function(a) {
  7656. if (a.pointerType !==
  7657. a.MSPOINTER_TYPE_MOUSE && "mouse" !== a.pointerType) {
  7658. a.preventDefault && a.preventDefault();
  7659. var c = this.b.lb ? r : jQuery(this.b.canvas).offset(),
  7660. d = a.pageX - c.left,
  7661. c = a.pageY - c.top;
  7662. Sa();
  7663. this.td = this.touches.length;
  7664. this.dg = a.pointerId;
  7665. this.touches.push(b(d, c, a.pointerId, this.td));
  7666. this.b.kd = !0;
  7667. this.b.trigger(T.prototype.p.Rm, this);
  7668. this.b.trigger(T.prototype.p.Nh, this);
  7669. this.Dk = d;
  7670. this.Ek = c;
  7671. this.b.trigger(T.prototype.p.Mh, this);
  7672. this.b.kd = !1
  7673. }
  7674. };
  7675. s.gj = function(a, b) {
  7676. if (a.pointerType !== a.MSPOINTER_TYPE_MOUSE && "mouse" !==
  7677. a.pointerType) {
  7678. a.preventDefault && a.preventDefault();
  7679. var c = this.xg(a.pointerId);
  7680. this.td = 0 <= c ? this.touches[c].yh : -1;
  7681. this.dg = 0 <= c ? this.touches[c].id : -1;
  7682. this.b.kd = !0;
  7683. this.b.trigger(T.prototype.p.Qm, this);
  7684. this.b.trigger(T.prototype.p.hk, this);
  7685. 0 <= c && (b || this.touches[c].zo(this, c), 100 > x.length && x.push(this.touches[c]), this.touches.splice(c, 1));
  7686. this.b.kd = !1
  7687. }
  7688. };
  7689. s.No = function(a) {
  7690. a.preventDefault && a.preventDefault();
  7691. var b = Sa(),
  7692. c, d, e, f;
  7693. c = 0;
  7694. for (d = a.changedTouches.length; c < d; c++)
  7695. if (e = a.changedTouches[c], f = this.xg(e.identifier),
  7696. 0 <= f) {
  7697. var g = this.b.lb ? r : jQuery(this.b.canvas).offset();
  7698. f = this.touches[f];
  7699. 2 > b - f.time || f.update(b, e.pageX - g.left, e.pageY - g.top)
  7700. }
  7701. };
  7702. s.Oo = function(a) {
  7703. a.preventDefault && a.preventDefault();
  7704. var c = this.b.lb ? r : jQuery(this.b.canvas).offset();
  7705. Sa();
  7706. this.b.kd = !0;
  7707. var d, e, f, g;
  7708. d = 0;
  7709. for (e = a.changedTouches.length; d < e; d++)
  7710. if (f = a.changedTouches[d], g = this.xg(f.identifier), -1 === g) {
  7711. g = f.pageX - c.left;
  7712. var h = f.pageY - c.top;
  7713. this.td = this.touches.length;
  7714. this.dg = f.identifier;
  7715. this.touches.push(b(g, h, f.identifier, this.td));
  7716. this.b.trigger(T.prototype.p.Rm,
  7717. this);
  7718. this.b.trigger(T.prototype.p.Nh, this);
  7719. this.Dk = g;
  7720. this.Ek = h;
  7721. this.b.trigger(T.prototype.p.Mh, this)
  7722. }
  7723. this.b.kd = !1
  7724. };
  7725. s.Rl = function(a, b) {
  7726. a.preventDefault && a.preventDefault();
  7727. this.b.kd = !0;
  7728. var c, d, e;
  7729. c = 0;
  7730. for (d = a.changedTouches.length; c < d; c++) e = a.changedTouches[c], e = this.xg(e.identifier), 0 <= e && (this.td = this.touches[e].yh, this.dg = this.touches[e].id, this.b.trigger(T.prototype.p.Qm, this), this.b.trigger(T.prototype.p.hk, this), b || this.touches[e].zo(this, e), 100 > x.length && x.push(this.touches[e]), this.touches.splice(e,
  7731. 1));
  7732. this.b.kd = !1
  7733. };
  7734. s.pv = function() {
  7735. return this.b.Ef && 0 === this.gh && 0 !== p ? 90 * p : this.b.Uc && 0 === this.gh && 0 !== f ? 90 * f : this.gh
  7736. };
  7737. s.qv = function() {
  7738. return this.b.Ef && 0 === this.hh && 0 !== q ? -90 * q : this.b.Uc && 0 === this.hh && 0 !== u ? -90 * u : this.hh
  7739. };
  7740. s.tv = function() {
  7741. return this.b.Ef && 0 === this.ih && 0 !== n ? 90 * n : this.b.Uc && 0 === this.ih && 0 !== v ? 90 * v : this.ih
  7742. };
  7743. s.Ys = function(a) {
  7744. a.preventDefault && this.b.cl && !this.b.fe && a.preventDefault();
  7745. this.Oo({
  7746. changedTouches: [{
  7747. pageX: a.pageX,
  7748. pageY: a.pageY,
  7749. identifier: 0
  7750. }]
  7751. });
  7752. this.Hl = !0
  7753. };
  7754. s.Zs = function(a) {
  7755. this.Hl &&
  7756. this.No({
  7757. changedTouches: [{
  7758. pageX: a.pageX,
  7759. pageY: a.pageY,
  7760. identifier: 0
  7761. }]
  7762. })
  7763. };
  7764. s.$s = function(a) {
  7765. a.preventDefault && this.b.cl && !this.b.fe && a.preventDefault();
  7766. this.b.cl = !0;
  7767. this.Rl({
  7768. changedTouches: [{
  7769. pageX: a.pageX,
  7770. pageY: a.pageY,
  7771. identifier: 0
  7772. }]
  7773. });
  7774. this.Hl = !1
  7775. };
  7776. s.Eh = function() {
  7777. var a, b, c, d = Sa();
  7778. a = 0;
  7779. for (b = this.touches.length; a < b; ++a) c = this.touches[a], c.time <= d - 50 && (c.tl = d), c.Ts(this, a)
  7780. };
  7781. a.prototype.Nh = B(!0);
  7782. a.prototype.hk = B(!0);
  7783. a.prototype.Mh = function(a) {
  7784. return a ? this.b.Pt(a, this.Dk, this.Ek) : !1
  7785. };
  7786. a.prototype.Rm = function(a) {
  7787. a =
  7788. Math.floor(a);
  7789. return a === this.td
  7790. };
  7791. a.prototype.Qm = function(a) {
  7792. a = Math.floor(a);
  7793. return a === this.td
  7794. };
  7795. a.prototype.fq = B(!0);
  7796. a.prototype.lq = B(!0);
  7797. a.prototype.cq = B(!0);
  7798. h.p = new a;
  7799. e.prototype.Be = function(a, b) {
  7800. var c = this.Bf;
  7801. if (0 > c || c >= this.touches.length) a.F(0);
  7802. else {
  7803. var d, e, f, g, h;
  7804. fa(b) ? (d = this.b.Bg(0), e = d.scale, f = d.dd, g = d.Gc, h = d.n, d.scale = this.b.$.scale, d.dd = 1, d.Gc = 1, d.n = this.b.$.n, a.F(d.Xb(this.touches[c].x, this.touches[c].y, !0)), d.scale = e, d.dd = f, d.Gc = g, d.n = h) : (d = ga(b) ? this.b.Bg(b) : this.b.Yk(b)) ? a.F(d.Xb(this.touches[c].x,
  7805. this.touches[c].y, !0)) : a.F(0)
  7806. }
  7807. };
  7808. e.prototype.kg = function(a, b) {
  7809. var c = this.Bf;
  7810. if (0 > c || c >= this.touches.length) a.F(0);
  7811. else {
  7812. var d, e, f, g, h;
  7813. fa(b) ? (d = this.b.Bg(0), e = d.scale, f = d.dd, g = d.Hc, h = d.n, d.scale = this.b.$.scale, d.dd = 1, d.Hc = 1, d.n = this.b.$.n, a.F(d.Xb(this.touches[c].x, this.touches[c].y, !1)), d.scale = e, d.dd = f, d.Hc = g, d.n = h) : (d = ga(b) ? this.b.Bg(b) : this.b.Yk(b)) ? a.F(d.Xb(this.touches[c].x, this.touches[c].y, !1)) : a.F(0)
  7814. }
  7815. };
  7816. h.J = new e
  7817. })();
  7818. function nc(d) {
  7819. this.b = d
  7820. }
  7821. (function() {
  7822. function d() {}
  7823. function g() {}
  7824. function b() {}
  7825. var c = nc.prototype;
  7826. c.Fa = function(a) {
  7827. this.Ea = a;
  7828. this.b = a.b
  7829. };
  7830. c.Fa.prototype.da = A();
  7831. c.ya = function(a) {
  7832. this.type = a;
  7833. this.b = a.b
  7834. };
  7835. var a = c.ya.prototype,
  7836. e = "",
  7837. h = "undefined" !== typeof window.is_scirra_arcade;
  7838. h && (e = "arcade" + window.scirra_arcade_id);
  7839. var s = !1;
  7840. a.da = A();
  7841. d.prototype.Um = function(a) {
  7842. return this.b.pc || !sessionStorage ? (s || (ea("[Construct 2] Webstorage plugin: session storage is not supported on this platform. Try using local storage or global variables instead."),
  7843. s = !0), !1) : null != sessionStorage.getItem(e + a)
  7844. };
  7845. d.prototype.iq = B(!0);
  7846. c.p = new d;
  7847. g.prototype.Zm = function(a, b) {
  7848. try {
  7849. localStorage.setItem(e + a, b);
  7850. // updateShare(b);
  7851. // Play68.setRankingScoreDesc(b);
  7852. // console.log(b);
  7853. } catch (c) {
  7854. this.b.trigger(nc.prototype.p.iq, this)
  7855. }
  7856. };
  7857. c.k = new g;
  7858. b.prototype.Nm = function(a, b) {
  7859. a.ic(localStorage.getItem(e + b) || "")
  7860. };
  7861. b.prototype.Jm = function(a) {
  7862. var b = {},
  7863. c, d, g;
  7864. c = 0;
  7865. for (d = localStorage.length; c < d; c++) g = localStorage.key(c), h ? g.substr(0, e.length) === e && (b[g.substr(e.length)] = localStorage.getItem(g)) : b[g] = localStorage.getItem(g);
  7866. a.ic(JSON.stringify({
  7867. c2dictionary: !0,
  7868. data: b
  7869. }))
  7870. };
  7871. c.J = new b
  7872. })();
  7873. function oc(d) {
  7874. this.b = d
  7875. }
  7876. (function() {
  7877. function d() {}
  7878. var g = oc.prototype;
  7879. g.Fa = function(b) {
  7880. this.Ma = b;
  7881. this.b = b.b
  7882. };
  7883. g.Fa.prototype.da = A();
  7884. g.ya = function(b, a) {
  7885. this.type = b;
  7886. this.Ma = b.Ma;
  7887. this.j = a;
  7888. this.b = b.b
  7889. };
  7890. var b = g.ya.prototype;
  7891. b.da = function() {
  7892. var b = this.D[0];
  7893. this.lg = this.D[1];
  7894. this.zg = this.D[2];
  7895. this.Jq = 0 !== this.D[3];
  7896. this.lm = 0 !== this.D[4];
  7897. this.tb = Math.cos(this.j.n) * b;
  7898. this.Xa = Math.sin(this.j.n) * b;
  7899. this.We = this.j.x;
  7900. this.Xe = this.j.y;
  7901. this.sc = this.j.n;
  7902. this.Rj = 0;
  7903. this.enabled = 0 !== this.D[5]
  7904. };
  7905. b.Bb = function() {
  7906. return {
  7907. acc: this.lg,
  7908. g: this.zg,
  7909. dx: this.tb,
  7910. dy: this.Xa,
  7911. lx: this.We,
  7912. ly: this.Xe,
  7913. lka: this.sc,
  7914. t: this.Rj,
  7915. e: this.enabled
  7916. }
  7917. };
  7918. b.Rb = function(b) {
  7919. this.lg = b.acc;
  7920. this.zg = b.g;
  7921. this.tb = b.dx;
  7922. this.Xa = b.dy;
  7923. this.We = b.lx;
  7924. this.Xe = b.ly;
  7925. this.sc = b.lka;
  7926. this.Rj = b.t;
  7927. this.enabled = b.e
  7928. };
  7929. b.fb = function() {
  7930. if (this.enabled) {
  7931. var b = this.b.Af(this.j),
  7932. a, d;
  7933. this.j.n !== this.sc && (this.lm && (a = Oa(0, 0, this.tb, this.Xa), this.tb = Math.cos(this.j.n) * a, this.Xa = Math.sin(this.j.n) * a), this.sc = this.j.n);
  7934. 0 !== this.lg && (a = Oa(0, 0, this.tb, this.Xa), d = 0 === this.tb && 0 === this.Xa ? this.j.n : Fa(0, 0, this.tb, this.Xa),
  7935. a += this.lg * b, 0 > a && (a = 0), this.tb = Math.cos(d) * a, this.Xa = Math.sin(d) * a);
  7936. 0 !== this.zg && (this.Xa += this.zg * b);
  7937. this.We = this.j.x;
  7938. this.Xe = this.j.y;
  7939. if (0 !== this.tb || 0 !== this.Xa)
  7940. if (this.j.x += this.tb * b, this.j.y += this.Xa * b, this.Rj += Oa(0, 0, this.tb * b, this.Xa * b), this.lm && (this.j.n = Fa(0, 0, this.tb, this.Xa), this.j.ea(), this.sc = this.j.n), this.j.ea(), this.Jq && (a = this.b.lf(this.j))) this.b.pt(this.j, a), a = Oa(0, 0, this.tb, this.Xa), d = this.b.Nq(this.j, this.We, this.Xe), this.tb = Math.cos(d) * a, this.Xa = Math.sin(d) * a, this.j.x += this.tb *
  7941. b, this.j.y += this.Xa * b, this.j.ea(), this.lm && (this.sc = this.j.n = d, this.j.ea()), this.b.mt(this.j, this.tb / a, this.Xa / a, Math.max(2.5 * a * b, 30)) || this.b.nt(this.j)
  7942. }
  7943. };
  7944. g.p = new(A());
  7945. d.prototype.Ym = function(b) {
  7946. var a = Fa(0, 0, this.tb, this.Xa);
  7947. this.tb = Math.cos(a) * b;
  7948. this.Xa = Math.sin(a) * b
  7949. };
  7950. d.prototype.Vm = function(b) {
  7951. this.lg = b
  7952. };
  7953. d.prototype.Wm = function(b) {
  7954. this.zg = b
  7955. };
  7956. d.prototype.jk = function(b) {
  7957. this.enabled = 1 === b
  7958. };
  7959. g.k = new d;
  7960. g.J = new(A())
  7961. })();
  7962. function pc(d) {
  7963. this.b = d
  7964. }
  7965. (function() {
  7966. function d() {}
  7967. function g() {}
  7968. var b = pc.prototype;
  7969. b.Fa = function(a) {
  7970. this.Ma = a;
  7971. this.b = a.b
  7972. };
  7973. b.Fa.prototype.da = A();
  7974. b.ya = function(a, b) {
  7975. this.type = a;
  7976. this.Ma = a.Ma;
  7977. this.j = b;
  7978. this.b = a.b
  7979. };
  7980. var c = b.ya.prototype;
  7981. c.da = function() {
  7982. var a = 1 === this.D[0];
  7983. this.vg = this.D[1];
  7984. this.Kh = this.D[2];
  7985. this.yi = this.D[3];
  7986. this.Yq = this.D[4];
  7987. this.jc = a ? 0 : 3;
  7988. this.uc ? this.Ic.reset() : this.Ic = new Ta;
  7989. this.cf = this.j.opacity ? this.j.opacity : 1;
  7990. a && (0 === this.vg ? (this.jc = 1, 0 === this.Kh && (this.jc = 2)) : (this.j.opacity = 0, this.b.ha = !0))
  7991. };
  7992. c.Bb = function() {
  7993. return {
  7994. fit: this.vg,
  7995. wt: this.Kh,
  7996. fot: this.yi,
  7997. s: this.jc,
  7998. st: this.Ic.aa,
  7999. mo: this.cf
  8000. }
  8001. };
  8002. c.Rb = function(a) {
  8003. this.vg = a.fit;
  8004. this.Kh = a.wt;
  8005. this.yi = a.fot;
  8006. this.jc = a.s;
  8007. this.Ic.reset();
  8008. this.Ic.aa = a.st;
  8009. this.cf = a.mo
  8010. };
  8011. c.fb = function() {
  8012. this.Ic.add(this.b.Af(this.j));
  8013. 0 === this.jc && (this.j.opacity = this.Ic.aa / this.vg * this.cf, this.b.ha = !0, this.j.opacity >= this.cf && (this.j.opacity = this.cf, this.jc = 1, this.Ic.reset()));
  8014. 1 === this.jc && this.Ic.aa >= this.Kh && (this.jc = 2, this.Ic.reset());
  8015. 2 === this.jc && 0 !== this.yi && (this.j.opacity = this.cf - this.Ic.aa / this.yi * this.cf,
  8016. this.b.ha = !0, 0 > this.j.opacity && (this.j.opacity = 0, this.jc = 3, this.Ic.reset(), this.b.trigger(pc.prototype.p.dq, this.j), 1 === this.Yq && this.b.Qd(this.j)))
  8017. };
  8018. c.kr = function() {
  8019. this.jc = 0;
  8020. this.Ic.reset();
  8021. 0 === this.vg ? (this.jc = 1, 0 === this.Kh && (this.jc = 2)) : (this.j.opacity = 0, this.b.ha = !0)
  8022. };
  8023. d.prototype.dq = B(!0);
  8024. b.p = new d;
  8025. g.prototype.jg = function() {
  8026. 3 === this.jc && this.kr()
  8027. };
  8028. b.k = new g
  8029. })();
  8030. function qc(d) {
  8031. this.b = d
  8032. }
  8033. (function() {
  8034. function d() {}
  8035. var g = qc.prototype;
  8036. g.Fa = function(b) {
  8037. this.Ma = b;
  8038. this.b = b.b
  8039. };
  8040. g.Fa.prototype.da = A();
  8041. g.ya = function(b, a) {
  8042. this.type = b;
  8043. this.Ma = b.Ma;
  8044. this.j = a;
  8045. this.b = b.b
  8046. };
  8047. var b = g.ya.prototype;
  8048. b.da = function() {
  8049. this.$a = null;
  8050. this.lj = -1;
  8051. this.mode = this.sc = this.Mj = this.Rf = this.Ld = this.mh = 0;
  8052. var b = this;
  8053. this.uc || (this.Eo = function(a) {
  8054. b.Pl(a)
  8055. });
  8056. this.b.pk(this.Eo)
  8057. };
  8058. b.Bb = function() {
  8059. return {
  8060. uid: this.$a ? this.$a.uid : -1,
  8061. pa: this.mh,
  8062. pd: this.Ld,
  8063. msa: this.Rf,
  8064. tsa: this.Mj,
  8065. lka: this.sc,
  8066. m: this.mode
  8067. }
  8068. };
  8069. b.Rb = function(b) {
  8070. this.lj =
  8071. b.uid;
  8072. this.mh = b.pa;
  8073. this.Ld = b.pd;
  8074. this.Rf = b.msa;
  8075. this.Mj = b.tsa;
  8076. this.sc = b.lka;
  8077. this.mode = b.m
  8078. };
  8079. b.ed = function() {
  8080. this.$a = -1 === this.lj ? null : this.b.Cg(this.lj);
  8081. this.lj = -1
  8082. };
  8083. b.Pl = function(b) {
  8084. this.$a == b && (this.$a = null)
  8085. };
  8086. b.df = function() {
  8087. this.$a = null;
  8088. this.b.qt(this.Eo)
  8089. };
  8090. b.fb = A();
  8091. b.Eh = function() {
  8092. if (this.$a) {
  8093. this.sc !== this.j.n && (this.Rf = Ca(this.Rf + (this.j.n - this.sc)));
  8094. var b = this.j.x,
  8095. a = this.j.y;
  8096. if (3 === this.mode || 4 === this.mode) {
  8097. var d = Oa(this.j.x, this.j.y, this.$a.x, this.$a.y);
  8098. if (d > this.Ld || 4 === this.mode && d < this.Ld) a =
  8099. Fa(this.$a.x, this.$a.y, this.j.x, this.j.y), b = this.$a.x + Math.cos(a) * this.Ld, a = this.$a.y + Math.sin(a) * this.Ld
  8100. } else b = this.$a.x + Math.cos(this.$a.n + this.mh) * this.Ld, a = this.$a.y + Math.sin(this.$a.n + this.mh) * this.Ld;
  8101. this.sc = d = Ca(this.Rf + (this.$a.n - this.Mj));
  8102. 0 !== this.mode && 1 !== this.mode && 3 !== this.mode && 4 !== this.mode || this.j.x === b && this.j.y === a || (this.j.x = b, this.j.y = a, this.j.ea());
  8103. 0 !== this.mode && 2 !== this.mode || this.j.n === d || (this.j.n = d, this.j.ea())
  8104. }
  8105. };
  8106. g.p = new(A());
  8107. d.prototype.ye = function(b, a) {
  8108. if (b) {
  8109. var d = b.Nn(this.j);
  8110. d && (this.$a = d, this.mh = Fa(d.x, d.y, this.j.x, this.j.y) - d.n, this.Ld = Oa(d.x, d.y, this.j.x, this.j.y), this.sc = this.Rf = this.j.n, this.Mj = d.n, this.mode = a)
  8111. }
  8112. };
  8113. d.prototype.xq = function() {
  8114. this.$a = null
  8115. };
  8116. g.k = new d;
  8117. g.J = new(A())
  8118. })();
  8119. function rc(d) {
  8120. this.b = d
  8121. }
  8122. (function() {
  8123. function d() {}
  8124. function g() {}
  8125. var b = rc.prototype;
  8126. b.Fa = function(a) {
  8127. this.Ma = a;
  8128. this.b = a.b
  8129. };
  8130. b.Fa.prototype.da = A();
  8131. b.ya = function(a, b) {
  8132. this.type = a;
  8133. this.Ma = a.Ma;
  8134. this.j = b;
  8135. this.b = a.b
  8136. };
  8137. var c = b.ya.prototype;
  8138. c.da = function() {
  8139. this.Db = {}
  8140. };
  8141. c.df = function() {
  8142. Ra(this.Db)
  8143. };
  8144. c.Bb = function() {
  8145. var a = {},
  8146. b, c;
  8147. for (b in this.Db) this.Db.hasOwnProperty(b) && (c = this.Db[b], a[b] = {
  8148. c: c.He.aa,
  8149. t: c.total.aa,
  8150. d: c.duration,
  8151. r: c.cm
  8152. });
  8153. return a
  8154. };
  8155. c.Rb = function(a) {
  8156. this.Db = {};
  8157. for (var b in a) a.hasOwnProperty(b) && (this.Db[b] = {
  8158. He: new Ta,
  8159. total: new Ta,
  8160. duration: a[b].d,
  8161. cm: a[b].r
  8162. }, this.Db[b].He.aa = a[b].c, this.Db[b].total.aa = a[b].t)
  8163. };
  8164. c.fb = function() {
  8165. var a = this.b.Af(this.j),
  8166. b, c;
  8167. for (b in this.Db) this.Db.hasOwnProperty(b) && (c = this.Db[b], c.He.add(a), c.total.add(a))
  8168. };
  8169. c.Eh = function() {
  8170. var a, b;
  8171. for (a in this.Db) this.Db.hasOwnProperty(a) && (b = this.Db[a], b.He.aa >= b.duration && (b.cm ? b.He.aa -= b.duration : delete this.Db[a]))
  8172. };
  8173. b.p = new(A());
  8174. d.prototype.uq = function(a, b, c) {
  8175. this.Db[c.toLowerCase()] = {
  8176. He: new Ta,
  8177. total: new Ta,
  8178. duration: a,
  8179. cm: 1 === b
  8180. }
  8181. };
  8182. b.k = new d;
  8183. g.prototype.Lm =
  8184. function(a, b) {
  8185. var c = this.Db[b.toLowerCase()];
  8186. a.F(c ? c.duration : 0)
  8187. };
  8188. b.J = new g
  8189. })();
  8190. var sc = [],
  8191. tc = [],
  8192. uc = [],
  8193. vc = [],
  8194. wc = [],
  8195. xc = [],
  8196. yc = [],
  8197. zc = [],
  8198. Ec = [],
  8199. Fc = 1E4;
  8200. function Gc(d, g) {
  8201. return Math.round(d / g * Fc)
  8202. }
  8203. function Hc(d, g, b) {
  8204. switch (d) {
  8205. case 0:
  8206. return 1 * g / b + 0;
  8207. case 1:
  8208. return 1 * (g /= b) * g + 0;
  8209. case 2:
  8210. return -1 * (g /= b) * (g - 2) + 0;
  8211. case 3:
  8212. return 1 > (g /= b / 2) ? 0.5 * g * g + 0 : -0.5 * (--g * (g - 2) - 1) + 0;
  8213. case 4:
  8214. return 1 * (g /= b) * g * g + 0;
  8215. case 5:
  8216. return 1 * ((g = g / b - 1) * g * g + 1) + 0;
  8217. case 6:
  8218. return 1 > (g /= b / 2) ? 0.5 * g * g * g + 0 : 0.5 * ((g -= 2) * g * g + 2) + 0;
  8219. case 7:
  8220. return 1 * (g /= b) * g * g * g + 0;
  8221. case 8:
  8222. return -1 * ((g = g / b - 1) * g * g * g - 1) + 0;
  8223. case 9:
  8224. return 1 > (g /= b / 2) ? 0.5 * g * g * g * g + 0 : -0.5 * ((g -= 2) * g * g * g - 2) + 0;
  8225. case 10:
  8226. return 1 * (g /= b) * g * g * g * g + 0;
  8227. case 11:
  8228. return 1 * ((g = g / b - 1) * g * g * g * g + 1) + 0;
  8229. case 12:
  8230. return 1 >
  8231. (g /= b / 2) ? 0.5 * g * g * g * g * g + 0 : 0.5 * ((g -= 2) * g * g * g * g + 2) + 0;
  8232. case 13:
  8233. return wc[Gc(g, b)];
  8234. case 14:
  8235. return xc[Gc(g, b)];
  8236. case 15:
  8237. return yc[Gc(g, b)];
  8238. case 16:
  8239. return d = 0, 0 == d && (d = 1.70158), 1 * (g /= b) * g * ((d + 1) * g - d) + 0;
  8240. case 17:
  8241. return zc[Gc(g, b)];
  8242. case 18:
  8243. return Ec[Gc(g, b)];
  8244. case 19:
  8245. return tc[Gc(g, b)];
  8246. case 20:
  8247. return uc[Gc(g, b)];
  8248. case 21:
  8249. return vc[Gc(g, b)];
  8250. case 22:
  8251. return 1 - sc[Gc(b - g, b)] + 0;
  8252. case 23:
  8253. return sc[Gc(g, b)];
  8254. case 24:
  8255. return g < b / 2 ? 0.5 * (1 - sc[Gc(b - 2 * g, b)] + 0) + 0 : 0.5 * sc[Gc(2 * g - b, b)] + 0.5;
  8256. case 25:
  8257. return g = g / b / 2, 2 * g * g * (3 - 2 * g);
  8258. case 26:
  8259. return g =
  8260. (g / b + 1) / 2, 2 * g * g * (3 - 2 * g) - 1;
  8261. case 27:
  8262. return g /= b, g * g * (3 - 2 * g)
  8263. }
  8264. return 0
  8265. }
  8266. for (var Ic = 0, Jc = 0, Kc = 0, U = 0, V = 0, Y = 0; Y <= Fc; Y++) {
  8267. U = Y / Fc;
  8268. (U /= 1) < 1 / 2.75 || (U < 2 / 2.75 ? U -= 1.5 / 2.75 : U < 2.5 / 2.75 ? U -= 2.25 / 2.75 : U -= 2.625 / 2.75);
  8269. var Lc, Mc = Y / Fc;
  8270. Lc = (Mc /= 1) < 1 / 2.75 ? 7.5625 * Mc * Mc + 0 : Mc < 2 / 2.75 ? 1 * (7.5625 * (Mc -= 1.5 / 2.75) * Mc + 0.75) + 0 : Mc < 2.5 / 2.75 ? 1 * (7.5625 * (Mc -= 2.25 / 2.75) * Mc + 0.9375) + 0 : 1 * (7.5625 * (Mc -= 2.625 / 2.75) * Mc + 0.984375) + 0;
  8271. sc[Y] = Lc;
  8272. U = Y / Fc;
  8273. Kc = Jc = 0;
  8274. U /= 1;
  8275. 0 == Kc && (Kc = 0.3);
  8276. 0 == Jc || Jc < Math.abs(1) ? (Jc = 1, V = Kc / 4) : V = Kc / (2 * Math.PI) * Math.asin(1 / Jc);
  8277. Ic = -(Jc * Math.pow(2, 10 * (U -= 1)) * Math.sin(2 * (1 * U - V) * Math.PI / Kc)) + 0;
  8278. tc[Y] = Ic;
  8279. U = Y / Fc;
  8280. Kc = Jc = 0;
  8281. U /= 1;
  8282. 0 == Kc && (Kc = 0.3);
  8283. 0 == Jc || Jc < Math.abs(1) ? (Jc = 1, V = Kc / 4) : V = Kc / (2 * Math.PI) * Math.asin(1 / Jc);
  8284. Ic = Jc * Math.pow(2, -10 * U) * Math.sin(2 * (1 * U - V) * Math.PI / Kc) + 1;
  8285. uc[Y] = Ic;
  8286. U = Y / Fc;
  8287. Kc = Jc = 0;
  8288. U /= 0.5;
  8289. 0 == Kc && (Kc = 0.3 * 1.5);
  8290. 0 == Jc || Jc < Math.abs(1) ? (Jc = 1, V = Kc / 4) : V = Kc / (2 * Math.PI) * Math.asin(1 / Jc);
  8291. Ic = 1 > U ? -0.5 * Jc * Math.pow(2, 10 * (U -= 1)) * Math.sin(2 * (1 * U - V) * Math.PI / Kc) + 0 : 0.5 * Jc * Math.pow(2, -10 * (U -= 1)) * Math.sin(2 * (1 * U - V) * Math.PI / Kc) + 1;
  8292. vc[Y] = Ic;
  8293. U = Y / Fc;
  8294. wc[Y] = -(Math.sqrt(1 - U * U) - 1);
  8295. U = Y / Fc;
  8296. xc[Y] = Math.sqrt(1 - (U - 1) * (U - 1));
  8297. U = Y /
  8298. Fc;
  8299. Ic = 1 > (U /= 0.5) ? -0.5 * (Math.sqrt(1 - U * U) - 1) + 0 : 0.5 * (Math.sqrt(1 - (U -= 2) * U) + 1) + 0;
  8300. yc[Y] = Ic;
  8301. U = Y / Fc;
  8302. V = 0;
  8303. 0 == V && (V = 1.70158);
  8304. Ic = 1 * ((U = U / 1 - 1) * U * ((V + 1) * U + V) + 1) + 0;
  8305. zc[Y] = Ic;
  8306. U = Y / Fc;
  8307. V = 0;
  8308. 0 == V && (V = 1.70158);
  8309. Ic = 1 > (U /= 0.5) ? 0.5 * U * U * (((V *= 1.525) + 1) * U - V) + 0 : 0.5 * ((U -= 2) * U * (((V *= 1.525) + 1) * U + V) + 2) + 0;
  8310. Ec[Y] = Ic
  8311. }
  8312. function Oc(d, g, b, c, a, e, h) {
  8313. this.name = d;
  8314. this.value = 0;
  8315. this.sh(c);
  8316. this.om(a);
  8317. this.Jk = b;
  8318. this.rb = g;
  8319. this.duration = e;
  8320. this.state = this.la = 0;
  8321. this.ij = this.jj = this.ej = this.Vf = !1;
  8322. this.ec = this.Za = 0;
  8323. this.mc = h;
  8324. this.ef = 1
  8325. }
  8326. Oc.prototype = {};
  8327. Oc.prototype.sh = function(d) {
  8328. this.ua = parseFloat(d.split(",")[0]);
  8329. this.Gb = parseFloat(d.split(",")[1]);
  8330. this.ec = this.Za = 0
  8331. };
  8332. Oc.prototype.om = function(d) {
  8333. this.ma = parseFloat(d.split(",")[0]);
  8334. this.eb = parseFloat(d.split(",")[1]);
  8335. isNaN(this.eb) && (this.eb = this.ma)
  8336. };
  8337. Oc.prototype.gk = function(d) {
  8338. if (0 === this.state) return -1;
  8339. 1 === this.state && (this.la += d);
  8340. 2 === this.state && (this.la -= d);
  8341. 3 === this.state && (this.state = 0);
  8342. 4 === this.state && (this.la += d * this.ef);
  8343. 5 === this.state && (this.la += d * this.ef);
  8344. return 0 > this.la ? (this.la = 0, 4 !== this.state ? this.state = 0 : this.ef = 1, this.ij = !0, 0) : this.la > this.duration ? (this.la = this.duration, 4 === this.state ? this.ef = -1 : 5 === this.state ? this.la = 0 : this.state = 0, this.ej = !0, 1) : Hc(this.Jk, this.la, this.duration)
  8345. };
  8346. function Z(d) {
  8347. this.b = d
  8348. }
  8349. (function() {
  8350. var d = Z.prototype;
  8351. d.Fa = function(b) {
  8352. this.Ma = b;
  8353. this.b = b.b
  8354. };
  8355. d.Fa.prototype.da = A();
  8356. d.ya = function(b, c) {
  8357. this.type = b;
  8358. this.Ma = b.Ma;
  8359. this.j = c;
  8360. this.b = b.b
  8361. };
  8362. var g = d.ya.prototype;
  8363. g.da = function() {
  8364. this.nj = this.D[0];
  8365. this.Nb = 1 == this.nj || 2 == this.nj || 4 == this.nj || 5 == this.nj;
  8366. this.rb = this.D[1];
  8367. this.or = this.D[2];
  8368. this.target = this.D[3];
  8369. this.wp = this.D[4];
  8370. 1 === this.wp && (this.target = "relative(" + this.target + ")");
  8371. this.duration = this.D[5];
  8372. this.mc = 1 === this.D[6];
  8373. this.value = 0;
  8374. this.L = {};
  8375. this.en(this.rb, this.or, "current", this.target,
  8376. this.duration, this.mc);
  8377. 1 === this.D[0] && this.Gj(0);
  8378. 2 === this.D[0] && this.Gj(2);
  8379. 3 === this.D[0] && this.Gj(3)
  8380. };
  8381. g.ke = function(b, c) {
  8382. void 0 === c && (c = "current");
  8383. var a = c.replace(/^\s\s*/, "").replace(/\s\s*$/, "");
  8384. c = c.replace(/^\s\s*/, "").replace(/\s\s*$/, "");
  8385. var d = this.value;
  8386. if ("current" === c) switch (b) {
  8387. case 0:
  8388. a = this.j.x + "," + this.j.y;
  8389. break;
  8390. case 1:
  8391. a = this.j.width + "," + this.j.height;
  8392. break;
  8393. case 2:
  8394. a = this.j.width + "," + this.j.height;
  8395. break;
  8396. case 3:
  8397. a = this.j.width + "," + this.j.height;
  8398. break;
  8399. case 4:
  8400. a = Aa(this.j.n) + "," + Aa(this.j.n);
  8401. break;
  8402. case 5:
  8403. a = 100 * this.j.opacity + "," + 100 * this.j.opacity;
  8404. break;
  8405. case 6:
  8406. a = d + "," + d;
  8407. break;
  8408. case 7:
  8409. a = this.j.x + "," + this.j.y;
  8410. break;
  8411. case 8:
  8412. a = this.j.x + "," + this.j.y
  8413. }
  8414. if ("relative" === c.substring(0, 8)) {
  8415. var g = c.match(/\((.*?)\)/);
  8416. if (g) var s = parseFloat(g[1].split(",")[0]),
  8417. r = parseFloat(g[1].split(",")[1]);
  8418. isNaN(s) && (s = 0);
  8419. isNaN(r) && (r = 0);
  8420. switch (b) {
  8421. case 0:
  8422. a = this.j.x + s + "," + (this.j.y + r);
  8423. break;
  8424. case 1:
  8425. a = this.j.width + s + "," + (this.j.height + r);
  8426. break;
  8427. case 2:
  8428. a = this.j.width + s + "," + (this.j.height + r);
  8429. break;
  8430. case 3:
  8431. a = this.j.width +
  8432. s + "," + (this.j.height + r);
  8433. break;
  8434. case 4:
  8435. a = Aa(this.j.n) + s + "," + (Aa(this.j.n) + r);
  8436. break;
  8437. case 5:
  8438. a = 100 * this.j.opacity + s + "," + (100 * this.j.opacity + r);
  8439. break;
  8440. case 6:
  8441. a = d + s + "," + d + s;
  8442. break;
  8443. case 7:
  8444. a = this.j.x + s + "," + this.j.y;
  8445. break;
  8446. case 8:
  8447. a = this.j.x + "," + (this.j.y + s)
  8448. }
  8449. }
  8450. return a
  8451. };
  8452. g.en = function(b, c, a, d, g, s) {
  8453. a = this.ke(b, a);
  8454. d = this.ke(b, d);
  8455. void 0 !== this.L["default"] && delete this.L["default"];
  8456. this.L["default"] = new Oc("default", b, c, a, d, g, s)
  8457. };
  8458. g.Bb = A();
  8459. g.Rb = A();
  8460. g.It = function(b) {
  8461. 1 < b && (b = 1);
  8462. 0 > b && (b = 0);
  8463. for (var c in this.L) {
  8464. var a = this.L[c];
  8465. a.Za = 0;
  8466. a.ec = 0;
  8467. a.state = 3;
  8468. a.la = b * a.duration;
  8469. var d = a.gk(0);
  8470. this.Cm(a, d)
  8471. }
  8472. };
  8473. g.Gj = function(b) {
  8474. for (var c in this.L) {
  8475. var a = this.L[c];
  8476. 0 === b && (a.la = 1E-6, a.Za = 0, a.ec = 0, a.Vf = !0, a.state = 1);
  8477. 1 === b && (a.state = 1);
  8478. 2 === b && (a.la = 1E-6, a.Za = 0, a.ec = 0, a.Vf = !0, a.state = 4);
  8479. 3 === b && (a.la = 1E-6, a.Za = 0, a.ec = 0, a.Vf = !0, a.state = 5)
  8480. }
  8481. };
  8482. g.Ot = function(b) {
  8483. for (var c in this.L) {
  8484. var a = this.L[c];
  8485. 1 === b && (a.la = 0);
  8486. 2 === b && (a.la = a.duration);
  8487. a.state = 3;
  8488. var d = a.gk(0);
  8489. this.Cm(a, d)
  8490. }
  8491. };
  8492. g.xt = function(b) {
  8493. for (var c in this.L) {
  8494. var a = this.L[c];
  8495. 1 === b && (a.la = a.duration,
  8496. a.Za = 0, a.ec = 0, a.jj = !0);
  8497. a.state = 2
  8498. }
  8499. };
  8500. g.Cm = function(b, c) {
  8501. if (0 === b.rb) b.mc ? (this.j.x = b.ua + (b.ma - b.ua) * c, this.j.y = b.Gb + (b.eb - b.Gb) * c) : (this.j.x += (b.ma - b.ua) * c - b.Za, this.j.y += (b.eb - b.Gb) * c - b.ec, b.Za = (b.ma - b.ua) * c, b.ec = (b.eb - b.Gb) * c);
  8502. else if (1 === b.rb) b.mc ? (this.j.width = b.ua + (b.ma - b.ua) * c, this.j.height = b.Gb + (b.eb - b.Gb) * c) : (this.j.width += (b.ma - b.ua) * c - b.Za, this.j.height += (b.eb - b.Gb) * c - b.ec, b.Za = (b.ma - b.ua) * c, b.ec = (b.eb - b.Gb) * c);
  8503. else if (2 === b.rb) b.mc ? this.j.width = b.ua + (b.ma - b.ua) * c : (this.j.width += (b.ma - b.ua) *
  8504. c - b.Za, b.Za = (b.ma - b.ua) * c);
  8505. else if (3 === b.rb) b.mc ? this.j.height = b.Gb + (b.eb - b.Gb) * c : (this.j.height += (b.eb - b.Gb) * c - b.ec, b.ec = (b.eb - b.Gb) * c);
  8506. else if (4 === b.rb)
  8507. if (b.mc) {
  8508. var a = b.ua + (b.ma - b.ua) * c;
  8509. this.j.n = Ca(E(a))
  8510. } else a = (b.ma - b.ua) * c - b.Za, this.j.n = Ca(this.j.n + E(a)), b.Za = (b.ma - b.ua) * c;
  8511. else 5 === b.rb ? b.mc ? this.j.opacity = (b.ua + (b.ma - b.ua) * c) / 100 : (this.j.opacity += ((b.ma - b.ua) * c - b.Za) / 100, b.Za = (b.ma - b.ua) * c) : 6 === b.rb ? b.mc ? this.value = b.ua + (b.ma - b.ua) * c : (this.value += (b.ma - b.ua) * c - b.Za, b.Za = (b.ma - b.ua) * c) : 7 === b.rb ?
  8512. b.mc ? this.j.x = b.ua + (b.ma - b.ua) * c : (this.j.x += (b.ma - b.ua) * c - b.Za, b.Za = (b.ma - b.ua) * c) : 8 === b.rb && (b.mc ? this.j.y = b.Gb + (b.eb - b.Gb) * c : (this.j.y += (b.eb - b.Gb) * c - b.ec, b.ec = (b.eb - b.Gb) * c));
  8513. this.j.ea()
  8514. };
  8515. g.fb = function() {
  8516. var b = this.b.Af(this.j),
  8517. c = this.L["default"];
  8518. 0 !== c.state && (c.Vf && (this.b.trigger(Z.prototype.p.kq, this.j), c.Vf = !1), c.jj && (this.b.trigger(Z.prototype.p.jq, this.j), c.jj = !1), this.Nb = 1 == c.state || 2 == c.state || 4 == c.state || 5 == c.state, b = c.gk(b), this.Cm(c, b), c.ej && (this.b.trigger(Z.prototype.p.ck, this.j),
  8519. c.ej = !1), c.ij && (this.b.trigger(Z.prototype.p.Sm, this.j), c.ij = !1))
  8520. };
  8521. d.p = {};
  8522. g = d.p;
  8523. g.su = function() {
  8524. return 0 !== this.L["default"].state
  8525. };
  8526. g.mu = function(b, c) {
  8527. var a = this.L["default"];
  8528. return $b(a.la / a.duration, b, c)
  8529. };
  8530. g.kq = function() {
  8531. return void 0 === this.L["default"] ? !1 : this.L["default"].Vf
  8532. };
  8533. g.jq = function() {
  8534. return void 0 === this.L["default"] ? !1 : this.L["default"].jj
  8535. };
  8536. g.ck = function() {
  8537. return void 0 === this.L["default"] ? !1 : this.L["default"].ej
  8538. };
  8539. g.Sm = function() {
  8540. return void 0 === this.L["default"] ? !1 : this.L["default"].ij
  8541. };
  8542. d.k = {};
  8543. g = d.k;
  8544. g.Ph = function(b) {
  8545. this.Gj(b)
  8546. };
  8547. g.Qh = function(b) {
  8548. this.Ot(b)
  8549. };
  8550. g.pq = function(b) {
  8551. this.xt(b)
  8552. };
  8553. g.Ku = function(b) {
  8554. this.It(b)
  8555. };
  8556. g.ik = function(b) {
  8557. isNaN(b) || 0 > b || void 0 === this.L["default"] || (this.L["default"].duration = b)
  8558. };
  8559. g.Uu = function(b) {
  8560. void 0 !== this.L["default"] && (this.L["default"].mc = 1 === b)
  8561. };
  8562. g.Wu = function(b) {
  8563. void 0 !== this.L["default"] && (b = this.ke(this.L["default"].rb, b), this.L["default"].sh(b))
  8564. };
  8565. g.Oh = function(b, c, a) {
  8566. if (void 0 !== this.L["default"] && !isNaN(a)) {
  8567. var d = a + "",
  8568. g = this.L["default"];
  8569. this.wp =
  8570. c;
  8571. if (1 === c) switch (b) {
  8572. case 0:
  8573. d = this.j.x + a + "," + g.eb;
  8574. break;
  8575. case 1:
  8576. d = g.ma + "," + (this.j.y + a);
  8577. break;
  8578. case 2:
  8579. d = "" + Aa(this.j.n + E(a));
  8580. break;
  8581. case 3:
  8582. d = "" + 100 * this.j.opacity + a;
  8583. break;
  8584. case 4:
  8585. d = this.j.width + a + "," + g.eb;
  8586. break;
  8587. case 5:
  8588. d = g.ma + "," + (this.j.height + a);
  8589. break;
  8590. case 6:
  8591. d = a + "," + a
  8592. } else switch (b) {
  8593. case 0:
  8594. d = a + "," + g.eb;
  8595. break;
  8596. case 1:
  8597. d = g.ma + "," + a;
  8598. break;
  8599. case 2:
  8600. d = a + "," + a;
  8601. break;
  8602. case 3:
  8603. d = a + "," + a;
  8604. break;
  8605. case 4:
  8606. d = a + "," + g.eb;
  8607. break;
  8608. case 5:
  8609. d = g.ma + "," + a;
  8610. break;
  8611. case 6:
  8612. d = a + "," + a
  8613. }
  8614. b = this.ke(this.L["default"].rb, "current");
  8615. d = this.ke(this.L["default"].rb,
  8616. d);
  8617. g.sh(b);
  8618. g.om(d)
  8619. }
  8620. };
  8621. g.bv = function(b) {
  8622. void 0 !== this.L["default"] && (this.L["default"].rb = b)
  8623. };
  8624. g.Ru = function(b) {
  8625. void 0 !== this.L["default"] && (this.L["default"].Jk = b)
  8626. };
  8627. g.cv = function(b) {
  8628. var c = this.L["default"];
  8629. this.value = b;
  8630. 6 === c.rb && c.sh(this.ke(c.rb, "current"))
  8631. };
  8632. g.Yu = function(b, c, a, d, g) {
  8633. if (void 0 === this.L["default"]) this.en(b, c, initial, a, d, g);
  8634. else {
  8635. var s = this.L["default"];
  8636. s.rb = b;
  8637. s.Jk = c;
  8638. s.sh(this.ke(b, "current"));
  8639. s.om(this.ke(b, a));
  8640. s.duration = d;
  8641. s.mc = 1 === g
  8642. }
  8643. };
  8644. d.J = {};
  8645. d = d.J;
  8646. d.mq = function(b) {
  8647. b.F(this.L["default"].la /
  8648. this.L["default"].duration)
  8649. };
  8650. d.Lm = function(b) {
  8651. b.F(this.L["default"].duration)
  8652. };
  8653. d.hv = function(b) {
  8654. var c = this.L["default"],
  8655. a = "N/A";
  8656. switch (c.rb) {
  8657. case 0:
  8658. a = c.ma;
  8659. break;
  8660. case 1:
  8661. a = c.eb;
  8662. break;
  8663. case 2:
  8664. a = c.ma;
  8665. break;
  8666. case 3:
  8667. a = c.ma;
  8668. break;
  8669. case 4:
  8670. a = c.ma;
  8671. break;
  8672. case 5:
  8673. a = c.eb;
  8674. break;
  8675. case 6:
  8676. a = c.ma
  8677. }
  8678. b.F(a)
  8679. };
  8680. d.kv = function(b) {
  8681. b.F(this.value)
  8682. }
  8683. })();
  8684. function jc() {
  8685. return [null, null, [
  8686. [kc, !0, !1, !1, !1, !1, !1, !1, !1, !1],
  8687. [S, !1, !0, !0, !0, !0, !0, !0, !0, !1],
  8688. [lc, !1, !0, !0, !0, !0, !0, !0, !0, !0],
  8689. [mc, !1, !0, !0, !0, !0, !0, !0, !0, !0],
  8690. [T, !0, !1, !1, !1, !1, !1, !1, !1, !1],
  8691. [nc, !0, !1, !1, !1, !1, !1, !1, !1, !1]
  8692. ],
  8693. [
  8694. ["t0", S, !1, [0xb9fa618496c3a, 0x5007d698abc45, 6462996755719613], 4, 0, null, [
  8695. ["Default", 5, !1, 1, 0, !1, 0x54700b5306643, [
  8696. ["images/player-sheet0.png", 1492, 0, 0, 46, 63, 1, 0.4130434691905975, 1, [
  8697. ["Imagepoint 1", 0.4130434691905975, 0.9841269850730896]
  8698. ],
  8699. [-0.3423912525177002, -0.9047619104385376, 0.3097825348377228, -0.930555522441864, 0.4755435287952423, -0.3283730149269104, 0.1005435287952423, -0.04761898517608643, -0.2391304671764374, -0.04761898517608643], 0
  8700. ]
  8701. ]]
  8702. ],
  8703. [
  8704. ["Timer", rc, 6162798294806421],
  8705. ["Bullet", oc, 0x5b6ffb9bc58ad],
  8706. ["LiteTween", Z, 0x3ff7f6ad13023],
  8707. ["Pin", qc, 6052597344446455]
  8708. ], !1, !1, 8812520731815215, [], null
  8709. ],
  8710. ["t1", S, !1, [9908557560752956], 0, 0, null, [
  8711. ["Default", 5, !1, 1, 0, !1, 9600589887346456, [
  8712. ["images/sprite2-sheet0.png", 154, 0, 0, 95, 119, 1, 0.5052631497383118, 0.5042017102241516, [
  8713. ["Imagepoint 1", 0.75789475440979, 0.01680672354996204],
  8714. ["Imagepoint 2", 0.9684210419654846, 0.01680672354996204],
  8715. ["Imagepoint 3", 0.02105263248085976, 0.01680672354996204]
  8716. ],
  8717. [], 0
  8718. ]
  8719. ]]
  8720. ],
  8721. [], !1, !1, 7926323948654762, [], null
  8722. ],
  8723. ["t2", S, !1, [7520364045152253, 9605899647129224], 1, 0, null, [
  8724. ["Default", 5, !1, 1, 0, !1, 8278401119286777, [
  8725. ["images/sprite3-sheet0.png", 111, 0, 0, 7, 252, 1, 0.5714285969734192, 1, [
  8726. ["Imagepoint 1", 0.5714285969734192, 0.003968254197388887]
  8727. ],
  8728. [], 0
  8729. ]
  8730. ]]
  8731. ],
  8732. [
  8733. ["LiteTween", Z, 0x81213a58e3c27]
  8734. ], !1, !1, 0x84778338e7ff3, [], null
  8735. ],
  8736. ["t3", T, !1, [], 0, 0, null, null, [], !1, !1, 9597094742115196, [], null, [1]],
  8737. ["t4", kc, !1, [], 0, 0, null, null, [], !1, !1, 0x83e665f22c6be, [], null, [0, 0, 1, 1, 600, 600, 1E4, 1, 5E3, 1]],
  8738. ["t5", S, !1, [], 2, 0, null, [
  8739. ["Default", 5, !1, 1, 0, !1, 0x69248a472e283, [
  8740. ["images/sprite-sheet0.png", 119, 0, 0, 44, 50, 1, 0.4772727191448212, 0.5600000023841858, [],
  8741. [], 0
  8742. ]
  8743. ]]
  8744. ],
  8745. [
  8746. ["LiteTween", Z, 7832780466011215],
  8747. ["Pin", qc, 7302474071087465]
  8748. ], !1, !1, 531443339106841, [], null
  8749. ],
  8750. ["t6", S, !1, [], 2, 0, null, [
  8751. ["Default", 5, !1, 1, 0, !1, 5639446886012286, [
  8752. ["images/sprite4-sheet0.png", 6433, 0, 0, 262, 262, 1, 0.5, 0.5, [],
  8753. [-0.3625950217247009, -0.3358780145645142, -0.03816801309585571, -0.4961832165718079, 0.3244270086288452, -0.3740459978580475, 0.4809160232543945, -0.1259540021419525, 0.4389309883117676, 0.236640989780426, -0.03816801309585571, 0.4961829781532288, -0.4618321061134338, 0.1832060217857361, -0.4809159934520721, -0.1259540021419525], 0
  8754. ]
  8755. ]]
  8756. ],
  8757. [
  8758. ["LiteTween", Z, 0x6e5280e4eb98b],
  8759. ["Fade", pc, 0xccdad10b88b59]
  8760. ], !1, !1, 7960078723638771, [], null
  8761. ],
  8762. ["t7", S, !1, [], 1, 0, null, [
  8763. ["Default", 5, !1, 1, 0, !1, 5823418968387113, [
  8764. ["images/sprite5-sheet0.png", 1138, 0, 0, 122,
  8765. 122, 1, 0.5, 0.5, [],
  8766. [-0.3360660076141357, -0.3524590134620667, 0.04098397493362427, -0.4836066067218781, 0.3770490288734436, -0.3114749789237976, 0.4836069941520691, 0.04917997121810913, 0.3278689980506897, 0.3688520193099976, 0.04098397493362427, 0.4836069941520691, -0.2786889970302582, 0.4016389846801758, -0.4836066067218781, 0.04917997121810913], 0
  8767. ]
  8768. ]]
  8769. ],
  8770. [
  8771. ["Fade", pc, 838644655736204]
  8772. ], !1, !1, 6164627955745236, [], null
  8773. ],
  8774. ["t8", S, !1, [], 1, 0, null, [
  8775. ["Default", 5, !1, 1, 0, !1, 5924158941209469, [
  8776. ["images/sprite6-sheet0.png", 12145,
  8777. 0, 0, 572, 321, 1, 0.6678321957588196, 0.2554517090320587, [],
  8778. [-0.5769230723381042, -0.190031111240387, 0.2622377872467041, -0.1713395118713379, 0.3286707997322083, 0.1838002800941467, 0.2587407827377319, 0.535825252532959, -0.1520981788635254, 0.6760122776031494, -0.533217191696167, 0.4828663170337677, -0.6660839319229126, 0.1838002800941467], 0
  8779. ]
  8780. ]]
  8781. ],
  8782. [
  8783. ["Fade", pc, 6845614629349602]
  8784. ], !1, !1, 0x4d1b4a9de5228, [], null
  8785. ],
  8786. ["t9", mc, !1, [], 1, 0, ["images/bb.png", 497, 1], null, [
  8787. ["LiteTween", Z, 716130858014041]
  8788. ], !1, !1, 0xd8ff6606c2909, [],
  8789. null
  8790. ],
  8791. ["t10", S, !1, [], 1, 0, null, [
  8792. ["Default", 5, !1, 1, 0, !1, 0xed6ca165db968, [
  8793. ["images/sprite7-sheet0.png", 2311, 0, 0, 448, 285, 1, 0.5133928656578064, 0.6245614290237427, [],
  8794. [-0.5022321939468384, -0.6070175170898438, -0.0133928656578064, -0.6210526823997498, 0.4754461050033569, -0.6070175170898438, 0.4754461050033569, 0.3578945994377136, -0.0133928656578064, 0.3719295859336853, -0.5022321939468384, 0.3578945994377136], 0
  8795. ]
  8796. ]]
  8797. ],
  8798. [
  8799. ["LiteTween", Z, 5882971777310524]
  8800. ], !1, !1, 561940439425548, [], null
  8801. ],
  8802. ["t11", S, !1, [], 1, 0, null, [
  8803. ["Default",
  8804. 5, !1, 1, 0, !1, 9173718587383972, [
  8805. ["images/sprite8-sheet0.png", 2006, 0, 0, 322, 83, 1, 0.5031055808067322, 0.4819277226924896, [],
  8806. [-0.4968943893909454, -0.2048197090625763, -0.02484458684921265, -0.4216867089271545, 0.4875774383544922, -0.3493977189064026, 0.4906834363937378, 0.361445277929306, -0.02484458684921265, 0.4578312933444977, -0.4937888085842133, 0.1927712857723236], 0
  8807. ]
  8808. ]
  8809. ]
  8810. ],
  8811. [
  8812. ["Pin", qc, 5516270865736215]
  8813. ], !1, !1, 9867752013539772, [], null
  8814. ],
  8815. ["t12", S, !1, [], 1, 0, null, [
  8816. ["Default", 0, !1, 1, 0, !1, 0x3a8108a2837d6, [
  8817. ["images/sprite9-sheet1.png",
  8818. 1716, 1, 1, 76, 76, 1, 0.5, 0.5, [],
  8819. [-0.4605262875556946, -0.4342105090618134, 0.02631598711013794, -0.4868420958518982, 0.4736840128898621, -0.3947370052337647, 0.4868419766426086, 0.02631598711013794, 0.4605259895324707, 0.4473680257797241, 0.02631598711013794, 0.4868419766426086, -0.4210526049137116, 0.4605259895324707, -0.4868420958518982, 0.02631598711013794], 0
  8820. ],
  8821. ["images/sprite9-sheet0.png", 9169, 0, 0, 262, 262, 1, 0.5, 0.5, [],
  8822. [-0.4083968997001648, -0.2824429869651794, -0.06106901168823242, -0.4923664033412933, 0.3511450290679932, -0.3473280072212219, 0.4961829781532288, -0.01908400654792786, 0.3702290058135986, 0.3282439708709717, -0.06106901168823242, 0.4923660159111023, -0.4236640930175781, 0.2595419883728027, -0.4961832165718079, -0.01908400654792786], 0
  8823. ],
  8824. ["images/sprite9-sheet1.png", 1716, 129, 1, 76, 76, 1, 0.5, 0.5, [],
  8825. [], 0
  8826. ]
  8827. ]]
  8828. ],
  8829. [
  8830. ["Pin", qc, 532240736867219]
  8831. ], !1, !1, 9040860994490464, [], null
  8832. ],
  8833. ["t13", lc, !1, [], 1, 0, ["images/spritefont.png", 2684, 0], null, [
  8834. ["Pin", qc, 8905522558205407]
  8835. ], !1, !1, 0x8a4a98dbad7d1, [], null],
  8836. ["t14", lc, !1, [], 1, 0, ["images/spritefont2.png",
  8837. 2730, 0
  8838. ], null, [
  8839. ["Fade", pc, 8394956627605564]
  8840. ], !1, !1, 6662633823640191, [], null],
  8841. ["t15", S, !1, [], 1, 0, null, [
  8842. ["Default", 5, !1, 1, 0, !1, 493763005418497, [
  8843. ["images/sprite10-sheet0.png", 2328, 0, 0, 289, 68, 1, 0.4878892600536346, 0.455882340669632, [],
  8844. [-0.4359861612319946, 0.1470586359500885, -2.682209014892578E-7, -0.426470547914505, 0.5051907300949097, -0.1470583379268646, 0.4602077305316925, -0.05882334709167481, -2.682209014892578E-7, 0.5147056579589844, -0.4602075517177582, -0.05882334709167481], 0
  8845. ]
  8846. ]]
  8847. ],
  8848. [
  8849. ["Fade", pc, 6414514060202242]
  8850. ], !1, !1, 8303894239311853, [], null
  8851. ],
  8852. ["t16", nc, !1, [], 0, 0, null, null, [], !1, !1, 0xf11eeb4fbf76, [], null, []],
  8853. ["t17", S, !1, [], 1, 0, null, [
  8854. ["Default", 5, !1, 1, 0, !1, 0xcb8cb3737343b, [
  8855. ["images/sprite11-sheet0.png", 1729, 0, 0, 124, 64, 1, 0.5161290168762207, 0.671875, [],
  8856. [-0.2096770107746124, -0.265625, -0.008064031600952148, -0.640625, 0.2983869910240173, -0.453125, 0.4435479640960693, -0.25, 0.4274190068244934, 0.21875, -0.008064031600952148, 0.3125, -0.4758064150810242, 0.296875, -0.3709680140018463, -0.25], 0
  8857. ]
  8858. ]]
  8859. ],
  8860. [
  8861. ["Bullet", oc, 0x5c7b1c73eff88]
  8862. ], !1, !1, 0x50a7d6eb0eec1, [], null
  8863. ],
  8864. ["t18", mc, !1, [], 0, 0, ["images/tiledbackground4.png", 109, 1], null, [], !1, !1, 5110367643940003, [], null],
  8865. ["t19", S, !1, [], 2, 0, null, [
  8866. ["Default", 5, !1, 1, 0, !1, 906358713044733, [
  8867. ["images/sprite12-sheet0.png", 3127, 0, 0, 64, 68, 1, 0.5, 1, [
  8868. ["Imagepoint 1", 0.5, 0]
  8869. ],
  8870. [-0.46875, -0.02941197156906128, -0.359375, -0.5, -0.484375, -0.9852941036224365, 0.484375, -0.9852941036224365, 0.453125, -0.5, 0.390625, -0.1029409766197205], 0
  8871. ]
  8872. ]]
  8873. ],
  8874. [
  8875. ["LiteTween", Z, 8315946232225864],
  8876. ["Pin", qc, 778409061618115]
  8877. ], !1, !1, 9830989858350564, [], null
  8878. ],
  8879. ["t20", S, !1, [7853552559856033, 5306691977667506], 0, 0, null, [
  8880. ["Default", 5, !1, 1, 0, !1, 4900317172751484, [
  8881. ["images/sprite13-sheet0.png", 4390, 0, 0, 57, 664, 1, 0.5087719559669495, 0.9954819083213806, [
  8882. ["Imagepoint 1", 0.5087719559669495, 0]
  8883. ],
  8884. [-0.399122953414917, -0.9454067349433899, -0.399122953414917, -0.9939758777618408, 0.3969300389289856, -0.9937876462936401, 0.3991230726242065, -0.9457830190658569], 0
  8885. ]
  8886. ]]
  8887. ],
  8888. [], !1, !1, 0x5523fc9576e1c, [], null
  8889. ],
  8890. ["t21", mc, !1, [], 1, 0, ["images/tiledbackground.png", 713, 0], null, [
  8891. ["LiteTween",
  8892. Z, 5521008898927566
  8893. ]
  8894. ], !1, !1, 0xdccbe45652686, [], null],
  8895. ["t22", S, !1, [], 1, 0, null, [
  8896. ["Default", 0, !1, 1, 0, !1, 9757685567308040, [
  8897. ["images/sprite14-sheet0.png", 385, 1, 1, 35, 4, 1, 0.5142857432365417, 0.5, [],
  8898. [0.4857142567634583, 0, 0.4857142567634583, 0.5, -0.5142857432365417, 0.5, -0.5142857432365417, 0], 0
  8899. ],
  8900. ["images/sprite14-sheet0.png", 385, 1, 9, 35, 3, 1, 0.5142857432365417, 0.6666666865348816, [],
  8901. [], 0
  8902. ]
  8903. ]]
  8904. ],
  8905. [
  8906. ["Pin", qc, 6079697687060783]
  8907. ], !1, !1, 0xac74ebd24d8fe, [], null
  8908. ],
  8909. ["t23", mc, !1, [], 0, 0, ["images/tiledbackground2.png", 42525, 0], null, [], !1, !1, 0xe75131c60057d, [], null],
  8910. ["t24", S, !1, [], 1, 0, null, [
  8911. ["Default", 5, !1, 1, 0, !1, 9690095021800528, [
  8912. ["images/sprite15-sheet0.png", 495, 0, 0, 20, 18, 1, 0.5, 0.5, [],
  8913. [], 0
  8914. ]
  8915. ]]
  8916. ],
  8917. [
  8918. ["Pin", qc, 7119145299356644]
  8919. ], !1, !1, 5338370563537748, [], null
  8920. ]
  8921. ],
  8922. [],
  8923. [
  8924. ["Layout 1", 480, 854, !0, "Event sheet 1", 8101207093042208, [
  8925. ["back", 0, 0xf946e897dc69f, !0, [180, 227, 221], !1, 0.1000000014901161, 0.1000000014901161, 1, !1, 1, 0, 0, [
  8926. [
  8927. [-24, 566, 0, 7, 0, 0, 0, 1, 0.5714285969734192, 1, 0, 0, []], 2, 2, [
  8928. [0],
  8929. [0]
  8930. ],
  8931. [
  8932. [0, 4, 1, "90", 0, 0.6, 0]
  8933. ],
  8934. [0, "Default", 0, 1]
  8935. ],
  8936. [
  8937. [120, 601,
  8938. 0, 44, 50, 0, 0, 1, 0.4772727191448212, 0.5600000023841858, 0, 0, []
  8939. ], 5, 6, [],
  8940. [
  8941. [0, 0, 3, "50,0", 1, 0.8, 0],
  8942. []
  8943. ],
  8944. [1, "Default", 0, 1]
  8945. ]
  8946. ],
  8947. []
  8948. ],
  8949. ["bav", 1, 0x890c3f3f3f10, !0, [255, 255, 255], !0, 0.5, 0.5, 1, !1, 1, 0, 0, [
  8950. [
  8951. [-178, 518, 0, 1640, 274, 0, 0, 1, 0, 0, 0, 0, []], 23, 1, [],
  8952. [],
  8953. [0, 0]
  8954. ],
  8955. [
  8956. [-7, 761, 0, 1508, 98, 0, 0, 1, 0, 0, 0, 0, []], 18, 28, [],
  8957. [],
  8958. [0, 0]
  8959. ]
  8960. ],
  8961. []
  8962. ],
  8963. ["game", 2, 458047829034085, !0, [255, 255, 255], !0, 1, 1, 1, !1, 1, 0, 0, [
  8964. [
  8965. [911, 1044, 0, 57, 664, 0, 0, 1, 0.5087719559669495, 0.9954819083213806, 0, 0, []], 20, 10, [
  8966. [0],
  8967. [1]
  8968. ],
  8969. [],
  8970. [0, "Default", 0, 1]
  8971. ],
  8972. [
  8973. [676, 1163, 0, 57, 664, 0, 0, 1, 0.5087719559669495,
  8974. 0.9954819083213806, 0, 0, []
  8975. ], 20, 5, [
  8976. [0],
  8977. [1]
  8978. ],
  8979. [],
  8980. [0, "Default", 0, 1]
  8981. ],
  8982. [
  8983. [239, 633.0960083007812, 0, 46, 63, 0, 0, 1, 0.4130434691905975, 1, 0, 0, []], 0, 0, [
  8984. [0],
  8985. [0],
  8986. [0]
  8987. ],
  8988. [
  8989. [],
  8990. [0, 0, 0, 0, 0, 1],
  8991. [0, 0, 14, "500,-500", 1, 0.9, 0],
  8992. []
  8993. ],
  8994. [0, "Default", 0, 1]
  8995. ],
  8996. [
  8997. [402, 72, 0, 124, 64, 0, 0, 1, 0.5161290168762207, 0.671875, 0, 0, []], 17, 11, [],
  8998. [
  8999. [-20, 0, 0, 0, 0, 1]
  9000. ],
  9001. [0, "Default", 0, 1]
  9002. ],
  9003. [
  9004. [-3, 103, 0, 124, 64, 0, 0, 1, 0.5161290168762207, 0.671875, 0, 0, []], 17, 15, [],
  9005. [
  9006. [-20, 0, 0, 0, 0, 1]
  9007. ],
  9008. [0, "Default", 0, 1]
  9009. ],
  9010. [
  9011. [639, 135, 0, 124, 64, 0, 0, 1, 0.5161290168762207, 0.671875, 0, 0, []], 17, 25, [],
  9012. [
  9013. [-20,
  9014. 0, 0, 0, 0, 1
  9015. ]
  9016. ],
  9017. [0, "Default", 0, 1]
  9018. ],
  9019. [
  9020. [608, 265, 0, 124, 64, 0, 0, 1, 0.5161290168762207, 0.671875, 0, 0, []], 17, 26, [],
  9021. [
  9022. [-20, 0, 0, 0, 0, 1]
  9023. ],
  9024. [0, "Default", 0, 1]
  9025. ],
  9026. [
  9027. [810, 45, 0, 124, 64, 0, 0, 1, 0.5161290168762207, 0.671875, 0, 0, []], 17, 27, [],
  9028. [
  9029. [-20, 0, 0, 0, 0, 1]
  9030. ],
  9031. [0, "Default", 0, 1]
  9032. ],
  9033. [
  9034. [239, 1332, 0, 57, 664, 0, 0, 1, 0.5087719559669495, 0.9954819083213806, 0, 0, []], 20, 30, [
  9035. [1],
  9036. [0]
  9037. ],
  9038. [],
  9039. [0, "Default", 0, 1]
  9040. ],
  9041. [
  9042. [473, 1173, 0, 57, 664, 0, 0, 1, 0.5087719559669495, 0.9954819083213806, 0, 0, []], 20, 31, [
  9043. [0],
  9044. [1]
  9045. ],
  9046. [],
  9047. [0, "Default", 0, 1]
  9048. ],
  9049. [
  9050. [237.9943389892578, 668.0156860351562,
  9051. 0, 33.03840255737305, 35.10330200195313, 0, 0, 1, 0.5, 1, 0, 0, []
  9052. ], 19, 29, [],
  9053. [
  9054. [0, 3, 0, "4", 0, 1, 0],
  9055. []
  9056. ],
  9057. [0, "Default", 0, 1]
  9058. ],
  9059. [
  9060. [237.4525756835938, 669.4608764648438, 0, 35, 4, 0, 0, 1, 0.5142857432365417, 0.5, 0, 0, []], 22, 34, [],
  9061. [
  9062. []
  9063. ],
  9064. [0, "Default", 0, 1]
  9065. ],
  9066. [
  9067. [238, 632, 0, 35, 3, 0, 0, 1, 0.5142857432365417, 0.6666666865348816, 0, 0, []], 22, 35, [],
  9068. [
  9069. []
  9070. ],
  9071. [0, "Default", 1, 1]
  9072. ],
  9073. [
  9074. [-63, 757, 0, 1725, 145, 0, 0, 1, 0, 0, 0, 0, []], 21, 33, [],
  9075. [
  9076. [2, 0, 0, "0,30", 1, 3, 0]
  9077. ],
  9078. [0, 0]
  9079. ]
  9080. ],
  9081. []
  9082. ],
  9083. ["ui", 3, 7880551160014243, !0, [255, 255, 255], !0, 0, 0, 1, !1, 1, 0, 0, [
  9084. [
  9085. [228, 137, 0, 89.91594696044922, 89.91594696044922,
  9086. 0, 0, 0, 0.5, 0.5, 0, 0, []
  9087. ], 7, 8, [],
  9088. [
  9089. [0, 1, 0, 0, 0]
  9090. ],
  9091. [0, "Default", 0, 1]
  9092. ],
  9093. [
  9094. [237, 459, 0, 184.8778991699219, 184.8778991699219, 0, 0, 1, 0.5, 0.5, 0, 0, []], 6, 7, [],
  9095. [
  9096. [2, 0, 3, "0,20", 1, 1.2, 0],
  9097. [0, 0, 0, 1, 1]
  9098. ],
  9099. [0, "Default", 0, 1]
  9100. ],
  9101. [
  9102. [228, 138, 0, 190, 76, 0, 0, 0, 0.5, 0.5, 0, 0, []], 14, 24, [],
  9103. [
  9104. [0, 1, 0, 0, 0]
  9105. ],
  9106. [32, 52, "0123456789", "0", 1, 0, 1, 1, 1, 0, 0, 0]
  9107. ],
  9108. [
  9109. [309, 167, 0, 410.508544921875, 230.372802734375, 0, 0, 1, 0.6678321957588196, 0.2554517090320587, 0, 0, []], 8, 9, [],
  9110. [
  9111. [0, 0, 0, 1, 1]
  9112. ],
  9113. [0, "Default", 0, 1]
  9114. ],
  9115. [
  9116. [81, -103, 0, 76, 76, 0, 0, 1, 0.5, 0.5, 0, 0, []], 12, 19, [],
  9117. [
  9118. []
  9119. ],
  9120. [1, "Default",
  9121. 0, 1
  9122. ]
  9123. ],
  9124. [
  9125. [243, -108, 0, 184.8780059814453, 184.8780059814453, 0, 0, 1, 0.5, 0.5, 0, 0, []], 12, 20, [],
  9126. [
  9127. []
  9128. ],
  9129. [0, "Default", 1, 1]
  9130. ],
  9131. [
  9132. [245, -317, 0, 448, 285, 0, 0, 1, 0.5133928656578064, 0.6245614290237427, 0, 0, []], 10, 17, [],
  9133. [
  9134. [0, 0, 3, "0,700", 1, 0.3, 0]
  9135. ],
  9136. [0, "Default", 0, 1]
  9137. ],
  9138. [
  9139. [239, -550, 0, 322, 83, 0, 0, 1, 0.5031055808067322, 0.4819277226924896, 0, 0, []], 11, 18, [],
  9140. [
  9141. []
  9142. ],
  9143. [0, "Default", 0, 1]
  9144. ],
  9145. [
  9146. [243, -393, 0, 188, 62, 0, 0, 1, 0.5, 0.5, 0, 0, []], 13, 22, [],
  9147. [
  9148. []
  9149. ],
  9150. [32, 40, "0123456789", "0", 1, 0, 1, 1, 1, 0, 0, 0]
  9151. ],
  9152. [
  9153. [241, -272, 0, 188, 62, 0, 0, 1, 0.5, 0.5, 0, 0, []], 13, 23, [],
  9154. [
  9155. []
  9156. ],
  9157. [32, 40,
  9158. "0123456789", "0", 1, 0, 1, 1, 1, 0, 0, 0
  9159. ]
  9160. ],
  9161. [
  9162. [304.3999633789063, -319, 0, 20, 18, 0, 0, 1, 0.5, 0.5, 0, 0, []], 24, 12, [],
  9163. [
  9164. []
  9165. ],
  9166. [1, "Default", 0, 1]
  9167. ]
  9168. ],
  9169. []
  9170. ]
  9171. ],
  9172. [],
  9173. []
  9174. ]
  9175. ],
  9176. [
  9177. ["Event sheet 1", [
  9178. [1, "num", 0, 1044, !1, !1, 7391843447923206, !1],
  9179. [1, "power", 0, 0, !1, !1, 0xa10c0d6e7b3b, !1],
  9180. [1, "best", 0, 0, !1, !1, 5261358787360946, !1],
  9181. [1, "back", 0, 0, !1, !1, 7044493670597222, !1],
  9182. [1, "nextx0", 0, 0, !1, !1, 7884793115841781, !1],
  9183. [1, "nextx2", 0, 0, !1, !1, 0x3d55935c5c31a, !1],
  9184. [1, "tx", 0, 0, !1, !1, 0x6929ebff56ed3, !1],
  9185. [1, "gamepro", 1, "ready", !1, !1, 8228435175990197, !1],
  9186. [1, "nowx",
  9187. 0, 0, !1, !1, 0x682e877223afc, !1
  9188. ],
  9189. [1, "nextx", 0, 0, !1, !1, 5471074606225359, !1],
  9190. [1, "now", 0, 0, !1, !1, 7135999767920842, !1],
  9191. [1, "score", 0, 0, !1, !1, 0xc84ec2c07b30c, !1],
  9192. [0, null, !1, null, 9325887974848032, [
  9193. [-1, Q.prototype.p.Om, null, 1, !1, !1, !1, 6859059433406308, !1]
  9194. ],
  9195. [
  9196. [-1, Q.prototype.k.nq, null, 0xe67c0bb01e25b, !1],
  9197. [-1, Q.prototype.k.sb, null, 8381601021978332, !1, [
  9198. [11, "score"],
  9199. [7, [0, 0]]
  9200. ]],
  9201. [-1, Q.prototype.k.sb, null, 0xc254f49848863, !1, [
  9202. [11, "gamepro"],
  9203. [7, [2, "ready"]]
  9204. ]],
  9205. [0, oc.prototype.k.Wm, "Bullet", 5637389712033021, !1, [
  9206. [0, [0,
  9207. 0
  9208. ]]
  9209. ]],
  9210. [0, oc.prototype.k.Vm, "Bullet", 5195211848662504, !1, [
  9211. [0, [0, 0]]
  9212. ]],
  9213. [0, oc.prototype.k.Ym, "Bullet", 6348352990279919, !1, [
  9214. [0, [0, 0]]
  9215. ]],
  9216. [2, S.prototype.k.Yj, null, 770763744275402, !1],
  9217. [24, qc.prototype.k.ye, "Pin", 0xe65926fd94e2d, !1, [
  9218. [4, 10],
  9219. [3, 1]
  9220. ]],
  9221. [24, S.prototype.k.Ae, null, 7860473964662377, !1, [
  9222. [3, 0]
  9223. ]],
  9224. [11, qc.prototype.k.ye, "Pin", 0x4109c47f9a8a4, !1, [
  9225. [4, 10],
  9226. [3, 1]
  9227. ]],
  9228. [12, qc.prototype.k.ye, "Pin", 6585475515628359, !1, [
  9229. [4, 10],
  9230. [3, 1]
  9231. ]],
  9232. [13, qc.prototype.k.ye, "Pin", 5340913201635483, !1, [
  9233. [4, 10],
  9234. [3, 1]
  9235. ]],
  9236. [-1, Q.prototype.k.sb,
  9237. null, 0x4fddcd4e5d8ac, !1, [
  9238. [11, "back"],
  9239. [7, [19, Q.prototype.J.gi, [
  9240. [0, 1],
  9241. [0, 2],
  9242. [0, 3],
  9243. [0, 3],
  9244. [0, 5]
  9245. ]]]
  9246. ]
  9247. ],
  9248. [-1, Q.prototype.k.Sh, null, 5241336501544664, !1, [
  9249. [0, [1, 0.2]]
  9250. ]],
  9251. [-1, Q.prototype.k.sb, null, 6619278807778575, !1, [
  9252. [11, "best"],
  9253. [7, [20, 16, nc.prototype.J.Nm, !0, null, [
  9254. [2, "p"]
  9255. ]]]
  9256. ]]
  9257. ],
  9258. [
  9259. [0, null, !1, null, 8400704550802204, [
  9260. [16, nc.prototype.p.Um, null, 0, !1, !1, !1, 0xf1f25506f00a9, !1, [
  9261. [1, [2, "p"]]
  9262. ]]
  9263. ],
  9264. [
  9265. [-1, Q.prototype.k.sb, null, 0x8a37ef9518d69, !1, [
  9266. [11, "best"],
  9267. [7, [20, 16, nc.prototype.J.Nm, !0, null, [
  9268. [2, "p"]
  9269. ]]]
  9270. ]]
  9271. ]
  9272. ],
  9273. [0, null, !1, null,
  9274. 7389062669048663, [
  9275. [16, nc.prototype.p.Um, null, 0, !1, !0, !1, 0x4858cdc5a8d50, !1, [
  9276. [1, [2, "p"]]
  9277. ]]
  9278. ],
  9279. [
  9280. [-1, Q.prototype.k.sb, null, 5430546727104134, !1, [
  9281. [11, "best"],
  9282. [7, [0, 0]]
  9283. ]]
  9284. ]
  9285. ]
  9286. ]
  9287. ],
  9288. [0, null, !1, null, 434232189243945, [
  9289. [3, T.prototype.p.Nh, null, 1, !1, !1, !1, 4545827406202909, !1],
  9290. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 4915491939436138, !1, [
  9291. [11, "gamepro"],
  9292. [8, 0],
  9293. [7, [2, "start"]]
  9294. ]]
  9295. ],
  9296. [
  9297. [0, rc.prototype.k.uq, "Timer", 0xe6c1139166ffb, !1, [
  9298. [0, [0, 10]],
  9299. [3, 1],
  9300. [1, [2, "add"]]
  9301. ]]
  9302. ]
  9303. ],
  9304. [0, null, !1, null, 0xa2c21a9bec42b, [
  9305. [-1, Q.prototype.p.Tp, null, 0, !1, !1, !1, 9669989972674804, !1]
  9306. ],
  9307. [
  9308. [-1, Q.prototype.k.qq, null, 95774055465082, !1, [
  9309. [0, [4, [20, 5, S.prototype.J.Be, !1, null],
  9310. [0, 140]
  9311. ]]
  9312. ]],
  9313. [14, lc.prototype.k.lk, null, 6959384860999426, !1, [
  9314. [7, [23, "score"]]
  9315. ]]
  9316. ],
  9317. [
  9318. [0, null, !1, null, 0xb94a56fef85f9, [
  9319. [13, lc.prototype.p.Tm, null, 0, !1, !1, !0, 0x7617be05f85cc, !1, [
  9320. [0, [0, 22]]
  9321. ]]
  9322. ],
  9323. [
  9324. [13, lc.prototype.k.lk, null, 0x533fae9599d34, !1, [
  9325. [7, [23, "score"]]
  9326. ]]
  9327. ]
  9328. ],
  9329. [0, null, !1, null, 6241855711537887, [
  9330. [13, lc.prototype.p.Tm, null, 0, !1, !1, !0, 0x95c9f9a948002, !1, [
  9331. [0, [0, 23]]
  9332. ]]
  9333. ],
  9334. [
  9335. [13, lc.prototype.k.lk, null,
  9336. 0xaaa8e1aac1103, !1, [
  9337. [7, [23, "best"]]
  9338. ]
  9339. ]
  9340. ]
  9341. ],
  9342. [0, null, !1, null, 0x45d3a1943381d, [
  9343. [22, S.prototype.p.qf, null, 0, !1, !1, !1, 6109734039122462, !1, [
  9344. [8, 0],
  9345. [0, [0, 1]]
  9346. ]]
  9347. ],
  9348. [
  9349. [22, S.prototype.k.Xm, null, 5775381970737824, !1, [
  9350. [4, 19],
  9351. [7, [0, 1]]
  9352. ]]
  9353. ]
  9354. ],
  9355. [0, null, !1, null, 9495527241723662, [
  9356. [22, S.prototype.p.qf, null, 0, !1, !1, !1, 0xe39de2beb94b1, !1, [
  9357. [8, 0],
  9358. [0, [0, 0]]
  9359. ]]
  9360. ],
  9361. [
  9362. [22, S.prototype.k.Xm, null, 0x5ecfea0bebbf6, !1, [
  9363. [4, 19],
  9364. [7, [0, 0]]
  9365. ]]
  9366. ]
  9367. ]
  9368. ]
  9369. ],
  9370. [0, null, !1, null, 61333747361533, [
  9371. [3, T.prototype.p.Mh, null, 1, !1, !1, !1, 0x42102adfbdbad, !1, [
  9372. [4, 6]
  9373. ]]
  9374. ],
  9375. [
  9376. [6, pc.prototype.k.jg,
  9377. "Fade", 0x8336fa0e194d5, !1
  9378. ],
  9379. [8, pc.prototype.k.jg, "Fade", 7501467416795499, !1],
  9380. [5, Z.prototype.k.Oh, "LiteTween", 7332177753111449, !1, [
  9381. [3, 0],
  9382. [3, 0],
  9383. [0, [20, 0, S.prototype.J.Be, !1, null]]
  9384. ]],
  9385. [5, Z.prototype.k.Oh, "LiteTween", 0x9e41f50338ec3, !1, [
  9386. [3, 1],
  9387. [3, 0],
  9388. [0, [20, 0, S.prototype.J.kg, !1, null]]
  9389. ]],
  9390. [5, Z.prototype.k.Ph, "LiteTween", 9358483570476018, !1, [
  9391. [3, 0]
  9392. ]],
  9393. [-1, Q.prototype.k.Sh, null, 0x6719ab886a013, !1, [
  9394. [0, [1, 0.4]]
  9395. ]],
  9396. [-1, Q.prototype.k.sb, null, 9281178315290652, !1, [
  9397. [11, "gamepro"],
  9398. [7, [2, "start"]]
  9399. ]],
  9400. [0, S.prototype.k.ze,
  9401. null, 0xf7425b11bedb3, !1, [
  9402. [10, 0],
  9403. [3, 1]
  9404. ]
  9405. ],
  9406. [15, pc.prototype.k.jg, "Fade", 9421399820152916, !1],
  9407. [14, pc.prototype.k.jg, "Fade", 5588035552256987, !1],
  9408. [7, pc.prototype.k.jg, "Fade", 0xae736edcaf776, !1]
  9409. ]
  9410. ],
  9411. [0, null, !1, null, 0xf1673beb68714, [
  9412. [0, S.prototype.p.Km, null, 0, !1, !1, !1, 6642991046955313, !1, [
  9413. [8, 4],
  9414. [0, [0, 1E3]]
  9415. ]],
  9416. [-1, Q.prototype.p.wq, null, 0, !1, !1, !1, 9399435248107336, !1]
  9417. ],
  9418. [
  9419. [4, kc.prototype.k.Play, null, 8819222745039483, !1, [
  9420. [2, ["fall2", !1]],
  9421. [3, 0],
  9422. [0, [0, 0]],
  9423. [1, [2, ""]]
  9424. ]],
  9425. [0, oc.prototype.k.jk, "Bullet", 5155962753767553, !1, [
  9426. [3, 0]
  9427. ]],
  9428. [0, S.prototype.k.Ae, null, 4877401196555738, !1, [
  9429. [3, 0]
  9430. ]],
  9431. [-1, Q.prototype.k.Sh, null, 5388305326574935, !1, [
  9432. [0, [1, 0.3]]
  9433. ]],
  9434. [-1, Q.prototype.k.sb, null, 601678754754085, !1, [
  9435. [11, "gamepro"],
  9436. [7, [2, "end"]]
  9437. ]],
  9438. [7, S.prototype.k.Ae, null, 7577688877566031, !1, [
  9439. [3, 0]
  9440. ]],
  9441. [14, lc.prototype.k.Ae, null, 9497309669635472, !1, [
  9442. [3, 0]
  9443. ]],
  9444. [15, S.prototype.k.Ae, null, 6140522809977068, !1, [
  9445. [3, 0]
  9446. ]],
  9447. [10, Z.prototype.k.Ph, "LiteTween", 8579581807079062, !1, [
  9448. [3, 1]
  9449. ]]
  9450. ],
  9451. [
  9452. [0, null, !1, null, 0xd28ef80a38f14, [
  9453. [-1, Q.prototype.p.we, null, 0, !1, !1, !1,
  9454. 9495880445554952, !1, [
  9455. [11, "score"],
  9456. [8, 4],
  9457. [7, [23, "best"]]
  9458. ]
  9459. ]
  9460. ],
  9461. [
  9462. [24, S.prototype.k.Ae, null, 542906379293247, !1, [
  9463. [3, 1]
  9464. ]],
  9465. [-1, Q.prototype.k.sb, null, 0x638eddc99706d, !1, [
  9466. [11, "best"],
  9467. [7, [23, "score"]]
  9468. ]],
  9469. [16, nc.prototype.k.Zm, null, 9905999318925496, !1, [
  9470. [1, [2, "p"]],
  9471. [7, [23, "best"]]
  9472. ]]
  9473. ]
  9474. ]
  9475. ]
  9476. ],
  9477. [0, null, !1, null, 5472791932042609, [
  9478. [3, T.prototype.p.Mh, null, 1, !1, !1, !1, 6215698475900057, !1, [
  9479. [4, 12]
  9480. ]],
  9481. [12, S.prototype.p.Wp, null, 0, !1, !1, !1, 6435330077318188, !1]
  9482. ],
  9483. [],
  9484. [
  9485. [0, null, !1, null, 0xf9914733102a3, [
  9486. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 9669983665505672, !1, [
  9487. [11, "score"],
  9488. [8, 4],
  9489. [7, [23, "best"]]
  9490. ]]
  9491. ],
  9492. [
  9493. [24, S.prototype.k.Ae, null, 0xd426bb3641dd1, !1, [
  9494. [3, 1]
  9495. ]],
  9496. [-1, Q.prototype.k.sb, null, 0x5fa93541b9e89, !1, [
  9497. [11, "best"],
  9498. [7, [23, "score"]]
  9499. ]],
  9500. [16, nc.prototype.k.Zm, null, 6715549878756293, !1, [
  9501. [1, [2, "p"]],
  9502. [7, [23, "best"]]
  9503. ]]
  9504. ]
  9505. ],
  9506. [0, null, !1, null, 6868392072984013, [
  9507. [12, S.prototype.p.qf, null, 0, !1, !1, !1, 0x8936a8b6250b9, !1, [
  9508. [8, 0],
  9509. [0, [0, 0]]
  9510. ]]
  9511. ],
  9512. [
  9513. [-1, Q.prototype.k.Vp, null, 5280293961341887, !1, [
  9514. [6, "Layout 1"]
  9515. ]]
  9516. ]
  9517. ],
  9518. [0, null, !1, null, 9105628932619564, [
  9519. [12, S.prototype.p.qf,
  9520. null, 0, !1, !1, !1, 0x68e738cd1ec7c, !1, [
  9521. [8, 0],
  9522. [0, [0, 1]]
  9523. ]
  9524. ]
  9525. ],
  9526. [
  9527. [-1, Q.prototype.k.oq, null, 6605481645967859, !1]
  9528. ]
  9529. ]
  9530. ]
  9531. ],
  9532. [0, null, !1, null, 5648933387994362, [
  9533. [3, T.prototype.p.Nh, null, 1, !1, !1, !1, 906540489843449, !1],
  9534. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 4563758128494734, !1, [
  9535. [11, "gamepro"],
  9536. [8, 0],
  9537. [7, [2, "start"]]
  9538. ]],
  9539. [0, S.prototype.p.$j, null, 0, !1, !1, !1, 7345023811076289, !1, [
  9540. [10, 0]
  9541. ]]
  9542. ],
  9543. [
  9544. [19, Z.prototype.k.Ph, "LiteTween", 0xedb515c10b920, !1, [
  9545. [3, 0]
  9546. ]],
  9547. [19, Z.prototype.k.ik, "LiteTween", 0xb66cfebe264eb, !1, [
  9548. [0, [0, 1]]
  9549. ]],
  9550. [4, kc.prototype.k.Play,
  9551. null, 6670628138222723, !1, [
  9552. [2, ["compressing", !1]],
  9553. [3, 0],
  9554. [0, [0, -10]],
  9555. [1, [2, "222"]]
  9556. ]
  9557. ]
  9558. ],
  9559. [
  9560. [0, null, !1, null, 9853927989541664, [
  9561. [22, S.prototype.p.qf, null, 0, !1, !1, !1, 5975479893115909, !1, [
  9562. [8, 0],
  9563. [0, [0, 1]]
  9564. ]]
  9565. ],
  9566. [
  9567. [0, qc.prototype.k.ye, "Pin", 0x3aae6c311778d, !1, [
  9568. [4, 22],
  9569. [3, 1]
  9570. ]]
  9571. ]
  9572. ]
  9573. ]
  9574. ],
  9575. [0, null, !1, null, 289847928848336, [
  9576. [3, T.prototype.p.hk, null, 1, !1, !1, !1, 6336859063915032, !1],
  9577. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 9774906530479778, !1, [
  9578. [11, "gamepro"],
  9579. [8, 0],
  9580. [7, [2, "start"]]
  9581. ]],
  9582. [0, S.prototype.p.$j, null, 0, !1, !1, !1, 8835900095435582, !1, [
  9583. [10, 0]
  9584. ]]
  9585. ],
  9586. [
  9587. [0, qc.prototype.k.xq, "Pin", 4925785938626632, !1],
  9588. [19, Z.prototype.k.Qh, "LiteTween", 6412381753453254, !1, [
  9589. [3, 0]
  9590. ]],
  9591. [19, S.prototype.k.Yj, null, 7882897262782334, !1],
  9592. [22, S.prototype.k.Yj, null, 0xbf8fc63caf682, !1],
  9593. [-1, Q.prototype.k.sb, null, 7627234363134008, !1, [
  9594. [11, "power"],
  9595. [7, [22, 19, "LiteTween", Z.prototype.J.mq, !1, null]]
  9596. ]],
  9597. [0, Z.prototype.k.Oh, "LiteTween", 6711819406697816, !1, [
  9598. [3, 0],
  9599. [3, 1],
  9600. [0, [6, [0, 420],
  9601. [23, "power"]
  9602. ]]
  9603. ]],
  9604. [0, Z.prototype.k.Oh, "LiteTween", 0x84510a354606a, !1, [
  9605. [3, 1],
  9606. [3, 1],
  9607. [0, [6, [0, -600],
  9608. [23, "power"]
  9609. ]]
  9610. ]],
  9611. [0, Z.prototype.k.Ph, "LiteTween", 4576330550366662, !1, [
  9612. [3, 0]
  9613. ]],
  9614. [0, Z.prototype.k.ik, "LiteTween", 5374619994723349, !1, [
  9615. [0, [6, [1, 0.7],
  9616. [6, [23, "power"],
  9617. [1, 1.4]
  9618. ]
  9619. ]]
  9620. ]],
  9621. [4, kc.prototype.k.Play, null, 9022325534256046, !1, [
  9622. [2, ["jump", !1]],
  9623. [3, 0],
  9624. [0, [0, 0]],
  9625. [1, [2, ""]]
  9626. ]],
  9627. [-1, Q.prototype.k.sb, null, 9503011517939246, !1, [
  9628. [11, "gamepro"],
  9629. [7, [2, "start"]]
  9630. ]],
  9631. [4, kc.prototype.k.Qh, null, 5132096703495314, !1, [
  9632. [1, [2, "222"]]
  9633. ]],
  9634. [0, S.prototype.k.ze, null, 9980369046214, !1, [
  9635. [10, 0],
  9636. [3, 0]
  9637. ]]
  9638. ]
  9639. ],
  9640. [0, null, !1, null, 9940602742997988, [
  9641. [0, Z.prototype.p.ck, "LiteTween", 1, !1, !1, !1, 7163945442523732, !1],
  9642. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 0x6010e3cd60cc, !1, [
  9643. [11, "gamepro"],
  9644. [8, 0],
  9645. [7, [2, "start"]]
  9646. ]]
  9647. ],
  9648. [
  9649. [0, oc.prototype.k.jk, "Bullet", 6716459003615925, !1, [
  9650. [3, 1]
  9651. ]],
  9652. [0, oc.prototype.k.Ym, "Bullet", 5201731553578857, !1, [
  9653. [0, [6, [0, 40],
  9654. [6, [23, "power"],
  9655. [1, 1.1]
  9656. ]
  9657. ]]
  9658. ]],
  9659. [0, oc.prototype.k.Wm, "Bullet", 319011772988914, !1, [
  9660. [0, [0, 1200]]
  9661. ]],
  9662. [0, oc.prototype.k.Vm, "Bullet", 6753031936784227, !1, [
  9663. [0, [0, 500]]
  9664. ]]
  9665. ]
  9666. ],
  9667. [0, null, !1, null, 896774263808828, [
  9668. [0, S.prototype.p.aq, null,
  9669. 0, !1, !1, !0, 772741576822925, !1, [
  9670. [4, 20]
  9671. ]
  9672. ],
  9673. [-1, Q.prototype.p.we, null, 0, !1, !1, !1, 0xa10c1eb428f6a, !1, [
  9674. [11, "gamepro"],
  9675. [8, 0],
  9676. [7, [2, "start"]]
  9677. ]],
  9678. [0, S.prototype.p.Km, null, 0, !1, !1, !1, 5084622340137001, !1, [
  9679. [8, 5],
  9680. [0, [20, 20, S.prototype.J.Mm, !1, null, [
  9681. [0, 1]
  9682. ]]]
  9683. ]]
  9684. ],
  9685. [
  9686. [0, oc.prototype.k.jk, "Bullet", 0x56e95abd12b01, !1, [
  9687. [3, 0]
  9688. ]],
  9689. [4, kc.prototype.k.Play, null, 0x78378770a1428, !1, [
  9690. [2, ["land", !1]],
  9691. [3, 0],
  9692. [0, [0, 0]],
  9693. [1, [2, ""]]
  9694. ]],
  9695. [0, S.prototype.k.ze, null, 6053225220438758, !1, [
  9696. [10, 0],
  9697. [3, 1]
  9698. ]],
  9699. [-1, Q.prototype.k.sb, null, 0xc2ecb72a29898, !1, [
  9700. [11, "nowx"],
  9701. [7, [20, 20, S.prototype.J.Mm, !1, null, [
  9702. [0, 1]
  9703. ]]]
  9704. ]],
  9705. [0, S.prototype.k.sq, null, 0xd60370296df16, !1, [
  9706. [0, [5, [23, "nowx"],
  9707. [0, 2]
  9708. ]]
  9709. ]],
  9710. [-1, Q.prototype.k.xe, null, 0x923a9c5ca9b39, !1, [
  9711. [4, 22],
  9712. [5, [2, "game"]],
  9713. [0, [20, 0, S.prototype.J.Be, !1, null]],
  9714. [0, [20, 0, S.prototype.J.kg, !1, null]]
  9715. ]],
  9716. [-1, Q.prototype.k.xe, null, 0x8fd027fee3207, !1, [
  9717. [4, 22],
  9718. [5, [2, "game"]],
  9719. [0, [20, 0, S.prototype.J.Be, !1, null]],
  9720. [0, [5, [20, 0, S.prototype.J.kg, !1, null],
  9721. [0, 2]
  9722. ]]
  9723. ]],
  9724. [-1, Q.prototype.k.xe, null, 793672782771893, !1, [
  9725. [4, 19],
  9726. [5, [2, "game"]],
  9727. [0, [20, 0, S.prototype.J.Be, !1, null]],
  9728. [0, [20, 0, S.prototype.J.kg, !1, null]]
  9729. ]],
  9730. [19, Z.prototype.k.ik, "LiteTween", 8435823033956059, !1, [
  9731. [0, [1, 0.4]]
  9732. ]],
  9733. [19, Z.prototype.k.Qh, "LiteTween", 6133655564516449, !1, [
  9734. [3, 2]
  9735. ]],
  9736. [22, S.prototype.k.rq, null, 0x718fcdfde7cba, !1, [
  9737. [0, [0, 1]]
  9738. ]]
  9739. ],
  9740. [
  9741. [0, null, !1, null, 6176052146237546, [
  9742. [22, S.prototype.p.qf, null, 0, !1, !1, !1, 9998582758623114, !1, [
  9743. [8, 0],
  9744. [0, [0, 1]]
  9745. ]]
  9746. ],
  9747. [
  9748. [0, qc.prototype.k.ye, "Pin", 5270818523038034, !1, [
  9749. [4, 22],
  9750. [3, 1]
  9751. ]]
  9752. ]
  9753. ],
  9754. [0, null, !1, null, 8117304757518492, [],
  9755. [
  9756. [-1, Q.prototype.k.sb, null,
  9757. 0xfd884823c9a8d, !1, [
  9758. [11, "gamepro"],
  9759. [7, [2, "ready"]]
  9760. ]
  9761. ],
  9762. [-1, Q.prototype.k.Sh, null, 6909397420912554, !1, [
  9763. [0, [1, 0.1]]
  9764. ]],
  9765. [19, Z.prototype.k.pq, "LiteTween", 8456817644985129, !1, [
  9766. [3, 0]
  9767. ]]
  9768. ]
  9769. ],
  9770. [0, null, !1, null, 0x5b49356df5f84, [
  9771. [20, S.prototype.p.$j, null, 0, !1, !0, !1, 7183247681425923, !1, [
  9772. [10, 0]
  9773. ]]
  9774. ],
  9775. [
  9776. [20, S.prototype.k.ze, null, 9946579645101004, !1, [
  9777. [10, 0],
  9778. [3, 1]
  9779. ]],
  9780. [-1, Q.prototype.k.sb, null, 8856716257299668, !1, [
  9781. [11, "num"],
  9782. [7, [4, [23, "num"],
  9783. [19, Q.prototype.J.random, [
  9784. [0, 80],
  9785. [0, 260]
  9786. ]]
  9787. ]]
  9788. ]],
  9789. [-1, Q.prototype.k.xe, null, 0x8d5f2ca1b3a24, !1, [
  9790. [4, 20],
  9791. [5, [2, "game"]],
  9792. [0, [23, "num"]],
  9793. [0, [19, Q.prototype.J.random, [
  9794. [0, 1100],
  9795. [0, 1300]
  9796. ]]]
  9797. ]],
  9798. [20, S.prototype.k.kk, null, 9593491112965142, !1, [
  9799. [10, 1],
  9800. [7, [4, [23, "num"],
  9801. [0, 1]
  9802. ]]
  9803. ]],
  9804. [20, S.prototype.k.ak, null, 409232293298292, !1],
  9805. [20, S.prototype.k.ze, null, 0x64639125ae57a, !1, [
  9806. [10, 0],
  9807. [3, 0]
  9808. ]],
  9809. [-1, Q.prototype.k.sb, null, 9170381824637244, !1, [
  9810. [11, "num"],
  9811. [7, [4, [23, "num"],
  9812. [19, Q.prototype.J.random, [
  9813. [0, 80],
  9814. [0, 260]
  9815. ]]
  9816. ]]
  9817. ]],
  9818. [-1, Q.prototype.k.xe, null, 0x66e733fbda268, !1, [
  9819. [4, 20],
  9820. [5, [2, "game"]],
  9821. [0, [23, "num"]],
  9822. [0, [19, Q.prototype.J.random, [
  9823. [0, 1100],
  9824. [0, 1300]
  9825. ]]]
  9826. ]],
  9827. [20, S.prototype.k.kk, null, 9000543625703527, !1, [
  9828. [10, 1],
  9829. [7, [4, [23, "num"],
  9830. [0, 2]
  9831. ]]
  9832. ]],
  9833. [20, S.prototype.k.ak, null, 5851104501377916, !1],
  9834. [20, S.prototype.k.ze, null, 6931554761414712, !1, [
  9835. [10, 0],
  9836. [3, 0]
  9837. ]],
  9838. [-1, Q.prototype.k.sb, null, 0xc99c650992eec, !1, [
  9839. [11, "num"],
  9840. [7, [4, [23, "num"],
  9841. [19, Q.prototype.J.random, [
  9842. [0, 80],
  9843. [0, 260]
  9844. ]]
  9845. ]]
  9846. ]],
  9847. [-1, Q.prototype.k.xe, null, 6831765028067612, !1, [
  9848. [4, 20],
  9849. [5, [2, "game"]],
  9850. [0, [23, "num"]],
  9851. [0, [19, Q.prototype.J.random, [
  9852. [0, 1100],
  9853. [0, 1300]
  9854. ]]]
  9855. ]],
  9856. [20, S.prototype.k.kk, null, 9283437742393926, !1, [
  9857. [10, 1],
  9858. [7, [4, [23, "num"],
  9859. [0, 3]
  9860. ]]
  9861. ]],
  9862. [20, S.prototype.k.ak, null, 0x4eeaf54bdc2c1, !1],
  9863. [20, S.prototype.k.ze, null, 6607998958877614, !1, [
  9864. [10, 0],
  9865. [3, 0]
  9866. ]],
  9867. [21, mc.prototype.k.mk, null, 6766140545258478, !1, [
  9868. [0, [4, [20, 21, mc.prototype.J.ok, !1, null],
  9869. [0, 1500]
  9870. ]]
  9871. ]],
  9872. [18, mc.prototype.k.mk, null, 0x9fee9257f696a, !1, [
  9873. [0, [4, [20, 18, mc.prototype.J.ok, !1, null],
  9874. [0, 1500]
  9875. ]]
  9876. ]],
  9877. [23, mc.prototype.k.mk, null, 4534847886971523, !1, [
  9878. [0, [4, [20, 23, mc.prototype.J.ok, !1, null],
  9879. [0, 1500]
  9880. ]]
  9881. ]],
  9882. [-1, Q.prototype.k.Qp, null, 0xa404b76b81c6c, !1, [
  9883. [11, "score"],
  9884. [7, [0, 1]]
  9885. ]]
  9886. ]
  9887. ]
  9888. ]
  9889. ],
  9890. [0, null, !1, null, 0x5c845745c10ff, [
  9891. [-1, Q.prototype.p.Sp, null, 0, !1, !1, !1, 0x7455d1ae3cd02, !1, [
  9892. [0, [19, Q.prototype.J.gi, [
  9893. [1, 1.5],
  9894. [0, 2],
  9895. [0, 3],
  9896. [0, 4]
  9897. ]]]
  9898. ]]
  9899. ],
  9900. [
  9901. [-1, Q.prototype.k.xe, null, 0x8c68469bd02c3, !1, [
  9902. [4, 17],
  9903. [5, [2, "game"]],
  9904. [0, [4, [20, 0, S.prototype.J.Be, !1, null],
  9905. [19, Q.prototype.J.gi, [
  9906. [0, 500],
  9907. [0, 540],
  9908. [0, 580],
  9909. [0, 600]
  9910. ]]
  9911. ]],
  9912. [0, [19, Q.prototype.J.random, [
  9913. [0, 50],
  9914. [0, 300]
  9915. ]]]
  9916. ]]
  9917. ]
  9918. ],
  9919. [0, null, !1, null, 0x54508cb5d5673, [
  9920. [5, Z.prototype.p.ck, "LiteTween", 1, !1, !1, !1, 435355811418078, !1]
  9921. ],
  9922. [
  9923. [5, qc.prototype.k.ye, "Pin",
  9924. 8085137565321066, !1, [
  9925. [4, 0],
  9926. [3, 1]
  9927. ]
  9928. ]
  9929. ]
  9930. ],
  9931. [0, null, !1, null, 4783707913439428, [
  9932. [19, Z.prototype.p.Sm, "LiteTween", 1, !1, !1, !1, 0xe342b0917d97, !1]
  9933. ],
  9934. [
  9935. [-1, Q.prototype.k.sb, null, 923285666140161, !1, [
  9936. [11, "gamepro"],
  9937. [7, [2, "start"]]
  9938. ]]
  9939. ]
  9940. ]
  9941. ]]
  9942. ], "media/", !0, 480, 854, 4, !0, !0, !1, "1.0.0.0", !0, !1, 0, 0, 36, !1, !0, 2, []
  9943. ]
  9944. };