at.min.js 542 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758
  1. musicFlag = false;
  2. (function(a, U) {
  3. a.SystemTypeEnum = {
  4. WebBrowser: 0,
  5. WindowsPhone: 1,
  6. Android: 2,
  7. iOS: 3
  8. };
  9. a.AssetResolutionEnum = {
  10. ResolutionA: 0,
  11. ResolutionB: 1,
  12. ResolutionC: 2
  13. };
  14. a.LayoutOrientationEnum = {
  15. Landscape: 0,
  16. Portrait: 1
  17. };
  18. a.DirectionEnum = {
  19. None: 0,
  20. Right: 1,
  21. Left: 2,
  22. Top: 3,
  23. Bottom: 4
  24. };
  25. a.GridTypeEnum = {
  26. Small: 0,
  27. Large: 1
  28. };
  29. a.ObjectTypeEnum = {
  30. None: 0,
  31. Object1: 1,
  32. Object2: 2,
  33. Object3: 3,
  34. Object4: 4,
  35. Object5: 5,
  36. Object6: 6,
  37. Object7: 7,
  38. Object8: 8,
  39. Object9: 9,
  40. Object10: 10,
  41. Object11: 11,
  42. Object12: 12,
  43. Object13: 13,
  44. Object14: 14,
  45. Object15: 15,
  46. Object16: 16
  47. };
  48. a.CellTypeEnum = {
  49. None: 0,
  50. Cell1: 1
  51. };
  52. a.BoosterTypeEnum = {
  53. Speed: 0,
  54. Shield: 1,
  55. Shadow: 2
  56. };
  57. a.EffectTypeEnum = {
  58. None: 0,
  59. BubbleEffect: 1,
  60. PebbleEffect: 2,
  61. ProjectileEffect: 3,
  62. NumberEffect: 4,
  63. SparkEffect: 5,
  64. StarEffect: 6,
  65. PangEffect: 7,
  66. CoinEffect: 8,
  67. BoosterEffect: 9,
  68. SpeedEffect: 10
  69. };
  70. a.GameStateEnum = {
  71. GameLogo: 1,
  72. GameIntro: 2,
  73. GameMenu: 3,
  74. GamePreLoading: 4,
  75. GameLoading: 5,
  76. GameRun: 6,
  77. GameLost: 7,
  78. GameWon: 8
  79. };
  80. a.GameSceneModeEnum = {
  81. None: 0,
  82. WorldSelection: 1,
  83. LevelPlay: 2,
  84. Leaderboards: 3,
  85. Achievements: 4,
  86. Shop: 5,
  87. Credits: 6
  88. };
  89. a.LevelStatusEnum = {
  90. None: 0,
  91. Passed: 1,
  92. Available: 2,
  93. Locked: 3
  94. };
  95. a.CommandEnum = {
  96. None: 0,
  97. Menu: 1,
  98. Home: 2,
  99. Refresh: 3,
  100. GoBack: 4,
  101. Play: 5,
  102. Credits: 6,
  103. Settings: 7,
  104. PreviousPage: 8,
  105. NextPage: 9,
  106. Close: 10,
  107. NextLevel: 11,
  108. ReplayLevel: 12,
  109. QuitLevel: 13,
  110. Sound: 14,
  111. Music: 15,
  112. Share: 16,
  113. PlayChallenge: 17,
  114. Leaderboards: 18,
  115. Achievements: 19
  116. }
  117. })(window.AquaThiefGame = window.AquaThiefGame || {});
  118. (function(a, U) {
  119. a.systemType = a.SystemTypeEnum.WebBrowser;
  120. a.userData = {};
  121. a.preloadSounds = !1;
  122. a.devMode = !1;
  123. a.isDemo = !0;
  124. a.isMusicEnabled = !0;
  125. a.isSoundEnabled = !0;
  126. a.shopAvailable = !1;
  127. a.resetUserData = !1;
  128. a.awardGold = !0;
  129. a.language = ["en", "fr"];
  130. a.showHouseAds = !1;
  131. a.showHouseAdsType = 0;
  132. a.soundItems = {
  133. music1: "assets/sound/music1.mp3",
  134. wee: "assets/sound/wee.mp3",
  135. pop: "assets/sound/pop.mp3",
  136. win: "assets/sound/win.mp3",
  137. fail1: "assets/sound/fail1.mp3",
  138. fail2: "assets/sound/fail2.mp3",
  139. click: "assets/sound/click.mp3",
  140. slide: "assets/sound/slide.mp3",
  141. rotate: "assets/sound/rotate.mp3",
  142. alert: "assets/sound/alert.mp3",
  143. cop: "assets/sound/cop.mp3",
  144. levelintro: "assets/sound/levelintro.mp3",
  145. pickup1: "assets/sound/pickup1.mp3",
  146. pickup2: "assets/sound/pickup2.mp3",
  147. yippee1: "assets/sound/yippee1.mp3",
  148. yippee2: "assets/sound/yippee2.mp3",
  149. coin: "assets/sound/coin.mp3",
  150. coin2: "assets/sound/coin2.mp3"
  151. };
  152. a.cachedSounds = {};
  153. a.shopItems = [];
  154. a.achievementItems = [{
  155. type: 1,
  156. value: 4
  157. }, {
  158. type: 1,
  159. value: 30
  160. }, {
  161. type: 1,
  162. value: 60
  163. }, {
  164. type: 0,
  165. value: 1E3
  166. }, {
  167. type: 0,
  168. value: 5E3
  169. }, {
  170. type: 0,
  171. value: 1E4
  172. }, {
  173. type: 0,
  174. value: 2E4
  175. }];
  176. a.leaderBoardItems = [];
  177. a.initializeSystem = function() {
  178. "undefined" !== typeof window.external && "undefined" !== typeof window.external.notify && (a.systemType = a.SystemTypeEnum.WindowsPhone);
  179. switch (a.systemType) {
  180. case a.SystemTypeEnum.WindowsPhone:
  181. a.preloadSounds = !1;
  182. break;
  183. case a.SystemTypeEnum.WebBrowser:
  184. a.preloadSounds = !0
  185. }
  186. };
  187. a.createUserLeveldata = function(e) {
  188. a.userData.levels[e] = {
  189. stars: 0,
  190. unlocked: 1,
  191. bestScore: 0
  192. }
  193. };
  194. a.loadUserData = function(e) {
  195. if (e === U) switch (a.systemType) {
  196. case a.SystemTypeEnum.WindowsPhone:
  197. window.external.notify("commandLoadUserData");
  198. break;
  199. case a.SystemTypeEnum.WebBrowser:
  200. window.localStorage ? (e = a.resetUserData ? '{ "ads": 1, "review": 0, "lang": 0, "musicEnabled": 1, "soundEnabled": 1, "currencyCount": 50, "levels": [], "challenge": 0, "threeStarsLevels": 0 }' : window.localStorage.getItem("userData")) && "" !== e || (e = '{ "ads": 1, "review": 0, "lang": 0, "musicEnabled": 1, "soundEnabled": 1, "currencyCount": 50, "levels": [], "challenge": 0, "threeStarsLevels": 0 }') : e = '{ "ads": 1, "review": 0, "lang": 0, "musicEnabled": 1, "soundEnabled": 1, "currencyCount": 50, "levels": [], "challenge": 0, "threeStarsLevels": 0 }',
  201. a.loadUserData(e)
  202. } else a.userData = JSON.parse(e), a.isMusicEnabled = a.userData.musicEnabled ? !0 : !1, a.isSoundEnabled = a.userData.soundEnabled ? !0 : !1, a.userData.levels[0] || a.createUserLeveldata(0)
  203. };
  204. a.saveUserData = function() {
  205. switch (a.systemType) {
  206. case a.SystemTypeEnum.WindowsPhone:
  207. window.external.notify("commandSaveUserData:" + JSON.stringify(a.userData));
  208. break;
  209. case a.SystemTypeEnum.WebBrowser:
  210. window.localStorage.setItem("userData", JSON.stringify(a.userData))
  211. }
  212. };
  213. a.enableMusic = function(e) {
  214. a.isMusicEnabled = e;
  215. a.userData.musicEnabled =
  216. e ? 1 : 0;
  217. e ? a.playSound("music1") : a.stopSound("music1");
  218. a.saveUserData()
  219. };
  220. a.enableSound = function(e) {
  221. a.isSoundEnabled = e;
  222. a.userData.soundEnabled = e ? 1 : 0;
  223. a.saveUserData()
  224. };
  225. a.playSound = function(e) {
  226. if (!1 !== a.isMusicEnabled || "music1" !== e && "music2" !== e)
  227. if (!1 !== a.isSoundEnabled || "music1" === e || "music2" === e) switch (a.systemType) {
  228. case a.SystemTypeEnum.WindowsPhone:
  229. window.setTimeout(function() {
  230. window.external.notify("commandStopSound:" + e);
  231. window.external.notify("commandPlaySound:" + e)
  232. }, 10);
  233. break;
  234. case a.SystemTypeEnum.WebBrowser:
  235. "music1" ===
  236. e || "music2" === e ? AudioManager.loopSound(e) : AudioManager.playSound(e)
  237. }
  238. };
  239. a.stopSound = function(e) {
  240. switch (a.systemType) {
  241. case a.SystemTypeEnum.WindowsPhone:
  242. window.external.notify("commandStopSound:" + e);
  243. break;
  244. case a.SystemTypeEnum.WebBrowser:
  245. AudioManager.stopSound(e)
  246. }
  247. };
  248. a.stopAllSounds = function() {
  249. for (var e in a.soundItems) a.soundItems.hasOwnProperty(e) && a.stopSound(e)
  250. };
  251. a.showBannerAd = function() {
  252. if (1 === a.userData.ads) switch (a.systemType) {
  253. case a.SystemTypeEnum.WindowsPhone:
  254. window.external.notify("commandShowBannerAd")
  255. }
  256. };
  257. a.hideBannerAd = function() {
  258. switch (a.systemType) {
  259. case a.SystemTypeEnum.WindowsPhone:
  260. window.external.notify("commandHideBannerAd")
  261. }
  262. };
  263. a.getMoreGames = function() {
  264. switch (a.systemType) {
  265. case a.SystemTypeEnum.WindowsPhone:
  266. window.external.notify("commandGetMoreGames")
  267. }
  268. };
  269. a.loadShopItems = function(e) {
  270. switch (a.systemType) {
  271. case a.SystemTypeEnum.WindowsPhone:
  272. window.external.notify("commandGetProductListing");
  273. break;
  274. case a.SystemTypeEnum.WebBrowser:
  275. a.shopItems = JSON.parse('[{ "id":"11001", "name": "Disable Ads", "price": "$0.99", "description": "Disable all ads" },{ "id":"11002", "name": "10x Hints Pack", "price": "$1.99", "description": "Hints pack 10x" },{ "id":"11001", "name": "Level Pack 1", "price": "$0.99", "description": "Level Pack" },{ "id":"11001", "name": "Level Pack 2", "price": "$0.99", "description": "Level Pack" },{ "id":"11002", "name": "30x Hints Pack", "price": "$2.99", "description": "Hints pack 10x" }]'),
  276. a.shopAvailable = !1
  277. }
  278. };
  279. a.loadLeaderboardItems = function() {
  280. a.leaderBoardItems.push({
  281. id: "Test1",
  282. name: "test product 1",
  283. price: "200"
  284. })
  285. };
  286. a.buyShopItem = function(e) {
  287. switch (a.systemType) {
  288. case a.SystemTypeEnum.WindowsPhone:
  289. window.external.notify("commandBuyShopItem:" + a.shopItems[e].id)
  290. }
  291. };
  292. a.rateGame = function() {
  293. switch (a.systemType) {
  294. case a.SystemTypeEnum.WindowsPhone:
  295. window.external.notify("commandRateGame")
  296. }
  297. };
  298. a.launchAdUrl = function(e) {
  299. switch (a.systemType) {
  300. case a.SystemTypeEnum.WindowsPhone:
  301. window.external.notify("commandLaunchAdUrl:" +
  302. e)
  303. }
  304. }
  305. })(window.AquaThiefGame = window.AquaThiefGame || {});
  306. var onUserDataLoaded = function(a) {
  307. window.AquaThiefGame.loadUserData(a)
  308. },
  309. onBackButtonPressed = function() {
  310. return window.AquaThiefGame.navigateBack()
  311. },
  312. onProductListingLoaded = function(a) {
  313. a = JSON.parse(a);
  314. window.AquaThiefGame.shopItems = a.slice(0);
  315. 0 < window.AquaThiefGame.shopItems.length && (window.AquaThiefGame.shopAvailable = !0)
  316. },
  317. onCoinsAdded = function(a) {
  318. a = JSON.parse(a);
  319. window.AquaThiefGame.userData.currencyCount += a.coins;
  320. window.AquaThiefGame.userData.ads = 0;
  321. window.AquaThiefGame.hideBannerAd();
  322. window.AquaThiefGame.saveUserData()
  323. };
  324. (function(a, U) {
  325. a.Camera = function() {
  326. if (!(this instanceof a.Camera)) throw Error("Constructor called as a function.");
  327. this.reset()
  328. };
  329. a.Camera.prototype.reset = function() {
  330. this.y = this.x = 0;
  331. this.sy = this.sx = 1;
  332. this.angle = this.ty = this.tx = 0;
  333. this.matrix = [1, 0, 0, 1, 0, 0]
  334. };
  335. a.Camera.prototype.update = function() {
  336. this.matrix = [1, 0, 0, 1, 0, 0];
  337. this.translate(this.x, this.y);
  338. this.scale(this.sx, this.sy);
  339. this.rotate(this.angle)
  340. };
  341. a.Camera.prototype.translate = function(a, k) {
  342. this.matrix[4] += this.matrix[0] * a + this.matrix[2] * k;
  343. this.matrix[5] +=
  344. this.matrix[1] * a + this.matrix[3] * k
  345. };
  346. a.Camera.prototype.scale = function(a, k) {
  347. this.matrix[0] *= a;
  348. this.matrix[1] *= a;
  349. this.matrix[2] *= k;
  350. this.matrix[3] *= k
  351. };
  352. a.Camera.prototype.rotate = function(a) {
  353. var k = Math.cos(a);
  354. a = Math.sin(a);
  355. var f = this.matrix[1] * k + this.matrix[3] * a,
  356. p = this.matrix[0] * -a + this.matrix[2] * k,
  357. q = this.matrix[1] * -a + this.matrix[3] * k;
  358. this.matrix[0] = this.matrix[0] * k + this.matrix[2] * a;
  359. this.matrix[1] = f;
  360. this.matrix[2] = p;
  361. this.matrix[3] = q
  362. };
  363. a.Camera.prototype.screenToCamera = function(a, k) {
  364. var f = a,
  365. p = k,
  366. q = 1 / (this.matrix[0] *
  367. this.matrix[3] - this.matrix[1] * this.matrix[2]);
  368. a = f * this.matrix[3] * q + p * -this.matrix[2] * q + q * (this.matrix[2] * this.matrix[5] - this.matrix[3] * this.matrix[4]);
  369. k = f * -this.matrix[1] * q + p * this.matrix[0] * q + q * (this.matrix[1] * this.matrix[4] - this.matrix[0] * this.matrix[5]);
  370. return {
  371. x: a,
  372. y: k
  373. }
  374. };
  375. a.Camera.prototype.cameraToScreen = function(a, k) {
  376. var f = a,
  377. p = k;
  378. a = f * this.matrix[0] + p * this.matrix[2] + this.matrix[4];
  379. k = f * this.matrix[1] + p * this.matrix[3] + this.matrix[5];
  380. return {
  381. x: a,
  382. y: k
  383. }
  384. };
  385. a.Camera.prototype.multiply = function(a) {
  386. var k = this.matrix[1] *
  387. a.matrix[0] + this.matrix[3] * a.matrix[1],
  388. f = this.matrix[0] * a.matrix[2] + this.matrix[2] * a.matrix[3],
  389. p = this.matrix[1] * a.matrix[2] + this.matrix[3] * a.matrix[3],
  390. q = this.matrix[0] * a.matrix[4] + this.matrix[2] * a.matrix[5] + this.matrix[4],
  391. t = this.matrix[1] * a.matrix[4] + this.matrix[3] * a.matrix[5] + this.matrix[5];
  392. this.matrix[0] = this.matrix[0] * a.matrix[0] + this.matrix[2] * a.matrix[1];
  393. this.matrix[1] = k;
  394. this.matrix[2] = f;
  395. this.matrix[3] = p;
  396. this.matrix[4] = q;
  397. this.matrix[5] = t
  398. }
  399. })(window.AquaThiefGame = window.AquaThiefGame || {});
  400. (function(a, U) {
  401. a.Entity = function() {
  402. if (!(this instanceof a.Entity)) throw Error("Constructor called as a function.");
  403. this.vy = this.vx = 0;
  404. this.scaleFactor = 1;
  405. this.angle = 0;
  406. this.gravity = 9.78;
  407. this.mass = 1;
  408. this.heartBeats = []
  409. };
  410. a.Entity.prototype.update = function(a) {
  411. var k, f, p;
  412. k = 0;
  413. for (f = this.heartBeats.length; k < f; k += 1) p = this.heartBeats[k], 0 === p.direction && p.time <= p.maxTime ? (p.time = Math.min(p.time + a * p.speed1, p.maxTime), p.time === p.maxTime && (p.direction = 1)) : 1 === p.direction && 0 <= p.time && (p.time = Math.max(p.time - a * p.speed2,
  414. 0), 0 === p.time && (p.direction = 0))
  415. };
  416. a.ObjectEntity = function(e, k, f, p, q, t, w, v, u, z) {
  417. if (!(this instanceof a.ObjectEntity)) throw Error("Constructor called as a function.");
  418. a.Entity.call(this);
  419. this.x = k;
  420. this.y = f;
  421. this.tx = k;
  422. this.ty = f;
  423. this.radius = q;
  424. this.type = e;
  425. this.direction = t;
  426. this.speed = p;
  427. this.scaleFactor = 1;
  428. this.destroyTime = this.scaleFactorTime = 0;
  429. this.isDead = !1;
  430. this.target = null;
  431. this.altface = !1;
  432. this.spawnTime = 1;
  433. this.speedTime = this.bubbleTime = this.addedTime = 0;
  434. this.points = w;
  435. this.path = v.slice(0);
  436. this.referencePath =
  437. v.slice(0);
  438. this.loop = u;
  439. this.chaser = z;
  440. this.speedAngle = this.deathAngle = 0;
  441. this.shadowBooster = this.shieldBooster = this.speedBooster = !1;
  442. this.heartBeats = [{
  443. time: 1.5 * Math.random(),
  444. direction: 0,
  445. maxTime: 1.5,
  446. speed1: 1,
  447. speed2: 2
  448. }, {
  449. time: Math.random(),
  450. direction: 0,
  451. maxTime: 1,
  452. speed1: 1,
  453. speed2: 2
  454. }, {
  455. time: Math.random(),
  456. direction: 0,
  457. maxTime: 3,
  458. speed1: 1,
  459. speed2: 15
  460. }, {
  461. time: Math.random(),
  462. direction: 0,
  463. maxTime: 1,
  464. speed1: 1,
  465. speed2: 1
  466. }, {
  467. time: Math.random(),
  468. direction: 0,
  469. maxTime: 1,
  470. speed1: 1,
  471. speed2: .5
  472. }, {
  473. time: Math.random(),
  474. direction: 0,
  475. maxTime: 1,
  476. speed1: 4,
  477. speed2: 3
  478. }]
  479. };
  480. a.ObjectEntity.prototype = Object.create(a.Entity.prototype);
  481. a.ObjectEntity.prototype.update = function(e) {
  482. 0 < this.scaleFactorTime && (this.scaleFactorTime -= e, 0 > this.scaleFactorTime && (this.scaleFactorTime = 0));
  483. 0 < this.destroyTime && (this.destroyTime -= e, 0 >= this.destroyTime && (this.destroyTime = 0, this.isDead = !0));
  484. 0 < this.spawnTime && (this.spawnTime -= e, 0 >= this.spawnTime && (this.spawnTime = 0));
  485. 0 < this.bubbleTime && (this.bubbleTime -= e, 0 >= this.bubbleTime && (this.bubbleTime = 0));
  486. 0 < this.speedTime && (this.speedTime -=
  487. e, 0 >= this.speedTime && (this.speedTime = 0));
  488. this.deathAngle += 3 * Math.PI * e % (2 * Math.PI);
  489. this.speedAngle += 1 * Math.PI * e % (2 * Math.PI);
  490. a.Entity.prototype.update.call(this, e)
  491. };
  492. a.CellEntity = function(e, k, f, p, q, t, w) {
  493. if (!(this instanceof a.CellEntity)) throw Error("Constructor called as a function.");
  494. a.Entity.call(this);
  495. this.x = k;
  496. this.y = f;
  497. this.tx = k;
  498. this.ty = f;
  499. this.radius = t;
  500. this.type = e;
  501. this.direction = w;
  502. this.speed = 0;
  503. this.scaleFactor = 1;
  504. this.scaleFactorTime = 0;
  505. this.row = p;
  506. this.column = q;
  507. this.heartBeats = [{
  508. time: 1.5 * Math.random(),
  509. direction: 0,
  510. maxTime: 1.5,
  511. speed1: 1,
  512. speed2: 2
  513. }, {
  514. time: Math.random(),
  515. direction: 0,
  516. maxTime: 1,
  517. speed1: 1,
  518. speed2: 2
  519. }]
  520. };
  521. a.CellEntity.prototype = Object.create(a.Entity.prototype);
  522. a.CellEntity.prototype.update = function(e) {
  523. 0 < this.scaleFactorTime && (this.scaleFactorTime -= e, 0 > this.scaleFactorTime && (this.scaleFactorTime = 0));
  524. a.Entity.prototype.update.call(this, e)
  525. }
  526. })(window.AquaThiefGame = window.AquaThiefGame || {});
  527. (function(a, U) {
  528. a.Effect = function(e, k, f) {
  529. if (!(this instanceof a.Effect)) throw Error("Constructor called as a function.");
  530. this.x = e;
  531. this.y = k;
  532. this.radius = f;
  533. this.vy = this.vx = 0;
  534. this.mass = this.friction = 1;
  535. this.direction = a.DirectionEnum.None;
  536. this.angle = this.rotationSpeed = 0;
  537. this.gravity = 9.78;
  538. this.value = 0;
  539. this.type = a.EffectTypeEnum.None;
  540. this.activationCooldown = 0;
  541. this.selfDestroyTime = -1;
  542. this.startFadeTime = 1;
  543. this.restoreBaseAngle = !1;
  544. this.cooldown = 0;
  545. this.scaleFactor = 1;
  546. this.scaleTime = -1;
  547. this.scaleSpeed = 2;
  548. this.useTransform = !1
  549. };
  550. a.Effect.prototype.update = function(e) {
  551. 0 < this.activationCooldown && (this.activationCooldown -= e, 0 > this.activationCooldown && (this.activationCooldown = 0));
  552. 0 < this.scaleTime && (this.scaleTime -= e * this.scaleSpeed, 0 > this.scaleTime && (this.scaleTime = 0));
  553. 0 < this.cooldown && (this.cooldown -= e, 0 > this.cooldown && (this.cooldown = 0));
  554. 0 < this.selfDestroyTime && (this.selfDestroyTime -= e, 0 > this.selfDestroyTime && (this.selfDestroyTime = 0));
  555. 0 < this.vx ? (this.vx -= this.friction * e, 0 > this.vx && (this.vx = 0)) : 0 > this.vx && (this.vx += this.friction *
  556. e, 0 < this.vx && (this.vx = 0));
  557. !this.restoreBaseAngle || this.restoreBaseAngle && 1 < Math.abs(this.rotationSpeed) ? 0 < this.rotationSpeed ? (this.rotationSpeed -= this.friction * e, 0 > this.rotationSpeed && (this.rotationSpeed = 0)) : 0 > this.rotationSpeed && (this.rotationSpeed += this.friction * e, 0 < this.rotationSpeed && (this.rotationSpeed = 0)) : this.restoreBaseAngle && (this.rotationSpeed = 0);
  558. this.restoreBaseAngle && 0 === this.rotationSpeed && 0 !== this.angle && (.1 < a.shortestArc(this.angle, 0) ? this.angle = 0 < this.angle ? this.angle + 2 * Math.PI * e :
  559. this.angle - 2 * Math.PI * e : this.angle = 0);
  560. this.angle = this.rotationSpeed ? (this.angle + 2 * this.rotationSpeed * Math.PI * e) % (2 * Math.PI) : this.angle;
  561. this.vy += this.gravity * e * this.mass;
  562. this.y += this.vy * e;
  563. this.x += this.vx * e
  564. };
  565. a.SparkEffect = function(e, k, f) {
  566. if (!(this instanceof a.SparkEffect)) throw Error("Constructor called as a function.");
  567. a.Effect.call(this, e, k, f);
  568. this.gravity = 0;
  569. this.friction = 2;
  570. this.selfDestroyTime = this.mass = .5;
  571. this.startFadeTime = .3;
  572. this.type = a.EffectTypeEnum.SparkEffect;
  573. this.value = 0;
  574. this.angle = 2 * Math.random();
  575. this.rotationSpeed = .2 * Math.PI;
  576. this.vy = this.vx = 0
  577. };
  578. a.SparkEffect.prototype = Object.create(a.Effect.prototype);
  579. a.PangEffect = function(e, k, f, p) {
  580. if (!(this instanceof a.PangEffect)) throw Error("Constructor called as a function.");
  581. a.Effect.call(this, e, k, f);
  582. this.gravity = 0;
  583. this.friction = 2;
  584. this.selfDestroyTime = this.mass = .5;
  585. this.startFadeTime = .3;
  586. this.type = a.EffectTypeEnum.PangEffect;
  587. this.value = 0;
  588. this.angle = 4 * Math.random();
  589. this.rotationSpeed = .2 * Math.PI;
  590. this.vy = this.vx = 0;
  591. this.scaleFactor = p
  592. };
  593. a.PangEffect.prototype =
  594. Object.create(a.Effect.prototype);
  595. a.StarEffect = function(e, k, f, p, q) {
  596. if (!(this instanceof a.StarEffect)) throw Error("Constructor called as a function.");
  597. a.Effect.call(this, e, k, f);
  598. this.gravity = 0;
  599. this.friction = 2;
  600. this.mass = .5;
  601. this.selfDestroyTime = 1.2;
  602. this.startFadeTime = .8;
  603. this.type = a.EffectTypeEnum.StarEffect;
  604. this.value = 0;
  605. this.angle = 2 * Math.random();
  606. this.rotationSpeed = .5 * Math.PI;
  607. this.vx = (1 + Math.random()) * (.5 < Math.random()) ? 2 : -2;
  608. this.vy = (1 + Math.random()) * (.5 < Math.random()) ? 2 : -2;
  609. this.scaleFactor = p;
  610. this.subType =
  611. q
  612. };
  613. a.StarEffect.prototype = Object.create(a.Effect.prototype);
  614. a.BubbleEffect = function(e, k, f, p) {
  615. if (!(this instanceof a.BubbleEffect)) throw Error("Constructor called as a function.");
  616. a.Effect.call(this, e, k, f);
  617. this.gravity = 0;
  618. this.mass = this.friction = 2;
  619. this.selfDestroyTime = 4;
  620. this.startFadeTime = 1;
  621. this.type = a.EffectTypeEnum.BubbleEffect;
  622. this.value = 0;
  623. this.angle = 2 * Math.random();
  624. this.rotationSpeed = .2 * (.5 < Math.random() ? -1 : 1) * Math.PI;
  625. this.vx = .5 < Math.random() ? 2.2 : -2.2;
  626. this.vy = -(3 + Math.random());
  627. this.scaleFactor =
  628. p ? p : .5 + .3 * Math.random()
  629. };
  630. a.BubbleEffect.prototype = Object.create(a.Effect.prototype);
  631. a.PebbleEffect = function(e, k, f, p) {
  632. if (!(this instanceof a.PebbleEffect)) throw Error("Constructor called as a function.");
  633. a.Effect.call(this, e, k, f);
  634. this.gravity = 9.78;
  635. this.mass = this.friction = 2;
  636. this.selfDestroyTime = 4;
  637. this.startFadeTime = 1;
  638. this.type = a.EffectTypeEnum.PebbleEffect;
  639. this.value = 0;
  640. this.angle = 2 * Math.random();
  641. this.rotationSpeed = .2 * (.5 < Math.random() ? -1 : 1) * Math.PI;
  642. this.vx = .5 < Math.random() ? 2 : -2;
  643. this.vy = -(3 + Math.random());
  644. this.subType = p
  645. };
  646. a.PebbleEffect.prototype = Object.create(a.Effect.prototype);
  647. a.ProjectileEffect = function(e, k, f, p, q) {
  648. if (!(this instanceof a.ProjectileEffect)) throw Error("Constructor called as a function.");
  649. a.Effect.call(this, e, k, f);
  650. this.friction = this.gravity = 0;
  651. this.mass = 5;
  652. this.selfDestroyTime = 25;
  653. this.startFadeTime = .1;
  654. this.type = a.EffectTypeEnum.ProjectileEffect;
  655. this.objectType = q;
  656. this.rotationSpeed = this.angle = this.value = 0;
  657. this.target = p;
  658. this.cooldown = .1;
  659. this.reachedTarget = !1;
  660. this.randomTarget = {
  661. x: this.target.x +
  662. 20 * (.5 < Math.random() ? 1 : -1) + 5 * Math.random() * (.5 < Math.random() ? 1 : -1),
  663. y: this.target.y + 20 * (.5 < Math.random() ? 1 : -1) + 5 * Math.random() * (.5 < Math.random() ? 1 : -1)
  664. };
  665. e = a.distance(this.x, this.y, this.randomTarget.x, this.randomTarget.y);
  666. this.vx = (this.randomTarget.x - this.x) / e * 5;
  667. this.vy = (this.randomTarget.y - this.y) / e * 5
  668. };
  669. a.ProjectileEffect.prototype = Object.create(a.Effect.prototype);
  670. a.NumberEffect = function(e, k, f, p, q) {
  671. if (!(this instanceof a.NumberEffect)) throw Error("Constructor called as a function.");
  672. a.Effect.call(this,
  673. e, k, .5);
  674. this.gravity = 9.78;
  675. this.friction = 2;
  676. this.mass = .5;
  677. this.selfDestroyTime = .9;
  678. this.startFadeTime = .6;
  679. this.type = a.EffectTypeEnum.NumberEffect;
  680. this.angle = this.value = 0;
  681. this.rotationSpeed = .5 < Math.random() ? -.1 * Math.PI : .1 * Math.PI;
  682. this.vx = 0;
  683. this.vy = 2 * -Math.random();
  684. this.number = f;
  685. this.color = p;
  686. this.hasX = q
  687. };
  688. a.NumberEffect.prototype = Object.create(a.Effect.prototype);
  689. a.BoosterEffect = function(e, k, f) {
  690. if (!(this instanceof a.BoosterEffect)) throw Error("Constructor called as a function.");
  691. a.Effect.call(this, e, k, .5);
  692. this.gravity = 0;
  693. this.friction = 2;
  694. this.mass = .5;
  695. this.selfDestroyTime = 1;
  696. this.startFadeTime = .7;
  697. this.type = a.EffectTypeEnum.BoosterEffect;
  698. this.angle = this.value = 0;
  699. this.rotationSpeed = .5 < Math.random() ? -.1 * Math.PI : .1 * Math.PI;
  700. this.vx = 0;
  701. this.vy = -2;
  702. this.boosterType = f
  703. };
  704. a.BoosterEffect.prototype = Object.create(a.Effect.prototype);
  705. a.SpeedEffect = function(e, k, f) {
  706. if (!(this instanceof a.SpeedEffect)) throw Error("Constructor called as a function.");
  707. a.Effect.call(this, e, k, .5);
  708. this.gravity = 0;
  709. this.friction = 2;
  710. this.mass = .5;
  711. this.startFadeTime =
  712. this.selfDestroyTime = .4;
  713. this.type = a.EffectTypeEnum.SpeedEffect;
  714. this.angle = this.value = 0;
  715. this.rotationSpeed = .5 < Math.random() ? -.1 * Math.PI : .1 * Math.PI;
  716. this.vy = this.vx = 0;
  717. this.activeObject = f
  718. };
  719. a.SpeedEffect.prototype = Object.create(a.Effect.prototype);
  720. a.CoinEffect = function(e, k, f) {
  721. if (!(this instanceof a.CoinEffect)) throw Error("Constructor called as a function.");
  722. a.Effect.call(this, e, k, .5);
  723. this.gravity = 0;
  724. this.friction = 2;
  725. this.mass = .5;
  726. this.selfDestroyTime = 1.5;
  727. this.startFadeTime = .6;
  728. this.type = a.EffectTypeEnum.CoinEffect;
  729. this.angle = this.value = 0;
  730. this.rotationSpeed = .5 < Math.random() ? -.2 * Math.PI : .2 * Math.PI;
  731. this.vx = 3;
  732. this.vy = -5 + 5 * -Math.random()
  733. };
  734. a.CoinEffect.prototype = Object.create(a.Effect.prototype)
  735. })(window.AquaThiefGame = window.AquaThiefGame || {});
  736. (function(a, U) {
  737. a.levelData = [];
  738. a.initializeLevels = function() {
  739. a.addLevel0001(a.levelData);
  740. a.addLevel0002(a.levelData);
  741. a.addLevel0003(a.levelData);
  742. a.addLevel0004(a.levelData);
  743. a.addLevel0005(a.levelData);
  744. a.addLevel0006(a.levelData);
  745. a.addLevel0007(a.levelData);
  746. a.addLevel0008(a.levelData);
  747. a.addLevel0009(a.levelData);
  748. a.addLevel0010(a.levelData);
  749. a.addLevel0011(a.levelData);
  750. a.addLevel0012(a.levelData);
  751. a.addLevel0013(a.levelData);
  752. a.addLevel0014(a.levelData);
  753. a.addLevel0015(a.levelData);
  754. a.addLevel0016(a.levelData);
  755. a.addLevel0017(a.levelData);
  756. a.addLevel0018(a.levelData);
  757. a.addLevel0019(a.levelData);
  758. a.addLevel0020(a.levelData);
  759. a.addLevel0021(a.levelData);
  760. a.addLevel0022(a.levelData);
  761. a.addLevel0023(a.levelData);
  762. a.addLevel0024(a.levelData);
  763. a.addLevel0025(a.levelData);
  764. a.addLevel0026(a.levelData);
  765. a.addLevel0027(a.levelData);
  766. a.addLevel0028(a.levelData);
  767. a.addLevel0029(a.levelData);
  768. a.addLevel0030(a.levelData);
  769. a.addLevel0031(a.levelData);
  770. a.addLevel0032(a.levelData);
  771. a.addLevel0033(a.levelData);
  772. a.addLevel0034(a.levelData);
  773. a.addLevel0035(a.levelData);
  774. a.addLevel0036(a.levelData);
  775. a.addLevel0037(a.levelData);
  776. a.addLevel0038(a.levelData);
  777. a.addLevel0039(a.levelData);
  778. a.addLevel0040(a.levelData);
  779. a.addLevel0041(a.levelData);
  780. a.addLevel0042(a.levelData);
  781. a.addLevel0043(a.levelData);
  782. a.addLevel0044(a.levelData);
  783. a.addLevel0045(a.levelData);
  784. a.addLevel0046(a.levelData);
  785. a.addLevel0047(a.levelData);
  786. a.addLevel0048(a.levelData);
  787. a.addLevel0049(a.levelData);
  788. a.addLevel0050(a.levelData);
  789. a.addLevel0051(a.levelData);
  790. a.addLevel0052(a.levelData);
  791. a.addLevel0053(a.levelData);
  792. a.addLevel0054(a.levelData);
  793. a.addLevel0055(a.levelData);
  794. a.addLevel0056(a.levelData);
  795. a.addLevel0057(a.levelData);
  796. a.addLevel0058(a.levelData);
  797. a.addLevel0059(a.levelData);
  798. a.addLevel0060(a.levelData);
  799. a.addChallengeLevel(a.levelData)
  800. };
  801. a.addLevel0001 = function(a) {
  802. a.push({
  803. type: 1,
  804. maxMoves: 3,
  805. objects: [{
  806. type: 1,
  807. x: 2,
  808. y: 2,
  809. radius: 1,
  810. speed: 20,
  811. points: 0,
  812. path: [],
  813. loop: !1,
  814. chaser: !1
  815. }, {
  816. type: 3,
  817. x: 3,
  818. y: 13,
  819. radius: 1,
  820. speed: 7,
  821. points: 25,
  822. path: [],
  823. loop: !1,
  824. chaser: !1
  825. }, {
  826. type: 3,
  827. x: 5,
  828. y: 9,
  829. radius: 1,
  830. speed: 7,
  831. points: 10,
  832. path: [],
  833. loop: !1,
  834. chaser: !1
  835. }],
  836. cells: [
  837. [{
  838. type: 1
  839. }, {
  840. type: 1
  841. }, {
  842. type: 1
  843. }, {
  844. type: 1
  845. }, {
  846. type: 1
  847. }, {
  848. type: 1
  849. }, {
  850. type: 1
  851. }, {
  852. type: 1
  853. }],
  854. [{
  855. type: 1
  856. }, {
  857. type: 1
  858. }, {
  859. type: 1
  860. }, {
  861. type: 1
  862. }, {
  863. type: 1
  864. }, {
  865. type: 1
  866. }, {
  867. type: 1
  868. }, {
  869. type: 1
  870. }],
  871. [{
  872. type: 1
  873. }, {
  874. type: 1
  875. }, {
  876. type: 1
  877. }, {
  878. type: 1
  879. }, {
  880. type: 1
  881. }, {
  882. type: 1
  883. }, {
  884. type: 1
  885. }, {
  886. type: 1
  887. }],
  888. [{
  889. type: 1
  890. }, {
  891. type: 1
  892. }, {
  893. type: 1
  894. }, {
  895. type: 1
  896. }, {
  897. type: 1
  898. }, {
  899. type: 1
  900. }, {
  901. type: 1
  902. }, {
  903. type: 1
  904. }],
  905. [{
  906. type: 1
  907. }, {
  908. type: 1
  909. }, {
  910. type: 1
  911. }, {
  912. type: 1
  913. }, {
  914. type: 1
  915. }, {
  916. type: 1
  917. }, {
  918. type: 1
  919. }, {
  920. type: 1
  921. }],
  922. [{
  923. type: 1
  924. }, {
  925. type: 1
  926. }, {
  927. type: 1
  928. }, {
  929. type: 1
  930. }, {
  931. type: 1
  932. }, {
  933. type: 1
  934. }, {
  935. type: 1
  936. }, {
  937. type: 1
  938. }],
  939. [{
  940. type: 1
  941. }, {
  942. type: 1
  943. }, {
  944. type: 1
  945. }, {
  946. type: 1
  947. }, {
  948. type: 1
  949. }, {
  950. type: 1
  951. }, {
  952. type: 1
  953. }, {
  954. type: 1
  955. }],
  956. [{
  957. type: 1
  958. }, {
  959. type: 1
  960. }, {
  961. type: 1
  962. }, {
  963. type: 1
  964. }, {
  965. type: 1
  966. }, {
  967. type: 1
  968. }, {
  969. type: 1
  970. }, {
  971. type: 1
  972. }]
  973. ]
  974. })
  975. };
  976. a.addLevel0002 = function(a) {
  977. a.push({
  978. type: 1,
  979. maxMoves: 3,
  980. objects: [{
  981. type: 2,
  982. x: 0,
  983. y: 5,
  984. radius: .5,
  985. speed: 10,
  986. points: 0,
  987. path: [{
  988. x: 0,
  989. y: 5
  990. }, {
  991. x: 17,
  992. y: 5
  993. }],
  994. loop: !0,
  995. chaser: !1
  996. }, {
  997. type: 1,
  998. x: 2,
  999. y: 2,
  1000. radius: 1,
  1001. speed: 20,
  1002. points: 0,
  1003. path: [],
  1004. loop: !1,
  1005. chaser: !1
  1006. }, {
  1007. type: 3,
  1008. x: 4,
  1009. y: 13,
  1010. radius: 1,
  1011. speed: 7,
  1012. points: 10,
  1013. path: [],
  1014. loop: !1,
  1015. chaser: !1
  1016. }, {
  1017. type: 3,
  1018. x: 13,
  1019. y: 13,
  1020. radius: 1,
  1021. speed: 7,
  1022. points: 25,
  1023. path: [],
  1024. loop: !1,
  1025. chaser: !1
  1026. }],
  1027. cells: [
  1028. [{
  1029. type: 1
  1030. }, {
  1031. type: 1
  1032. }, {
  1033. type: 1
  1034. }, {
  1035. type: 1
  1036. }, {
  1037. type: 1
  1038. }, {
  1039. type: 1
  1040. }, {
  1041. type: 1
  1042. }, {
  1043. type: 1
  1044. }],
  1045. [{
  1046. type: 1
  1047. }, {
  1048. type: 1
  1049. }, {
  1050. type: 1
  1051. }, {
  1052. type: 1
  1053. }, {
  1054. type: 1
  1055. }, {
  1056. type: 1
  1057. }, {
  1058. type: 1
  1059. }, {
  1060. type: 1
  1061. }],
  1062. [{
  1063. type: 1
  1064. }, {
  1065. type: 1
  1066. }, {
  1067. type: 1
  1068. }, {
  1069. type: 1
  1070. }, {
  1071. type: 1
  1072. }, {
  1073. type: 1
  1074. }, {
  1075. type: 1
  1076. }, {
  1077. type: 1
  1078. }],
  1079. [{
  1080. type: 1
  1081. }, {
  1082. type: 1
  1083. }, {
  1084. type: 1
  1085. }, {
  1086. type: 1
  1087. }, {
  1088. type: 1
  1089. }, {
  1090. type: 1
  1091. }, {
  1092. type: 1
  1093. }, {
  1094. type: 1
  1095. }],
  1096. [{
  1097. type: 1
  1098. }, {
  1099. type: 1
  1100. }, {
  1101. type: 1
  1102. }, {
  1103. type: 1
  1104. }, {
  1105. type: 1
  1106. }, {
  1107. type: 1
  1108. }, {
  1109. type: 1
  1110. }, {
  1111. type: 1
  1112. }],
  1113. [{
  1114. type: 1
  1115. }, {
  1116. type: 1
  1117. }, {
  1118. type: 1
  1119. }, {
  1120. type: 1
  1121. }, {
  1122. type: 1
  1123. }, {
  1124. type: 1
  1125. }, {
  1126. type: 1
  1127. }, {
  1128. type: 1
  1129. }],
  1130. [{
  1131. type: 1
  1132. }, {
  1133. type: 1
  1134. }, {
  1135. type: 1
  1136. }, {
  1137. type: 1
  1138. }, {
  1139. type: 1
  1140. }, {
  1141. type: 1
  1142. }, {
  1143. type: 1
  1144. }, {
  1145. type: 1
  1146. }],
  1147. [{
  1148. type: 1
  1149. }, {
  1150. type: 1
  1151. }, {
  1152. type: 1
  1153. }, {
  1154. type: 1
  1155. }, {
  1156. type: 1
  1157. }, {
  1158. type: 1
  1159. }, {
  1160. type: 1
  1161. }, {
  1162. type: 1
  1163. }]
  1164. ]
  1165. })
  1166. };
  1167. a.addLevel0003 = function(a) {
  1168. a.push({
  1169. type: 1,
  1170. maxMoves: 3,
  1171. objects: [{
  1172. type: 2,
  1173. x: 10,
  1174. y: 2,
  1175. radius: .5,
  1176. speed: 10,
  1177. points: 0,
  1178. path: [{
  1179. x: 10,
  1180. y: 2
  1181. }, {
  1182. x: 10,
  1183. y: 15
  1184. }],
  1185. loop: !0,
  1186. chaser: !1
  1187. }, {
  1188. type: 1,
  1189. x: 2,
  1190. y: 2,
  1191. radius: 1,
  1192. speed: 20,
  1193. points: 0,
  1194. path: [],
  1195. loop: !1,
  1196. chaser: !1
  1197. }, {
  1198. type: 3,
  1199. x: 5,
  1200. y: 9,
  1201. radius: 1,
  1202. speed: 7,
  1203. points: 10,
  1204. path: [],
  1205. loop: !1,
  1206. chaser: !1
  1207. }, {
  1208. type: 3,
  1209. x: 15,
  1210. y: 4,
  1211. radius: 1,
  1212. speed: 7,
  1213. points: 50,
  1214. path: [],
  1215. loop: !1,
  1216. chaser: !1
  1217. }, {
  1218. type: 3,
  1219. x: 13,
  1220. y: 15,
  1221. radius: 1,
  1222. speed: 7,
  1223. points: 10,
  1224. path: [],
  1225. loop: !1,
  1226. chaser: !1
  1227. }],
  1228. cells: [
  1229. [{
  1230. type: 1
  1231. }, {
  1232. type: 1
  1233. }, {
  1234. type: 1
  1235. }, {
  1236. type: 1
  1237. }, {
  1238. type: 1
  1239. }, {
  1240. type: 1
  1241. }, {
  1242. type: 1
  1243. }, {
  1244. type: 1
  1245. }],
  1246. [{
  1247. type: 1
  1248. }, {
  1249. type: 1
  1250. }, {
  1251. type: 1
  1252. }, {
  1253. type: 1
  1254. }, {
  1255. type: 1
  1256. }, {
  1257. type: 1
  1258. }, {
  1259. type: 1
  1260. }, {
  1261. type: 1
  1262. }],
  1263. [{
  1264. type: 1
  1265. }, {
  1266. type: 1
  1267. }, {
  1268. type: 1
  1269. }, {
  1270. type: 1
  1271. }, {
  1272. type: 1
  1273. }, {
  1274. type: 1
  1275. }, {
  1276. type: 1
  1277. }, {
  1278. type: 1
  1279. }],
  1280. [{
  1281. type: 1
  1282. }, {
  1283. type: 1
  1284. }, {
  1285. type: 1
  1286. }, {
  1287. type: 1
  1288. }, {
  1289. type: 1
  1290. }, {
  1291. type: 1
  1292. }, {
  1293. type: 1
  1294. }, {
  1295. type: 1
  1296. }],
  1297. [{
  1298. type: 1
  1299. }, {
  1300. type: 1
  1301. }, {
  1302. type: 1
  1303. }, {
  1304. type: 1
  1305. }, {
  1306. type: 1
  1307. }, {
  1308. type: 1
  1309. }, {
  1310. type: 1
  1311. }, {
  1312. type: 1
  1313. }],
  1314. [{
  1315. type: 1
  1316. }, {
  1317. type: 1
  1318. }, {
  1319. type: 1
  1320. }, {
  1321. type: 1
  1322. }, {
  1323. type: 1
  1324. }, {
  1325. type: 1
  1326. }, {
  1327. type: 1
  1328. }, {
  1329. type: 1
  1330. }],
  1331. [{
  1332. type: 1
  1333. }, {
  1334. type: 1
  1335. }, {
  1336. type: 1
  1337. }, {
  1338. type: 1
  1339. }, {
  1340. type: 1
  1341. }, {
  1342. type: 1
  1343. }, {
  1344. type: 1
  1345. }, {
  1346. type: 1
  1347. }],
  1348. [{
  1349. type: 1
  1350. }, {
  1351. type: 1
  1352. }, {
  1353. type: 1
  1354. }, {
  1355. type: 1
  1356. }, {
  1357. type: 1
  1358. }, {
  1359. type: 1
  1360. }, {
  1361. type: 1
  1362. }, {
  1363. type: 1
  1364. }]
  1365. ]
  1366. })
  1367. };
  1368. a.addLevel0004 = function(a) {
  1369. a.push({
  1370. type: 1,
  1371. maxMoves: 3,
  1372. objects: [{
  1373. type: 2,
  1374. x: 0,
  1375. y: 5,
  1376. radius: .5,
  1377. speed: 10,
  1378. points: 0,
  1379. path: [{
  1380. x: 0,
  1381. y: 5
  1382. }, {
  1383. x: 17,
  1384. y: 7
  1385. }],
  1386. loop: !0,
  1387. chaser: !1
  1388. }, {
  1389. type: 1,
  1390. x: 3,
  1391. y: 2,
  1392. radius: 1,
  1393. speed: 20,
  1394. points: 0,
  1395. path: [],
  1396. loop: !1,
  1397. chaser: !1
  1398. }, {
  1399. type: 3,
  1400. x: 5,
  1401. y: 9,
  1402. radius: 1,
  1403. speed: 7,
  1404. points: 10,
  1405. path: [],
  1406. loop: !1,
  1407. chaser: !1
  1408. }, {
  1409. type: 3,
  1410. x: 14,
  1411. y: 4,
  1412. radius: 1,
  1413. speed: 7,
  1414. points: 50,
  1415. path: [],
  1416. loop: !1,
  1417. chaser: !1
  1418. }, {
  1419. type: 3,
  1420. x: 14,
  1421. y: 15,
  1422. radius: 1,
  1423. speed: 7,
  1424. points: 10,
  1425. path: [],
  1426. loop: !1,
  1427. chaser: !1
  1428. }, {
  1429. type: 3,
  1430. x: 1,
  1431. y: 9,
  1432. radius: 1,
  1433. speed: 7,
  1434. points: 50,
  1435. path: [],
  1436. loop: !1,
  1437. chaser: !1
  1438. }],
  1439. cells: [
  1440. [{
  1441. type: 1
  1442. }, {
  1443. type: 1
  1444. }, {
  1445. type: 1
  1446. }, {
  1447. type: 1
  1448. }, {
  1449. type: 1
  1450. }, {
  1451. type: 1
  1452. }, {
  1453. type: 1
  1454. }, {
  1455. type: 1
  1456. }],
  1457. [{
  1458. type: 1
  1459. }, {
  1460. type: 1
  1461. }, {
  1462. type: 1
  1463. }, {
  1464. type: 1
  1465. }, {
  1466. type: 1
  1467. }, {
  1468. type: 1
  1469. }, {
  1470. type: 1
  1471. }, {
  1472. type: 1
  1473. }],
  1474. [{
  1475. type: 1
  1476. }, {
  1477. type: 1
  1478. }, {
  1479. type: 1
  1480. }, {
  1481. type: 1
  1482. }, {
  1483. type: 1
  1484. }, {
  1485. type: 1
  1486. }, {
  1487. type: 1
  1488. }, {
  1489. type: 1
  1490. }],
  1491. [{
  1492. type: 1
  1493. }, {
  1494. type: 1
  1495. }, {
  1496. type: 1
  1497. }, {
  1498. type: 1
  1499. }, {
  1500. type: 1
  1501. }, {
  1502. type: 1
  1503. }, {
  1504. type: 1
  1505. }, {
  1506. type: 1
  1507. }],
  1508. [{
  1509. type: 1
  1510. }, {
  1511. type: 1
  1512. }, {
  1513. type: 1
  1514. }, {
  1515. type: 1
  1516. }, {
  1517. type: 1
  1518. }, {
  1519. type: 1
  1520. }, {
  1521. type: 1
  1522. }, {
  1523. type: 1
  1524. }],
  1525. [{
  1526. type: 1
  1527. }, {
  1528. type: 1
  1529. }, {
  1530. type: 1
  1531. }, {
  1532. type: 1
  1533. }, {
  1534. type: 1
  1535. }, {
  1536. type: 1
  1537. }, {
  1538. type: 1
  1539. }, {
  1540. type: 1
  1541. }],
  1542. [{
  1543. type: 1
  1544. }, {
  1545. type: 1
  1546. }, {
  1547. type: 1
  1548. }, {
  1549. type: 1
  1550. }, {
  1551. type: 1
  1552. }, {
  1553. type: 1
  1554. }, {
  1555. type: 1
  1556. }, {
  1557. type: 1
  1558. }],
  1559. [{
  1560. type: 1
  1561. }, {
  1562. type: 1
  1563. }, {
  1564. type: 1
  1565. }, {
  1566. type: 1
  1567. }, {
  1568. type: 1
  1569. }, {
  1570. type: 1
  1571. }, {
  1572. type: 1
  1573. }, {
  1574. type: 1
  1575. }]
  1576. ]
  1577. })
  1578. };
  1579. a.addLevel0005 = function(a) {
  1580. a.push({
  1581. type: 1,
  1582. maxMoves: 3,
  1583. objects: [{
  1584. type: 2,
  1585. x: 0,
  1586. y: 7,
  1587. radius: .5,
  1588. speed: 12,
  1589. points: 0,
  1590. path: [{
  1591. x: 0,
  1592. y: 7
  1593. }, {
  1594. x: 17,
  1595. y: 7
  1596. }],
  1597. loop: !0,
  1598. chaser: !1
  1599. }, {
  1600. type: 2,
  1601. x: 17,
  1602. y: 13,
  1603. radius: .5,
  1604. speed: 12,
  1605. points: 0,
  1606. path: [{
  1607. x: 17,
  1608. y: 13
  1609. }, {
  1610. x: 0,
  1611. y: 13
  1612. }],
  1613. loop: !0,
  1614. chaser: !1
  1615. }, {
  1616. type: 1,
  1617. x: 3,
  1618. y: 2,
  1619. radius: 1,
  1620. speed: 20,
  1621. points: 0,
  1622. path: [],
  1623. loop: !1,
  1624. chaser: !1
  1625. }, {
  1626. type: 3,
  1627. x: 2,
  1628. y: 16,
  1629. radius: 1,
  1630. speed: 7,
  1631. points: 50,
  1632. path: [],
  1633. loop: !1,
  1634. chaser: !1
  1635. }, {
  1636. type: 3,
  1637. x: 12,
  1638. y: 4,
  1639. radius: 1,
  1640. speed: 7,
  1641. points: 20,
  1642. path: [],
  1643. loop: !1,
  1644. chaser: !1
  1645. }, {
  1646. type: 3,
  1647. x: 8.5,
  1648. y: 10,
  1649. radius: 1,
  1650. speed: 7,
  1651. points: 20,
  1652. path: [],
  1653. loop: !1,
  1654. chaser: !1
  1655. }, {
  1656. type: 3,
  1657. x: 15,
  1658. y: 16,
  1659. radius: 1,
  1660. speed: 7,
  1661. points: 50,
  1662. path: [],
  1663. loop: !1,
  1664. chaser: !1
  1665. }],
  1666. cells: [
  1667. [{
  1668. type: 1
  1669. }, {
  1670. type: 1
  1671. }, {
  1672. type: 1
  1673. }, {
  1674. type: 1
  1675. }, {
  1676. type: 1
  1677. }, {
  1678. type: 1
  1679. }, {
  1680. type: 1
  1681. }, {
  1682. type: 1
  1683. }],
  1684. [{
  1685. type: 1
  1686. }, {
  1687. type: 1
  1688. }, {
  1689. type: 1
  1690. }, {
  1691. type: 1
  1692. }, {
  1693. type: 1
  1694. }, {
  1695. type: 1
  1696. }, {
  1697. type: 1
  1698. }, {
  1699. type: 1
  1700. }],
  1701. [{
  1702. type: 1
  1703. }, {
  1704. type: 1
  1705. }, {
  1706. type: 1
  1707. }, {
  1708. type: 1
  1709. }, {
  1710. type: 1
  1711. }, {
  1712. type: 1
  1713. }, {
  1714. type: 1
  1715. }, {
  1716. type: 1
  1717. }],
  1718. [{
  1719. type: 1
  1720. }, {
  1721. type: 1
  1722. }, {
  1723. type: 1
  1724. }, {
  1725. type: 1
  1726. }, {
  1727. type: 1
  1728. }, {
  1729. type: 1
  1730. }, {
  1731. type: 1
  1732. }, {
  1733. type: 1
  1734. }],
  1735. [{
  1736. type: 1
  1737. }, {
  1738. type: 1
  1739. }, {
  1740. type: 1
  1741. }, {
  1742. type: 1
  1743. }, {
  1744. type: 1
  1745. }, {
  1746. type: 1
  1747. }, {
  1748. type: 1
  1749. }, {
  1750. type: 1
  1751. }],
  1752. [{
  1753. type: 1
  1754. }, {
  1755. type: 1
  1756. }, {
  1757. type: 1
  1758. }, {
  1759. type: 1
  1760. }, {
  1761. type: 1
  1762. }, {
  1763. type: 1
  1764. }, {
  1765. type: 1
  1766. }, {
  1767. type: 1
  1768. }],
  1769. [{
  1770. type: 1
  1771. }, {
  1772. type: 1
  1773. }, {
  1774. type: 1
  1775. }, {
  1776. type: 1
  1777. }, {
  1778. type: 1
  1779. }, {
  1780. type: 1
  1781. }, {
  1782. type: 1
  1783. }, {
  1784. type: 1
  1785. }],
  1786. [{
  1787. type: 1
  1788. }, {
  1789. type: 1
  1790. }, {
  1791. type: 1
  1792. }, {
  1793. type: 1
  1794. }, {
  1795. type: 1
  1796. }, {
  1797. type: 1
  1798. }, {
  1799. type: 1
  1800. }, {
  1801. type: 1
  1802. }]
  1803. ]
  1804. })
  1805. };
  1806. a.addLevel0006 = function(a) {
  1807. a.push({
  1808. type: 1,
  1809. maxMoves: 3,
  1810. objects: [{
  1811. type: 2,
  1812. x: 0,
  1813. y: 7,
  1814. radius: .5,
  1815. speed: 12,
  1816. points: 0,
  1817. path: [{
  1818. x: 0,
  1819. y: 7
  1820. }, {
  1821. x: 17,
  1822. y: 7
  1823. }],
  1824. loop: !0,
  1825. chaser: !1
  1826. }, {
  1827. type: 2,
  1828. x: 2,
  1829. y: 10,
  1830. radius: .5,
  1831. speed: 12,
  1832. points: 0,
  1833. path: [{
  1834. x: 2,
  1835. y: 10
  1836. }, {
  1837. x: 2,
  1838. y: 13.5
  1839. }, {
  1840. x: 15,
  1841. y: 13.5
  1842. }, {
  1843. x: 15,
  1844. y: 10
  1845. }, {
  1846. x: 15,
  1847. y: 13.5
  1848. }, {
  1849. x: 2,
  1850. y: 13.5
  1851. }],
  1852. loop: !0,
  1853. chaser: !1
  1854. }, {
  1855. type: 1,
  1856. x: 3,
  1857. y: 2,
  1858. radius: 1,
  1859. speed: 20,
  1860. points: 0,
  1861. path: [],
  1862. loop: !1,
  1863. chaser: !1
  1864. }, {
  1865. type: 3,
  1866. x: 2,
  1867. y: 16,
  1868. radius: 1,
  1869. speed: 7,
  1870. points: 50,
  1871. path: [],
  1872. loop: !1,
  1873. chaser: !1
  1874. }, {
  1875. type: 3,
  1876. x: 6,
  1877. y: 10,
  1878. radius: 1,
  1879. speed: 7,
  1880. points: 20,
  1881. path: [],
  1882. loop: !1,
  1883. chaser: !1
  1884. }, {
  1885. type: 3,
  1886. x: 11,
  1887. y: 10,
  1888. radius: 1,
  1889. speed: 7,
  1890. points: 20,
  1891. path: [],
  1892. loop: !1,
  1893. chaser: !1
  1894. }, {
  1895. type: 3,
  1896. x: 15,
  1897. y: 16,
  1898. radius: 1,
  1899. speed: 7,
  1900. points: 50,
  1901. path: [],
  1902. loop: !1,
  1903. chaser: !1
  1904. }],
  1905. cells: [
  1906. [{
  1907. type: 1
  1908. }, {
  1909. type: 1
  1910. }, {
  1911. type: 1
  1912. }, {
  1913. type: 1
  1914. }, {
  1915. type: 1
  1916. }, {
  1917. type: 1
  1918. }, {
  1919. type: 1
  1920. }, {
  1921. type: 1
  1922. }],
  1923. [{
  1924. type: 1
  1925. }, {
  1926. type: 1
  1927. }, {
  1928. type: 1
  1929. }, {
  1930. type: 1
  1931. }, {
  1932. type: 1
  1933. }, {
  1934. type: 1
  1935. }, {
  1936. type: 1
  1937. }, {
  1938. type: 1
  1939. }],
  1940. [{
  1941. type: 1
  1942. }, {
  1943. type: 1
  1944. }, {
  1945. type: 1
  1946. }, {
  1947. type: 1
  1948. }, {
  1949. type: 1
  1950. }, {
  1951. type: 1
  1952. }, {
  1953. type: 1
  1954. }, {
  1955. type: 1
  1956. }],
  1957. [{
  1958. type: 1
  1959. }, {
  1960. type: 1
  1961. }, {
  1962. type: 1
  1963. }, {
  1964. type: 1
  1965. }, {
  1966. type: 1
  1967. }, {
  1968. type: 1
  1969. }, {
  1970. type: 1
  1971. }, {
  1972. type: 1
  1973. }],
  1974. [{
  1975. type: 1
  1976. }, {
  1977. type: 1
  1978. }, {
  1979. type: 1
  1980. }, {
  1981. type: 1
  1982. }, {
  1983. type: 1
  1984. }, {
  1985. type: 1
  1986. }, {
  1987. type: 1
  1988. }, {
  1989. type: 1
  1990. }],
  1991. [{
  1992. type: 1
  1993. }, {
  1994. type: 1
  1995. }, {
  1996. type: 1
  1997. }, {
  1998. type: 1
  1999. }, {
  2000. type: 1
  2001. }, {
  2002. type: 1
  2003. }, {
  2004. type: 1
  2005. }, {
  2006. type: 1
  2007. }],
  2008. [{
  2009. type: 1
  2010. }, {
  2011. type: 1
  2012. }, {
  2013. type: 1
  2014. }, {
  2015. type: 1
  2016. }, {
  2017. type: 1
  2018. }, {
  2019. type: 1
  2020. }, {
  2021. type: 1
  2022. }, {
  2023. type: 1
  2024. }],
  2025. [{
  2026. type: 1
  2027. }, {
  2028. type: 1
  2029. }, {
  2030. type: 1
  2031. }, {
  2032. type: 1
  2033. }, {
  2034. type: 1
  2035. }, {
  2036. type: 1
  2037. }, {
  2038. type: 1
  2039. }, {
  2040. type: 1
  2041. }]
  2042. ]
  2043. })
  2044. };
  2045. a.addLevel0007 = function(a) {
  2046. a.push({
  2047. type: 1,
  2048. maxMoves: 3,
  2049. objects: [{
  2050. type: 2,
  2051. x: 0,
  2052. y: 8.5,
  2053. radius: .5,
  2054. speed: 12,
  2055. points: 0,
  2056. path: [{
  2057. x: 0,
  2058. y: 8.5
  2059. }, {
  2060. x: 17,
  2061. y: 8.5
  2062. }],
  2063. loop: !0,
  2064. chaser: !1
  2065. }, {
  2066. type: 2,
  2067. x: 8.5,
  2068. y: 17,
  2069. radius: .5,
  2070. speed: 12,
  2071. points: 0,
  2072. path: [{
  2073. x: 8.5,
  2074. y: 17
  2075. }, {
  2076. x: 8.5,
  2077. y: 2
  2078. }],
  2079. loop: !0,
  2080. chaser: !1
  2081. }, {
  2082. type: 1,
  2083. x: 3,
  2084. y: 2,
  2085. radius: 1,
  2086. speed: 20,
  2087. points: 0,
  2088. path: [],
  2089. loop: !1,
  2090. chaser: !1
  2091. }, {
  2092. type: 3,
  2093. x: 5,
  2094. y: 6,
  2095. radius: 1,
  2096. speed: 7,
  2097. points: 50,
  2098. path: [],
  2099. loop: !1,
  2100. chaser: !1
  2101. }, {
  2102. type: 3,
  2103. x: 5,
  2104. y: 12,
  2105. radius: 1,
  2106. speed: 7,
  2107. points: 20,
  2108. path: [],
  2109. loop: !1,
  2110. chaser: !1
  2111. }, {
  2112. type: 3,
  2113. x: 15,
  2114. y: 15,
  2115. radius: 1,
  2116. speed: 7,
  2117. points: 20,
  2118. path: [],
  2119. loop: !1,
  2120. chaser: !1
  2121. }, {
  2122. type: 3,
  2123. x: 12,
  2124. y: 6,
  2125. radius: 1,
  2126. speed: 7,
  2127. points: 50,
  2128. path: [],
  2129. loop: !1,
  2130. chaser: !1
  2131. }],
  2132. cells: [
  2133. [{
  2134. type: 1
  2135. }, {
  2136. type: 1
  2137. }, {
  2138. type: 1
  2139. }, {
  2140. type: 1
  2141. }, {
  2142. type: 1
  2143. }, {
  2144. type: 1
  2145. }, {
  2146. type: 1
  2147. }, {
  2148. type: 1
  2149. }],
  2150. [{
  2151. type: 1
  2152. }, {
  2153. type: 1
  2154. }, {
  2155. type: 1
  2156. }, {
  2157. type: 1
  2158. }, {
  2159. type: 1
  2160. }, {
  2161. type: 1
  2162. }, {
  2163. type: 1
  2164. }, {
  2165. type: 1
  2166. }],
  2167. [{
  2168. type: 1
  2169. }, {
  2170. type: 1
  2171. }, {
  2172. type: 1
  2173. }, {
  2174. type: 1
  2175. }, {
  2176. type: 1
  2177. }, {
  2178. type: 1
  2179. }, {
  2180. type: 1
  2181. }, {
  2182. type: 1
  2183. }],
  2184. [{
  2185. type: 1
  2186. }, {
  2187. type: 1
  2188. }, {
  2189. type: 1
  2190. }, {
  2191. type: 1
  2192. }, {
  2193. type: 1
  2194. }, {
  2195. type: 1
  2196. }, {
  2197. type: 1
  2198. }, {
  2199. type: 1
  2200. }],
  2201. [{
  2202. type: 1
  2203. }, {
  2204. type: 1
  2205. }, {
  2206. type: 1
  2207. }, {
  2208. type: 1
  2209. }, {
  2210. type: 1
  2211. }, {
  2212. type: 1
  2213. }, {
  2214. type: 1
  2215. }, {
  2216. type: 1
  2217. }],
  2218. [{
  2219. type: 1
  2220. }, {
  2221. type: 1
  2222. }, {
  2223. type: 1
  2224. }, {
  2225. type: 1
  2226. }, {
  2227. type: 1
  2228. }, {
  2229. type: 1
  2230. }, {
  2231. type: 1
  2232. }, {
  2233. type: 1
  2234. }],
  2235. [{
  2236. type: 1
  2237. }, {
  2238. type: 1
  2239. }, {
  2240. type: 1
  2241. }, {
  2242. type: 1
  2243. }, {
  2244. type: 1
  2245. }, {
  2246. type: 1
  2247. }, {
  2248. type: 1
  2249. }, {
  2250. type: 1
  2251. }],
  2252. [{
  2253. type: 1
  2254. }, {
  2255. type: 1
  2256. }, {
  2257. type: 1
  2258. }, {
  2259. type: 1
  2260. }, {
  2261. type: 1
  2262. }, {
  2263. type: 1
  2264. }, {
  2265. type: 1
  2266. }, {
  2267. type: 1
  2268. }]
  2269. ]
  2270. })
  2271. };
  2272. a.addLevel0008 = function(a) {
  2273. a.push({
  2274. type: 1,
  2275. maxMoves: 3,
  2276. objects: [{
  2277. type: 2,
  2278. x: 0,
  2279. y: 13,
  2280. radius: .5,
  2281. speed: 12,
  2282. points: 0,
  2283. path: [{
  2284. x: 0,
  2285. y: 13
  2286. }, {
  2287. x: 7.5,
  2288. y: 13
  2289. }, {
  2290. x: 7.5,
  2291. y: 8
  2292. }, {
  2293. x: 7.5,
  2294. y: 13
  2295. }],
  2296. loop: !0,
  2297. chaser: !1
  2298. }, {
  2299. type: 2,
  2300. x: 17,
  2301. y: 13,
  2302. radius: .5,
  2303. speed: 12,
  2304. points: 0,
  2305. path: [{
  2306. x: 17,
  2307. y: 13
  2308. }, {
  2309. x: 9.5,
  2310. y: 13
  2311. }, {
  2312. x: 9.5,
  2313. y: 8
  2314. }, {
  2315. x: 9.5,
  2316. y: 13
  2317. }],
  2318. loop: !0,
  2319. chaser: !1
  2320. }, {
  2321. type: 1,
  2322. x: 3,
  2323. y: 2,
  2324. radius: 1,
  2325. speed: 20,
  2326. points: 0,
  2327. path: [],
  2328. loop: !1,
  2329. chaser: !1
  2330. }, {
  2331. type: 3,
  2332. x: 8.5,
  2333. y: 16,
  2334. radius: 1,
  2335. speed: 7,
  2336. points: 50,
  2337. path: [],
  2338. loop: !1,
  2339. chaser: !1
  2340. }, {
  2341. type: 3,
  2342. x: 4,
  2343. y: 10,
  2344. radius: 1,
  2345. speed: 7,
  2346. points: 20,
  2347. path: [],
  2348. loop: !1,
  2349. chaser: !1
  2350. }, {
  2351. type: 3,
  2352. x: 13,
  2353. y: 10,
  2354. radius: 1,
  2355. speed: 7,
  2356. points: 20,
  2357. path: [],
  2358. loop: !1,
  2359. chaser: !1
  2360. }, {
  2361. type: 3,
  2362. x: 16,
  2363. y: 16,
  2364. radius: 1,
  2365. speed: 7,
  2366. points: 50,
  2367. path: [],
  2368. loop: !1,
  2369. chaser: !1
  2370. }, {
  2371. type: 3,
  2372. x: 15,
  2373. y: 4,
  2374. radius: 1,
  2375. speed: 7,
  2376. points: 10,
  2377. path: [],
  2378. loop: !1,
  2379. chaser: !1
  2380. }],
  2381. cells: [
  2382. [{
  2383. type: 1
  2384. }, {
  2385. type: 1
  2386. }, {
  2387. type: 1
  2388. }, {
  2389. type: 1
  2390. }, {
  2391. type: 1
  2392. }, {
  2393. type: 1
  2394. }, {
  2395. type: 1
  2396. }, {
  2397. type: 1
  2398. }],
  2399. [{
  2400. type: 1
  2401. }, {
  2402. type: 1
  2403. }, {
  2404. type: 1
  2405. }, {
  2406. type: 1
  2407. }, {
  2408. type: 1
  2409. }, {
  2410. type: 1
  2411. }, {
  2412. type: 1
  2413. }, {
  2414. type: 1
  2415. }],
  2416. [{
  2417. type: 1
  2418. }, {
  2419. type: 1
  2420. }, {
  2421. type: 1
  2422. }, {
  2423. type: 1
  2424. }, {
  2425. type: 1
  2426. }, {
  2427. type: 1
  2428. }, {
  2429. type: 1
  2430. }, {
  2431. type: 1
  2432. }],
  2433. [{
  2434. type: 1
  2435. }, {
  2436. type: 1
  2437. }, {
  2438. type: 1
  2439. }, {
  2440. type: 1
  2441. }, {
  2442. type: 1
  2443. }, {
  2444. type: 1
  2445. }, {
  2446. type: 1
  2447. }, {
  2448. type: 1
  2449. }],
  2450. [{
  2451. type: 1
  2452. }, {
  2453. type: 1
  2454. }, {
  2455. type: 1
  2456. }, {
  2457. type: 1
  2458. }, {
  2459. type: 1
  2460. }, {
  2461. type: 1
  2462. }, {
  2463. type: 1
  2464. }, {
  2465. type: 1
  2466. }],
  2467. [{
  2468. type: 1
  2469. }, {
  2470. type: 1
  2471. }, {
  2472. type: 1
  2473. }, {
  2474. type: 1
  2475. }, {
  2476. type: 1
  2477. }, {
  2478. type: 1
  2479. }, {
  2480. type: 1
  2481. }, {
  2482. type: 1
  2483. }],
  2484. [{
  2485. type: 1
  2486. }, {
  2487. type: 1
  2488. }, {
  2489. type: 1
  2490. }, {
  2491. type: 1
  2492. }, {
  2493. type: 1
  2494. }, {
  2495. type: 1
  2496. }, {
  2497. type: 1
  2498. }, {
  2499. type: 1
  2500. }],
  2501. [{
  2502. type: 1
  2503. }, {
  2504. type: 1
  2505. }, {
  2506. type: 1
  2507. }, {
  2508. type: 1
  2509. }, {
  2510. type: 1
  2511. }, {
  2512. type: 1
  2513. }, {
  2514. type: 1
  2515. }, {
  2516. type: 1
  2517. }]
  2518. ]
  2519. })
  2520. };
  2521. a.addLevel0009 = function(a) {
  2522. a.push({
  2523. type: 1,
  2524. maxMoves: 3,
  2525. objects: [{
  2526. type: 2,
  2527. x: 0,
  2528. y: 15,
  2529. radius: .5,
  2530. speed: 12,
  2531. points: 0,
  2532. path: [{
  2533. x: 0,
  2534. y: 15
  2535. }, {
  2536. x: 7.5,
  2537. y: 10
  2538. }, {
  2539. x: 3.5,
  2540. y: 6
  2541. }, {
  2542. x: 7.5,
  2543. y: 10
  2544. }],
  2545. loop: !0,
  2546. chaser: !1
  2547. }, {
  2548. type: 2,
  2549. x: 17,
  2550. y: 15,
  2551. radius: .5,
  2552. speed: 12,
  2553. points: 0,
  2554. path: [{
  2555. x: 17,
  2556. y: 15
  2557. }, {
  2558. x: 9.5,
  2559. y: 10
  2560. }, {
  2561. x: 13.5,
  2562. y: 6
  2563. }, {
  2564. x: 9.5,
  2565. y: 10
  2566. }],
  2567. loop: !0,
  2568. chaser: !1
  2569. }, {
  2570. type: 1,
  2571. x: 3,
  2572. y: 2,
  2573. radius: 1,
  2574. speed: 20,
  2575. points: 0,
  2576. path: [],
  2577. loop: !1,
  2578. chaser: !1
  2579. }, {
  2580. type: 3,
  2581. x: 8.5,
  2582. y: 16,
  2583. radius: 1,
  2584. speed: 7,
  2585. points: 50,
  2586. path: [],
  2587. loop: !1,
  2588. chaser: !1
  2589. }, {
  2590. type: 3,
  2591. x: 3,
  2592. y: 9.5,
  2593. radius: 1,
  2594. speed: 7,
  2595. points: 20,
  2596. path: [],
  2597. loop: !1,
  2598. chaser: !1
  2599. }, {
  2600. type: 3,
  2601. x: 14,
  2602. y: 10.5,
  2603. radius: 1,
  2604. speed: 7,
  2605. points: 20,
  2606. path: [],
  2607. loop: !1,
  2608. chaser: !1
  2609. }, {
  2610. type: 3,
  2611. x: 8.5,
  2612. y: 5,
  2613. radius: 1,
  2614. speed: 7,
  2615. points: 50,
  2616. path: [],
  2617. loop: !1,
  2618. chaser: !1
  2619. }, {
  2620. type: 3,
  2621. x: 8.5,
  2622. y: 8.5,
  2623. radius: 1,
  2624. speed: 7,
  2625. points: 50,
  2626. path: [],
  2627. loop: !1,
  2628. chaser: !1
  2629. }],
  2630. cells: [
  2631. [{
  2632. type: 1
  2633. }, {
  2634. type: 1
  2635. }, {
  2636. type: 1
  2637. }, {
  2638. type: 1
  2639. }, {
  2640. type: 1
  2641. }, {
  2642. type: 1
  2643. }, {
  2644. type: 1
  2645. }, {
  2646. type: 1
  2647. }],
  2648. [{
  2649. type: 1
  2650. }, {
  2651. type: 1
  2652. }, {
  2653. type: 1
  2654. }, {
  2655. type: 1
  2656. }, {
  2657. type: 1
  2658. }, {
  2659. type: 1
  2660. }, {
  2661. type: 1
  2662. }, {
  2663. type: 1
  2664. }],
  2665. [{
  2666. type: 1
  2667. }, {
  2668. type: 1
  2669. }, {
  2670. type: 1
  2671. }, {
  2672. type: 1
  2673. }, {
  2674. type: 1
  2675. }, {
  2676. type: 1
  2677. }, {
  2678. type: 1
  2679. }, {
  2680. type: 1
  2681. }],
  2682. [{
  2683. type: 1
  2684. }, {
  2685. type: 1
  2686. }, {
  2687. type: 1
  2688. }, {
  2689. type: 1
  2690. }, {
  2691. type: 1
  2692. }, {
  2693. type: 1
  2694. }, {
  2695. type: 1
  2696. }, {
  2697. type: 1
  2698. }],
  2699. [{
  2700. type: 1
  2701. }, {
  2702. type: 1
  2703. }, {
  2704. type: 1
  2705. }, {
  2706. type: 1
  2707. }, {
  2708. type: 1
  2709. }, {
  2710. type: 1
  2711. }, {
  2712. type: 1
  2713. }, {
  2714. type: 1
  2715. }],
  2716. [{
  2717. type: 1
  2718. }, {
  2719. type: 1
  2720. }, {
  2721. type: 1
  2722. }, {
  2723. type: 1
  2724. }, {
  2725. type: 1
  2726. }, {
  2727. type: 1
  2728. }, {
  2729. type: 1
  2730. }, {
  2731. type: 1
  2732. }],
  2733. [{
  2734. type: 1
  2735. }, {
  2736. type: 1
  2737. }, {
  2738. type: 1
  2739. }, {
  2740. type: 1
  2741. }, {
  2742. type: 1
  2743. }, {
  2744. type: 1
  2745. }, {
  2746. type: 1
  2747. }, {
  2748. type: 1
  2749. }],
  2750. [{
  2751. type: 1
  2752. }, {
  2753. type: 1
  2754. }, {
  2755. type: 1
  2756. }, {
  2757. type: 1
  2758. }, {
  2759. type: 1
  2760. }, {
  2761. type: 1
  2762. }, {
  2763. type: 1
  2764. }, {
  2765. type: 1
  2766. }]
  2767. ]
  2768. })
  2769. };
  2770. a.addLevel0010 = function(a) {
  2771. a.push({
  2772. type: 1,
  2773. maxMoves: 3,
  2774. objects: [{
  2775. type: 2,
  2776. x: 11,
  2777. y: 9,
  2778. radius: .5,
  2779. speed: 10,
  2780. points: 0,
  2781. path: [],
  2782. loop: !1,
  2783. chaser: !0
  2784. }, {
  2785. type: 1,
  2786. x: 3,
  2787. y: 2,
  2788. radius: 1,
  2789. speed: 20,
  2790. points: 0,
  2791. path: [],
  2792. loop: !1,
  2793. chaser: !1
  2794. }, {
  2795. type: 3,
  2796. x: 10,
  2797. y: 5,
  2798. radius: 1,
  2799. speed: 7,
  2800. points: 20,
  2801. path: [],
  2802. loop: !1,
  2803. chaser: !1
  2804. }, {
  2805. type: 3,
  2806. x: 3.5,
  2807. y: 15,
  2808. radius: 1,
  2809. speed: 7,
  2810. points: 50,
  2811. path: [],
  2812. loop: !1,
  2813. chaser: !1
  2814. }],
  2815. cells: [
  2816. [{
  2817. type: 1
  2818. }, {
  2819. type: 1
  2820. }, {
  2821. type: 1
  2822. }, {
  2823. type: 1
  2824. }, {
  2825. type: 1
  2826. }, {
  2827. type: 1
  2828. }, {
  2829. type: 1
  2830. }, {
  2831. type: 1
  2832. }],
  2833. [{
  2834. type: 1
  2835. }, {
  2836. type: 1
  2837. }, {
  2838. type: 1
  2839. }, {
  2840. type: 1
  2841. }, {
  2842. type: 1
  2843. }, {
  2844. type: 1
  2845. }, {
  2846. type: 1
  2847. }, {
  2848. type: 1
  2849. }],
  2850. [{
  2851. type: 1
  2852. }, {
  2853. type: 1
  2854. }, {
  2855. type: 1
  2856. }, {
  2857. type: 1
  2858. }, {
  2859. type: 1
  2860. }, {
  2861. type: 1
  2862. }, {
  2863. type: 1
  2864. }, {
  2865. type: 1
  2866. }],
  2867. [{
  2868. type: 1
  2869. }, {
  2870. type: 1
  2871. }, {
  2872. type: 1
  2873. }, {
  2874. type: 1
  2875. }, {
  2876. type: 1
  2877. }, {
  2878. type: 1
  2879. }, {
  2880. type: 1
  2881. }, {
  2882. type: 1
  2883. }],
  2884. [{
  2885. type: 1
  2886. }, {
  2887. type: 1
  2888. }, {
  2889. type: 1
  2890. }, {
  2891. type: 1
  2892. }, {
  2893. type: 1
  2894. }, {
  2895. type: 1
  2896. }, {
  2897. type: 1
  2898. }, {
  2899. type: 1
  2900. }],
  2901. [{
  2902. type: 1
  2903. }, {
  2904. type: 1
  2905. }, {
  2906. type: 1
  2907. }, {
  2908. type: 1
  2909. }, {
  2910. type: 1
  2911. }, {
  2912. type: 1
  2913. }, {
  2914. type: 1
  2915. }, {
  2916. type: 1
  2917. }],
  2918. [{
  2919. type: 1
  2920. }, {
  2921. type: 1
  2922. }, {
  2923. type: 1
  2924. }, {
  2925. type: 1
  2926. }, {
  2927. type: 1
  2928. }, {
  2929. type: 1
  2930. }, {
  2931. type: 1
  2932. }, {
  2933. type: 1
  2934. }],
  2935. [{
  2936. type: 1
  2937. }, {
  2938. type: 1
  2939. }, {
  2940. type: 1
  2941. }, {
  2942. type: 1
  2943. }, {
  2944. type: 1
  2945. }, {
  2946. type: 1
  2947. }, {
  2948. type: 1
  2949. }, {
  2950. type: 1
  2951. }]
  2952. ]
  2953. })
  2954. };
  2955. a.addLevel0011 = function(a) {
  2956. a.push({
  2957. type: 1,
  2958. maxMoves: 3,
  2959. objects: [{
  2960. type: 2,
  2961. x: 9.5,
  2962. y: 12.5,
  2963. radius: .5,
  2964. speed: 10,
  2965. points: 0,
  2966. path: [],
  2967. loop: !1,
  2968. chaser: !0
  2969. }, {
  2970. type: 1,
  2971. x: 3,
  2972. y: 2,
  2973. radius: 1,
  2974. speed: 20,
  2975. points: 0,
  2976. path: [],
  2977. loop: !1,
  2978. chaser: !1
  2979. }, {
  2980. type: 3,
  2981. x: 8.5,
  2982. y: 8.5,
  2983. radius: 1,
  2984. speed: 7,
  2985. points: 20,
  2986. path: [],
  2987. loop: !1,
  2988. chaser: !1
  2989. }, {
  2990. type: 3,
  2991. x: 5,
  2992. y: 6,
  2993. radius: 1,
  2994. speed: 7,
  2995. points: 50,
  2996. path: [],
  2997. loop: !1,
  2998. chaser: !1
  2999. }, {
  3000. type: 3,
  3001. x: 12,
  3002. y: 15,
  3003. radius: 1,
  3004. speed: 7,
  3005. points: 10,
  3006. path: [],
  3007. loop: !1,
  3008. chaser: !1
  3009. }],
  3010. cells: [
  3011. [{
  3012. type: 1
  3013. }, {
  3014. type: 1
  3015. }, {
  3016. type: 1
  3017. }, {
  3018. type: 1
  3019. }, {
  3020. type: 1
  3021. }, {
  3022. type: 1
  3023. }, {
  3024. type: 1
  3025. }, {
  3026. type: 1
  3027. }],
  3028. [{
  3029. type: 1
  3030. }, {
  3031. type: 1
  3032. }, {
  3033. type: 1
  3034. }, {
  3035. type: 1
  3036. }, {
  3037. type: 1
  3038. }, {
  3039. type: 1
  3040. }, {
  3041. type: 1
  3042. }, {
  3043. type: 1
  3044. }],
  3045. [{
  3046. type: 1
  3047. }, {
  3048. type: 1
  3049. }, {
  3050. type: 1
  3051. }, {
  3052. type: 1
  3053. }, {
  3054. type: 1
  3055. }, {
  3056. type: 1
  3057. }, {
  3058. type: 1
  3059. }, {
  3060. type: 1
  3061. }],
  3062. [{
  3063. type: 1
  3064. }, {
  3065. type: 1
  3066. }, {
  3067. type: 1
  3068. }, {
  3069. type: 1
  3070. }, {
  3071. type: 1
  3072. }, {
  3073. type: 1
  3074. }, {
  3075. type: 1
  3076. }, {
  3077. type: 1
  3078. }],
  3079. [{
  3080. type: 1
  3081. }, {
  3082. type: 1
  3083. }, {
  3084. type: 1
  3085. }, {
  3086. type: 1
  3087. }, {
  3088. type: 1
  3089. }, {
  3090. type: 1
  3091. }, {
  3092. type: 1
  3093. }, {
  3094. type: 1
  3095. }],
  3096. [{
  3097. type: 1
  3098. }, {
  3099. type: 1
  3100. }, {
  3101. type: 1
  3102. }, {
  3103. type: 1
  3104. }, {
  3105. type: 1
  3106. }, {
  3107. type: 1
  3108. }, {
  3109. type: 1
  3110. }, {
  3111. type: 1
  3112. }],
  3113. [{
  3114. type: 1
  3115. }, {
  3116. type: 1
  3117. }, {
  3118. type: 1
  3119. }, {
  3120. type: 1
  3121. }, {
  3122. type: 1
  3123. }, {
  3124. type: 1
  3125. }, {
  3126. type: 1
  3127. }, {
  3128. type: 1
  3129. }],
  3130. [{
  3131. type: 1
  3132. }, {
  3133. type: 1
  3134. }, {
  3135. type: 1
  3136. }, {
  3137. type: 1
  3138. }, {
  3139. type: 1
  3140. }, {
  3141. type: 1
  3142. }, {
  3143. type: 1
  3144. }, {
  3145. type: 1
  3146. }]
  3147. ]
  3148. })
  3149. };
  3150. a.addLevel0012 = function(a) {
  3151. a.push({
  3152. type: 1,
  3153. maxMoves: 3,
  3154. objects: [{
  3155. type: 2,
  3156. x: 0,
  3157. y: 10,
  3158. radius: .5,
  3159. speed: 10,
  3160. points: 0,
  3161. path: [{
  3162. x: 0,
  3163. y: 10
  3164. }, {
  3165. x: 7.5,
  3166. y: 10
  3167. }],
  3168. loop: !0,
  3169. chaser: !1
  3170. }, {
  3171. type: 2,
  3172. x: 8.5,
  3173. y: 13.5,
  3174. radius: .5,
  3175. speed: 10,
  3176. points: 0,
  3177. path: [],
  3178. loop: !1,
  3179. chaser: !0
  3180. }, {
  3181. type: 1,
  3182. x: 3,
  3183. y: 2,
  3184. radius: 1,
  3185. speed: 20,
  3186. points: 0,
  3187. path: [],
  3188. loop: !1,
  3189. chaser: !1
  3190. }, {
  3191. type: 3,
  3192. x: 8.5,
  3193. y: 8.5,
  3194. radius: 1,
  3195. speed: 7,
  3196. points: 20,
  3197. path: [],
  3198. loop: !1,
  3199. chaser: !1
  3200. }, {
  3201. type: 3,
  3202. x: 12.5,
  3203. y: 12.5,
  3204. radius: 1,
  3205. speed: 7,
  3206. points: 50,
  3207. path: [],
  3208. loop: !1,
  3209. chaser: !1
  3210. }, {
  3211. type: 3,
  3212. x: 4.5,
  3213. y: 12.5,
  3214. radius: 1,
  3215. speed: 7,
  3216. points: 10,
  3217. path: [],
  3218. loop: !1,
  3219. chaser: !1
  3220. }],
  3221. cells: [
  3222. [{
  3223. type: 1
  3224. }, {
  3225. type: 1
  3226. }, {
  3227. type: 1
  3228. }, {
  3229. type: 1
  3230. }, {
  3231. type: 1
  3232. }, {
  3233. type: 1
  3234. }, {
  3235. type: 1
  3236. }, {
  3237. type: 1
  3238. }],
  3239. [{
  3240. type: 1
  3241. }, {
  3242. type: 1
  3243. }, {
  3244. type: 1
  3245. }, {
  3246. type: 1
  3247. }, {
  3248. type: 1
  3249. }, {
  3250. type: 1
  3251. }, {
  3252. type: 1
  3253. }, {
  3254. type: 1
  3255. }],
  3256. [{
  3257. type: 1
  3258. }, {
  3259. type: 1
  3260. }, {
  3261. type: 1
  3262. }, {
  3263. type: 1
  3264. }, {
  3265. type: 1
  3266. }, {
  3267. type: 1
  3268. }, {
  3269. type: 1
  3270. }, {
  3271. type: 1
  3272. }],
  3273. [{
  3274. type: 1
  3275. }, {
  3276. type: 1
  3277. }, {
  3278. type: 1
  3279. }, {
  3280. type: 1
  3281. }, {
  3282. type: 1
  3283. }, {
  3284. type: 1
  3285. }, {
  3286. type: 1
  3287. }, {
  3288. type: 1
  3289. }],
  3290. [{
  3291. type: 1
  3292. }, {
  3293. type: 1
  3294. }, {
  3295. type: 1
  3296. }, {
  3297. type: 1
  3298. }, {
  3299. type: 1
  3300. }, {
  3301. type: 1
  3302. }, {
  3303. type: 1
  3304. }, {
  3305. type: 1
  3306. }],
  3307. [{
  3308. type: 1
  3309. }, {
  3310. type: 1
  3311. }, {
  3312. type: 1
  3313. }, {
  3314. type: 1
  3315. }, {
  3316. type: 1
  3317. }, {
  3318. type: 1
  3319. }, {
  3320. type: 1
  3321. }, {
  3322. type: 1
  3323. }],
  3324. [{
  3325. type: 1
  3326. }, {
  3327. type: 1
  3328. }, {
  3329. type: 1
  3330. }, {
  3331. type: 1
  3332. }, {
  3333. type: 1
  3334. }, {
  3335. type: 1
  3336. }, {
  3337. type: 1
  3338. }, {
  3339. type: 1
  3340. }],
  3341. [{
  3342. type: 1
  3343. }, {
  3344. type: 1
  3345. }, {
  3346. type: 1
  3347. }, {
  3348. type: 1
  3349. }, {
  3350. type: 1
  3351. }, {
  3352. type: 1
  3353. }, {
  3354. type: 1
  3355. }, {
  3356. type: 1
  3357. }]
  3358. ]
  3359. })
  3360. };
  3361. a.addLevel0013 = function(a) {
  3362. a.push({
  3363. type: 1,
  3364. maxMoves: 3,
  3365. objects: [{
  3366. type: 2,
  3367. x: 4,
  3368. y: 5,
  3369. radius: .5,
  3370. speed: 10,
  3371. points: 0,
  3372. path: [{
  3373. x: 4,
  3374. y: 5
  3375. }, {
  3376. x: 12,
  3377. y: 15
  3378. }],
  3379. loop: !0,
  3380. chaser: !1
  3381. }, {
  3382. type: 2,
  3383. x: 8.5,
  3384. y: 8.5,
  3385. radius: .5,
  3386. speed: 10,
  3387. points: 0,
  3388. path: [],
  3389. loop: !1,
  3390. chaser: !0
  3391. }, {
  3392. type: 1,
  3393. x: 3,
  3394. y: 2,
  3395. radius: 1,
  3396. speed: 20,
  3397. points: 0,
  3398. path: [],
  3399. loop: !1,
  3400. chaser: !1
  3401. }, {
  3402. type: 3,
  3403. x: 7,
  3404. y: 4,
  3405. radius: 1,
  3406. speed: 7,
  3407. points: 50,
  3408. path: [],
  3409. loop: !1,
  3410. chaser: !1
  3411. }, {
  3412. type: 3,
  3413. x: 10,
  3414. y: 4,
  3415. radius: 1,
  3416. speed: 7,
  3417. points: 20,
  3418. path: [],
  3419. loop: !1,
  3420. chaser: !1
  3421. }, {
  3422. type: 3,
  3423. x: 13,
  3424. y: 4,
  3425. radius: 1,
  3426. speed: 7,
  3427. points: 20,
  3428. path: [],
  3429. loop: !1,
  3430. chaser: !1
  3431. }, {
  3432. type: 3,
  3433. x: 4,
  3434. y: 13,
  3435. radius: 1,
  3436. speed: 7,
  3437. points: 10,
  3438. path: [],
  3439. loop: !1,
  3440. chaser: !1
  3441. }, {
  3442. type: 3,
  3443. x: 7,
  3444. y: 13,
  3445. radius: 1,
  3446. speed: 7,
  3447. points: 10,
  3448. path: [],
  3449. loop: !1,
  3450. chaser: !1
  3451. }],
  3452. cells: [
  3453. [{
  3454. type: 1
  3455. }, {
  3456. type: 1
  3457. }, {
  3458. type: 1
  3459. }, {
  3460. type: 1
  3461. }, {
  3462. type: 1
  3463. }, {
  3464. type: 1
  3465. }, {
  3466. type: 1
  3467. }, {
  3468. type: 1
  3469. }],
  3470. [{
  3471. type: 1
  3472. }, {
  3473. type: 1
  3474. }, {
  3475. type: 1
  3476. }, {
  3477. type: 1
  3478. }, {
  3479. type: 1
  3480. }, {
  3481. type: 1
  3482. }, {
  3483. type: 1
  3484. }, {
  3485. type: 1
  3486. }],
  3487. [{
  3488. type: 1
  3489. }, {
  3490. type: 1
  3491. }, {
  3492. type: 1
  3493. }, {
  3494. type: 1
  3495. }, {
  3496. type: 1
  3497. }, {
  3498. type: 1
  3499. }, {
  3500. type: 1
  3501. }, {
  3502. type: 1
  3503. }],
  3504. [{
  3505. type: 1
  3506. }, {
  3507. type: 1
  3508. }, {
  3509. type: 1
  3510. }, {
  3511. type: 1
  3512. }, {
  3513. type: 1
  3514. }, {
  3515. type: 1
  3516. }, {
  3517. type: 1
  3518. }, {
  3519. type: 1
  3520. }],
  3521. [{
  3522. type: 1
  3523. }, {
  3524. type: 1
  3525. }, {
  3526. type: 1
  3527. }, {
  3528. type: 1
  3529. }, {
  3530. type: 1
  3531. }, {
  3532. type: 1
  3533. }, {
  3534. type: 1
  3535. }, {
  3536. type: 1
  3537. }],
  3538. [{
  3539. type: 1
  3540. }, {
  3541. type: 1
  3542. }, {
  3543. type: 1
  3544. }, {
  3545. type: 1
  3546. }, {
  3547. type: 1
  3548. }, {
  3549. type: 1
  3550. }, {
  3551. type: 1
  3552. }, {
  3553. type: 1
  3554. }],
  3555. [{
  3556. type: 1
  3557. }, {
  3558. type: 1
  3559. }, {
  3560. type: 1
  3561. }, {
  3562. type: 1
  3563. }, {
  3564. type: 1
  3565. }, {
  3566. type: 1
  3567. }, {
  3568. type: 1
  3569. }, {
  3570. type: 1
  3571. }],
  3572. [{
  3573. type: 1
  3574. }, {
  3575. type: 1
  3576. }, {
  3577. type: 1
  3578. }, {
  3579. type: 1
  3580. }, {
  3581. type: 1
  3582. }, {
  3583. type: 1
  3584. }, {
  3585. type: 1
  3586. }, {
  3587. type: 1
  3588. }]
  3589. ]
  3590. })
  3591. };
  3592. a.addLevel0014 = function(a) {
  3593. a.push({
  3594. type: 1,
  3595. maxMoves: 3,
  3596. objects: [{
  3597. type: 2,
  3598. x: 17,
  3599. y: 10,
  3600. radius: .5,
  3601. speed: 10,
  3602. points: 0,
  3603. path: [{
  3604. x: 17,
  3605. y: 10
  3606. }, {
  3607. x: 9.5,
  3608. y: 10
  3609. }],
  3610. loop: !0,
  3611. chaser: !1
  3612. }, {
  3613. type: 2,
  3614. x: 0,
  3615. y: 6,
  3616. radius: .5,
  3617. speed: 10,
  3618. points: 0,
  3619. path: [{
  3620. x: 0,
  3621. y: 6
  3622. }, {
  3623. x: 7.5,
  3624. y: 6
  3625. }],
  3626. loop: !0,
  3627. chaser: !1
  3628. }, {
  3629. type: 2,
  3630. x: 6.5,
  3631. y: 13.5,
  3632. radius: .5,
  3633. speed: 10,
  3634. points: 0,
  3635. path: [],
  3636. loop: !1,
  3637. chaser: !0
  3638. }, {
  3639. type: 1,
  3640. x: 3,
  3641. y: 2,
  3642. radius: 1,
  3643. speed: 20,
  3644. points: 0,
  3645. path: [],
  3646. loop: !1,
  3647. chaser: !1
  3648. }, {
  3649. type: 3,
  3650. x: 7.5,
  3651. y: 10.5,
  3652. radius: 1,
  3653. speed: 7,
  3654. points: 20,
  3655. path: [],
  3656. loop: !1,
  3657. chaser: !1
  3658. }, {
  3659. type: 3,
  3660. x: 15,
  3661. y: 4,
  3662. radius: 1,
  3663. speed: 7,
  3664. points: 50,
  3665. path: [],
  3666. loop: !1,
  3667. chaser: !1
  3668. }, {
  3669. type: 3,
  3670. x: 15,
  3671. y: 15,
  3672. radius: 1,
  3673. speed: 7,
  3674. points: 10,
  3675. path: [],
  3676. loop: !1,
  3677. chaser: !1
  3678. }],
  3679. cells: [
  3680. [{
  3681. type: 1
  3682. }, {
  3683. type: 1
  3684. }, {
  3685. type: 1
  3686. }, {
  3687. type: 1
  3688. }, {
  3689. type: 1
  3690. }, {
  3691. type: 1
  3692. }, {
  3693. type: 1
  3694. }, {
  3695. type: 1
  3696. }],
  3697. [{
  3698. type: 1
  3699. }, {
  3700. type: 1
  3701. }, {
  3702. type: 1
  3703. }, {
  3704. type: 1
  3705. }, {
  3706. type: 1
  3707. }, {
  3708. type: 1
  3709. }, {
  3710. type: 1
  3711. }, {
  3712. type: 1
  3713. }],
  3714. [{
  3715. type: 1
  3716. }, {
  3717. type: 1
  3718. }, {
  3719. type: 1
  3720. }, {
  3721. type: 1
  3722. }, {
  3723. type: 1
  3724. }, {
  3725. type: 1
  3726. }, {
  3727. type: 1
  3728. }, {
  3729. type: 1
  3730. }],
  3731. [{
  3732. type: 1
  3733. }, {
  3734. type: 1
  3735. }, {
  3736. type: 1
  3737. }, {
  3738. type: 1
  3739. }, {
  3740. type: 1
  3741. }, {
  3742. type: 1
  3743. }, {
  3744. type: 1
  3745. }, {
  3746. type: 1
  3747. }],
  3748. [{
  3749. type: 1
  3750. }, {
  3751. type: 1
  3752. }, {
  3753. type: 1
  3754. }, {
  3755. type: 1
  3756. }, {
  3757. type: 1
  3758. }, {
  3759. type: 1
  3760. }, {
  3761. type: 1
  3762. }, {
  3763. type: 1
  3764. }],
  3765. [{
  3766. type: 1
  3767. }, {
  3768. type: 1
  3769. }, {
  3770. type: 1
  3771. }, {
  3772. type: 1
  3773. }, {
  3774. type: 1
  3775. }, {
  3776. type: 1
  3777. }, {
  3778. type: 1
  3779. }, {
  3780. type: 1
  3781. }],
  3782. [{
  3783. type: 1
  3784. }, {
  3785. type: 1
  3786. }, {
  3787. type: 1
  3788. }, {
  3789. type: 1
  3790. }, {
  3791. type: 1
  3792. }, {
  3793. type: 1
  3794. }, {
  3795. type: 1
  3796. }, {
  3797. type: 1
  3798. }],
  3799. [{
  3800. type: 1
  3801. }, {
  3802. type: 1
  3803. }, {
  3804. type: 1
  3805. }, {
  3806. type: 1
  3807. }, {
  3808. type: 1
  3809. }, {
  3810. type: 1
  3811. }, {
  3812. type: 1
  3813. }, {
  3814. type: 1
  3815. }]
  3816. ]
  3817. })
  3818. };
  3819. a.addLevel0015 = function(a) {
  3820. a.push({
  3821. type: 1,
  3822. maxMoves: 3,
  3823. objects: [{
  3824. type: 2,
  3825. x: 10,
  3826. y: 6,
  3827. radius: .5,
  3828. speed: 10,
  3829. points: 0,
  3830. path: [{
  3831. x: 10,
  3832. y: 6
  3833. }, {
  3834. x: 10,
  3835. y: 16
  3836. }],
  3837. loop: !0,
  3838. chaser: !1
  3839. }, {
  3840. type: 2,
  3841. x: 8.5,
  3842. y: 8.5,
  3843. radius: .5,
  3844. speed: 10,
  3845. points: 0,
  3846. path: [],
  3847. loop: !1,
  3848. chaser: !0
  3849. }, {
  3850. type: 1,
  3851. x: 3,
  3852. y: 2,
  3853. radius: 1,
  3854. speed: 20,
  3855. points: 0,
  3856. path: [],
  3857. loop: !1,
  3858. chaser: !1
  3859. }, {
  3860. type: 3,
  3861. x: 6,
  3862. y: 10.5,
  3863. radius: 1,
  3864. speed: 7,
  3865. points: 20,
  3866. path: [],
  3867. loop: !1,
  3868. chaser: !1
  3869. }, {
  3870. type: 3,
  3871. x: 6,
  3872. y: 15,
  3873. radius: 1,
  3874. speed: 7,
  3875. points: 50,
  3876. path: [],
  3877. loop: !1,
  3878. chaser: !1
  3879. }, {
  3880. type: 3,
  3881. x: 15,
  3882. y: 15,
  3883. radius: 1,
  3884. speed: 7,
  3885. points: 10,
  3886. path: [],
  3887. loop: !1,
  3888. chaser: !1
  3889. }, {
  3890. type: 3,
  3891. x: 15,
  3892. y: 6,
  3893. radius: 1,
  3894. speed: 7,
  3895. points: 10,
  3896. path: [],
  3897. loop: !1,
  3898. chaser: !1
  3899. }],
  3900. cells: [
  3901. [{
  3902. type: 1
  3903. }, {
  3904. type: 1
  3905. }, {
  3906. type: 1
  3907. }, {
  3908. type: 1
  3909. }, {
  3910. type: 1
  3911. }, {
  3912. type: 1
  3913. }, {
  3914. type: 1
  3915. }, {
  3916. type: 1
  3917. }],
  3918. [{
  3919. type: 1
  3920. }, {
  3921. type: 1
  3922. }, {
  3923. type: 1
  3924. }, {
  3925. type: 1
  3926. }, {
  3927. type: 1
  3928. }, {
  3929. type: 1
  3930. }, {
  3931. type: 1
  3932. }, {
  3933. type: 1
  3934. }],
  3935. [{
  3936. type: 1
  3937. }, {
  3938. type: 1
  3939. }, {
  3940. type: 1
  3941. }, {
  3942. type: 1
  3943. }, {
  3944. type: 1
  3945. }, {
  3946. type: 1
  3947. }, {
  3948. type: 1
  3949. }, {
  3950. type: 1
  3951. }],
  3952. [{
  3953. type: 1
  3954. }, {
  3955. type: 1
  3956. }, {
  3957. type: 1
  3958. }, {
  3959. type: 1
  3960. }, {
  3961. type: 1
  3962. }, {
  3963. type: 1
  3964. }, {
  3965. type: 1
  3966. }, {
  3967. type: 1
  3968. }],
  3969. [{
  3970. type: 1
  3971. }, {
  3972. type: 1
  3973. }, {
  3974. type: 1
  3975. }, {
  3976. type: 1
  3977. }, {
  3978. type: 1
  3979. }, {
  3980. type: 1
  3981. }, {
  3982. type: 1
  3983. }, {
  3984. type: 1
  3985. }],
  3986. [{
  3987. type: 1
  3988. }, {
  3989. type: 1
  3990. }, {
  3991. type: 1
  3992. }, {
  3993. type: 1
  3994. }, {
  3995. type: 1
  3996. }, {
  3997. type: 1
  3998. }, {
  3999. type: 1
  4000. }, {
  4001. type: 1
  4002. }],
  4003. [{
  4004. type: 1
  4005. }, {
  4006. type: 1
  4007. }, {
  4008. type: 1
  4009. }, {
  4010. type: 1
  4011. }, {
  4012. type: 1
  4013. }, {
  4014. type: 1
  4015. }, {
  4016. type: 1
  4017. }, {
  4018. type: 1
  4019. }],
  4020. [{
  4021. type: 1
  4022. }, {
  4023. type: 1
  4024. }, {
  4025. type: 1
  4026. }, {
  4027. type: 1
  4028. }, {
  4029. type: 1
  4030. }, {
  4031. type: 1
  4032. }, {
  4033. type: 1
  4034. }, {
  4035. type: 1
  4036. }]
  4037. ]
  4038. })
  4039. };
  4040. a.addLevel0016 = function(a) {
  4041. a.push({
  4042. type: 1,
  4043. maxMoves: 3,
  4044. objects: [{
  4045. type: 2,
  4046. x: 10,
  4047. y: 6,
  4048. radius: .5,
  4049. speed: 10,
  4050. points: 0,
  4051. path: [{
  4052. x: 10,
  4053. y: 6
  4054. }, {
  4055. x: 10,
  4056. y: 16
  4057. }],
  4058. loop: !0,
  4059. chaser: !1
  4060. }, {
  4061. type: 1,
  4062. x: 3,
  4063. y: 2,
  4064. radius: 1,
  4065. speed: 20,
  4066. points: 0,
  4067. path: [],
  4068. loop: !1,
  4069. chaser: !1
  4070. }, {
  4071. type: 3,
  4072. x: 6,
  4073. y: 10.5,
  4074. radius: 1,
  4075. speed: 7,
  4076. points: 20,
  4077. path: [],
  4078. loop: !1,
  4079. chaser: !1
  4080. }, {
  4081. type: 3,
  4082. x: 10,
  4083. y: 6,
  4084. radius: 1,
  4085. speed: 7,
  4086. points: 10,
  4087. path: [{
  4088. x: 10,
  4089. y: 6
  4090. }, {
  4091. x: 10,
  4092. y: 16
  4093. }],
  4094. loop: !0,
  4095. chaser: !1
  4096. }],
  4097. cells: [
  4098. [{
  4099. type: 1
  4100. }, {
  4101. type: 1
  4102. }, {
  4103. type: 1
  4104. }, {
  4105. type: 1
  4106. }, {
  4107. type: 1
  4108. }, {
  4109. type: 1
  4110. }, {
  4111. type: 1
  4112. }, {
  4113. type: 1
  4114. }],
  4115. [{
  4116. type: 1
  4117. }, {
  4118. type: 1
  4119. }, {
  4120. type: 1
  4121. }, {
  4122. type: 1
  4123. }, {
  4124. type: 1
  4125. }, {
  4126. type: 1
  4127. }, {
  4128. type: 1
  4129. }, {
  4130. type: 1
  4131. }],
  4132. [{
  4133. type: 1
  4134. }, {
  4135. type: 1
  4136. }, {
  4137. type: 1
  4138. }, {
  4139. type: 1
  4140. }, {
  4141. type: 1
  4142. }, {
  4143. type: 1
  4144. }, {
  4145. type: 1
  4146. }, {
  4147. type: 1
  4148. }],
  4149. [{
  4150. type: 1
  4151. }, {
  4152. type: 1
  4153. }, {
  4154. type: 1
  4155. }, {
  4156. type: 1
  4157. }, {
  4158. type: 1
  4159. }, {
  4160. type: 1
  4161. }, {
  4162. type: 1
  4163. }, {
  4164. type: 1
  4165. }],
  4166. [{
  4167. type: 1
  4168. }, {
  4169. type: 1
  4170. }, {
  4171. type: 1
  4172. }, {
  4173. type: 1
  4174. }, {
  4175. type: 1
  4176. }, {
  4177. type: 1
  4178. }, {
  4179. type: 1
  4180. }, {
  4181. type: 1
  4182. }],
  4183. [{
  4184. type: 1
  4185. }, {
  4186. type: 1
  4187. }, {
  4188. type: 1
  4189. }, {
  4190. type: 1
  4191. }, {
  4192. type: 1
  4193. }, {
  4194. type: 1
  4195. }, {
  4196. type: 1
  4197. }, {
  4198. type: 1
  4199. }],
  4200. [{
  4201. type: 1
  4202. }, {
  4203. type: 1
  4204. }, {
  4205. type: 1
  4206. }, {
  4207. type: 1
  4208. }, {
  4209. type: 1
  4210. }, {
  4211. type: 1
  4212. }, {
  4213. type: 1
  4214. }, {
  4215. type: 1
  4216. }],
  4217. [{
  4218. type: 1
  4219. }, {
  4220. type: 1
  4221. }, {
  4222. type: 1
  4223. }, {
  4224. type: 1
  4225. }, {
  4226. type: 1
  4227. }, {
  4228. type: 1
  4229. }, {
  4230. type: 1
  4231. }, {
  4232. type: 1
  4233. }]
  4234. ]
  4235. })
  4236. };
  4237. a.addLevel0017 = function(a) {
  4238. a.push({
  4239. type: 1,
  4240. maxMoves: 3,
  4241. objects: [{
  4242. type: 2,
  4243. x: 10,
  4244. y: 6,
  4245. radius: .5,
  4246. speed: 10,
  4247. points: 0,
  4248. path: [{
  4249. x: 5,
  4250. y: 6
  4251. }, {
  4252. x: 15,
  4253. y: 15
  4254. }],
  4255. loop: !0,
  4256. chaser: !1
  4257. }, {
  4258. type: 1,
  4259. x: 3,
  4260. y: 2,
  4261. radius: 1,
  4262. speed: 20,
  4263. points: 0,
  4264. path: [],
  4265. loop: !1,
  4266. chaser: !1
  4267. }, {
  4268. type: 3,
  4269. x: 8.5,
  4270. y: 8.5,
  4271. radius: 1,
  4272. speed: 7,
  4273. points: 50,
  4274. path: [],
  4275. loop: !1,
  4276. chaser: !1
  4277. }, {
  4278. type: 3,
  4279. x: 3,
  4280. y: 7,
  4281. radius: 1,
  4282. speed: 7,
  4283. points: 30,
  4284. path: [{
  4285. x: 3,
  4286. y: 7
  4287. }, {
  4288. x: 3,
  4289. y: 15
  4290. }],
  4291. loop: !0,
  4292. chaser: !1
  4293. }, {
  4294. type: 3,
  4295. x: 1,
  4296. y: 13,
  4297. radius: 1,
  4298. speed: 7,
  4299. points: 50,
  4300. path: [{
  4301. x: 1,
  4302. y: 13
  4303. }, {
  4304. x: 14,
  4305. y: 13
  4306. }, {
  4307. x: 14,
  4308. y: 4
  4309. }, {
  4310. x: 14,
  4311. y: 13
  4312. }],
  4313. loop: !0,
  4314. chaser: !1
  4315. }],
  4316. cells: [
  4317. [{
  4318. type: 1
  4319. }, {
  4320. type: 1
  4321. }, {
  4322. type: 1
  4323. }, {
  4324. type: 1
  4325. }, {
  4326. type: 1
  4327. }, {
  4328. type: 1
  4329. }, {
  4330. type: 1
  4331. }, {
  4332. type: 1
  4333. }],
  4334. [{
  4335. type: 1
  4336. }, {
  4337. type: 1
  4338. }, {
  4339. type: 1
  4340. }, {
  4341. type: 1
  4342. }, {
  4343. type: 1
  4344. }, {
  4345. type: 1
  4346. }, {
  4347. type: 1
  4348. }, {
  4349. type: 1
  4350. }],
  4351. [{
  4352. type: 1
  4353. }, {
  4354. type: 1
  4355. }, {
  4356. type: 1
  4357. }, {
  4358. type: 1
  4359. }, {
  4360. type: 1
  4361. }, {
  4362. type: 1
  4363. }, {
  4364. type: 1
  4365. }, {
  4366. type: 1
  4367. }],
  4368. [{
  4369. type: 1
  4370. }, {
  4371. type: 1
  4372. }, {
  4373. type: 1
  4374. }, {
  4375. type: 1
  4376. }, {
  4377. type: 1
  4378. }, {
  4379. type: 1
  4380. }, {
  4381. type: 1
  4382. }, {
  4383. type: 1
  4384. }],
  4385. [{
  4386. type: 1
  4387. }, {
  4388. type: 1
  4389. }, {
  4390. type: 1
  4391. }, {
  4392. type: 1
  4393. }, {
  4394. type: 1
  4395. }, {
  4396. type: 1
  4397. }, {
  4398. type: 1
  4399. }, {
  4400. type: 1
  4401. }],
  4402. [{
  4403. type: 1
  4404. }, {
  4405. type: 1
  4406. }, {
  4407. type: 1
  4408. }, {
  4409. type: 1
  4410. }, {
  4411. type: 1
  4412. }, {
  4413. type: 1
  4414. }, {
  4415. type: 1
  4416. }, {
  4417. type: 1
  4418. }],
  4419. [{
  4420. type: 1
  4421. }, {
  4422. type: 1
  4423. }, {
  4424. type: 1
  4425. }, {
  4426. type: 1
  4427. }, {
  4428. type: 1
  4429. }, {
  4430. type: 1
  4431. }, {
  4432. type: 1
  4433. }, {
  4434. type: 1
  4435. }],
  4436. [{
  4437. type: 1
  4438. }, {
  4439. type: 1
  4440. }, {
  4441. type: 1
  4442. }, {
  4443. type: 1
  4444. }, {
  4445. type: 1
  4446. }, {
  4447. type: 1
  4448. }, {
  4449. type: 1
  4450. }, {
  4451. type: 1
  4452. }]
  4453. ]
  4454. })
  4455. };
  4456. a.addLevel0018 = function(a) {
  4457. a.push({
  4458. type: 1,
  4459. maxMoves: 3,
  4460. objects: [{
  4461. type: 2,
  4462. x: 8.5,
  4463. y: 8.5,
  4464. radius: .5,
  4465. speed: 10,
  4466. points: 0,
  4467. path: [],
  4468. loop: !1,
  4469. chaser: !0
  4470. }, {
  4471. type: 1,
  4472. x: 3,
  4473. y: 2,
  4474. radius: 1,
  4475. speed: 20,
  4476. points: 0,
  4477. path: [],
  4478. loop: !1,
  4479. chaser: !1
  4480. }, {
  4481. type: 3,
  4482. x: 8.5,
  4483. y: 3.5,
  4484. radius: 1,
  4485. speed: 7,
  4486. points: 50,
  4487. path: [],
  4488. loop: !1,
  4489. chaser: !1
  4490. }, {
  4491. type: 3,
  4492. x: 3,
  4493. y: 7,
  4494. radius: 1,
  4495. speed: 7,
  4496. points: 30,
  4497. path: [{
  4498. x: 3,
  4499. y: 7
  4500. }, {
  4501. x: 13,
  4502. y: 15
  4503. }],
  4504. loop: !0,
  4505. chaser: !1
  4506. }, {
  4507. type: 3,
  4508. x: 1,
  4509. y: 13,
  4510. radius: 1,
  4511. speed: 7,
  4512. points: 50,
  4513. path: [{
  4514. x: 1,
  4515. y: 13
  4516. }, {
  4517. x: 14,
  4518. y: 13
  4519. }, {
  4520. x: 14,
  4521. y: 4
  4522. }, {
  4523. x: 14,
  4524. y: 13
  4525. }],
  4526. loop: !0,
  4527. chaser: !1
  4528. }],
  4529. cells: [
  4530. [{
  4531. type: 1
  4532. }, {
  4533. type: 1
  4534. }, {
  4535. type: 1
  4536. }, {
  4537. type: 1
  4538. }, {
  4539. type: 1
  4540. }, {
  4541. type: 1
  4542. }, {
  4543. type: 1
  4544. }, {
  4545. type: 1
  4546. }],
  4547. [{
  4548. type: 1
  4549. }, {
  4550. type: 1
  4551. }, {
  4552. type: 1
  4553. }, {
  4554. type: 1
  4555. }, {
  4556. type: 1
  4557. }, {
  4558. type: 1
  4559. }, {
  4560. type: 1
  4561. }, {
  4562. type: 1
  4563. }],
  4564. [{
  4565. type: 1
  4566. }, {
  4567. type: 1
  4568. }, {
  4569. type: 1
  4570. }, {
  4571. type: 1
  4572. }, {
  4573. type: 1
  4574. }, {
  4575. type: 1
  4576. }, {
  4577. type: 1
  4578. }, {
  4579. type: 1
  4580. }],
  4581. [{
  4582. type: 1
  4583. }, {
  4584. type: 1
  4585. }, {
  4586. type: 1
  4587. }, {
  4588. type: 1
  4589. }, {
  4590. type: 1
  4591. }, {
  4592. type: 1
  4593. }, {
  4594. type: 1
  4595. }, {
  4596. type: 1
  4597. }],
  4598. [{
  4599. type: 1
  4600. }, {
  4601. type: 1
  4602. }, {
  4603. type: 1
  4604. }, {
  4605. type: 1
  4606. }, {
  4607. type: 1
  4608. }, {
  4609. type: 1
  4610. }, {
  4611. type: 1
  4612. }, {
  4613. type: 1
  4614. }],
  4615. [{
  4616. type: 1
  4617. }, {
  4618. type: 1
  4619. }, {
  4620. type: 1
  4621. }, {
  4622. type: 1
  4623. }, {
  4624. type: 1
  4625. }, {
  4626. type: 1
  4627. }, {
  4628. type: 1
  4629. }, {
  4630. type: 1
  4631. }],
  4632. [{
  4633. type: 1
  4634. }, {
  4635. type: 1
  4636. }, {
  4637. type: 1
  4638. }, {
  4639. type: 1
  4640. }, {
  4641. type: 1
  4642. }, {
  4643. type: 1
  4644. }, {
  4645. type: 1
  4646. }, {
  4647. type: 1
  4648. }],
  4649. [{
  4650. type: 1
  4651. }, {
  4652. type: 1
  4653. }, {
  4654. type: 1
  4655. }, {
  4656. type: 1
  4657. }, {
  4658. type: 1
  4659. }, {
  4660. type: 1
  4661. }, {
  4662. type: 1
  4663. }, {
  4664. type: 1
  4665. }]
  4666. ]
  4667. })
  4668. };
  4669. a.addLevel0019 = function(a) {
  4670. a.push({
  4671. type: 1,
  4672. maxMoves: 3,
  4673. objects: [{
  4674. type: 2,
  4675. x: 10,
  4676. y: 6,
  4677. radius: .5,
  4678. speed: 10,
  4679. points: 0,
  4680. path: [{
  4681. x: 2,
  4682. y: 10
  4683. }, {
  4684. x: 15,
  4685. y: 10
  4686. }],
  4687. loop: !0,
  4688. chaser: !1
  4689. }, {
  4690. type: 2,
  4691. x: 8.5,
  4692. y: 8.5,
  4693. radius: .5,
  4694. speed: 10,
  4695. points: 0,
  4696. path: [],
  4697. loop: !1,
  4698. chaser: !0
  4699. }, {
  4700. type: 1,
  4701. x: 3,
  4702. y: 2,
  4703. radius: 1,
  4704. speed: 20,
  4705. points: 0,
  4706. path: [],
  4707. loop: !1,
  4708. chaser: !1
  4709. }, {
  4710. type: 3,
  4711. x: 3,
  4712. y: 15,
  4713. radius: 1,
  4714. speed: 5,
  4715. points: 50,
  4716. path: [{
  4717. x: 3,
  4718. y: 15
  4719. }, {
  4720. x: 3,
  4721. y: 6
  4722. }],
  4723. loop: !0,
  4724. chaser: !1
  4725. }, {
  4726. type: 3,
  4727. x: 7,
  4728. y: 15,
  4729. radius: 1,
  4730. speed: 7,
  4731. points: 30,
  4732. path: [{
  4733. x: 7,
  4734. y: 15
  4735. }, {
  4736. x: 7,
  4737. y: 5
  4738. }],
  4739. loop: !0,
  4740. chaser: !1
  4741. }, {
  4742. type: 3,
  4743. x: 11,
  4744. y: 15,
  4745. radius: 1,
  4746. speed: 9,
  4747. points: 50,
  4748. path: [{
  4749. x: 11,
  4750. y: 15
  4751. }, {
  4752. x: 11,
  4753. y: 4
  4754. }],
  4755. loop: !0,
  4756. chaser: !1
  4757. }, {
  4758. type: 3,
  4759. x: 15,
  4760. y: 15,
  4761. radius: 1,
  4762. speed: 11,
  4763. points: 50,
  4764. path: [{
  4765. x: 15,
  4766. y: 15
  4767. }, {
  4768. x: 15,
  4769. y: 3
  4770. }],
  4771. loop: !0,
  4772. chaser: !1
  4773. }],
  4774. cells: [
  4775. [{
  4776. type: 1
  4777. }, {
  4778. type: 1
  4779. }, {
  4780. type: 1
  4781. }, {
  4782. type: 1
  4783. }, {
  4784. type: 1
  4785. }, {
  4786. type: 1
  4787. }, {
  4788. type: 1
  4789. }, {
  4790. type: 1
  4791. }],
  4792. [{
  4793. type: 1
  4794. }, {
  4795. type: 1
  4796. }, {
  4797. type: 1
  4798. }, {
  4799. type: 1
  4800. }, {
  4801. type: 1
  4802. }, {
  4803. type: 1
  4804. }, {
  4805. type: 1
  4806. }, {
  4807. type: 1
  4808. }],
  4809. [{
  4810. type: 1
  4811. }, {
  4812. type: 1
  4813. }, {
  4814. type: 1
  4815. }, {
  4816. type: 1
  4817. }, {
  4818. type: 1
  4819. }, {
  4820. type: 1
  4821. }, {
  4822. type: 1
  4823. }, {
  4824. type: 1
  4825. }],
  4826. [{
  4827. type: 1
  4828. }, {
  4829. type: 1
  4830. }, {
  4831. type: 1
  4832. }, {
  4833. type: 1
  4834. }, {
  4835. type: 1
  4836. }, {
  4837. type: 1
  4838. }, {
  4839. type: 1
  4840. }, {
  4841. type: 1
  4842. }],
  4843. [{
  4844. type: 1
  4845. }, {
  4846. type: 1
  4847. }, {
  4848. type: 1
  4849. }, {
  4850. type: 1
  4851. }, {
  4852. type: 1
  4853. }, {
  4854. type: 1
  4855. }, {
  4856. type: 1
  4857. }, {
  4858. type: 1
  4859. }],
  4860. [{
  4861. type: 1
  4862. }, {
  4863. type: 1
  4864. }, {
  4865. type: 1
  4866. }, {
  4867. type: 1
  4868. }, {
  4869. type: 1
  4870. }, {
  4871. type: 1
  4872. }, {
  4873. type: 1
  4874. }, {
  4875. type: 1
  4876. }],
  4877. [{
  4878. type: 1
  4879. }, {
  4880. type: 1
  4881. }, {
  4882. type: 1
  4883. }, {
  4884. type: 1
  4885. }, {
  4886. type: 1
  4887. }, {
  4888. type: 1
  4889. }, {
  4890. type: 1
  4891. }, {
  4892. type: 1
  4893. }],
  4894. [{
  4895. type: 1
  4896. }, {
  4897. type: 1
  4898. }, {
  4899. type: 1
  4900. }, {
  4901. type: 1
  4902. }, {
  4903. type: 1
  4904. }, {
  4905. type: 1
  4906. }, {
  4907. type: 1
  4908. }, {
  4909. type: 1
  4910. }]
  4911. ]
  4912. })
  4913. };
  4914. a.addLevel0020 = function(a) {
  4915. a.push({
  4916. type: 1,
  4917. maxMoves: 3,
  4918. objects: [{
  4919. type: 2,
  4920. x: 8.5,
  4921. y: 8.5,
  4922. radius: .5,
  4923. speed: 10,
  4924. points: 0,
  4925. path: [],
  4926. loop: !1,
  4927. chaser: !0
  4928. }, {
  4929. type: 1,
  4930. x: 3,
  4931. y: 2,
  4932. radius: 1,
  4933. speed: 20,
  4934. points: 0,
  4935. path: [],
  4936. loop: !1,
  4937. chaser: !1
  4938. }, {
  4939. type: 3,
  4940. x: 3,
  4941. y: 6,
  4942. radius: 1,
  4943. speed: 7,
  4944. points: 50,
  4945. path: [{
  4946. x: 3,
  4947. y: 6
  4948. }, {
  4949. x: 15,
  4950. y: 6
  4951. }],
  4952. loop: !0,
  4953. chaser: !1
  4954. }, {
  4955. type: 3,
  4956. x: 15,
  4957. y: 12,
  4958. radius: 1,
  4959. speed: 7,
  4960. points: 30,
  4961. path: [{
  4962. x: 15,
  4963. y: 12
  4964. }, {
  4965. x: 3,
  4966. y: 12
  4967. }],
  4968. loop: !0,
  4969. chaser: !1
  4970. }, {
  4971. type: 3,
  4972. x: 6,
  4973. y: 3,
  4974. radius: 1,
  4975. speed: 7,
  4976. points: 20,
  4977. path: [{
  4978. x: 6,
  4979. y: 3
  4980. }, {
  4981. x: 6,
  4982. y: 15
  4983. }],
  4984. loop: !0,
  4985. chaser: !1
  4986. }, {
  4987. type: 3,
  4988. x: 12,
  4989. y: 15,
  4990. radius: 1,
  4991. speed: 7,
  4992. points: 50,
  4993. path: [{
  4994. x: 12,
  4995. y: 15
  4996. }, {
  4997. x: 12,
  4998. y: 3
  4999. }],
  5000. loop: !0,
  5001. chaser: !1
  5002. }],
  5003. cells: [
  5004. [{
  5005. type: 1
  5006. }, {
  5007. type: 1
  5008. }, {
  5009. type: 1
  5010. }, {
  5011. type: 1
  5012. }, {
  5013. type: 1
  5014. }, {
  5015. type: 1
  5016. }, {
  5017. type: 1
  5018. }, {
  5019. type: 1
  5020. }],
  5021. [{
  5022. type: 1
  5023. }, {
  5024. type: 1
  5025. }, {
  5026. type: 1
  5027. }, {
  5028. type: 1
  5029. }, {
  5030. type: 1
  5031. }, {
  5032. type: 1
  5033. }, {
  5034. type: 1
  5035. }, {
  5036. type: 1
  5037. }],
  5038. [{
  5039. type: 1
  5040. }, {
  5041. type: 1
  5042. }, {
  5043. type: 1
  5044. }, {
  5045. type: 1
  5046. }, {
  5047. type: 1
  5048. }, {
  5049. type: 1
  5050. }, {
  5051. type: 1
  5052. }, {
  5053. type: 1
  5054. }],
  5055. [{
  5056. type: 1
  5057. }, {
  5058. type: 1
  5059. }, {
  5060. type: 1
  5061. }, {
  5062. type: 1
  5063. }, {
  5064. type: 1
  5065. }, {
  5066. type: 1
  5067. }, {
  5068. type: 1
  5069. }, {
  5070. type: 1
  5071. }],
  5072. [{
  5073. type: 1
  5074. }, {
  5075. type: 1
  5076. }, {
  5077. type: 1
  5078. }, {
  5079. type: 1
  5080. }, {
  5081. type: 1
  5082. }, {
  5083. type: 1
  5084. }, {
  5085. type: 1
  5086. }, {
  5087. type: 1
  5088. }],
  5089. [{
  5090. type: 1
  5091. }, {
  5092. type: 1
  5093. }, {
  5094. type: 1
  5095. }, {
  5096. type: 1
  5097. }, {
  5098. type: 1
  5099. }, {
  5100. type: 1
  5101. }, {
  5102. type: 1
  5103. }, {
  5104. type: 1
  5105. }],
  5106. [{
  5107. type: 1
  5108. }, {
  5109. type: 1
  5110. }, {
  5111. type: 1
  5112. }, {
  5113. type: 1
  5114. }, {
  5115. type: 1
  5116. }, {
  5117. type: 1
  5118. }, {
  5119. type: 1
  5120. }, {
  5121. type: 1
  5122. }],
  5123. [{
  5124. type: 1
  5125. }, {
  5126. type: 1
  5127. }, {
  5128. type: 1
  5129. }, {
  5130. type: 1
  5131. }, {
  5132. type: 1
  5133. }, {
  5134. type: 1
  5135. }, {
  5136. type: 1
  5137. }, {
  5138. type: 1
  5139. }]
  5140. ]
  5141. })
  5142. };
  5143. a.addLevel0021 = function(a) {
  5144. a.push({
  5145. type: 1,
  5146. maxMoves: 3,
  5147. objects: [{
  5148. type: 2,
  5149. x: 8.5,
  5150. y: 13.5,
  5151. radius: .5,
  5152. speed: 7,
  5153. points: 0,
  5154. path: [{
  5155. x: 8.5,
  5156. y: 13.5
  5157. }, {
  5158. x: 8.5,
  5159. y: 4
  5160. }],
  5161. loop: !0,
  5162. chaser: !1
  5163. }, {
  5164. type: 5,
  5165. x: 6,
  5166. y: 6,
  5167. x2: 6,
  5168. y2: 12,
  5169. speed1: 1,
  5170. speed2: 1,
  5171. continuous: !0
  5172. }, {
  5173. type: 5,
  5174. x: 11,
  5175. y: 6,
  5176. x2: 11,
  5177. y2: 12,
  5178. speed1: 1,
  5179. speed2: 1,
  5180. continuous: !0
  5181. }, {
  5182. type: 1,
  5183. x: 3,
  5184. y: 2,
  5185. radius: 1,
  5186. speed: 20,
  5187. points: 0,
  5188. path: [],
  5189. loop: !1,
  5190. chaser: !1
  5191. }, {
  5192. type: 3,
  5193. x: 8.5,
  5194. y: 8.5,
  5195. radius: 1,
  5196. speed: 7,
  5197. points: 50,
  5198. path: [],
  5199. loop: !1,
  5200. chaser: !1
  5201. }, {
  5202. type: 3,
  5203. x: 3,
  5204. y: 8.5,
  5205. radius: 1,
  5206. speed: 7,
  5207. points: 20,
  5208. path: [],
  5209. loop: !1,
  5210. chaser: !1
  5211. }, {
  5212. type: 3,
  5213. x: 14,
  5214. y: 8.5,
  5215. radius: 1,
  5216. speed: 7,
  5217. points: 20,
  5218. path: [],
  5219. loop: !1,
  5220. chaser: !1
  5221. }],
  5222. cells: [
  5223. [{
  5224. type: 1
  5225. }, {
  5226. type: 1
  5227. }, {
  5228. type: 1
  5229. }, {
  5230. type: 1
  5231. }, {
  5232. type: 1
  5233. }, {
  5234. type: 1
  5235. }, {
  5236. type: 1
  5237. }, {
  5238. type: 1
  5239. }],
  5240. [{
  5241. type: 1
  5242. }, {
  5243. type: 1
  5244. }, {
  5245. type: 1
  5246. }, {
  5247. type: 1
  5248. }, {
  5249. type: 1
  5250. }, {
  5251. type: 1
  5252. }, {
  5253. type: 1
  5254. }, {
  5255. type: 1
  5256. }],
  5257. [{
  5258. type: 1
  5259. }, {
  5260. type: 1
  5261. }, {
  5262. type: 1
  5263. }, {
  5264. type: 1
  5265. }, {
  5266. type: 1
  5267. }, {
  5268. type: 1
  5269. }, {
  5270. type: 1
  5271. }, {
  5272. type: 1
  5273. }],
  5274. [{
  5275. type: 1
  5276. }, {
  5277. type: 1
  5278. }, {
  5279. type: 1
  5280. }, {
  5281. type: 1
  5282. }, {
  5283. type: 1
  5284. }, {
  5285. type: 1
  5286. }, {
  5287. type: 1
  5288. }, {
  5289. type: 1
  5290. }],
  5291. [{
  5292. type: 1
  5293. }, {
  5294. type: 1
  5295. }, {
  5296. type: 1
  5297. }, {
  5298. type: 1
  5299. }, {
  5300. type: 1
  5301. }, {
  5302. type: 1
  5303. }, {
  5304. type: 1
  5305. }, {
  5306. type: 1
  5307. }],
  5308. [{
  5309. type: 1
  5310. }, {
  5311. type: 1
  5312. }, {
  5313. type: 1
  5314. }, {
  5315. type: 1
  5316. }, {
  5317. type: 1
  5318. }, {
  5319. type: 1
  5320. }, {
  5321. type: 1
  5322. }, {
  5323. type: 1
  5324. }],
  5325. [{
  5326. type: 1
  5327. }, {
  5328. type: 1
  5329. }, {
  5330. type: 1
  5331. }, {
  5332. type: 1
  5333. }, {
  5334. type: 1
  5335. }, {
  5336. type: 1
  5337. }, {
  5338. type: 1
  5339. }, {
  5340. type: 1
  5341. }],
  5342. [{
  5343. type: 1
  5344. }, {
  5345. type: 1
  5346. }, {
  5347. type: 1
  5348. }, {
  5349. type: 1
  5350. }, {
  5351. type: 1
  5352. }, {
  5353. type: 1
  5354. }, {
  5355. type: 1
  5356. }, {
  5357. type: 1
  5358. }]
  5359. ]
  5360. })
  5361. };
  5362. a.addLevel0022 = function(a) {
  5363. a.push({
  5364. type: 1,
  5365. maxMoves: 3,
  5366. objects: [{
  5367. type: 2,
  5368. x: 8.5,
  5369. y: 8.5,
  5370. radius: .5,
  5371. speed: 9,
  5372. points: 0,
  5373. path: [{
  5374. x: 8.5,
  5375. y: 8.5
  5376. }, {
  5377. x: 8.5,
  5378. y: 2
  5379. }],
  5380. loop: !0,
  5381. chaser: !1
  5382. }, {
  5383. type: 5,
  5384. x: 1,
  5385. y: 12,
  5386. x2: 6.5,
  5387. y2: 8,
  5388. speed1: 1,
  5389. speed2: 1,
  5390. continuous: !1
  5391. }, {
  5392. type: 5,
  5393. x: 16,
  5394. y: 12,
  5395. x2: 10.5,
  5396. y2: 8,
  5397. speed1: 1,
  5398. speed2: 1,
  5399. continuous: !1
  5400. }, {
  5401. type: 1,
  5402. x: 3,
  5403. y: 2,
  5404. radius: 1,
  5405. speed: 20,
  5406. points: 0,
  5407. path: [],
  5408. loop: !1,
  5409. chaser: !1
  5410. }, {
  5411. type: 3,
  5412. x: 8.5,
  5413. y: 15,
  5414. radius: 1,
  5415. speed: 7,
  5416. points: 50,
  5417. path: [],
  5418. loop: !1,
  5419. chaser: !1
  5420. }, {
  5421. type: 3,
  5422. x: 12.5,
  5423. y: 12.5,
  5424. radius: 1,
  5425. speed: 7,
  5426. points: 20,
  5427. path: [],
  5428. loop: !1,
  5429. chaser: !1
  5430. }, {
  5431. type: 3,
  5432. x: 4.5,
  5433. y: 12.5,
  5434. radius: 1,
  5435. speed: 7,
  5436. points: 20,
  5437. path: [],
  5438. loop: !1,
  5439. chaser: !1
  5440. }, {
  5441. type: 3,
  5442. x: 12.5,
  5443. y: 5.5,
  5444. radius: 1,
  5445. speed: 7,
  5446. points: 50,
  5447. path: [],
  5448. loop: !1,
  5449. chaser: !1
  5450. }, {
  5451. type: 3,
  5452. x: 4.5,
  5453. y: 5.5,
  5454. radius: 1,
  5455. speed: 7,
  5456. points: 50,
  5457. path: [],
  5458. loop: !1,
  5459. chaser: !1
  5460. }],
  5461. cells: [
  5462. [{
  5463. type: 1
  5464. }, {
  5465. type: 1
  5466. }, {
  5467. type: 1
  5468. }, {
  5469. type: 1
  5470. }, {
  5471. type: 1
  5472. }, {
  5473. type: 1
  5474. }, {
  5475. type: 1
  5476. }, {
  5477. type: 1
  5478. }],
  5479. [{
  5480. type: 1
  5481. }, {
  5482. type: 1
  5483. }, {
  5484. type: 1
  5485. }, {
  5486. type: 1
  5487. }, {
  5488. type: 1
  5489. }, {
  5490. type: 1
  5491. }, {
  5492. type: 1
  5493. }, {
  5494. type: 1
  5495. }],
  5496. [{
  5497. type: 1
  5498. }, {
  5499. type: 1
  5500. }, {
  5501. type: 1
  5502. }, {
  5503. type: 1
  5504. }, {
  5505. type: 1
  5506. }, {
  5507. type: 1
  5508. }, {
  5509. type: 1
  5510. }, {
  5511. type: 1
  5512. }],
  5513. [{
  5514. type: 1
  5515. }, {
  5516. type: 1
  5517. }, {
  5518. type: 1
  5519. }, {
  5520. type: 1
  5521. }, {
  5522. type: 1
  5523. }, {
  5524. type: 1
  5525. }, {
  5526. type: 1
  5527. }, {
  5528. type: 1
  5529. }],
  5530. [{
  5531. type: 1
  5532. }, {
  5533. type: 1
  5534. }, {
  5535. type: 1
  5536. }, {
  5537. type: 1
  5538. }, {
  5539. type: 1
  5540. }, {
  5541. type: 1
  5542. }, {
  5543. type: 1
  5544. }, {
  5545. type: 1
  5546. }],
  5547. [{
  5548. type: 1
  5549. }, {
  5550. type: 1
  5551. }, {
  5552. type: 1
  5553. }, {
  5554. type: 1
  5555. }, {
  5556. type: 1
  5557. }, {
  5558. type: 1
  5559. }, {
  5560. type: 1
  5561. }, {
  5562. type: 1
  5563. }],
  5564. [{
  5565. type: 1
  5566. }, {
  5567. type: 1
  5568. }, {
  5569. type: 1
  5570. }, {
  5571. type: 1
  5572. }, {
  5573. type: 1
  5574. }, {
  5575. type: 1
  5576. }, {
  5577. type: 1
  5578. }, {
  5579. type: 1
  5580. }],
  5581. [{
  5582. type: 1
  5583. }, {
  5584. type: 1
  5585. }, {
  5586. type: 1
  5587. }, {
  5588. type: 1
  5589. }, {
  5590. type: 1
  5591. }, {
  5592. type: 1
  5593. }, {
  5594. type: 1
  5595. }, {
  5596. type: 1
  5597. }]
  5598. ]
  5599. })
  5600. };
  5601. a.addLevel0023 = function(a) {
  5602. a.push({
  5603. type: 1,
  5604. maxMoves: 3,
  5605. objects: [{
  5606. type: 5,
  5607. x: .5,
  5608. y: 8.5,
  5609. x2: 16.5,
  5610. y2: 8.5,
  5611. speed1: 1,
  5612. speed2: 2,
  5613. continuous: !1
  5614. }, {
  5615. type: 5,
  5616. x: 8.5,
  5617. y: 2.5,
  5618. x2: 8.5,
  5619. y2: 16.5,
  5620. speed1: 1,
  5621. speed2: 2,
  5622. continuous: !1
  5623. }, {
  5624. type: 1,
  5625. x: 3,
  5626. y: 2,
  5627. radius: 1,
  5628. speed: 20,
  5629. points: 0,
  5630. path: [],
  5631. loop: !1,
  5632. chaser: !1
  5633. }, {
  5634. type: 3,
  5635. x: 8.5,
  5636. y: 12,
  5637. radius: 1,
  5638. speed: 7,
  5639. points: 50,
  5640. path: [],
  5641. loop: !1,
  5642. chaser: !1
  5643. }, {
  5644. type: 3,
  5645. x: 12.5,
  5646. y: 12,
  5647. radius: 1,
  5648. speed: 7,
  5649. points: 20,
  5650. path: [],
  5651. loop: !1,
  5652. chaser: !1
  5653. }, {
  5654. type: 3,
  5655. x: 4.5,
  5656. y: 12,
  5657. radius: 1,
  5658. speed: 7,
  5659. points: 20,
  5660. path: [],
  5661. loop: !1,
  5662. chaser: !1
  5663. }],
  5664. cells: [
  5665. [{
  5666. type: 1
  5667. }, {
  5668. type: 1
  5669. }, {
  5670. type: 1
  5671. }, {
  5672. type: 1
  5673. }, {
  5674. type: 1
  5675. }, {
  5676. type: 1
  5677. }, {
  5678. type: 1
  5679. }, {
  5680. type: 1
  5681. }],
  5682. [{
  5683. type: 1
  5684. }, {
  5685. type: 1
  5686. }, {
  5687. type: 1
  5688. }, {
  5689. type: 1
  5690. }, {
  5691. type: 1
  5692. }, {
  5693. type: 1
  5694. }, {
  5695. type: 1
  5696. }, {
  5697. type: 1
  5698. }],
  5699. [{
  5700. type: 1
  5701. }, {
  5702. type: 1
  5703. }, {
  5704. type: 1
  5705. }, {
  5706. type: 1
  5707. }, {
  5708. type: 1
  5709. }, {
  5710. type: 1
  5711. }, {
  5712. type: 1
  5713. }, {
  5714. type: 1
  5715. }],
  5716. [{
  5717. type: 1
  5718. }, {
  5719. type: 1
  5720. }, {
  5721. type: 1
  5722. }, {
  5723. type: 1
  5724. }, {
  5725. type: 1
  5726. }, {
  5727. type: 1
  5728. }, {
  5729. type: 1
  5730. }, {
  5731. type: 1
  5732. }],
  5733. [{
  5734. type: 1
  5735. }, {
  5736. type: 1
  5737. }, {
  5738. type: 1
  5739. }, {
  5740. type: 1
  5741. }, {
  5742. type: 1
  5743. }, {
  5744. type: 1
  5745. }, {
  5746. type: 1
  5747. }, {
  5748. type: 1
  5749. }],
  5750. [{
  5751. type: 1
  5752. }, {
  5753. type: 1
  5754. }, {
  5755. type: 1
  5756. }, {
  5757. type: 1
  5758. }, {
  5759. type: 1
  5760. }, {
  5761. type: 1
  5762. }, {
  5763. type: 1
  5764. }, {
  5765. type: 1
  5766. }],
  5767. [{
  5768. type: 1
  5769. }, {
  5770. type: 1
  5771. }, {
  5772. type: 1
  5773. }, {
  5774. type: 1
  5775. }, {
  5776. type: 1
  5777. }, {
  5778. type: 1
  5779. }, {
  5780. type: 1
  5781. }, {
  5782. type: 1
  5783. }],
  5784. [{
  5785. type: 1
  5786. }, {
  5787. type: 1
  5788. }, {
  5789. type: 1
  5790. }, {
  5791. type: 1
  5792. }, {
  5793. type: 1
  5794. }, {
  5795. type: 1
  5796. }, {
  5797. type: 1
  5798. }, {
  5799. type: 1
  5800. }]
  5801. ]
  5802. })
  5803. };
  5804. a.addLevel0024 = function(a) {
  5805. a.push({
  5806. type: 1,
  5807. maxMoves: 3,
  5808. objects: [{
  5809. type: 2,
  5810. x: 1.5,
  5811. y: 7.5,
  5812. radius: .5,
  5813. speed: 9,
  5814. points: 0,
  5815. path: [{
  5816. x: 1.5,
  5817. y: 7.5
  5818. }, {
  5819. x: 1.5,
  5820. y: 12
  5821. }, {
  5822. x: 15.5,
  5823. y: 12
  5824. }, {
  5825. x: 15.5,
  5826. y: 7.5
  5827. }],
  5828. loop: !0,
  5829. chaser: !1
  5830. }, {
  5831. type: 5,
  5832. x: .5,
  5833. y: 6,
  5834. x2: 16.5,
  5835. y2: 6,
  5836. speed1: 1,
  5837. speed2: 1,
  5838. continuous: !1
  5839. }, {
  5840. type: 5,
  5841. x: 3.5,
  5842. y: 10,
  5843. x2: 13.5,
  5844. y2: 10,
  5845. speed1: 1,
  5846. speed2: 1,
  5847. continuous: !0
  5848. }, {
  5849. type: 5,
  5850. x: .5,
  5851. y: 14,
  5852. x2: 16.5,
  5853. y2: 14,
  5854. speed1: 1,
  5855. speed2: 1,
  5856. continuous: !1
  5857. }, {
  5858. type: 1,
  5859. x: 3,
  5860. y: 2,
  5861. radius: 1,
  5862. speed: 20,
  5863. points: 0,
  5864. path: [],
  5865. loop: !1,
  5866. chaser: !1
  5867. }, {
  5868. type: 3,
  5869. x: 8.5,
  5870. y: 15,
  5871. radius: 1,
  5872. speed: 7,
  5873. points: 50,
  5874. path: [],
  5875. loop: !1,
  5876. chaser: !1
  5877. }, {
  5878. type: 3,
  5879. x: 12.5,
  5880. y: 12,
  5881. radius: 1,
  5882. speed: 7,
  5883. points: 20,
  5884. path: [],
  5885. loop: !1,
  5886. chaser: !1
  5887. }, {
  5888. type: 3,
  5889. x: 4.5,
  5890. y: 12,
  5891. radius: 1,
  5892. speed: 7,
  5893. points: 20,
  5894. path: [],
  5895. loop: !1,
  5896. chaser: !1
  5897. }, {
  5898. type: 3,
  5899. x: 12.5,
  5900. y: 7.5,
  5901. radius: 1,
  5902. speed: 7,
  5903. points: 20,
  5904. path: [],
  5905. loop: !1,
  5906. chaser: !1
  5907. }, {
  5908. type: 3,
  5909. x: 4.5,
  5910. y: 7.5,
  5911. radius: 1,
  5912. speed: 7,
  5913. points: 20,
  5914. path: [],
  5915. loop: !1,
  5916. chaser: !1
  5917. }],
  5918. cells: [
  5919. [{
  5920. type: 1
  5921. }, {
  5922. type: 1
  5923. }, {
  5924. type: 1
  5925. }, {
  5926. type: 1
  5927. }, {
  5928. type: 1
  5929. }, {
  5930. type: 1
  5931. }, {
  5932. type: 1
  5933. }, {
  5934. type: 1
  5935. }],
  5936. [{
  5937. type: 1
  5938. }, {
  5939. type: 1
  5940. }, {
  5941. type: 1
  5942. }, {
  5943. type: 1
  5944. }, {
  5945. type: 1
  5946. }, {
  5947. type: 1
  5948. }, {
  5949. type: 1
  5950. }, {
  5951. type: 1
  5952. }],
  5953. [{
  5954. type: 1
  5955. }, {
  5956. type: 1
  5957. }, {
  5958. type: 1
  5959. }, {
  5960. type: 1
  5961. }, {
  5962. type: 1
  5963. }, {
  5964. type: 1
  5965. }, {
  5966. type: 1
  5967. }, {
  5968. type: 1
  5969. }],
  5970. [{
  5971. type: 1
  5972. }, {
  5973. type: 1
  5974. }, {
  5975. type: 1
  5976. }, {
  5977. type: 1
  5978. }, {
  5979. type: 1
  5980. }, {
  5981. type: 1
  5982. }, {
  5983. type: 1
  5984. }, {
  5985. type: 1
  5986. }],
  5987. [{
  5988. type: 1
  5989. }, {
  5990. type: 1
  5991. }, {
  5992. type: 1
  5993. }, {
  5994. type: 1
  5995. }, {
  5996. type: 1
  5997. }, {
  5998. type: 1
  5999. }, {
  6000. type: 1
  6001. }, {
  6002. type: 1
  6003. }],
  6004. [{
  6005. type: 1
  6006. }, {
  6007. type: 1
  6008. }, {
  6009. type: 1
  6010. }, {
  6011. type: 1
  6012. }, {
  6013. type: 1
  6014. }, {
  6015. type: 1
  6016. }, {
  6017. type: 1
  6018. }, {
  6019. type: 1
  6020. }],
  6021. [{
  6022. type: 1
  6023. }, {
  6024. type: 1
  6025. }, {
  6026. type: 1
  6027. }, {
  6028. type: 1
  6029. }, {
  6030. type: 1
  6031. }, {
  6032. type: 1
  6033. }, {
  6034. type: 1
  6035. }, {
  6036. type: 1
  6037. }],
  6038. [{
  6039. type: 1
  6040. }, {
  6041. type: 1
  6042. }, {
  6043. type: 1
  6044. }, {
  6045. type: 1
  6046. }, {
  6047. type: 1
  6048. }, {
  6049. type: 1
  6050. }, {
  6051. type: 1
  6052. }, {
  6053. type: 1
  6054. }]
  6055. ]
  6056. })
  6057. };
  6058. a.addLevel0025 = function(a) {
  6059. a.push({
  6060. type: 1,
  6061. maxMoves: 3,
  6062. objects: [{
  6063. type: 2,
  6064. x: 5.5,
  6065. y: 13.5,
  6066. radius: .5,
  6067. speed: 9,
  6068. points: 0,
  6069. path: [],
  6070. loop: !1,
  6071. chaser: !0
  6072. }, {
  6073. type: 5,
  6074. x: 5,
  6075. y: 5,
  6076. x2: 12,
  6077. y2: 12,
  6078. speed1: 1,
  6079. speed2: 1,
  6080. continuous: !1
  6081. }, {
  6082. type: 1,
  6083. x: 3,
  6084. y: 2,
  6085. radius: 1,
  6086. speed: 20,
  6087. points: 0,
  6088. path: [],
  6089. loop: !1,
  6090. chaser: !1
  6091. }, {
  6092. type: 3,
  6093. x: 8.5,
  6094. y: 12,
  6095. radius: 1,
  6096. speed: 7,
  6097. points: 50,
  6098. path: [],
  6099. loop: !1,
  6100. chaser: !1
  6101. }, {
  6102. type: 3,
  6103. x: 12.5,
  6104. y: 8.5,
  6105. radius: 1,
  6106. speed: 7,
  6107. points: 20,
  6108. path: [],
  6109. loop: !1,
  6110. chaser: !1
  6111. }, {
  6112. type: 3,
  6113. x: 4.5,
  6114. y: 8.5,
  6115. radius: 1,
  6116. speed: 7,
  6117. points: 10,
  6118. path: [],
  6119. loop: !1,
  6120. chaser: !1
  6121. }, {
  6122. type: 3,
  6123. x: 8.5,
  6124. y: 5.5,
  6125. radius: 1,
  6126. speed: 7,
  6127. points: 20,
  6128. path: [],
  6129. loop: !1,
  6130. chaser: !1
  6131. }, {
  6132. type: 3,
  6133. x: 3.5,
  6134. y: 12.5,
  6135. radius: 1,
  6136. speed: 7,
  6137. points: 50,
  6138. path: [],
  6139. loop: !1,
  6140. chaser: !1
  6141. }],
  6142. cells: [
  6143. [{
  6144. type: 1
  6145. }, {
  6146. type: 1
  6147. }, {
  6148. type: 1
  6149. }, {
  6150. type: 1
  6151. }, {
  6152. type: 1
  6153. }, {
  6154. type: 1
  6155. }, {
  6156. type: 1
  6157. }, {
  6158. type: 1
  6159. }],
  6160. [{
  6161. type: 1
  6162. }, {
  6163. type: 1
  6164. }, {
  6165. type: 1
  6166. }, {
  6167. type: 1
  6168. }, {
  6169. type: 1
  6170. }, {
  6171. type: 1
  6172. }, {
  6173. type: 1
  6174. }, {
  6175. type: 1
  6176. }],
  6177. [{
  6178. type: 1
  6179. }, {
  6180. type: 1
  6181. }, {
  6182. type: 1
  6183. }, {
  6184. type: 1
  6185. }, {
  6186. type: 1
  6187. }, {
  6188. type: 1
  6189. }, {
  6190. type: 1
  6191. }, {
  6192. type: 1
  6193. }],
  6194. [{
  6195. type: 1
  6196. }, {
  6197. type: 1
  6198. }, {
  6199. type: 1
  6200. }, {
  6201. type: 1
  6202. }, {
  6203. type: 1
  6204. }, {
  6205. type: 1
  6206. }, {
  6207. type: 1
  6208. }, {
  6209. type: 1
  6210. }],
  6211. [{
  6212. type: 1
  6213. }, {
  6214. type: 1
  6215. }, {
  6216. type: 1
  6217. }, {
  6218. type: 1
  6219. }, {
  6220. type: 1
  6221. }, {
  6222. type: 1
  6223. }, {
  6224. type: 1
  6225. }, {
  6226. type: 1
  6227. }],
  6228. [{
  6229. type: 1
  6230. }, {
  6231. type: 1
  6232. }, {
  6233. type: 1
  6234. }, {
  6235. type: 1
  6236. }, {
  6237. type: 1
  6238. }, {
  6239. type: 1
  6240. }, {
  6241. type: 1
  6242. }, {
  6243. type: 1
  6244. }],
  6245. [{
  6246. type: 1
  6247. }, {
  6248. type: 1
  6249. }, {
  6250. type: 1
  6251. }, {
  6252. type: 1
  6253. }, {
  6254. type: 1
  6255. }, {
  6256. type: 1
  6257. }, {
  6258. type: 1
  6259. }, {
  6260. type: 1
  6261. }],
  6262. [{
  6263. type: 1
  6264. }, {
  6265. type: 1
  6266. }, {
  6267. type: 1
  6268. }, {
  6269. type: 1
  6270. }, {
  6271. type: 1
  6272. }, {
  6273. type: 1
  6274. }, {
  6275. type: 1
  6276. }, {
  6277. type: 1
  6278. }]
  6279. ]
  6280. })
  6281. };
  6282. a.addLevel0026 = function(a) {
  6283. a.push({
  6284. type: 1,
  6285. maxMoves: 3,
  6286. objects: [{
  6287. type: 2,
  6288. x: 3.5,
  6289. y: 7.5,
  6290. radius: .5,
  6291. speed: 7,
  6292. points: 0,
  6293. path: [],
  6294. loop: !1,
  6295. chaser: !0
  6296. }, {
  6297. type: 5,
  6298. x: .5,
  6299. y: 8.5,
  6300. x2: 9.5,
  6301. y2: 9.5,
  6302. speed1: 1,
  6303. speed2: 2,
  6304. continuous: !1
  6305. }, {
  6306. type: 1,
  6307. x: 3,
  6308. y: 2,
  6309. radius: 1,
  6310. speed: 20,
  6311. points: 0,
  6312. path: [],
  6313. loop: !1,
  6314. chaser: !1
  6315. }, {
  6316. type: 3,
  6317. x: 7.5,
  6318. y: 8.5,
  6319. radius: 1,
  6320. speed: 7,
  6321. points: 20,
  6322. path: [],
  6323. loop: !1,
  6324. chaser: !1
  6325. }, {
  6326. type: 3,
  6327. x: 12.5,
  6328. y: 15,
  6329. radius: 1,
  6330. speed: 7,
  6331. points: 10,
  6332. path: [],
  6333. loop: !1,
  6334. chaser: !1
  6335. }, {
  6336. type: 3,
  6337. x: 8.5,
  6338. y: 15,
  6339. radius: 1,
  6340. speed: 7,
  6341. points: 20,
  6342. path: [],
  6343. loop: !1,
  6344. chaser: !1
  6345. }, {
  6346. type: 3,
  6347. x: 12.5,
  6348. y: 4.5,
  6349. radius: 1,
  6350. speed: 7,
  6351. points: 50,
  6352. path: [],
  6353. loop: !1,
  6354. chaser: !1
  6355. }, {
  6356. type: 3,
  6357. x: 4.5,
  6358. y: 12,
  6359. radius: 1,
  6360. speed: 7,
  6361. points: 50,
  6362. path: [],
  6363. loop: !1,
  6364. chaser: !1
  6365. }],
  6366. cells: [
  6367. [{
  6368. type: 1
  6369. }, {
  6370. type: 1
  6371. }, {
  6372. type: 1
  6373. }, {
  6374. type: 1
  6375. }, {
  6376. type: 1
  6377. }, {
  6378. type: 1
  6379. }, {
  6380. type: 1
  6381. }, {
  6382. type: 1
  6383. }],
  6384. [{
  6385. type: 1
  6386. }, {
  6387. type: 1
  6388. }, {
  6389. type: 1
  6390. }, {
  6391. type: 1
  6392. }, {
  6393. type: 1
  6394. }, {
  6395. type: 1
  6396. }, {
  6397. type: 1
  6398. }, {
  6399. type: 1
  6400. }],
  6401. [{
  6402. type: 1
  6403. }, {
  6404. type: 1
  6405. }, {
  6406. type: 1
  6407. }, {
  6408. type: 1
  6409. }, {
  6410. type: 1
  6411. }, {
  6412. type: 1
  6413. }, {
  6414. type: 1
  6415. }, {
  6416. type: 1
  6417. }],
  6418. [{
  6419. type: 1
  6420. }, {
  6421. type: 1
  6422. }, {
  6423. type: 1
  6424. }, {
  6425. type: 1
  6426. }, {
  6427. type: 1
  6428. }, {
  6429. type: 1
  6430. }, {
  6431. type: 1
  6432. }, {
  6433. type: 1
  6434. }],
  6435. [{
  6436. type: 1
  6437. }, {
  6438. type: 1
  6439. }, {
  6440. type: 1
  6441. }, {
  6442. type: 1
  6443. }, {
  6444. type: 1
  6445. }, {
  6446. type: 1
  6447. }, {
  6448. type: 1
  6449. }, {
  6450. type: 1
  6451. }],
  6452. [{
  6453. type: 1
  6454. }, {
  6455. type: 1
  6456. }, {
  6457. type: 1
  6458. }, {
  6459. type: 1
  6460. }, {
  6461. type: 1
  6462. }, {
  6463. type: 1
  6464. }, {
  6465. type: 1
  6466. }, {
  6467. type: 1
  6468. }],
  6469. [{
  6470. type: 1
  6471. }, {
  6472. type: 1
  6473. }, {
  6474. type: 1
  6475. }, {
  6476. type: 1
  6477. }, {
  6478. type: 1
  6479. }, {
  6480. type: 1
  6481. }, {
  6482. type: 1
  6483. }, {
  6484. type: 1
  6485. }],
  6486. [{
  6487. type: 1
  6488. }, {
  6489. type: 1
  6490. }, {
  6491. type: 1
  6492. }, {
  6493. type: 1
  6494. }, {
  6495. type: 1
  6496. }, {
  6497. type: 1
  6498. }, {
  6499. type: 1
  6500. }, {
  6501. type: 1
  6502. }]
  6503. ]
  6504. })
  6505. };
  6506. a.addLevel0027 = function(a) {
  6507. a.push({
  6508. type: 1,
  6509. maxMoves: 3,
  6510. objects: [{
  6511. type: 2,
  6512. x: 11.5,
  6513. y: 6.5,
  6514. radius: .5,
  6515. speed: 7,
  6516. points: 0,
  6517. path: [],
  6518. loop: !1,
  6519. chaser: !0
  6520. }, {
  6521. type: 5,
  6522. x: 5,
  6523. y: 4,
  6524. x2: 15,
  6525. y2: 15,
  6526. speed1: 1,
  6527. speed2: 2,
  6528. continuous: !1
  6529. }, {
  6530. type: 1,
  6531. x: 3,
  6532. y: 2,
  6533. radius: 1,
  6534. speed: 20,
  6535. points: 0,
  6536. path: [],
  6537. loop: !1,
  6538. chaser: !1
  6539. }, {
  6540. type: 3,
  6541. x: 4.5,
  6542. y: 8.5,
  6543. radius: 1,
  6544. speed: 7,
  6545. points: 20,
  6546. path: [],
  6547. loop: !1,
  6548. chaser: !1
  6549. }, {
  6550. type: 3,
  6551. x: 3.5,
  6552. y: 15,
  6553. radius: 1,
  6554. speed: 7,
  6555. points: 10,
  6556. path: [],
  6557. loop: !1,
  6558. chaser: !1
  6559. }, {
  6560. type: 3,
  6561. x: 8.5,
  6562. y: 15,
  6563. radius: 1,
  6564. speed: 7,
  6565. points: 20,
  6566. path: [],
  6567. loop: !1,
  6568. chaser: !1
  6569. }, {
  6570. type: 3,
  6571. x: 14.5,
  6572. y: 4.5,
  6573. radius: 1,
  6574. speed: 7,
  6575. points: 50,
  6576. path: [],
  6577. loop: !1,
  6578. chaser: !1
  6579. }, {
  6580. type: 3,
  6581. x: 12.5,
  6582. y: 8.3,
  6583. radius: 1,
  6584. speed: 7,
  6585. points: 50,
  6586. path: [],
  6587. loop: !1,
  6588. chaser: !1
  6589. }],
  6590. cells: [
  6591. [{
  6592. type: 1
  6593. }, {
  6594. type: 1
  6595. }, {
  6596. type: 1
  6597. }, {
  6598. type: 1
  6599. }, {
  6600. type: 1
  6601. }, {
  6602. type: 1
  6603. }, {
  6604. type: 1
  6605. }, {
  6606. type: 1
  6607. }],
  6608. [{
  6609. type: 1
  6610. }, {
  6611. type: 1
  6612. }, {
  6613. type: 1
  6614. }, {
  6615. type: 1
  6616. }, {
  6617. type: 1
  6618. }, {
  6619. type: 1
  6620. }, {
  6621. type: 1
  6622. }, {
  6623. type: 1
  6624. }],
  6625. [{
  6626. type: 1
  6627. }, {
  6628. type: 1
  6629. }, {
  6630. type: 1
  6631. }, {
  6632. type: 1
  6633. }, {
  6634. type: 1
  6635. }, {
  6636. type: 1
  6637. }, {
  6638. type: 1
  6639. }, {
  6640. type: 1
  6641. }],
  6642. [{
  6643. type: 1
  6644. }, {
  6645. type: 1
  6646. }, {
  6647. type: 1
  6648. }, {
  6649. type: 1
  6650. }, {
  6651. type: 1
  6652. }, {
  6653. type: 1
  6654. }, {
  6655. type: 1
  6656. }, {
  6657. type: 1
  6658. }],
  6659. [{
  6660. type: 1
  6661. }, {
  6662. type: 1
  6663. }, {
  6664. type: 1
  6665. }, {
  6666. type: 1
  6667. }, {
  6668. type: 1
  6669. }, {
  6670. type: 1
  6671. }, {
  6672. type: 1
  6673. }, {
  6674. type: 1
  6675. }],
  6676. [{
  6677. type: 1
  6678. }, {
  6679. type: 1
  6680. }, {
  6681. type: 1
  6682. }, {
  6683. type: 1
  6684. }, {
  6685. type: 1
  6686. }, {
  6687. type: 1
  6688. }, {
  6689. type: 1
  6690. }, {
  6691. type: 1
  6692. }],
  6693. [{
  6694. type: 1
  6695. }, {
  6696. type: 1
  6697. }, {
  6698. type: 1
  6699. }, {
  6700. type: 1
  6701. }, {
  6702. type: 1
  6703. }, {
  6704. type: 1
  6705. }, {
  6706. type: 1
  6707. }, {
  6708. type: 1
  6709. }],
  6710. [{
  6711. type: 1
  6712. }, {
  6713. type: 1
  6714. }, {
  6715. type: 1
  6716. }, {
  6717. type: 1
  6718. }, {
  6719. type: 1
  6720. }, {
  6721. type: 1
  6722. }, {
  6723. type: 1
  6724. }, {
  6725. type: 1
  6726. }]
  6727. ]
  6728. })
  6729. };
  6730. a.addLevel0028 = function(a) {
  6731. a.push({
  6732. type: 1,
  6733. maxMoves: 3,
  6734. objects: [{
  6735. type: 2,
  6736. x: 8.5,
  6737. y: 5.5,
  6738. radius: .5,
  6739. speed: 7,
  6740. points: 0,
  6741. path: [],
  6742. loop: !1,
  6743. chaser: !0
  6744. }, {
  6745. type: 5,
  6746. x: 8.5,
  6747. y: 8.5,
  6748. x2: 16.5,
  6749. y2: 8.5,
  6750. speed1: 1,
  6751. speed2: 2,
  6752. continuous: !1
  6753. }, {
  6754. type: 5,
  6755. x: 8.5,
  6756. y: 8.5,
  6757. x2: 8.5,
  6758. y2: 16.5,
  6759. speed1: 1,
  6760. speed2: 2,
  6761. continuous: !1
  6762. }, {
  6763. type: 1,
  6764. x: 3,
  6765. y: 2,
  6766. radius: 1,
  6767. speed: 20,
  6768. points: 0,
  6769. path: [],
  6770. loop: !1,
  6771. chaser: !1
  6772. }, {
  6773. type: 3,
  6774. x: 12.5,
  6775. y: 8.5,
  6776. radius: 1,
  6777. speed: 7,
  6778. points: 50,
  6779. path: [],
  6780. loop: !1,
  6781. chaser: !1
  6782. }, {
  6783. type: 3,
  6784. x: 12.5,
  6785. y: 12,
  6786. radius: 1,
  6787. speed: 7,
  6788. points: 50,
  6789. path: [],
  6790. loop: !1,
  6791. chaser: !1
  6792. }, {
  6793. type: 3,
  6794. x: 8.5,
  6795. y: 12,
  6796. radius: 1,
  6797. speed: 7,
  6798. points: 50,
  6799. path: [],
  6800. loop: !1,
  6801. chaser: !1
  6802. }, {
  6803. type: 3,
  6804. x: 12.5,
  6805. y: 4.5,
  6806. radius: 1,
  6807. speed: 7,
  6808. points: 50,
  6809. path: [],
  6810. loop: !1,
  6811. chaser: !1
  6812. }, {
  6813. type: 3,
  6814. x: 4.5,
  6815. y: 12,
  6816. radius: 1,
  6817. speed: 7,
  6818. points: 50,
  6819. path: [],
  6820. loop: !1,
  6821. chaser: !1
  6822. }],
  6823. cells: [
  6824. [{
  6825. type: 1
  6826. }, {
  6827. type: 1
  6828. }, {
  6829. type: 1
  6830. }, {
  6831. type: 1
  6832. }, {
  6833. type: 1
  6834. }, {
  6835. type: 1
  6836. }, {
  6837. type: 1
  6838. }, {
  6839. type: 1
  6840. }],
  6841. [{
  6842. type: 1
  6843. }, {
  6844. type: 1
  6845. }, {
  6846. type: 1
  6847. }, {
  6848. type: 1
  6849. }, {
  6850. type: 1
  6851. }, {
  6852. type: 1
  6853. }, {
  6854. type: 1
  6855. }, {
  6856. type: 1
  6857. }],
  6858. [{
  6859. type: 1
  6860. }, {
  6861. type: 1
  6862. }, {
  6863. type: 1
  6864. }, {
  6865. type: 1
  6866. }, {
  6867. type: 1
  6868. }, {
  6869. type: 1
  6870. }, {
  6871. type: 1
  6872. }, {
  6873. type: 1
  6874. }],
  6875. [{
  6876. type: 1
  6877. }, {
  6878. type: 1
  6879. }, {
  6880. type: 1
  6881. }, {
  6882. type: 1
  6883. }, {
  6884. type: 1
  6885. }, {
  6886. type: 1
  6887. }, {
  6888. type: 1
  6889. }, {
  6890. type: 1
  6891. }],
  6892. [{
  6893. type: 1
  6894. }, {
  6895. type: 1
  6896. }, {
  6897. type: 1
  6898. }, {
  6899. type: 1
  6900. }, {
  6901. type: 1
  6902. }, {
  6903. type: 1
  6904. }, {
  6905. type: 1
  6906. }, {
  6907. type: 1
  6908. }],
  6909. [{
  6910. type: 1
  6911. }, {
  6912. type: 1
  6913. }, {
  6914. type: 1
  6915. }, {
  6916. type: 1
  6917. }, {
  6918. type: 1
  6919. }, {
  6920. type: 1
  6921. }, {
  6922. type: 1
  6923. }, {
  6924. type: 1
  6925. }],
  6926. [{
  6927. type: 1
  6928. }, {
  6929. type: 1
  6930. }, {
  6931. type: 1
  6932. }, {
  6933. type: 1
  6934. }, {
  6935. type: 1
  6936. }, {
  6937. type: 1
  6938. }, {
  6939. type: 1
  6940. }, {
  6941. type: 1
  6942. }],
  6943. [{
  6944. type: 1
  6945. }, {
  6946. type: 1
  6947. }, {
  6948. type: 1
  6949. }, {
  6950. type: 1
  6951. }, {
  6952. type: 1
  6953. }, {
  6954. type: 1
  6955. }, {
  6956. type: 1
  6957. }, {
  6958. type: 1
  6959. }]
  6960. ]
  6961. })
  6962. };
  6963. a.addLevel0029 = function(a) {
  6964. a.push({
  6965. type: 1,
  6966. maxMoves: 3,
  6967. objects: [{
  6968. type: 2,
  6969. x: 13.5,
  6970. y: 3.5,
  6971. radius: .5,
  6972. speed: 7,
  6973. points: 0,
  6974. path: [],
  6975. loop: !1,
  6976. chaser: !0
  6977. }, {
  6978. type: 5,
  6979. x: 8.5,
  6980. y: 8.5,
  6981. x2: 9.5,
  6982. y2: 15.5,
  6983. speed1: 1,
  6984. speed2: 2,
  6985. continuous: !1
  6986. }, {
  6987. type: 1,
  6988. x: 3,
  6989. y: 2,
  6990. radius: 1,
  6991. speed: 20,
  6992. points: 0,
  6993. path: [],
  6994. loop: !1,
  6995. chaser: !1
  6996. }, {
  6997. type: 3,
  6998. x: 7.5,
  6999. y: 8.5,
  7000. radius: 1,
  7001. speed: 7,
  7002. points: 20,
  7003. path: [],
  7004. loop: !1,
  7005. chaser: !1
  7006. }, {
  7007. type: 3,
  7008. x: 3.5,
  7009. y: 5,
  7010. radius: 1,
  7011. speed: 7,
  7012. points: 10,
  7013. path: [],
  7014. loop: !1,
  7015. chaser: !1
  7016. }, {
  7017. type: 3,
  7018. x: 8.5,
  7019. y: 5,
  7020. radius: 1,
  7021. speed: 7,
  7022. points: 20,
  7023. path: [],
  7024. loop: !1,
  7025. chaser: !1
  7026. }, {
  7027. type: 3,
  7028. x: 7.5,
  7029. y: 14.5,
  7030. radius: 1,
  7031. speed: 7,
  7032. points: 50,
  7033. path: [],
  7034. loop: !1,
  7035. chaser: !1
  7036. }, {
  7037. type: 3,
  7038. x: 14.5,
  7039. y: 11,
  7040. radius: 1,
  7041. speed: 7,
  7042. points: 50,
  7043. path: [],
  7044. loop: !1,
  7045. chaser: !1
  7046. }],
  7047. cells: [
  7048. [{
  7049. type: 1
  7050. }, {
  7051. type: 1
  7052. }, {
  7053. type: 1
  7054. }, {
  7055. type: 1
  7056. }, {
  7057. type: 1
  7058. }, {
  7059. type: 1
  7060. }, {
  7061. type: 1
  7062. }, {
  7063. type: 1
  7064. }],
  7065. [{
  7066. type: 1
  7067. }, {
  7068. type: 1
  7069. }, {
  7070. type: 1
  7071. }, {
  7072. type: 1
  7073. }, {
  7074. type: 1
  7075. }, {
  7076. type: 1
  7077. }, {
  7078. type: 1
  7079. }, {
  7080. type: 1
  7081. }],
  7082. [{
  7083. type: 1
  7084. }, {
  7085. type: 1
  7086. }, {
  7087. type: 1
  7088. }, {
  7089. type: 1
  7090. }, {
  7091. type: 1
  7092. }, {
  7093. type: 1
  7094. }, {
  7095. type: 1
  7096. }, {
  7097. type: 1
  7098. }],
  7099. [{
  7100. type: 1
  7101. }, {
  7102. type: 1
  7103. }, {
  7104. type: 1
  7105. }, {
  7106. type: 1
  7107. }, {
  7108. type: 1
  7109. }, {
  7110. type: 1
  7111. }, {
  7112. type: 1
  7113. }, {
  7114. type: 1
  7115. }],
  7116. [{
  7117. type: 1
  7118. }, {
  7119. type: 1
  7120. }, {
  7121. type: 1
  7122. }, {
  7123. type: 1
  7124. }, {
  7125. type: 1
  7126. }, {
  7127. type: 1
  7128. }, {
  7129. type: 1
  7130. }, {
  7131. type: 1
  7132. }],
  7133. [{
  7134. type: 1
  7135. }, {
  7136. type: 1
  7137. }, {
  7138. type: 1
  7139. }, {
  7140. type: 1
  7141. }, {
  7142. type: 1
  7143. }, {
  7144. type: 1
  7145. }, {
  7146. type: 1
  7147. }, {
  7148. type: 1
  7149. }],
  7150. [{
  7151. type: 1
  7152. }, {
  7153. type: 1
  7154. }, {
  7155. type: 1
  7156. }, {
  7157. type: 1
  7158. }, {
  7159. type: 1
  7160. }, {
  7161. type: 1
  7162. }, {
  7163. type: 1
  7164. }, {
  7165. type: 1
  7166. }],
  7167. [{
  7168. type: 1
  7169. }, {
  7170. type: 1
  7171. }, {
  7172. type: 1
  7173. }, {
  7174. type: 1
  7175. }, {
  7176. type: 1
  7177. }, {
  7178. type: 1
  7179. }, {
  7180. type: 1
  7181. }, {
  7182. type: 1
  7183. }]
  7184. ]
  7185. })
  7186. };
  7187. a.addLevel0030 = function(a) {
  7188. a.push({
  7189. type: 1,
  7190. maxMoves: 3,
  7191. objects: [{
  7192. type: 2,
  7193. x: 1.5,
  7194. y: 15.5,
  7195. radius: .5,
  7196. speed: 9,
  7197. points: 0,
  7198. path: [{
  7199. x: 1.5,
  7200. y: 15.5
  7201. }, {
  7202. x: 15.5,
  7203. y: 15.5
  7204. }],
  7205. loop: !0,
  7206. chaser: !1
  7207. }, {
  7208. type: 5,
  7209. x: 4,
  7210. y: 4,
  7211. x2: 7.5,
  7212. y2: 7.5,
  7213. speed1: 1,
  7214. speed2: 1,
  7215. continuous: !1
  7216. }, {
  7217. type: 5,
  7218. x: 13,
  7219. y: 4,
  7220. x2: 9.5,
  7221. y2: 7.5,
  7222. speed1: 1,
  7223. speed2: 1,
  7224. continuous: !1
  7225. }, {
  7226. type: 5,
  7227. x: 4,
  7228. y: 13,
  7229. x2: 7.5,
  7230. y2: 9.5,
  7231. speed1: 1,
  7232. speed2: 1,
  7233. continuous: !1
  7234. }, {
  7235. type: 5,
  7236. x: 13,
  7237. y: 13,
  7238. x2: 9.5,
  7239. y2: 9.5,
  7240. speed1: 1,
  7241. speed2: 1,
  7242. continuous: !1
  7243. }, {
  7244. type: 1,
  7245. x: 3,
  7246. y: 2,
  7247. radius: 1,
  7248. speed: 20,
  7249. points: 0,
  7250. path: [],
  7251. loop: !1,
  7252. chaser: !1
  7253. }, {
  7254. type: 3,
  7255. x: 8.5,
  7256. y: 12,
  7257. radius: 1,
  7258. speed: 7,
  7259. points: 50,
  7260. path: [],
  7261. loop: !1,
  7262. chaser: !1
  7263. }, {
  7264. type: 3,
  7265. x: 12.5,
  7266. y: 8.5,
  7267. radius: 1,
  7268. speed: 7,
  7269. points: 20,
  7270. path: [],
  7271. loop: !1,
  7272. chaser: !1
  7273. }, {
  7274. type: 3,
  7275. x: 4.5,
  7276. y: 8.5,
  7277. radius: 1,
  7278. speed: 7,
  7279. points: 20,
  7280. path: [],
  7281. loop: !1,
  7282. chaser: !1
  7283. }, {
  7284. type: 3,
  7285. x: 8.5,
  7286. y: 5.5,
  7287. radius: 1,
  7288. speed: 7,
  7289. points: 10,
  7290. path: [],
  7291. loop: !1,
  7292. chaser: !1
  7293. }],
  7294. cells: [
  7295. [{
  7296. type: 1
  7297. }, {
  7298. type: 1
  7299. }, {
  7300. type: 1
  7301. }, {
  7302. type: 1
  7303. }, {
  7304. type: 1
  7305. }, {
  7306. type: 1
  7307. }, {
  7308. type: 1
  7309. }, {
  7310. type: 1
  7311. }],
  7312. [{
  7313. type: 1
  7314. }, {
  7315. type: 1
  7316. }, {
  7317. type: 1
  7318. }, {
  7319. type: 1
  7320. }, {
  7321. type: 1
  7322. }, {
  7323. type: 1
  7324. }, {
  7325. type: 1
  7326. }, {
  7327. type: 1
  7328. }],
  7329. [{
  7330. type: 1
  7331. }, {
  7332. type: 1
  7333. }, {
  7334. type: 1
  7335. }, {
  7336. type: 1
  7337. }, {
  7338. type: 1
  7339. }, {
  7340. type: 1
  7341. }, {
  7342. type: 1
  7343. }, {
  7344. type: 1
  7345. }],
  7346. [{
  7347. type: 1
  7348. }, {
  7349. type: 1
  7350. }, {
  7351. type: 1
  7352. }, {
  7353. type: 1
  7354. }, {
  7355. type: 1
  7356. }, {
  7357. type: 1
  7358. }, {
  7359. type: 1
  7360. }, {
  7361. type: 1
  7362. }],
  7363. [{
  7364. type: 1
  7365. }, {
  7366. type: 1
  7367. }, {
  7368. type: 1
  7369. }, {
  7370. type: 1
  7371. }, {
  7372. type: 1
  7373. }, {
  7374. type: 1
  7375. }, {
  7376. type: 1
  7377. }, {
  7378. type: 1
  7379. }],
  7380. [{
  7381. type: 1
  7382. }, {
  7383. type: 1
  7384. }, {
  7385. type: 1
  7386. }, {
  7387. type: 1
  7388. }, {
  7389. type: 1
  7390. }, {
  7391. type: 1
  7392. }, {
  7393. type: 1
  7394. }, {
  7395. type: 1
  7396. }],
  7397. [{
  7398. type: 1
  7399. }, {
  7400. type: 1
  7401. }, {
  7402. type: 1
  7403. }, {
  7404. type: 1
  7405. }, {
  7406. type: 1
  7407. }, {
  7408. type: 1
  7409. }, {
  7410. type: 1
  7411. }, {
  7412. type: 1
  7413. }],
  7414. [{
  7415. type: 1
  7416. }, {
  7417. type: 1
  7418. }, {
  7419. type: 1
  7420. }, {
  7421. type: 1
  7422. }, {
  7423. type: 1
  7424. }, {
  7425. type: 1
  7426. }, {
  7427. type: 1
  7428. }, {
  7429. type: 1
  7430. }]
  7431. ]
  7432. })
  7433. };
  7434. a.addLevel0031 = function(a) {
  7435. a.push({
  7436. type: 1,
  7437. maxMoves: 3,
  7438. objects: [{
  7439. type: 2,
  7440. x: 8.5,
  7441. y: 8.5,
  7442. radius: .5,
  7443. speed: 9,
  7444. points: 0,
  7445. path: [],
  7446. loop: !1,
  7447. chaser: !0
  7448. }, {
  7449. type: 5,
  7450. x: 4,
  7451. y: 4,
  7452. x2: 13,
  7453. y2: 4,
  7454. speed1: 1,
  7455. speed2: 1,
  7456. continuous: !1
  7457. }, {
  7458. type: 5,
  7459. x: 13,
  7460. y: 4,
  7461. x2: 13,
  7462. y2: 13,
  7463. speed1: 1,
  7464. speed2: 1,
  7465. continuous: !1
  7466. }, {
  7467. type: 5,
  7468. x: 13,
  7469. y: 13,
  7470. x2: 4,
  7471. y2: 13,
  7472. speed1: 1,
  7473. speed2: 1,
  7474. continuous: !1
  7475. }, {
  7476. type: 5,
  7477. x: 4,
  7478. y: 13,
  7479. x2: 4,
  7480. y2: 4,
  7481. speed1: 1,
  7482. speed2: 1,
  7483. continuous: !1
  7484. }, {
  7485. type: 1,
  7486. x: 3,
  7487. y: 2,
  7488. radius: 1,
  7489. speed: 20,
  7490. points: 0,
  7491. path: [],
  7492. loop: !1,
  7493. chaser: !1
  7494. }, {
  7495. type: 3,
  7496. x: 8.5,
  7497. y: 12,
  7498. radius: 1,
  7499. speed: 7,
  7500. points: 50,
  7501. path: [],
  7502. loop: !1,
  7503. chaser: !1
  7504. }, {
  7505. type: 3,
  7506. x: 8.5,
  7507. y: 15,
  7508. radius: 1,
  7509. speed: 7,
  7510. points: 20,
  7511. path: [],
  7512. loop: !1,
  7513. chaser: !1
  7514. }, {
  7515. type: 3,
  7516. x: 8.5,
  7517. y: 6,
  7518. radius: 1,
  7519. speed: 7,
  7520. points: 20,
  7521. path: [],
  7522. loop: !1,
  7523. chaser: !1
  7524. }],
  7525. cells: [
  7526. [{
  7527. type: 1
  7528. }, {
  7529. type: 1
  7530. }, {
  7531. type: 1
  7532. }, {
  7533. type: 1
  7534. }, {
  7535. type: 1
  7536. }, {
  7537. type: 1
  7538. }, {
  7539. type: 1
  7540. }, {
  7541. type: 1
  7542. }],
  7543. [{
  7544. type: 1
  7545. }, {
  7546. type: 1
  7547. }, {
  7548. type: 1
  7549. }, {
  7550. type: 1
  7551. }, {
  7552. type: 1
  7553. }, {
  7554. type: 1
  7555. }, {
  7556. type: 1
  7557. }, {
  7558. type: 1
  7559. }],
  7560. [{
  7561. type: 1
  7562. }, {
  7563. type: 1
  7564. }, {
  7565. type: 1
  7566. }, {
  7567. type: 1
  7568. }, {
  7569. type: 1
  7570. }, {
  7571. type: 1
  7572. }, {
  7573. type: 1
  7574. }, {
  7575. type: 1
  7576. }],
  7577. [{
  7578. type: 1
  7579. }, {
  7580. type: 1
  7581. }, {
  7582. type: 1
  7583. }, {
  7584. type: 1
  7585. }, {
  7586. type: 1
  7587. }, {
  7588. type: 1
  7589. }, {
  7590. type: 1
  7591. }, {
  7592. type: 1
  7593. }],
  7594. [{
  7595. type: 1
  7596. }, {
  7597. type: 1
  7598. }, {
  7599. type: 1
  7600. }, {
  7601. type: 1
  7602. }, {
  7603. type: 1
  7604. }, {
  7605. type: 1
  7606. }, {
  7607. type: 1
  7608. }, {
  7609. type: 1
  7610. }],
  7611. [{
  7612. type: 1
  7613. }, {
  7614. type: 1
  7615. }, {
  7616. type: 1
  7617. }, {
  7618. type: 1
  7619. }, {
  7620. type: 1
  7621. }, {
  7622. type: 1
  7623. }, {
  7624. type: 1
  7625. }, {
  7626. type: 1
  7627. }],
  7628. [{
  7629. type: 1
  7630. }, {
  7631. type: 1
  7632. }, {
  7633. type: 1
  7634. }, {
  7635. type: 1
  7636. }, {
  7637. type: 1
  7638. }, {
  7639. type: 1
  7640. }, {
  7641. type: 1
  7642. }, {
  7643. type: 1
  7644. }],
  7645. [{
  7646. type: 1
  7647. }, {
  7648. type: 1
  7649. }, {
  7650. type: 1
  7651. }, {
  7652. type: 1
  7653. }, {
  7654. type: 1
  7655. }, {
  7656. type: 1
  7657. }, {
  7658. type: 1
  7659. }, {
  7660. type: 1
  7661. }]
  7662. ]
  7663. })
  7664. };
  7665. a.addLevel0032 = function(a) {
  7666. a.push({
  7667. type: 1,
  7668. maxMoves: 3,
  7669. objects: [{
  7670. type: 2,
  7671. x: 8.5,
  7672. y: 13.5,
  7673. radius: .5,
  7674. speed: 7,
  7675. points: 0,
  7676. path: [{
  7677. x: 8.5,
  7678. y: 13.5
  7679. }, {
  7680. x: 8.5,
  7681. y: 4
  7682. }],
  7683. loop: !0,
  7684. chaser: !1
  7685. }, {
  7686. type: 5,
  7687. x: 6,
  7688. y: 6,
  7689. x2: 6,
  7690. y2: 12,
  7691. speed1: 1,
  7692. speed2: 1,
  7693. continuous: !0
  7694. }, {
  7695. type: 5,
  7696. x: 11,
  7697. y: 6,
  7698. x2: 11,
  7699. y2: 12,
  7700. speed1: 1,
  7701. speed2: 1,
  7702. continuous: !0
  7703. }, {
  7704. type: 5,
  7705. x: .5,
  7706. y: 8.5,
  7707. x2: 16.5,
  7708. y2: 8.5,
  7709. speed1: 1,
  7710. speed2: 2,
  7711. continuous: !1
  7712. }, {
  7713. type: 1,
  7714. x: 3,
  7715. y: 2,
  7716. radius: 1,
  7717. speed: 20,
  7718. points: 0,
  7719. path: [],
  7720. loop: !1,
  7721. chaser: !1
  7722. }, {
  7723. type: 3,
  7724. x: 8.5,
  7725. y: 6.5,
  7726. radius: 1,
  7727. speed: 7,
  7728. points: 20,
  7729. path: [],
  7730. loop: !1,
  7731. chaser: !1
  7732. }, {
  7733. type: 3,
  7734. x: 3,
  7735. y: 6.5,
  7736. radius: 1,
  7737. speed: 7,
  7738. points: 20,
  7739. path: [],
  7740. loop: !1,
  7741. chaser: !1
  7742. }, {
  7743. type: 3,
  7744. x: 14,
  7745. y: 6.5,
  7746. radius: 1,
  7747. speed: 7,
  7748. points: 20,
  7749. path: [],
  7750. loop: !1,
  7751. chaser: !1
  7752. }, {
  7753. type: 3,
  7754. x: 8.5,
  7755. y: 10.5,
  7756. radius: 1,
  7757. speed: 7,
  7758. points: 50,
  7759. path: [],
  7760. loop: !1,
  7761. chaser: !1
  7762. }, {
  7763. type: 3,
  7764. x: 3,
  7765. y: 10.5,
  7766. radius: 1,
  7767. speed: 7,
  7768. points: 50,
  7769. path: [],
  7770. loop: !1,
  7771. chaser: !1
  7772. }, {
  7773. type: 3,
  7774. x: 14,
  7775. y: 10.5,
  7776. radius: 1,
  7777. speed: 7,
  7778. points: 50,
  7779. path: [],
  7780. loop: !1,
  7781. chaser: !1
  7782. }],
  7783. cells: [
  7784. [{
  7785. type: 1
  7786. }, {
  7787. type: 1
  7788. }, {
  7789. type: 1
  7790. }, {
  7791. type: 1
  7792. }, {
  7793. type: 1
  7794. }, {
  7795. type: 1
  7796. }, {
  7797. type: 1
  7798. }, {
  7799. type: 1
  7800. }],
  7801. [{
  7802. type: 1
  7803. }, {
  7804. type: 1
  7805. }, {
  7806. type: 1
  7807. }, {
  7808. type: 1
  7809. }, {
  7810. type: 1
  7811. }, {
  7812. type: 1
  7813. }, {
  7814. type: 1
  7815. }, {
  7816. type: 1
  7817. }],
  7818. [{
  7819. type: 1
  7820. }, {
  7821. type: 1
  7822. }, {
  7823. type: 1
  7824. }, {
  7825. type: 1
  7826. }, {
  7827. type: 1
  7828. }, {
  7829. type: 1
  7830. }, {
  7831. type: 1
  7832. }, {
  7833. type: 1
  7834. }],
  7835. [{
  7836. type: 1
  7837. }, {
  7838. type: 1
  7839. }, {
  7840. type: 1
  7841. }, {
  7842. type: 1
  7843. }, {
  7844. type: 1
  7845. }, {
  7846. type: 1
  7847. }, {
  7848. type: 1
  7849. }, {
  7850. type: 1
  7851. }],
  7852. [{
  7853. type: 1
  7854. }, {
  7855. type: 1
  7856. }, {
  7857. type: 1
  7858. }, {
  7859. type: 1
  7860. }, {
  7861. type: 1
  7862. }, {
  7863. type: 1
  7864. }, {
  7865. type: 1
  7866. }, {
  7867. type: 1
  7868. }],
  7869. [{
  7870. type: 1
  7871. }, {
  7872. type: 1
  7873. }, {
  7874. type: 1
  7875. }, {
  7876. type: 1
  7877. }, {
  7878. type: 1
  7879. }, {
  7880. type: 1
  7881. }, {
  7882. type: 1
  7883. }, {
  7884. type: 1
  7885. }],
  7886. [{
  7887. type: 1
  7888. }, {
  7889. type: 1
  7890. }, {
  7891. type: 1
  7892. }, {
  7893. type: 1
  7894. }, {
  7895. type: 1
  7896. }, {
  7897. type: 1
  7898. }, {
  7899. type: 1
  7900. }, {
  7901. type: 1
  7902. }],
  7903. [{
  7904. type: 1
  7905. }, {
  7906. type: 1
  7907. }, {
  7908. type: 1
  7909. }, {
  7910. type: 1
  7911. }, {
  7912. type: 1
  7913. }, {
  7914. type: 1
  7915. }, {
  7916. type: 1
  7917. }, {
  7918. type: 1
  7919. }]
  7920. ]
  7921. })
  7922. };
  7923. a.addLevel0033 = function(a) {
  7924. a.push({
  7925. type: 1,
  7926. maxMoves: 3,
  7927. objects: [{
  7928. type: 2,
  7929. x: 8.5,
  7930. y: 13.5,
  7931. radius: .5,
  7932. speed: 7,
  7933. points: 0,
  7934. path: [{
  7935. x: 8.5,
  7936. y: 13.5
  7937. }, {
  7938. x: 8.5,
  7939. y: 4
  7940. }],
  7941. loop: !0,
  7942. chaser: !1
  7943. }, {
  7944. type: 5,
  7945. x: 6,
  7946. y: 6,
  7947. x2: 6,
  7948. y2: 12,
  7949. speed1: 1,
  7950. speed2: 1,
  7951. continuous: !0
  7952. }, {
  7953. type: 5,
  7954. x: 11,
  7955. y: 6,
  7956. x2: 11,
  7957. y2: 12,
  7958. speed1: 1,
  7959. speed2: 1,
  7960. continuous: !0
  7961. }, {
  7962. type: 5,
  7963. x: .5,
  7964. y: 8.5,
  7965. x2: 16.5,
  7966. y2: 8.5,
  7967. speed1: 1,
  7968. speed2: 2,
  7969. continuous: !1
  7970. }, {
  7971. type: 1,
  7972. x: 3,
  7973. y: 2,
  7974. radius: 1,
  7975. speed: 20,
  7976. points: 0,
  7977. path: [],
  7978. loop: !1,
  7979. chaser: !1
  7980. }, {
  7981. type: 3,
  7982. x: 8.5,
  7983. y: 6.5,
  7984. radius: 1,
  7985. speed: 7,
  7986. points: 20,
  7987. path: [],
  7988. loop: !1,
  7989. chaser: !1
  7990. }, {
  7991. type: 3,
  7992. x: 3,
  7993. y: 6.5,
  7994. radius: 1,
  7995. speed: 7,
  7996. points: 20,
  7997. path: [],
  7998. loop: !1,
  7999. chaser: !1
  8000. }, {
  8001. type: 3,
  8002. x: 14,
  8003. y: 6.5,
  8004. radius: 1,
  8005. speed: 7,
  8006. points: 20,
  8007. path: [],
  8008. loop: !1,
  8009. chaser: !1
  8010. }, {
  8011. type: 3,
  8012. x: 8.5,
  8013. y: 10.5,
  8014. radius: 1,
  8015. speed: 7,
  8016. points: 50,
  8017. path: [{
  8018. x: 8.5,
  8019. y: 10.5
  8020. }, {
  8021. x: 8.5,
  8022. y: 15.5
  8023. }],
  8024. loop: !0,
  8025. chaser: !1
  8026. }, {
  8027. type: 3,
  8028. x: 3,
  8029. y: 10.5,
  8030. radius: 1,
  8031. speed: 9,
  8032. points: 50,
  8033. path: [{
  8034. x: 3,
  8035. y: 10.5
  8036. }, {
  8037. x: 3,
  8038. y: 15.5
  8039. }],
  8040. loop: !0,
  8041. chaser: !1
  8042. }, {
  8043. type: 3,
  8044. x: 14,
  8045. y: 10.5,
  8046. radius: 1,
  8047. speed: 10,
  8048. points: 50,
  8049. path: [{
  8050. x: 14,
  8051. y: 10.5
  8052. }, {
  8053. x: 14,
  8054. y: 15.5
  8055. }],
  8056. loop: !0,
  8057. chaser: !1
  8058. }],
  8059. cells: [
  8060. [{
  8061. type: 1
  8062. }, {
  8063. type: 1
  8064. }, {
  8065. type: 1
  8066. }, {
  8067. type: 1
  8068. }, {
  8069. type: 1
  8070. }, {
  8071. type: 1
  8072. }, {
  8073. type: 1
  8074. }, {
  8075. type: 1
  8076. }],
  8077. [{
  8078. type: 1
  8079. }, {
  8080. type: 1
  8081. }, {
  8082. type: 1
  8083. }, {
  8084. type: 1
  8085. }, {
  8086. type: 1
  8087. }, {
  8088. type: 1
  8089. }, {
  8090. type: 1
  8091. }, {
  8092. type: 1
  8093. }],
  8094. [{
  8095. type: 1
  8096. }, {
  8097. type: 1
  8098. }, {
  8099. type: 1
  8100. }, {
  8101. type: 1
  8102. }, {
  8103. type: 1
  8104. }, {
  8105. type: 1
  8106. }, {
  8107. type: 1
  8108. }, {
  8109. type: 1
  8110. }],
  8111. [{
  8112. type: 1
  8113. }, {
  8114. type: 1
  8115. }, {
  8116. type: 1
  8117. }, {
  8118. type: 1
  8119. }, {
  8120. type: 1
  8121. }, {
  8122. type: 1
  8123. }, {
  8124. type: 1
  8125. }, {
  8126. type: 1
  8127. }],
  8128. [{
  8129. type: 1
  8130. }, {
  8131. type: 1
  8132. }, {
  8133. type: 1
  8134. }, {
  8135. type: 1
  8136. }, {
  8137. type: 1
  8138. }, {
  8139. type: 1
  8140. }, {
  8141. type: 1
  8142. }, {
  8143. type: 1
  8144. }],
  8145. [{
  8146. type: 1
  8147. }, {
  8148. type: 1
  8149. }, {
  8150. type: 1
  8151. }, {
  8152. type: 1
  8153. }, {
  8154. type: 1
  8155. }, {
  8156. type: 1
  8157. }, {
  8158. type: 1
  8159. }, {
  8160. type: 1
  8161. }],
  8162. [{
  8163. type: 1
  8164. }, {
  8165. type: 1
  8166. }, {
  8167. type: 1
  8168. }, {
  8169. type: 1
  8170. }, {
  8171. type: 1
  8172. }, {
  8173. type: 1
  8174. }, {
  8175. type: 1
  8176. }, {
  8177. type: 1
  8178. }],
  8179. [{
  8180. type: 1
  8181. }, {
  8182. type: 1
  8183. }, {
  8184. type: 1
  8185. }, {
  8186. type: 1
  8187. }, {
  8188. type: 1
  8189. }, {
  8190. type: 1
  8191. }, {
  8192. type: 1
  8193. }, {
  8194. type: 1
  8195. }]
  8196. ]
  8197. })
  8198. };
  8199. a.addLevel0034 = function(a) {
  8200. a.push({
  8201. type: 1,
  8202. maxMoves: 3,
  8203. objects: [{
  8204. type: 2,
  8205. x: 8.5,
  8206. y: 8.5,
  8207. radius: .5,
  8208. speed: 7,
  8209. points: 0,
  8210. path: [],
  8211. loop: !1,
  8212. chaser: !0
  8213. }, {
  8214. type: 5,
  8215. x: 6,
  8216. y: 6,
  8217. x2: 3,
  8218. y2: 12,
  8219. speed1: 1,
  8220. speed2: 1,
  8221. continuous: !1
  8222. }, {
  8223. type: 5,
  8224. x: 11,
  8225. y: 6,
  8226. x2: 14,
  8227. y2: 12,
  8228. speed1: 1,
  8229. speed2: 1,
  8230. continuous: !1
  8231. }, {
  8232. type: 1,
  8233. x: 3,
  8234. y: 2,
  8235. radius: 1,
  8236. speed: 20,
  8237. points: 0,
  8238. path: [],
  8239. loop: !1,
  8240. chaser: !1
  8241. }, {
  8242. type: 3,
  8243. x: 8.5,
  8244. y: 3.5,
  8245. radius: 1,
  8246. speed: 7,
  8247. points: 20,
  8248. path: [],
  8249. loop: !1,
  8250. chaser: !1
  8251. }, {
  8252. type: 3,
  8253. x: 5.5,
  8254. y: 9.5,
  8255. radius: 1,
  8256. speed: 7,
  8257. points: 20,
  8258. path: [],
  8259. loop: !1,
  8260. chaser: !1
  8261. }, {
  8262. type: 3,
  8263. x: 11.5,
  8264. y: 9.5,
  8265. radius: 1,
  8266. speed: 7,
  8267. points: 20,
  8268. path: [],
  8269. loop: !1,
  8270. chaser: !1
  8271. }, {
  8272. type: 3,
  8273. x: 2.5,
  8274. y: 15.5,
  8275. radius: 1,
  8276. speed: 7,
  8277. points: 50,
  8278. path: [{
  8279. x: 2.5,
  8280. y: 15.5
  8281. }, {
  8282. x: 14,
  8283. y: 15.5
  8284. }],
  8285. loop: !0,
  8286. chaser: !1
  8287. }],
  8288. cells: [
  8289. [{
  8290. type: 1
  8291. }, {
  8292. type: 1
  8293. }, {
  8294. type: 1
  8295. }, {
  8296. type: 1
  8297. }, {
  8298. type: 1
  8299. }, {
  8300. type: 1
  8301. }, {
  8302. type: 1
  8303. }, {
  8304. type: 1
  8305. }],
  8306. [{
  8307. type: 1
  8308. }, {
  8309. type: 1
  8310. }, {
  8311. type: 1
  8312. }, {
  8313. type: 1
  8314. }, {
  8315. type: 1
  8316. }, {
  8317. type: 1
  8318. }, {
  8319. type: 1
  8320. }, {
  8321. type: 1
  8322. }],
  8323. [{
  8324. type: 1
  8325. }, {
  8326. type: 1
  8327. }, {
  8328. type: 1
  8329. }, {
  8330. type: 1
  8331. }, {
  8332. type: 1
  8333. }, {
  8334. type: 1
  8335. }, {
  8336. type: 1
  8337. }, {
  8338. type: 1
  8339. }],
  8340. [{
  8341. type: 1
  8342. }, {
  8343. type: 1
  8344. }, {
  8345. type: 1
  8346. }, {
  8347. type: 1
  8348. }, {
  8349. type: 1
  8350. }, {
  8351. type: 1
  8352. }, {
  8353. type: 1
  8354. }, {
  8355. type: 1
  8356. }],
  8357. [{
  8358. type: 1
  8359. }, {
  8360. type: 1
  8361. }, {
  8362. type: 1
  8363. }, {
  8364. type: 1
  8365. }, {
  8366. type: 1
  8367. }, {
  8368. type: 1
  8369. }, {
  8370. type: 1
  8371. }, {
  8372. type: 1
  8373. }],
  8374. [{
  8375. type: 1
  8376. }, {
  8377. type: 1
  8378. }, {
  8379. type: 1
  8380. }, {
  8381. type: 1
  8382. }, {
  8383. type: 1
  8384. }, {
  8385. type: 1
  8386. }, {
  8387. type: 1
  8388. }, {
  8389. type: 1
  8390. }],
  8391. [{
  8392. type: 1
  8393. }, {
  8394. type: 1
  8395. }, {
  8396. type: 1
  8397. }, {
  8398. type: 1
  8399. }, {
  8400. type: 1
  8401. }, {
  8402. type: 1
  8403. }, {
  8404. type: 1
  8405. }, {
  8406. type: 1
  8407. }],
  8408. [{
  8409. type: 1
  8410. }, {
  8411. type: 1
  8412. }, {
  8413. type: 1
  8414. }, {
  8415. type: 1
  8416. }, {
  8417. type: 1
  8418. }, {
  8419. type: 1
  8420. }, {
  8421. type: 1
  8422. }, {
  8423. type: 1
  8424. }]
  8425. ]
  8426. })
  8427. };
  8428. a.addLevel0035 = function(a) {
  8429. a.push({
  8430. type: 1,
  8431. maxMoves: 3,
  8432. objects: [{
  8433. type: 2,
  8434. x: 8.5,
  8435. y: 15.5,
  8436. radius: .5,
  8437. speed: 7,
  8438. points: 0,
  8439. path: [],
  8440. loop: !1,
  8441. chaser: !0
  8442. }, {
  8443. type: 5,
  8444. x: 6,
  8445. y: 6,
  8446. x2: 6,
  8447. y2: 16.5,
  8448. speed1: 1,
  8449. speed2: 1,
  8450. continuous: !0
  8451. }, {
  8452. type: 5,
  8453. x: 11,
  8454. y: 6,
  8455. x2: 11,
  8456. y2: 16.5,
  8457. speed1: 1,
  8458. speed2: 1,
  8459. continuous: !0
  8460. }, {
  8461. type: 1,
  8462. x: 3,
  8463. y: 2,
  8464. radius: 1,
  8465. speed: 20,
  8466. points: 0,
  8467. path: [],
  8468. loop: !1,
  8469. chaser: !1
  8470. }, {
  8471. type: 3,
  8472. x: 3.5,
  8473. y: 6.5,
  8474. radius: 1,
  8475. speed: 7,
  8476. points: 70,
  8477. path: [{
  8478. x: 3.5,
  8479. y: 6.5
  8480. }, {
  8481. x: 3.5,
  8482. y: 14.5
  8483. }],
  8484. loop: !0,
  8485. chaser: !1
  8486. }, {
  8487. type: 3,
  8488. x: 8.5,
  8489. y: 6.5,
  8490. radius: 1,
  8491. speed: 7,
  8492. points: 70,
  8493. path: [{
  8494. x: 8.5,
  8495. y: 6.5
  8496. }, {
  8497. x: 8.5,
  8498. y: 14.5
  8499. }],
  8500. loop: !0,
  8501. chaser: !1
  8502. }, {
  8503. type: 3,
  8504. x: 13.5,
  8505. y: 6.5,
  8506. radius: 1,
  8507. speed: 7,
  8508. points: 70,
  8509. path: [{
  8510. x: 13.5,
  8511. y: 6.5
  8512. }, {
  8513. x: 13.5,
  8514. y: 14.5
  8515. }],
  8516. loop: !0,
  8517. chaser: !1
  8518. }],
  8519. cells: [
  8520. [{
  8521. type: 1
  8522. }, {
  8523. type: 1
  8524. }, {
  8525. type: 1
  8526. }, {
  8527. type: 1
  8528. }, {
  8529. type: 1
  8530. }, {
  8531. type: 1
  8532. }, {
  8533. type: 1
  8534. }, {
  8535. type: 1
  8536. }],
  8537. [{
  8538. type: 1
  8539. }, {
  8540. type: 1
  8541. }, {
  8542. type: 1
  8543. }, {
  8544. type: 1
  8545. }, {
  8546. type: 1
  8547. }, {
  8548. type: 1
  8549. }, {
  8550. type: 1
  8551. }, {
  8552. type: 1
  8553. }],
  8554. [{
  8555. type: 1
  8556. }, {
  8557. type: 1
  8558. }, {
  8559. type: 1
  8560. }, {
  8561. type: 1
  8562. }, {
  8563. type: 1
  8564. }, {
  8565. type: 1
  8566. }, {
  8567. type: 1
  8568. }, {
  8569. type: 1
  8570. }],
  8571. [{
  8572. type: 1
  8573. }, {
  8574. type: 1
  8575. }, {
  8576. type: 1
  8577. }, {
  8578. type: 1
  8579. }, {
  8580. type: 1
  8581. }, {
  8582. type: 1
  8583. }, {
  8584. type: 1
  8585. }, {
  8586. type: 1
  8587. }],
  8588. [{
  8589. type: 1
  8590. }, {
  8591. type: 1
  8592. }, {
  8593. type: 1
  8594. }, {
  8595. type: 1
  8596. }, {
  8597. type: 1
  8598. }, {
  8599. type: 1
  8600. }, {
  8601. type: 1
  8602. }, {
  8603. type: 1
  8604. }],
  8605. [{
  8606. type: 1
  8607. }, {
  8608. type: 1
  8609. }, {
  8610. type: 1
  8611. }, {
  8612. type: 1
  8613. }, {
  8614. type: 1
  8615. }, {
  8616. type: 1
  8617. }, {
  8618. type: 1
  8619. }, {
  8620. type: 1
  8621. }],
  8622. [{
  8623. type: 1
  8624. }, {
  8625. type: 1
  8626. }, {
  8627. type: 1
  8628. }, {
  8629. type: 1
  8630. }, {
  8631. type: 1
  8632. }, {
  8633. type: 1
  8634. }, {
  8635. type: 1
  8636. }, {
  8637. type: 1
  8638. }],
  8639. [{
  8640. type: 1
  8641. }, {
  8642. type: 1
  8643. }, {
  8644. type: 1
  8645. }, {
  8646. type: 1
  8647. }, {
  8648. type: 1
  8649. }, {
  8650. type: 1
  8651. }, {
  8652. type: 1
  8653. }, {
  8654. type: 1
  8655. }]
  8656. ]
  8657. })
  8658. };
  8659. a.addLevel0036 = function(a) {
  8660. a.push({
  8661. type: 1,
  8662. maxMoves: 3,
  8663. objects: [{
  8664. type: 5,
  8665. x: 5,
  8666. y: 6,
  8667. x2: 5,
  8668. y2: 16.5,
  8669. speed1: 1,
  8670. speed2: 1,
  8671. continuous: !1
  8672. }, {
  8673. type: 5,
  8674. x: 8,
  8675. y: 6,
  8676. x2: 8,
  8677. y2: 16.5,
  8678. speed1: 1,
  8679. speed2: 1,
  8680. continuous: !1
  8681. }, {
  8682. type: 5,
  8683. x: 11,
  8684. y: 4,
  8685. x2: 11,
  8686. y2: 16.5,
  8687. speed1: 1,
  8688. speed2: 1,
  8689. continuous: !1
  8690. }, {
  8691. type: 5,
  8692. x: 14,
  8693. y: 4,
  8694. x2: 14,
  8695. y2: 16.5,
  8696. speed1: 1,
  8697. speed2: 1,
  8698. continuous: !1
  8699. }, {
  8700. type: 1,
  8701. x: 3,
  8702. y: 2,
  8703. radius: 1,
  8704. speed: 20,
  8705. points: 0,
  8706. path: [],
  8707. loop: !1,
  8708. chaser: !1
  8709. }, {
  8710. type: 3,
  8711. x: 6.5,
  8712. y: 5.5,
  8713. radius: 1,
  8714. speed: 7,
  8715. points: 70,
  8716. path: [{
  8717. x: 6.5,
  8718. y: 5.5
  8719. }, {
  8720. x: 6.5,
  8721. y: 14.5
  8722. }],
  8723. loop: !0,
  8724. chaser: !1
  8725. }, {
  8726. type: 3,
  8727. x: 9.5,
  8728. y: 9.5,
  8729. radius: 1,
  8730. speed: 7,
  8731. points: 70,
  8732. path: [{
  8733. x: 9.5,
  8734. y: 5.5
  8735. }, {
  8736. x: 9.5,
  8737. y: 14.5
  8738. }],
  8739. loop: !0,
  8740. chaser: !1
  8741. }, {
  8742. type: 3,
  8743. x: 12.5,
  8744. y: 2.5,
  8745. radius: 1,
  8746. speed: 7,
  8747. points: 70,
  8748. path: [{
  8749. x: 12.5,
  8750. y: 5.5
  8751. }, {
  8752. x: 12.5,
  8753. y: 14.5
  8754. }],
  8755. loop: !0,
  8756. chaser: !1
  8757. }],
  8758. cells: [
  8759. [{
  8760. type: 1
  8761. }, {
  8762. type: 1
  8763. }, {
  8764. type: 1
  8765. }, {
  8766. type: 1
  8767. }, {
  8768. type: 1
  8769. }, {
  8770. type: 1
  8771. }, {
  8772. type: 1
  8773. }, {
  8774. type: 1
  8775. }],
  8776. [{
  8777. type: 1
  8778. }, {
  8779. type: 1
  8780. }, {
  8781. type: 1
  8782. }, {
  8783. type: 1
  8784. }, {
  8785. type: 1
  8786. }, {
  8787. type: 1
  8788. }, {
  8789. type: 1
  8790. }, {
  8791. type: 1
  8792. }],
  8793. [{
  8794. type: 1
  8795. }, {
  8796. type: 1
  8797. }, {
  8798. type: 1
  8799. }, {
  8800. type: 1
  8801. }, {
  8802. type: 1
  8803. }, {
  8804. type: 1
  8805. }, {
  8806. type: 1
  8807. }, {
  8808. type: 1
  8809. }],
  8810. [{
  8811. type: 1
  8812. }, {
  8813. type: 1
  8814. }, {
  8815. type: 1
  8816. }, {
  8817. type: 1
  8818. }, {
  8819. type: 1
  8820. }, {
  8821. type: 1
  8822. }, {
  8823. type: 1
  8824. }, {
  8825. type: 1
  8826. }],
  8827. [{
  8828. type: 1
  8829. }, {
  8830. type: 1
  8831. }, {
  8832. type: 1
  8833. }, {
  8834. type: 1
  8835. }, {
  8836. type: 1
  8837. }, {
  8838. type: 1
  8839. }, {
  8840. type: 1
  8841. }, {
  8842. type: 1
  8843. }],
  8844. [{
  8845. type: 1
  8846. }, {
  8847. type: 1
  8848. }, {
  8849. type: 1
  8850. }, {
  8851. type: 1
  8852. }, {
  8853. type: 1
  8854. }, {
  8855. type: 1
  8856. }, {
  8857. type: 1
  8858. }, {
  8859. type: 1
  8860. }],
  8861. [{
  8862. type: 1
  8863. }, {
  8864. type: 1
  8865. }, {
  8866. type: 1
  8867. }, {
  8868. type: 1
  8869. }, {
  8870. type: 1
  8871. }, {
  8872. type: 1
  8873. }, {
  8874. type: 1
  8875. }, {
  8876. type: 1
  8877. }],
  8878. [{
  8879. type: 1
  8880. }, {
  8881. type: 1
  8882. }, {
  8883. type: 1
  8884. }, {
  8885. type: 1
  8886. }, {
  8887. type: 1
  8888. }, {
  8889. type: 1
  8890. }, {
  8891. type: 1
  8892. }, {
  8893. type: 1
  8894. }]
  8895. ]
  8896. })
  8897. };
  8898. a.addLevel0037 = function(a) {
  8899. a.push({
  8900. type: 1,
  8901. maxMoves: 3,
  8902. objects: [{
  8903. type: 2,
  8904. x: 12.5,
  8905. y: 15.5,
  8906. radius: .5,
  8907. speed: 7,
  8908. points: 0,
  8909. path: [],
  8910. loop: !1,
  8911. chaser: !0
  8912. }, {
  8913. type: 5,
  8914. x: .5,
  8915. y: 6,
  8916. x2: 8.5,
  8917. y2: 6,
  8918. speed1: 1,
  8919. speed2: 1,
  8920. continuous: !0
  8921. }, {
  8922. type: 5,
  8923. x: 8.5,
  8924. y: 12,
  8925. x2: 16.5,
  8926. y2: 12,
  8927. speed1: 1,
  8928. speed2: 1,
  8929. continuous: !0
  8930. }, {
  8931. type: 1,
  8932. x: 3,
  8933. y: 2,
  8934. radius: 1,
  8935. speed: 20,
  8936. points: 0,
  8937. path: [],
  8938. loop: !1,
  8939. chaser: !1
  8940. }, {
  8941. type: 3,
  8942. x: 3.5,
  8943. y: 8.5,
  8944. radius: 1,
  8945. speed: 7,
  8946. points: 70,
  8947. path: [{
  8948. x: 3.5,
  8949. y: 8.5
  8950. }, {
  8951. x: 3.5,
  8952. y: 14.5
  8953. }],
  8954. loop: !0,
  8955. chaser: !1
  8956. }, {
  8957. type: 3,
  8958. x: 8.5,
  8959. y: 8.5,
  8960. radius: 1,
  8961. speed: 7,
  8962. points: 70,
  8963. path: [{
  8964. x: 8.5,
  8965. y: 8.5
  8966. }, {
  8967. x: 8.5,
  8968. y: 14.5
  8969. }],
  8970. loop: !0,
  8971. chaser: !1
  8972. }, {
  8973. type: 3,
  8974. x: 13.5,
  8975. y: 8.5,
  8976. radius: 1,
  8977. speed: 7,
  8978. points: 70,
  8979. path: [{
  8980. x: 13.5,
  8981. y: 8.5
  8982. }, {
  8983. x: 13.5,
  8984. y: 14.5
  8985. }],
  8986. loop: !0,
  8987. chaser: !1
  8988. }],
  8989. cells: [
  8990. [{
  8991. type: 1
  8992. }, {
  8993. type: 1
  8994. }, {
  8995. type: 1
  8996. }, {
  8997. type: 1
  8998. }, {
  8999. type: 1
  9000. }, {
  9001. type: 1
  9002. }, {
  9003. type: 1
  9004. }, {
  9005. type: 1
  9006. }],
  9007. [{
  9008. type: 1
  9009. }, {
  9010. type: 1
  9011. }, {
  9012. type: 1
  9013. }, {
  9014. type: 1
  9015. }, {
  9016. type: 1
  9017. }, {
  9018. type: 1
  9019. }, {
  9020. type: 1
  9021. }, {
  9022. type: 1
  9023. }],
  9024. [{
  9025. type: 1
  9026. }, {
  9027. type: 1
  9028. }, {
  9029. type: 1
  9030. }, {
  9031. type: 1
  9032. }, {
  9033. type: 1
  9034. }, {
  9035. type: 1
  9036. }, {
  9037. type: 1
  9038. }, {
  9039. type: 1
  9040. }],
  9041. [{
  9042. type: 1
  9043. }, {
  9044. type: 1
  9045. }, {
  9046. type: 1
  9047. }, {
  9048. type: 1
  9049. }, {
  9050. type: 1
  9051. }, {
  9052. type: 1
  9053. }, {
  9054. type: 1
  9055. }, {
  9056. type: 1
  9057. }],
  9058. [{
  9059. type: 1
  9060. }, {
  9061. type: 1
  9062. }, {
  9063. type: 1
  9064. }, {
  9065. type: 1
  9066. }, {
  9067. type: 1
  9068. }, {
  9069. type: 1
  9070. }, {
  9071. type: 1
  9072. }, {
  9073. type: 1
  9074. }],
  9075. [{
  9076. type: 1
  9077. }, {
  9078. type: 1
  9079. }, {
  9080. type: 1
  9081. }, {
  9082. type: 1
  9083. }, {
  9084. type: 1
  9085. }, {
  9086. type: 1
  9087. }, {
  9088. type: 1
  9089. }, {
  9090. type: 1
  9091. }],
  9092. [{
  9093. type: 1
  9094. }, {
  9095. type: 1
  9096. }, {
  9097. type: 1
  9098. }, {
  9099. type: 1
  9100. }, {
  9101. type: 1
  9102. }, {
  9103. type: 1
  9104. }, {
  9105. type: 1
  9106. }, {
  9107. type: 1
  9108. }],
  9109. [{
  9110. type: 1
  9111. }, {
  9112. type: 1
  9113. }, {
  9114. type: 1
  9115. }, {
  9116. type: 1
  9117. }, {
  9118. type: 1
  9119. }, {
  9120. type: 1
  9121. }, {
  9122. type: 1
  9123. }, {
  9124. type: 1
  9125. }]
  9126. ]
  9127. })
  9128. };
  9129. a.addLevel0038 = function(a) {
  9130. a.push({
  9131. type: 1,
  9132. maxMoves: 3,
  9133. objects: [{
  9134. type: 2,
  9135. x: 12,
  9136. y: 5.5,
  9137. radius: .5,
  9138. speed: 7,
  9139. points: 0,
  9140. path: [{
  9141. x: 12,
  9142. y: 5.5
  9143. }, {
  9144. x: 12,
  9145. y: 12.5
  9146. }],
  9147. loop: !0,
  9148. chaser: !1
  9149. }, {
  9150. type: 5,
  9151. x: 5,
  9152. y: 6,
  9153. x2: 5,
  9154. y2: 16.5,
  9155. speed1: 1,
  9156. speed2: 1,
  9157. continuous: !0
  9158. }, {
  9159. type: 5,
  9160. x: 8,
  9161. y: 6,
  9162. x2: 8,
  9163. y2: 13.5,
  9164. speed1: 1,
  9165. speed2: 1,
  9166. continuous: !0
  9167. }, {
  9168. type: 5,
  9169. x: 8,
  9170. y: 13.5,
  9171. x2: 12,
  9172. y2: 13.5,
  9173. speed1: 1,
  9174. speed2: 1,
  9175. continuous: !0
  9176. }, {
  9177. type: 5,
  9178. x: 5,
  9179. y: 16.5,
  9180. x2: 12,
  9181. y2: 16.5,
  9182. speed1: 1,
  9183. speed2: 1,
  9184. continuous: !0
  9185. }, {
  9186. type: 1,
  9187. x: 3,
  9188. y: 2,
  9189. radius: 1,
  9190. speed: 20,
  9191. points: 0,
  9192. path: [],
  9193. loop: !1,
  9194. chaser: !1
  9195. }, {
  9196. type: 3,
  9197. x: 6.5,
  9198. y: 14.5,
  9199. radius: 1,
  9200. speed: 7,
  9201. points: 70,
  9202. path: [],
  9203. loop: !1,
  9204. chaser: !1
  9205. }, {
  9206. type: 3,
  9207. x: 6.5,
  9208. y: 5.5,
  9209. radius: 1,
  9210. speed: 7,
  9211. points: 70,
  9212. path: [{
  9213. x: 6.5,
  9214. y: 5.5
  9215. }, {
  9216. x: 6.5,
  9217. y: 12.5
  9218. }],
  9219. loop: !0,
  9220. chaser: !1
  9221. }, {
  9222. type: 3,
  9223. x: 9.5,
  9224. y: 9.5,
  9225. radius: 1,
  9226. speed: 7,
  9227. points: 20,
  9228. path: [],
  9229. loop: !1,
  9230. chaser: !1
  9231. }, {
  9232. type: 3,
  9233. x: 14.5,
  9234. y: 9.5,
  9235. radius: 1,
  9236. speed: 7,
  9237. points: 20,
  9238. path: [],
  9239. loop: !1,
  9240. chaser: !1
  9241. }],
  9242. cells: [
  9243. [{
  9244. type: 1
  9245. }, {
  9246. type: 1
  9247. }, {
  9248. type: 1
  9249. }, {
  9250. type: 1
  9251. }, {
  9252. type: 1
  9253. }, {
  9254. type: 1
  9255. }, {
  9256. type: 1
  9257. }, {
  9258. type: 1
  9259. }],
  9260. [{
  9261. type: 1
  9262. }, {
  9263. type: 1
  9264. }, {
  9265. type: 1
  9266. }, {
  9267. type: 1
  9268. }, {
  9269. type: 1
  9270. }, {
  9271. type: 1
  9272. }, {
  9273. type: 1
  9274. }, {
  9275. type: 1
  9276. }],
  9277. [{
  9278. type: 1
  9279. }, {
  9280. type: 1
  9281. }, {
  9282. type: 1
  9283. }, {
  9284. type: 1
  9285. }, {
  9286. type: 1
  9287. }, {
  9288. type: 1
  9289. }, {
  9290. type: 1
  9291. }, {
  9292. type: 1
  9293. }],
  9294. [{
  9295. type: 1
  9296. }, {
  9297. type: 1
  9298. }, {
  9299. type: 1
  9300. }, {
  9301. type: 1
  9302. }, {
  9303. type: 1
  9304. }, {
  9305. type: 1
  9306. }, {
  9307. type: 1
  9308. }, {
  9309. type: 1
  9310. }],
  9311. [{
  9312. type: 1
  9313. }, {
  9314. type: 1
  9315. }, {
  9316. type: 1
  9317. }, {
  9318. type: 1
  9319. }, {
  9320. type: 1
  9321. }, {
  9322. type: 1
  9323. }, {
  9324. type: 1
  9325. }, {
  9326. type: 1
  9327. }],
  9328. [{
  9329. type: 1
  9330. }, {
  9331. type: 1
  9332. }, {
  9333. type: 1
  9334. }, {
  9335. type: 1
  9336. }, {
  9337. type: 1
  9338. }, {
  9339. type: 1
  9340. }, {
  9341. type: 1
  9342. }, {
  9343. type: 1
  9344. }],
  9345. [{
  9346. type: 1
  9347. }, {
  9348. type: 1
  9349. }, {
  9350. type: 1
  9351. }, {
  9352. type: 1
  9353. }, {
  9354. type: 1
  9355. }, {
  9356. type: 1
  9357. }, {
  9358. type: 1
  9359. }, {
  9360. type: 1
  9361. }],
  9362. [{
  9363. type: 1
  9364. }, {
  9365. type: 1
  9366. }, {
  9367. type: 1
  9368. }, {
  9369. type: 1
  9370. }, {
  9371. type: 1
  9372. }, {
  9373. type: 1
  9374. }, {
  9375. type: 1
  9376. }, {
  9377. type: 1
  9378. }]
  9379. ]
  9380. })
  9381. };
  9382. a.addLevel0039 = function(a) {
  9383. a.push({
  9384. type: 1,
  9385. maxMoves: 3,
  9386. objects: [{
  9387. type: 2,
  9388. x: 1.5,
  9389. y: 7.5,
  9390. radius: .5,
  9391. speed: 9,
  9392. points: 0,
  9393. path: [{
  9394. x: 1.5,
  9395. y: 7.5
  9396. }, {
  9397. x: 1.5,
  9398. y: 12
  9399. }, {
  9400. x: 15.5,
  9401. y: 12
  9402. }, {
  9403. x: 15.5,
  9404. y: 7.5
  9405. }],
  9406. loop: !0,
  9407. chaser: !1
  9408. }, {
  9409. type: 5,
  9410. x: 3.5,
  9411. y: 6,
  9412. x2: 13.5,
  9413. y2: 6,
  9414. speed1: 1,
  9415. speed2: 1,
  9416. continuous: !0
  9417. }, {
  9418. type: 5,
  9419. x: 3.5,
  9420. y: 10,
  9421. x2: 13.5,
  9422. y2: 10,
  9423. speed1: 1,
  9424. speed2: 1,
  9425. continuous: !0
  9426. }, {
  9427. type: 5,
  9428. x: 3.5,
  9429. y: 14,
  9430. x2: 13.5,
  9431. y2: 14,
  9432. speed1: 1,
  9433. speed2: 1,
  9434. continuous: !0
  9435. }, {
  9436. type: 1,
  9437. x: 3,
  9438. y: 2,
  9439. radius: 1,
  9440. speed: 20,
  9441. points: 0,
  9442. path: [],
  9443. loop: !1,
  9444. chaser: !1
  9445. }, {
  9446. type: 3,
  9447. x: 1.5,
  9448. y: 5,
  9449. radius: 1,
  9450. speed: 7,
  9451. points: 10,
  9452. path: [],
  9453. loop: !1,
  9454. chaser: !1
  9455. }, {
  9456. type: 3,
  9457. x: 8.5,
  9458. y: 7.5,
  9459. radius: 1,
  9460. speed: 7,
  9461. points: 50,
  9462. path: [],
  9463. loop: !1,
  9464. chaser: !1
  9465. }, {
  9466. type: 3,
  9467. x: 8.5,
  9468. y: 12,
  9469. radius: 1,
  9470. speed: 7,
  9471. points: 50,
  9472. path: [],
  9473. loop: !1,
  9474. chaser: !1
  9475. }, {
  9476. type: 3,
  9477. x: 12.5,
  9478. y: 12,
  9479. radius: 1,
  9480. speed: 7,
  9481. points: 20,
  9482. path: [],
  9483. loop: !1,
  9484. chaser: !1
  9485. }, {
  9486. type: 3,
  9487. x: 4.5,
  9488. y: 12,
  9489. radius: 1,
  9490. speed: 7,
  9491. points: 20,
  9492. path: [],
  9493. loop: !1,
  9494. chaser: !1
  9495. }, {
  9496. type: 3,
  9497. x: 12.5,
  9498. y: 7.5,
  9499. radius: 1,
  9500. speed: 7,
  9501. points: 20,
  9502. path: [],
  9503. loop: !1,
  9504. chaser: !1
  9505. }, {
  9506. type: 3,
  9507. x: 4.5,
  9508. y: 7.5,
  9509. radius: 1,
  9510. speed: 7,
  9511. points: 20,
  9512. path: [],
  9513. loop: !1,
  9514. chaser: !1
  9515. }],
  9516. cells: [
  9517. [{
  9518. type: 1
  9519. }, {
  9520. type: 1
  9521. }, {
  9522. type: 1
  9523. }, {
  9524. type: 1
  9525. }, {
  9526. type: 1
  9527. }, {
  9528. type: 1
  9529. }, {
  9530. type: 1
  9531. }, {
  9532. type: 1
  9533. }],
  9534. [{
  9535. type: 1
  9536. }, {
  9537. type: 1
  9538. }, {
  9539. type: 1
  9540. }, {
  9541. type: 1
  9542. }, {
  9543. type: 1
  9544. }, {
  9545. type: 1
  9546. }, {
  9547. type: 1
  9548. }, {
  9549. type: 1
  9550. }],
  9551. [{
  9552. type: 1
  9553. }, {
  9554. type: 1
  9555. }, {
  9556. type: 1
  9557. }, {
  9558. type: 1
  9559. }, {
  9560. type: 1
  9561. }, {
  9562. type: 1
  9563. }, {
  9564. type: 1
  9565. }, {
  9566. type: 1
  9567. }],
  9568. [{
  9569. type: 1
  9570. }, {
  9571. type: 1
  9572. }, {
  9573. type: 1
  9574. }, {
  9575. type: 1
  9576. }, {
  9577. type: 1
  9578. }, {
  9579. type: 1
  9580. }, {
  9581. type: 1
  9582. }, {
  9583. type: 1
  9584. }],
  9585. [{
  9586. type: 1
  9587. }, {
  9588. type: 1
  9589. }, {
  9590. type: 1
  9591. }, {
  9592. type: 1
  9593. }, {
  9594. type: 1
  9595. }, {
  9596. type: 1
  9597. }, {
  9598. type: 1
  9599. }, {
  9600. type: 1
  9601. }],
  9602. [{
  9603. type: 1
  9604. }, {
  9605. type: 1
  9606. }, {
  9607. type: 1
  9608. }, {
  9609. type: 1
  9610. }, {
  9611. type: 1
  9612. }, {
  9613. type: 1
  9614. }, {
  9615. type: 1
  9616. }, {
  9617. type: 1
  9618. }],
  9619. [{
  9620. type: 1
  9621. }, {
  9622. type: 1
  9623. }, {
  9624. type: 1
  9625. }, {
  9626. type: 1
  9627. }, {
  9628. type: 1
  9629. }, {
  9630. type: 1
  9631. }, {
  9632. type: 1
  9633. }, {
  9634. type: 1
  9635. }],
  9636. [{
  9637. type: 1
  9638. }, {
  9639. type: 1
  9640. }, {
  9641. type: 1
  9642. }, {
  9643. type: 1
  9644. }, {
  9645. type: 1
  9646. }, {
  9647. type: 1
  9648. }, {
  9649. type: 1
  9650. }, {
  9651. type: 1
  9652. }]
  9653. ]
  9654. })
  9655. };
  9656. a.addLevel0040 = function(a) {
  9657. a.push({
  9658. type: 1,
  9659. maxMoves: 3,
  9660. objects: [{
  9661. type: 2,
  9662. x: 4,
  9663. y: 10.5,
  9664. radius: .5,
  9665. speed: 9,
  9666. points: 0,
  9667. path: [{
  9668. x: 4,
  9669. y: 10.5
  9670. }, {
  9671. x: 12.5,
  9672. y: 10.5
  9673. }],
  9674. loop: !0,
  9675. chaser: !1
  9676. }, {
  9677. type: 5,
  9678. x: 4,
  9679. y: 4,
  9680. x2: 8.5,
  9681. y2: 8.5,
  9682. speed1: 1,
  9683. speed2: 1,
  9684. continuous: !1
  9685. }, {
  9686. type: 5,
  9687. x: 13,
  9688. y: 4,
  9689. x2: 8.5,
  9690. y2: 8.5,
  9691. speed1: 1,
  9692. speed2: 1,
  9693. continuous: !1
  9694. }, {
  9695. type: 5,
  9696. x: 4,
  9697. y: 13,
  9698. x2: 4,
  9699. y2: 4,
  9700. speed1: 1,
  9701. speed2: 1,
  9702. continuous: !1
  9703. }, {
  9704. type: 5,
  9705. x: 13,
  9706. y: 13,
  9707. x2: 13,
  9708. y2: 4,
  9709. speed1: 1,
  9710. speed2: 1,
  9711. continuous: !1
  9712. }, {
  9713. type: 1,
  9714. x: 3,
  9715. y: 2,
  9716. radius: 1,
  9717. speed: 20,
  9718. points: 0,
  9719. path: [],
  9720. loop: !1,
  9721. chaser: !1
  9722. }, {
  9723. type: 3,
  9724. x: 8.5,
  9725. y: 12,
  9726. radius: 1,
  9727. speed: 7,
  9728. points: 50,
  9729. path: [],
  9730. loop: !1,
  9731. chaser: !1
  9732. }, {
  9733. type: 3,
  9734. x: 11.5,
  9735. y: 8.5,
  9736. radius: 1,
  9737. speed: 7,
  9738. points: 20,
  9739. path: [],
  9740. loop: !1,
  9741. chaser: !1
  9742. }, {
  9743. type: 3,
  9744. x: 5.5,
  9745. y: 8.5,
  9746. radius: 1,
  9747. speed: 7,
  9748. points: 20,
  9749. path: [],
  9750. loop: !1,
  9751. chaser: !1
  9752. }, {
  9753. type: 3,
  9754. x: 8.5,
  9755. y: 5.5,
  9756. radius: 1,
  9757. speed: 7,
  9758. points: 10,
  9759. path: [],
  9760. loop: !1,
  9761. chaser: !1
  9762. }],
  9763. cells: [
  9764. [{
  9765. type: 1
  9766. }, {
  9767. type: 1
  9768. }, {
  9769. type: 1
  9770. }, {
  9771. type: 1
  9772. }, {
  9773. type: 1
  9774. }, {
  9775. type: 1
  9776. }, {
  9777. type: 1
  9778. }, {
  9779. type: 1
  9780. }],
  9781. [{
  9782. type: 1
  9783. }, {
  9784. type: 1
  9785. }, {
  9786. type: 1
  9787. }, {
  9788. type: 1
  9789. }, {
  9790. type: 1
  9791. }, {
  9792. type: 1
  9793. }, {
  9794. type: 1
  9795. }, {
  9796. type: 1
  9797. }],
  9798. [{
  9799. type: 1
  9800. }, {
  9801. type: 1
  9802. }, {
  9803. type: 1
  9804. }, {
  9805. type: 1
  9806. }, {
  9807. type: 1
  9808. }, {
  9809. type: 1
  9810. }, {
  9811. type: 1
  9812. }, {
  9813. type: 1
  9814. }],
  9815. [{
  9816. type: 1
  9817. }, {
  9818. type: 1
  9819. }, {
  9820. type: 1
  9821. }, {
  9822. type: 1
  9823. }, {
  9824. type: 1
  9825. }, {
  9826. type: 1
  9827. }, {
  9828. type: 1
  9829. }, {
  9830. type: 1
  9831. }],
  9832. [{
  9833. type: 1
  9834. }, {
  9835. type: 1
  9836. }, {
  9837. type: 1
  9838. }, {
  9839. type: 1
  9840. }, {
  9841. type: 1
  9842. }, {
  9843. type: 1
  9844. }, {
  9845. type: 1
  9846. }, {
  9847. type: 1
  9848. }],
  9849. [{
  9850. type: 1
  9851. }, {
  9852. type: 1
  9853. }, {
  9854. type: 1
  9855. }, {
  9856. type: 1
  9857. }, {
  9858. type: 1
  9859. }, {
  9860. type: 1
  9861. }, {
  9862. type: 1
  9863. }, {
  9864. type: 1
  9865. }],
  9866. [{
  9867. type: 1
  9868. }, {
  9869. type: 1
  9870. }, {
  9871. type: 1
  9872. }, {
  9873. type: 1
  9874. }, {
  9875. type: 1
  9876. }, {
  9877. type: 1
  9878. }, {
  9879. type: 1
  9880. }, {
  9881. type: 1
  9882. }],
  9883. [{
  9884. type: 1
  9885. }, {
  9886. type: 1
  9887. }, {
  9888. type: 1
  9889. }, {
  9890. type: 1
  9891. }, {
  9892. type: 1
  9893. }, {
  9894. type: 1
  9895. }, {
  9896. type: 1
  9897. }, {
  9898. type: 1
  9899. }]
  9900. ]
  9901. })
  9902. };
  9903. a.addLevel0041 = function(a) {
  9904. a.push({
  9905. type: 1,
  9906. maxMoves: 3,
  9907. objects: [{
  9908. type: 2,
  9909. x: 4.5,
  9910. y: 10.5,
  9911. radius: .5,
  9912. speed: 9,
  9913. points: 0,
  9914. path: [],
  9915. loop: !1,
  9916. chaser: !0
  9917. }, {
  9918. type: 2,
  9919. x: 12,
  9920. y: 10.5,
  9921. radius: .5,
  9922. speed: 9,
  9923. points: 0,
  9924. path: [],
  9925. loop: !1,
  9926. chaser: !0
  9927. }, {
  9928. type: 5,
  9929. x: .5,
  9930. y: 13,
  9931. x2: 16.5,
  9932. y2: 13,
  9933. speed1: 1,
  9934. speed2: 1,
  9935. continuous: !1
  9936. }, {
  9937. type: 1,
  9938. x: 3,
  9939. y: 2,
  9940. radius: 1,
  9941. speed: 20,
  9942. points: 0,
  9943. path: [],
  9944. loop: !1,
  9945. chaser: !1
  9946. }, {
  9947. type: 3,
  9948. x: 8.5,
  9949. y: 15,
  9950. radius: 1,
  9951. speed: 7,
  9952. points: 50,
  9953. path: [],
  9954. loop: !1,
  9955. chaser: !1
  9956. }, {
  9957. type: 3,
  9958. x: 13.5,
  9959. y: 8.5,
  9960. radius: 1,
  9961. speed: 7,
  9962. points: 20,
  9963. path: [],
  9964. loop: !1,
  9965. chaser: !1
  9966. }, {
  9967. type: 3,
  9968. x: 3.5,
  9969. y: 8.5,
  9970. radius: 1,
  9971. speed: 7,
  9972. points: 20,
  9973. path: [],
  9974. loop: !1,
  9975. chaser: !1
  9976. }, {
  9977. type: 3,
  9978. x: 8.5,
  9979. y: 5.5,
  9980. radius: 1,
  9981. speed: 7,
  9982. points: 10,
  9983. path: [],
  9984. loop: !1,
  9985. chaser: !1
  9986. }],
  9987. cells: [
  9988. [{
  9989. type: 1
  9990. }, {
  9991. type: 1
  9992. }, {
  9993. type: 1
  9994. }, {
  9995. type: 1
  9996. }, {
  9997. type: 1
  9998. }, {
  9999. type: 1
  10000. }, {
  10001. type: 1
  10002. }, {
  10003. type: 1
  10004. }],
  10005. [{
  10006. type: 1
  10007. }, {
  10008. type: 1
  10009. }, {
  10010. type: 1
  10011. }, {
  10012. type: 1
  10013. }, {
  10014. type: 1
  10015. }, {
  10016. type: 1
  10017. }, {
  10018. type: 1
  10019. }, {
  10020. type: 1
  10021. }],
  10022. [{
  10023. type: 1
  10024. }, {
  10025. type: 1
  10026. }, {
  10027. type: 1
  10028. }, {
  10029. type: 1
  10030. }, {
  10031. type: 1
  10032. }, {
  10033. type: 1
  10034. }, {
  10035. type: 1
  10036. }, {
  10037. type: 1
  10038. }],
  10039. [{
  10040. type: 1
  10041. }, {
  10042. type: 1
  10043. }, {
  10044. type: 1
  10045. }, {
  10046. type: 1
  10047. }, {
  10048. type: 1
  10049. }, {
  10050. type: 1
  10051. }, {
  10052. type: 1
  10053. }, {
  10054. type: 1
  10055. }],
  10056. [{
  10057. type: 1
  10058. }, {
  10059. type: 1
  10060. }, {
  10061. type: 1
  10062. }, {
  10063. type: 1
  10064. }, {
  10065. type: 1
  10066. }, {
  10067. type: 1
  10068. }, {
  10069. type: 1
  10070. }, {
  10071. type: 1
  10072. }],
  10073. [{
  10074. type: 1
  10075. }, {
  10076. type: 1
  10077. }, {
  10078. type: 1
  10079. }, {
  10080. type: 1
  10081. }, {
  10082. type: 1
  10083. }, {
  10084. type: 1
  10085. }, {
  10086. type: 1
  10087. }, {
  10088. type: 1
  10089. }],
  10090. [{
  10091. type: 1
  10092. }, {
  10093. type: 1
  10094. }, {
  10095. type: 1
  10096. }, {
  10097. type: 1
  10098. }, {
  10099. type: 1
  10100. }, {
  10101. type: 1
  10102. }, {
  10103. type: 1
  10104. }, {
  10105. type: 1
  10106. }],
  10107. [{
  10108. type: 1
  10109. }, {
  10110. type: 1
  10111. }, {
  10112. type: 1
  10113. }, {
  10114. type: 1
  10115. }, {
  10116. type: 1
  10117. }, {
  10118. type: 1
  10119. }, {
  10120. type: 1
  10121. }, {
  10122. type: 1
  10123. }]
  10124. ]
  10125. })
  10126. };
  10127. a.addLevel0042 = function(a) {
  10128. a.push({
  10129. type: 1,
  10130. maxMoves: 3,
  10131. objects: [{
  10132. type: 2,
  10133. x: 4.5,
  10134. y: 10.5,
  10135. radius: .5,
  10136. speed: 9,
  10137. points: 0,
  10138. path: [],
  10139. loop: !1,
  10140. chaser: !0
  10141. }, {
  10142. type: 2,
  10143. x: 12,
  10144. y: 10.5,
  10145. radius: .5,
  10146. speed: 9,
  10147. points: 0,
  10148. path: [],
  10149. loop: !1,
  10150. chaser: !0
  10151. }, {
  10152. type: 5,
  10153. x: .5,
  10154. y: 13,
  10155. x2: 16.5,
  10156. y2: 13,
  10157. speed1: 1,
  10158. speed2: 1,
  10159. continuous: !1
  10160. }, {
  10161. type: 5,
  10162. x: 8.5,
  10163. y: 5,
  10164. x2: 8.5,
  10165. y2: 16.5,
  10166. speed1: 1,
  10167. speed2: 1,
  10168. continuous: !0
  10169. }, {
  10170. type: 1,
  10171. x: 3,
  10172. y: 2,
  10173. radius: 1,
  10174. speed: 20,
  10175. points: 0,
  10176. path: [],
  10177. loop: !1,
  10178. chaser: !1
  10179. }, {
  10180. type: 3,
  10181. x: 10,
  10182. y: 9.5,
  10183. radius: 1,
  10184. speed: 7,
  10185. points: 20,
  10186. path: [],
  10187. loop: !1,
  10188. chaser: !1
  10189. }, {
  10190. type: 3,
  10191. x: 13.5,
  10192. y: 15.5,
  10193. radius: 1,
  10194. speed: 7,
  10195. points: 50,
  10196. path: [],
  10197. loop: !1,
  10198. chaser: !1
  10199. }, {
  10200. type: 3,
  10201. x: .5,
  10202. y: 7.5,
  10203. radius: 1,
  10204. speed: 7,
  10205. points: 20,
  10206. path: [{
  10207. x: .5,
  10208. y: 7.5
  10209. }, {
  10210. x: 7,
  10211. y: 7.5
  10212. }],
  10213. loop: !0,
  10214. chaser: !1
  10215. }],
  10216. cells: [
  10217. [{
  10218. type: 1
  10219. }, {
  10220. type: 1
  10221. }, {
  10222. type: 1
  10223. }, {
  10224. type: 1
  10225. }, {
  10226. type: 1
  10227. }, {
  10228. type: 1
  10229. }, {
  10230. type: 1
  10231. }, {
  10232. type: 1
  10233. }],
  10234. [{
  10235. type: 1
  10236. }, {
  10237. type: 1
  10238. }, {
  10239. type: 1
  10240. }, {
  10241. type: 1
  10242. }, {
  10243. type: 1
  10244. }, {
  10245. type: 1
  10246. }, {
  10247. type: 1
  10248. }, {
  10249. type: 1
  10250. }],
  10251. [{
  10252. type: 1
  10253. }, {
  10254. type: 1
  10255. }, {
  10256. type: 1
  10257. }, {
  10258. type: 1
  10259. }, {
  10260. type: 1
  10261. }, {
  10262. type: 1
  10263. }, {
  10264. type: 1
  10265. }, {
  10266. type: 1
  10267. }],
  10268. [{
  10269. type: 1
  10270. }, {
  10271. type: 1
  10272. }, {
  10273. type: 1
  10274. }, {
  10275. type: 1
  10276. }, {
  10277. type: 1
  10278. }, {
  10279. type: 1
  10280. }, {
  10281. type: 1
  10282. }, {
  10283. type: 1
  10284. }],
  10285. [{
  10286. type: 1
  10287. }, {
  10288. type: 1
  10289. }, {
  10290. type: 1
  10291. }, {
  10292. type: 1
  10293. }, {
  10294. type: 1
  10295. }, {
  10296. type: 1
  10297. }, {
  10298. type: 1
  10299. }, {
  10300. type: 1
  10301. }],
  10302. [{
  10303. type: 1
  10304. }, {
  10305. type: 1
  10306. }, {
  10307. type: 1
  10308. }, {
  10309. type: 1
  10310. }, {
  10311. type: 1
  10312. }, {
  10313. type: 1
  10314. }, {
  10315. type: 1
  10316. }, {
  10317. type: 1
  10318. }],
  10319. [{
  10320. type: 1
  10321. }, {
  10322. type: 1
  10323. }, {
  10324. type: 1
  10325. }, {
  10326. type: 1
  10327. }, {
  10328. type: 1
  10329. }, {
  10330. type: 1
  10331. }, {
  10332. type: 1
  10333. }, {
  10334. type: 1
  10335. }],
  10336. [{
  10337. type: 1
  10338. }, {
  10339. type: 1
  10340. }, {
  10341. type: 1
  10342. }, {
  10343. type: 1
  10344. }, {
  10345. type: 1
  10346. }, {
  10347. type: 1
  10348. }, {
  10349. type: 1
  10350. }, {
  10351. type: 1
  10352. }]
  10353. ]
  10354. })
  10355. };
  10356. a.addLevel0043 = function(a) {
  10357. a.push({
  10358. type: 1,
  10359. maxMoves: 3,
  10360. objects: [{
  10361. type: 2,
  10362. x: 4.5,
  10363. y: 10.5,
  10364. radius: .5,
  10365. speed: 9,
  10366. points: 0,
  10367. path: [],
  10368. loop: !1,
  10369. chaser: !0
  10370. }, {
  10371. type: 2,
  10372. x: 12,
  10373. y: 10.5,
  10374. radius: .5,
  10375. speed: 9,
  10376. points: 0,
  10377. path: [],
  10378. loop: !1,
  10379. chaser: !0
  10380. }, {
  10381. type: 2,
  10382. x: 15,
  10383. y: 3.5,
  10384. radius: .5,
  10385. speed: 9,
  10386. points: 0,
  10387. path: [],
  10388. loop: !1,
  10389. chaser: !0
  10390. }, {
  10391. type: 5,
  10392. x: 8.5,
  10393. y: 5,
  10394. x2: 8.5,
  10395. y2: 10.5,
  10396. speed1: 1,
  10397. speed2: 1,
  10398. continuous: !0
  10399. }, {
  10400. type: 5,
  10401. x: 8.5,
  10402. y: 12.5,
  10403. x2: 8.5,
  10404. y2: 16.5,
  10405. speed1: 1,
  10406. speed2: 1,
  10407. continuous: !1
  10408. }, {
  10409. type: 1,
  10410. x: 3,
  10411. y: 2,
  10412. radius: 1,
  10413. speed: 20,
  10414. points: 0,
  10415. path: [],
  10416. loop: !1,
  10417. chaser: !1
  10418. }, {
  10419. type: 3,
  10420. x: 13.5,
  10421. y: 15.5,
  10422. radius: 1,
  10423. speed: 7,
  10424. points: 50,
  10425. path: [],
  10426. loop: !1,
  10427. chaser: !1
  10428. }, {
  10429. type: 3,
  10430. x: .5,
  10431. y: 7.5,
  10432. radius: 1,
  10433. speed: 7,
  10434. points: 20,
  10435. path: [{
  10436. x: .5,
  10437. y: 7.5
  10438. }, {
  10439. x: 7,
  10440. y: 7.5
  10441. }],
  10442. loop: !0,
  10443. chaser: !1
  10444. }, {
  10445. type: 3,
  10446. x: 9.5,
  10447. y: 7.5,
  10448. radius: 1,
  10449. speed: 7,
  10450. points: 20,
  10451. path: [{
  10452. x: 10,
  10453. y: 7.5
  10454. }, {
  10455. x: 16.5,
  10456. y: 7.5
  10457. }],
  10458. loop: !0,
  10459. chaser: !1
  10460. }],
  10461. cells: [
  10462. [{
  10463. type: 1
  10464. }, {
  10465. type: 1
  10466. }, {
  10467. type: 1
  10468. }, {
  10469. type: 1
  10470. }, {
  10471. type: 1
  10472. }, {
  10473. type: 1
  10474. }, {
  10475. type: 1
  10476. }, {
  10477. type: 1
  10478. }],
  10479. [{
  10480. type: 1
  10481. }, {
  10482. type: 1
  10483. }, {
  10484. type: 1
  10485. }, {
  10486. type: 1
  10487. }, {
  10488. type: 1
  10489. }, {
  10490. type: 1
  10491. }, {
  10492. type: 1
  10493. }, {
  10494. type: 1
  10495. }],
  10496. [{
  10497. type: 1
  10498. }, {
  10499. type: 1
  10500. }, {
  10501. type: 1
  10502. }, {
  10503. type: 1
  10504. }, {
  10505. type: 1
  10506. }, {
  10507. type: 1
  10508. }, {
  10509. type: 1
  10510. }, {
  10511. type: 1
  10512. }],
  10513. [{
  10514. type: 1
  10515. }, {
  10516. type: 1
  10517. }, {
  10518. type: 1
  10519. }, {
  10520. type: 1
  10521. }, {
  10522. type: 1
  10523. }, {
  10524. type: 1
  10525. }, {
  10526. type: 1
  10527. }, {
  10528. type: 1
  10529. }],
  10530. [{
  10531. type: 1
  10532. }, {
  10533. type: 1
  10534. }, {
  10535. type: 1
  10536. }, {
  10537. type: 1
  10538. }, {
  10539. type: 1
  10540. }, {
  10541. type: 1
  10542. }, {
  10543. type: 1
  10544. }, {
  10545. type: 1
  10546. }],
  10547. [{
  10548. type: 1
  10549. }, {
  10550. type: 1
  10551. }, {
  10552. type: 1
  10553. }, {
  10554. type: 1
  10555. }, {
  10556. type: 1
  10557. }, {
  10558. type: 1
  10559. }, {
  10560. type: 1
  10561. }, {
  10562. type: 1
  10563. }],
  10564. [{
  10565. type: 1
  10566. }, {
  10567. type: 1
  10568. }, {
  10569. type: 1
  10570. }, {
  10571. type: 1
  10572. }, {
  10573. type: 1
  10574. }, {
  10575. type: 1
  10576. }, {
  10577. type: 1
  10578. }, {
  10579. type: 1
  10580. }],
  10581. [{
  10582. type: 1
  10583. }, {
  10584. type: 1
  10585. }, {
  10586. type: 1
  10587. }, {
  10588. type: 1
  10589. }, {
  10590. type: 1
  10591. }, {
  10592. type: 1
  10593. }, {
  10594. type: 1
  10595. }, {
  10596. type: 1
  10597. }]
  10598. ]
  10599. })
  10600. };
  10601. a.addLevel0044 = function(a) {
  10602. a.push({
  10603. type: 1,
  10604. maxMoves: 3,
  10605. objects: [{
  10606. type: 2,
  10607. x: 1.5,
  10608. y: 8,
  10609. radius: .5,
  10610. speed: 6,
  10611. points: 0,
  10612. path: [{
  10613. x: 1.5,
  10614. y: 8
  10615. }, {
  10616. x: 6.5,
  10617. y: 8
  10618. }],
  10619. loop: !0,
  10620. chaser: !1
  10621. }, {
  10622. type: 2,
  10623. x: 15.5,
  10624. y: 8,
  10625. radius: .5,
  10626. speed: 6,
  10627. points: 0,
  10628. path: [{
  10629. x: 15.5,
  10630. y: 8
  10631. }, {
  10632. x: 10.5,
  10633. y: 8
  10634. }],
  10635. loop: !0,
  10636. chaser: !1
  10637. }, {
  10638. type: 5,
  10639. x: .5,
  10640. y: 12,
  10641. x2: 16.5,
  10642. y2: 12,
  10643. speed1: 1,
  10644. speed2: 1,
  10645. continuous: !1
  10646. }, {
  10647. type: 5,
  10648. x: 8.5,
  10649. y: 12.5,
  10650. x2: 8.5,
  10651. y2: 16.5,
  10652. speed1: 1,
  10653. speed2: 1,
  10654. continuous: !1
  10655. }, {
  10656. type: 1,
  10657. x: 3,
  10658. y: 2,
  10659. radius: 1,
  10660. speed: 20,
  10661. points: 0,
  10662. path: [],
  10663. loop: !1,
  10664. chaser: !1
  10665. }, {
  10666. type: 3,
  10667. x: .5,
  10668. y: 13.5,
  10669. radius: 1,
  10670. speed: 7,
  10671. points: 20,
  10672. path: [{
  10673. x: .5,
  10674. y: 13.5
  10675. }, {
  10676. x: 7,
  10677. y: 7.5
  10678. }],
  10679. loop: !0,
  10680. chaser: !1
  10681. }, {
  10682. type: 3,
  10683. x: 9.5,
  10684. y: 13.5,
  10685. radius: 1,
  10686. speed: 7,
  10687. points: 20,
  10688. path: [{
  10689. x: 10,
  10690. y: 13.5
  10691. }, {
  10692. x: 16.5,
  10693. y: 7.5
  10694. }],
  10695. loop: !0,
  10696. chaser: !1
  10697. }, {
  10698. type: 3,
  10699. x: 7,
  10700. y: 9.5,
  10701. radius: 1,
  10702. speed: 7,
  10703. points: 30,
  10704. path: [{
  10705. x: .5,
  10706. y: 15.5
  10707. }, {
  10708. x: 7,
  10709. y: 9.5
  10710. }],
  10711. loop: !0,
  10712. chaser: !1
  10713. }, {
  10714. type: 3,
  10715. x: 16.5,
  10716. y: 9.5,
  10717. radius: 1,
  10718. speed: 7,
  10719. points: 30,
  10720. path: [{
  10721. x: 10,
  10722. y: 15.5
  10723. }, {
  10724. x: 16.5,
  10725. y: 9.5
  10726. }],
  10727. loop: !0,
  10728. chaser: !1
  10729. }],
  10730. cells: [
  10731. [{
  10732. type: 1
  10733. }, {
  10734. type: 1
  10735. }, {
  10736. type: 1
  10737. }, {
  10738. type: 1
  10739. }, {
  10740. type: 1
  10741. }, {
  10742. type: 1
  10743. }, {
  10744. type: 1
  10745. }, {
  10746. type: 1
  10747. }],
  10748. [{
  10749. type: 1
  10750. }, {
  10751. type: 1
  10752. }, {
  10753. type: 1
  10754. }, {
  10755. type: 1
  10756. }, {
  10757. type: 1
  10758. }, {
  10759. type: 1
  10760. }, {
  10761. type: 1
  10762. }, {
  10763. type: 1
  10764. }],
  10765. [{
  10766. type: 1
  10767. }, {
  10768. type: 1
  10769. }, {
  10770. type: 1
  10771. }, {
  10772. type: 1
  10773. }, {
  10774. type: 1
  10775. }, {
  10776. type: 1
  10777. }, {
  10778. type: 1
  10779. }, {
  10780. type: 1
  10781. }],
  10782. [{
  10783. type: 1
  10784. }, {
  10785. type: 1
  10786. }, {
  10787. type: 1
  10788. }, {
  10789. type: 1
  10790. }, {
  10791. type: 1
  10792. }, {
  10793. type: 1
  10794. }, {
  10795. type: 1
  10796. }, {
  10797. type: 1
  10798. }],
  10799. [{
  10800. type: 1
  10801. }, {
  10802. type: 1
  10803. }, {
  10804. type: 1
  10805. }, {
  10806. type: 1
  10807. }, {
  10808. type: 1
  10809. }, {
  10810. type: 1
  10811. }, {
  10812. type: 1
  10813. }, {
  10814. type: 1
  10815. }],
  10816. [{
  10817. type: 1
  10818. }, {
  10819. type: 1
  10820. }, {
  10821. type: 1
  10822. }, {
  10823. type: 1
  10824. }, {
  10825. type: 1
  10826. }, {
  10827. type: 1
  10828. }, {
  10829. type: 1
  10830. }, {
  10831. type: 1
  10832. }],
  10833. [{
  10834. type: 1
  10835. }, {
  10836. type: 1
  10837. }, {
  10838. type: 1
  10839. }, {
  10840. type: 1
  10841. }, {
  10842. type: 1
  10843. }, {
  10844. type: 1
  10845. }, {
  10846. type: 1
  10847. }, {
  10848. type: 1
  10849. }],
  10850. [{
  10851. type: 1
  10852. }, {
  10853. type: 1
  10854. }, {
  10855. type: 1
  10856. }, {
  10857. type: 1
  10858. }, {
  10859. type: 1
  10860. }, {
  10861. type: 1
  10862. }, {
  10863. type: 1
  10864. }, {
  10865. type: 1
  10866. }]
  10867. ]
  10868. })
  10869. };
  10870. a.addLevel0045 = function(a) {
  10871. a.push({
  10872. type: 1,
  10873. maxMoves: 3,
  10874. objects: [{
  10875. type: 2,
  10876. x: 1.5,
  10877. y: 8,
  10878. radius: .5,
  10879. speed: 6,
  10880. points: 0,
  10881. path: [{
  10882. x: 1.5,
  10883. y: 8
  10884. }, {
  10885. x: 6.5,
  10886. y: 15
  10887. }, {
  10888. x: 6.5,
  10889. y: 10
  10890. }],
  10891. loop: !0,
  10892. chaser: !1
  10893. }, {
  10894. type: 2,
  10895. x: 15.5,
  10896. y: 8,
  10897. radius: .5,
  10898. speed: 6,
  10899. points: 0,
  10900. path: [{
  10901. x: 15.5,
  10902. y: 8
  10903. }, {
  10904. x: 10.5,
  10905. y: 15
  10906. }, {
  10907. x: 10.5,
  10908. y: 10
  10909. }],
  10910. loop: !0,
  10911. chaser: !1
  10912. }, {
  10913. type: 5,
  10914. x: 8.5,
  10915. y: 3.5,
  10916. x2: 8.5,
  10917. y2: 12.5,
  10918. speed1: 1,
  10919. speed2: 1,
  10920. continuous: !1
  10921. }, {
  10922. type: 1,
  10923. x: 3,
  10924. y: 2,
  10925. radius: 1,
  10926. speed: 20,
  10927. points: 0,
  10928. path: [],
  10929. loop: !1,
  10930. chaser: !1
  10931. }, {
  10932. type: 3,
  10933. x: 7,
  10934. y: 7.5,
  10935. radius: 1,
  10936. speed: 7,
  10937. points: 20,
  10938. path: [{
  10939. x: .5,
  10940. y: 13.5
  10941. }, {
  10942. x: 7,
  10943. y: 7.5
  10944. }],
  10945. loop: !0,
  10946. chaser: !1
  10947. }, {
  10948. type: 3,
  10949. x: 16.5,
  10950. y: 2.5,
  10951. radius: 1,
  10952. speed: 7,
  10953. points: 20,
  10954. path: [{
  10955. x: 10,
  10956. y: 8.5
  10957. }, {
  10958. x: 16.5,
  10959. y: 2.5
  10960. }],
  10961. loop: !0,
  10962. chaser: !1
  10963. }, {
  10964. type: 3,
  10965. x: 7,
  10966. y: 9.5,
  10967. radius: 1,
  10968. speed: 7,
  10969. points: 30,
  10970. path: [{
  10971. x: .5,
  10972. y: 15.5
  10973. }, {
  10974. x: 7,
  10975. y: 9.5
  10976. }],
  10977. loop: !0,
  10978. chaser: !1
  10979. }, {
  10980. type: 3,
  10981. x: 16.5,
  10982. y: 4.5,
  10983. radius: 1,
  10984. speed: 7,
  10985. points: 30,
  10986. path: [{
  10987. x: 10,
  10988. y: 10.5
  10989. }, {
  10990. x: 16.5,
  10991. y: 4.5
  10992. }],
  10993. loop: !0,
  10994. chaser: !1
  10995. }],
  10996. cells: [
  10997. [{
  10998. type: 1
  10999. }, {
  11000. type: 1
  11001. }, {
  11002. type: 1
  11003. }, {
  11004. type: 1
  11005. }, {
  11006. type: 1
  11007. }, {
  11008. type: 1
  11009. }, {
  11010. type: 1
  11011. }, {
  11012. type: 1
  11013. }],
  11014. [{
  11015. type: 1
  11016. }, {
  11017. type: 1
  11018. }, {
  11019. type: 1
  11020. }, {
  11021. type: 1
  11022. }, {
  11023. type: 1
  11024. }, {
  11025. type: 1
  11026. }, {
  11027. type: 1
  11028. }, {
  11029. type: 1
  11030. }],
  11031. [{
  11032. type: 1
  11033. }, {
  11034. type: 1
  11035. }, {
  11036. type: 1
  11037. }, {
  11038. type: 1
  11039. }, {
  11040. type: 1
  11041. }, {
  11042. type: 1
  11043. }, {
  11044. type: 1
  11045. }, {
  11046. type: 1
  11047. }],
  11048. [{
  11049. type: 1
  11050. }, {
  11051. type: 1
  11052. }, {
  11053. type: 1
  11054. }, {
  11055. type: 1
  11056. }, {
  11057. type: 1
  11058. }, {
  11059. type: 1
  11060. }, {
  11061. type: 1
  11062. }, {
  11063. type: 1
  11064. }],
  11065. [{
  11066. type: 1
  11067. }, {
  11068. type: 1
  11069. }, {
  11070. type: 1
  11071. }, {
  11072. type: 1
  11073. }, {
  11074. type: 1
  11075. }, {
  11076. type: 1
  11077. }, {
  11078. type: 1
  11079. }, {
  11080. type: 1
  11081. }],
  11082. [{
  11083. type: 1
  11084. }, {
  11085. type: 1
  11086. }, {
  11087. type: 1
  11088. }, {
  11089. type: 1
  11090. }, {
  11091. type: 1
  11092. }, {
  11093. type: 1
  11094. }, {
  11095. type: 1
  11096. }, {
  11097. type: 1
  11098. }],
  11099. [{
  11100. type: 1
  11101. }, {
  11102. type: 1
  11103. }, {
  11104. type: 1
  11105. }, {
  11106. type: 1
  11107. }, {
  11108. type: 1
  11109. }, {
  11110. type: 1
  11111. }, {
  11112. type: 1
  11113. }, {
  11114. type: 1
  11115. }],
  11116. [{
  11117. type: 1
  11118. }, {
  11119. type: 1
  11120. }, {
  11121. type: 1
  11122. }, {
  11123. type: 1
  11124. }, {
  11125. type: 1
  11126. }, {
  11127. type: 1
  11128. }, {
  11129. type: 1
  11130. }, {
  11131. type: 1
  11132. }]
  11133. ]
  11134. })
  11135. };
  11136. a.addLevel0046 = function(a) {
  11137. a.push({
  11138. type: 1,
  11139. maxMoves: 3,
  11140. objects: [{
  11141. type: 2,
  11142. x: 8.5,
  11143. y: 8.5,
  11144. radius: .5,
  11145. speed: 6,
  11146. points: 0,
  11147. path: [],
  11148. loop: !1,
  11149. chaser: !0
  11150. }, {
  11151. type: 1,
  11152. x: 3,
  11153. y: 2,
  11154. radius: 1,
  11155. speed: 20,
  11156. points: 0,
  11157. path: [],
  11158. loop: !1,
  11159. chaser: !1
  11160. }, {
  11161. type: 3,
  11162. x: 7,
  11163. y: 7.5,
  11164. radius: 1,
  11165. speed: 5,
  11166. points: 20,
  11167. path: [{
  11168. x: 15.5,
  11169. y: 13.5
  11170. }, {
  11171. x: 7,
  11172. y: 7.5
  11173. }],
  11174. loop: !0,
  11175. chaser: !1
  11176. }, {
  11177. type: 3,
  11178. x: 13.5,
  11179. y: 2.5,
  11180. radius: 1,
  11181. speed: 7,
  11182. points: 20,
  11183. path: [{
  11184. x: 12,
  11185. y: 8.5
  11186. }, {
  11187. x: 13.5,
  11188. y: 2.5
  11189. }],
  11190. loop: !0,
  11191. chaser: !1
  11192. }, {
  11193. type: 3,
  11194. x: 7,
  11195. y: 5.5,
  11196. radius: 1,
  11197. speed: 9,
  11198. points: 30,
  11199. path: [{
  11200. x: 5.5,
  11201. y: 11.5
  11202. }, {
  11203. x: 7,
  11204. y: 5.5
  11205. }],
  11206. loop: !0,
  11207. chaser: !1
  11208. }, {
  11209. type: 3,
  11210. x: 1.5,
  11211. y: 4.5,
  11212. radius: 1,
  11213. speed: 7,
  11214. points: 30,
  11215. path: [{
  11216. x: 10,
  11217. y: 10.5
  11218. }, {
  11219. x: 1.5,
  11220. y: 4.5
  11221. }],
  11222. loop: !0,
  11223. chaser: !1
  11224. }, {
  11225. type: 3,
  11226. x: 7,
  11227. y: 9.5,
  11228. radius: 1,
  11229. speed: 6,
  11230. points: 30,
  11231. path: [{
  11232. x: .5,
  11233. y: 15.5
  11234. }, {
  11235. x: 7,
  11236. y: 9.5
  11237. }],
  11238. loop: !0,
  11239. chaser: !1
  11240. }, {
  11241. type: 3,
  11242. x: 5.5,
  11243. y: 15.5,
  11244. radius: 1,
  11245. speed: 7,
  11246. points: 50,
  11247. path: [{
  11248. x: 15,
  11249. y: 15.5
  11250. }, {
  11251. x: 5.5,
  11252. y: 15.5
  11253. }],
  11254. loop: !0,
  11255. chaser: !1
  11256. }],
  11257. cells: [
  11258. [{
  11259. type: 1
  11260. }, {
  11261. type: 1
  11262. }, {
  11263. type: 1
  11264. }, {
  11265. type: 1
  11266. }, {
  11267. type: 1
  11268. }, {
  11269. type: 1
  11270. }, {
  11271. type: 1
  11272. }, {
  11273. type: 1
  11274. }],
  11275. [{
  11276. type: 1
  11277. }, {
  11278. type: 1
  11279. }, {
  11280. type: 1
  11281. }, {
  11282. type: 1
  11283. }, {
  11284. type: 1
  11285. }, {
  11286. type: 1
  11287. }, {
  11288. type: 1
  11289. }, {
  11290. type: 1
  11291. }],
  11292. [{
  11293. type: 1
  11294. }, {
  11295. type: 1
  11296. }, {
  11297. type: 1
  11298. }, {
  11299. type: 1
  11300. }, {
  11301. type: 1
  11302. }, {
  11303. type: 1
  11304. }, {
  11305. type: 1
  11306. }, {
  11307. type: 1
  11308. }],
  11309. [{
  11310. type: 1
  11311. }, {
  11312. type: 1
  11313. }, {
  11314. type: 1
  11315. }, {
  11316. type: 1
  11317. }, {
  11318. type: 1
  11319. }, {
  11320. type: 1
  11321. }, {
  11322. type: 1
  11323. }, {
  11324. type: 1
  11325. }],
  11326. [{
  11327. type: 1
  11328. }, {
  11329. type: 1
  11330. }, {
  11331. type: 1
  11332. }, {
  11333. type: 1
  11334. }, {
  11335. type: 1
  11336. }, {
  11337. type: 1
  11338. }, {
  11339. type: 1
  11340. }, {
  11341. type: 1
  11342. }],
  11343. [{
  11344. type: 1
  11345. }, {
  11346. type: 1
  11347. }, {
  11348. type: 1
  11349. }, {
  11350. type: 1
  11351. }, {
  11352. type: 1
  11353. }, {
  11354. type: 1
  11355. }, {
  11356. type: 1
  11357. }, {
  11358. type: 1
  11359. }],
  11360. [{
  11361. type: 1
  11362. }, {
  11363. type: 1
  11364. }, {
  11365. type: 1
  11366. }, {
  11367. type: 1
  11368. }, {
  11369. type: 1
  11370. }, {
  11371. type: 1
  11372. }, {
  11373. type: 1
  11374. }, {
  11375. type: 1
  11376. }],
  11377. [{
  11378. type: 1
  11379. }, {
  11380. type: 1
  11381. }, {
  11382. type: 1
  11383. }, {
  11384. type: 1
  11385. }, {
  11386. type: 1
  11387. }, {
  11388. type: 1
  11389. }, {
  11390. type: 1
  11391. }, {
  11392. type: 1
  11393. }]
  11394. ]
  11395. })
  11396. };
  11397. a.addLevel0047 = function(a) {
  11398. a.push({
  11399. type: 1,
  11400. maxMoves: 3,
  11401. objects: [{
  11402. type: 2,
  11403. x: 0,
  11404. y: 15,
  11405. radius: .5,
  11406. speed: 12,
  11407. points: 0,
  11408. path: [{
  11409. x: 0,
  11410. y: 15
  11411. }, {
  11412. x: 7.5,
  11413. y: 10
  11414. }, {
  11415. x: 3.5,
  11416. y: 6
  11417. }, {
  11418. x: 7.5,
  11419. y: 10
  11420. }],
  11421. loop: !0,
  11422. chaser: !1
  11423. }, {
  11424. type: 2,
  11425. x: 17,
  11426. y: 15,
  11427. radius: .5,
  11428. speed: 12,
  11429. points: 0,
  11430. path: [{
  11431. x: 17,
  11432. y: 15
  11433. }, {
  11434. x: 9.5,
  11435. y: 10
  11436. }, {
  11437. x: 13.5,
  11438. y: 6
  11439. }, {
  11440. x: 9.5,
  11441. y: 10
  11442. }],
  11443. loop: !0,
  11444. chaser: !1
  11445. }, {
  11446. type: 1,
  11447. x: 3,
  11448. y: 2,
  11449. radius: 1,
  11450. speed: 20,
  11451. points: 0,
  11452. path: [],
  11453. loop: !1,
  11454. chaser: !1
  11455. }, {
  11456. type: 3,
  11457. x: 7,
  11458. y: 7.5,
  11459. radius: 1,
  11460. speed: 5,
  11461. points: 20,
  11462. path: [{
  11463. x: 15.5,
  11464. y: 13.5
  11465. }, {
  11466. x: 7,
  11467. y: 7.5
  11468. }],
  11469. loop: !0,
  11470. chaser: !1
  11471. }, {
  11472. type: 3,
  11473. x: 13.5,
  11474. y: 2.5,
  11475. radius: 1,
  11476. speed: 7,
  11477. points: 20,
  11478. path: [{
  11479. x: 12,
  11480. y: 8.5
  11481. }, {
  11482. x: 13.5,
  11483. y: 2.5
  11484. }],
  11485. loop: !0,
  11486. chaser: !1
  11487. }, {
  11488. type: 3,
  11489. x: 7,
  11490. y: 5.5,
  11491. radius: 1,
  11492. speed: 9,
  11493. points: 30,
  11494. path: [{
  11495. x: 5.5,
  11496. y: 11.5
  11497. }, {
  11498. x: 7,
  11499. y: 5.5
  11500. }],
  11501. loop: !0,
  11502. chaser: !1
  11503. }, {
  11504. type: 3,
  11505. x: 1.5,
  11506. y: 4.5,
  11507. radius: 1,
  11508. speed: 7,
  11509. points: 30,
  11510. path: [{
  11511. x: 10,
  11512. y: 10.5
  11513. }, {
  11514. x: 1.5,
  11515. y: 4.5
  11516. }],
  11517. loop: !0,
  11518. chaser: !1
  11519. }, {
  11520. type: 3,
  11521. x: 7,
  11522. y: 9.5,
  11523. radius: 1,
  11524. speed: 6,
  11525. points: 30,
  11526. path: [{
  11527. x: .5,
  11528. y: 15.5
  11529. }, {
  11530. x: 7,
  11531. y: 9.5
  11532. }],
  11533. loop: !0,
  11534. chaser: !1
  11535. }, {
  11536. type: 3,
  11537. x: 5.5,
  11538. y: 15.5,
  11539. radius: 1,
  11540. speed: 7,
  11541. points: 50,
  11542. path: [{
  11543. x: 15,
  11544. y: 15.5
  11545. }, {
  11546. x: 5.5,
  11547. y: 15.5
  11548. }],
  11549. loop: !0,
  11550. chaser: !1
  11551. }],
  11552. cells: [
  11553. [{
  11554. type: 1
  11555. }, {
  11556. type: 1
  11557. }, {
  11558. type: 1
  11559. }, {
  11560. type: 1
  11561. }, {
  11562. type: 1
  11563. }, {
  11564. type: 1
  11565. }, {
  11566. type: 1
  11567. }, {
  11568. type: 1
  11569. }],
  11570. [{
  11571. type: 1
  11572. }, {
  11573. type: 1
  11574. }, {
  11575. type: 1
  11576. }, {
  11577. type: 1
  11578. }, {
  11579. type: 1
  11580. }, {
  11581. type: 1
  11582. }, {
  11583. type: 1
  11584. }, {
  11585. type: 1
  11586. }],
  11587. [{
  11588. type: 1
  11589. }, {
  11590. type: 1
  11591. }, {
  11592. type: 1
  11593. }, {
  11594. type: 1
  11595. }, {
  11596. type: 1
  11597. }, {
  11598. type: 1
  11599. }, {
  11600. type: 1
  11601. }, {
  11602. type: 1
  11603. }],
  11604. [{
  11605. type: 1
  11606. }, {
  11607. type: 1
  11608. }, {
  11609. type: 1
  11610. }, {
  11611. type: 1
  11612. }, {
  11613. type: 1
  11614. }, {
  11615. type: 1
  11616. }, {
  11617. type: 1
  11618. }, {
  11619. type: 1
  11620. }],
  11621. [{
  11622. type: 1
  11623. }, {
  11624. type: 1
  11625. }, {
  11626. type: 1
  11627. }, {
  11628. type: 1
  11629. }, {
  11630. type: 1
  11631. }, {
  11632. type: 1
  11633. }, {
  11634. type: 1
  11635. }, {
  11636. type: 1
  11637. }],
  11638. [{
  11639. type: 1
  11640. }, {
  11641. type: 1
  11642. }, {
  11643. type: 1
  11644. }, {
  11645. type: 1
  11646. }, {
  11647. type: 1
  11648. }, {
  11649. type: 1
  11650. }, {
  11651. type: 1
  11652. }, {
  11653. type: 1
  11654. }],
  11655. [{
  11656. type: 1
  11657. }, {
  11658. type: 1
  11659. }, {
  11660. type: 1
  11661. }, {
  11662. type: 1
  11663. }, {
  11664. type: 1
  11665. }, {
  11666. type: 1
  11667. }, {
  11668. type: 1
  11669. }, {
  11670. type: 1
  11671. }],
  11672. [{
  11673. type: 1
  11674. }, {
  11675. type: 1
  11676. }, {
  11677. type: 1
  11678. }, {
  11679. type: 1
  11680. }, {
  11681. type: 1
  11682. }, {
  11683. type: 1
  11684. }, {
  11685. type: 1
  11686. }, {
  11687. type: 1
  11688. }]
  11689. ]
  11690. })
  11691. };
  11692. a.addLevel0048 = function(a) {
  11693. a.push({
  11694. type: 1,
  11695. maxMoves: 3,
  11696. objects: [{
  11697. type: 2,
  11698. x: 8.5,
  11699. y: 8.5,
  11700. radius: .5,
  11701. speed: 9,
  11702. points: 0,
  11703. path: [{
  11704. x: 8.5,
  11705. y: 8.5
  11706. }, {
  11707. x: 8.5,
  11708. y: 2
  11709. }],
  11710. loop: !0,
  11711. chaser: !1
  11712. }, {
  11713. type: 2,
  11714. x: 6.5,
  11715. y: 10.5,
  11716. radius: .5,
  11717. speed: 9,
  11718. points: 0,
  11719. path: [{
  11720. x: 6.5,
  11721. y: 10.5
  11722. }, {
  11723. x: 10.5,
  11724. y: 10.5
  11725. }],
  11726. loop: !0,
  11727. chaser: !1
  11728. }, {
  11729. type: 5,
  11730. x: .5,
  11731. y: 12,
  11732. x2: 6.5,
  11733. y2: 8,
  11734. speed1: 1,
  11735. speed2: 1,
  11736. continuous: !0
  11737. }, {
  11738. type: 5,
  11739. x: 16.5,
  11740. y: 12,
  11741. x2: 10.5,
  11742. y2: 8,
  11743. speed1: 1,
  11744. speed2: 1,
  11745. continuous: !0
  11746. }, {
  11747. type: 1,
  11748. x: 3,
  11749. y: 2,
  11750. radius: 1,
  11751. speed: 20,
  11752. points: 0,
  11753. path: [],
  11754. loop: !1,
  11755. chaser: !1
  11756. }, {
  11757. type: 3,
  11758. x: 8.5,
  11759. y: 15,
  11760. radius: 1,
  11761. speed: 7,
  11762. points: 50,
  11763. path: [],
  11764. loop: !1,
  11765. chaser: !1
  11766. }, {
  11767. type: 3,
  11768. x: 12.5,
  11769. y: 12.5,
  11770. radius: 1,
  11771. speed: 7,
  11772. points: 20,
  11773. path: [],
  11774. loop: !1,
  11775. chaser: !1
  11776. }, {
  11777. type: 3,
  11778. x: 4.5,
  11779. y: 12.5,
  11780. radius: 1,
  11781. speed: 7,
  11782. points: 20,
  11783. path: [],
  11784. loop: !1,
  11785. chaser: !1
  11786. }, {
  11787. type: 3,
  11788. x: 11.5,
  11789. y: 5.5,
  11790. radius: 1,
  11791. speed: 7,
  11792. points: 50,
  11793. path: [{
  11794. x: 11.5,
  11795. y: 5.5
  11796. }, {
  11797. x: 15.5,
  11798. y: 5.5
  11799. }],
  11800. loop: !0,
  11801. chaser: !1
  11802. }, {
  11803. type: 3,
  11804. x: 5.5,
  11805. y: 5.5,
  11806. radius: 1,
  11807. speed: 7,
  11808. points: 50,
  11809. path: [{
  11810. x: 5.5,
  11811. y: 5.5
  11812. }, {
  11813. x: 1.5,
  11814. y: 5.5
  11815. }],
  11816. loop: !0,
  11817. chaser: !1
  11818. }],
  11819. cells: [
  11820. [{
  11821. type: 1
  11822. }, {
  11823. type: 1
  11824. }, {
  11825. type: 1
  11826. }, {
  11827. type: 1
  11828. }, {
  11829. type: 1
  11830. }, {
  11831. type: 1
  11832. }, {
  11833. type: 1
  11834. }, {
  11835. type: 1
  11836. }],
  11837. [{
  11838. type: 1
  11839. }, {
  11840. type: 1
  11841. }, {
  11842. type: 1
  11843. }, {
  11844. type: 1
  11845. }, {
  11846. type: 1
  11847. }, {
  11848. type: 1
  11849. }, {
  11850. type: 1
  11851. }, {
  11852. type: 1
  11853. }],
  11854. [{
  11855. type: 1
  11856. }, {
  11857. type: 1
  11858. }, {
  11859. type: 1
  11860. }, {
  11861. type: 1
  11862. }, {
  11863. type: 1
  11864. }, {
  11865. type: 1
  11866. }, {
  11867. type: 1
  11868. }, {
  11869. type: 1
  11870. }],
  11871. [{
  11872. type: 1
  11873. }, {
  11874. type: 1
  11875. }, {
  11876. type: 1
  11877. }, {
  11878. type: 1
  11879. }, {
  11880. type: 1
  11881. }, {
  11882. type: 1
  11883. }, {
  11884. type: 1
  11885. }, {
  11886. type: 1
  11887. }],
  11888. [{
  11889. type: 1
  11890. }, {
  11891. type: 1
  11892. }, {
  11893. type: 1
  11894. }, {
  11895. type: 1
  11896. }, {
  11897. type: 1
  11898. }, {
  11899. type: 1
  11900. }, {
  11901. type: 1
  11902. }, {
  11903. type: 1
  11904. }],
  11905. [{
  11906. type: 1
  11907. }, {
  11908. type: 1
  11909. }, {
  11910. type: 1
  11911. }, {
  11912. type: 1
  11913. }, {
  11914. type: 1
  11915. }, {
  11916. type: 1
  11917. }, {
  11918. type: 1
  11919. }, {
  11920. type: 1
  11921. }],
  11922. [{
  11923. type: 1
  11924. }, {
  11925. type: 1
  11926. }, {
  11927. type: 1
  11928. }, {
  11929. type: 1
  11930. }, {
  11931. type: 1
  11932. }, {
  11933. type: 1
  11934. }, {
  11935. type: 1
  11936. }, {
  11937. type: 1
  11938. }],
  11939. [{
  11940. type: 1
  11941. }, {
  11942. type: 1
  11943. }, {
  11944. type: 1
  11945. }, {
  11946. type: 1
  11947. }, {
  11948. type: 1
  11949. }, {
  11950. type: 1
  11951. }, {
  11952. type: 1
  11953. }, {
  11954. type: 1
  11955. }]
  11956. ]
  11957. })
  11958. };
  11959. a.addLevel0049 = function(a) {
  11960. a.push({
  11961. type: 1,
  11962. maxMoves: 3,
  11963. objects: [{
  11964. type: 2,
  11965. x: 17,
  11966. y: 10,
  11967. radius: .5,
  11968. speed: 10,
  11969. points: 0,
  11970. path: [{
  11971. x: 17,
  11972. y: 10
  11973. }, {
  11974. x: 9.5,
  11975. y: 10
  11976. }],
  11977. loop: !0,
  11978. chaser: !1
  11979. }, {
  11980. type: 2,
  11981. x: 0,
  11982. y: 6,
  11983. radius: .5,
  11984. speed: 10,
  11985. points: 0,
  11986. path: [{
  11987. x: 0,
  11988. y: 6
  11989. }, {
  11990. x: 7.5,
  11991. y: 6
  11992. }],
  11993. loop: !0,
  11994. chaser: !1
  11995. }, {
  11996. type: 1,
  11997. x: 3,
  11998. y: 2,
  11999. radius: 1,
  12000. speed: 20,
  12001. points: 0,
  12002. path: [],
  12003. loop: !1,
  12004. chaser: !1
  12005. }, {
  12006. type: 3,
  12007. x: 7,
  12008. y: 7.5,
  12009. radius: 1,
  12010. speed: 5,
  12011. points: 20,
  12012. path: [{
  12013. x: 15.5,
  12014. y: 13.5
  12015. }, {
  12016. x: 7,
  12017. y: 7.5
  12018. }],
  12019. loop: !0,
  12020. chaser: !1
  12021. }, {
  12022. type: 3,
  12023. x: 13.5,
  12024. y: 2.5,
  12025. radius: 1,
  12026. speed: 7,
  12027. points: 20,
  12028. path: [{
  12029. x: 12,
  12030. y: 8.5
  12031. }, {
  12032. x: 13.5,
  12033. y: 2.5
  12034. }],
  12035. loop: !0,
  12036. chaser: !1
  12037. }, {
  12038. type: 3,
  12039. x: 7,
  12040. y: 5.5,
  12041. radius: 1,
  12042. speed: 9,
  12043. points: 30,
  12044. path: [{
  12045. x: 5.5,
  12046. y: 11.5
  12047. }, {
  12048. x: 7,
  12049. y: 5.5
  12050. }],
  12051. loop: !0,
  12052. chaser: !1
  12053. }, {
  12054. type: 3,
  12055. x: 1.5,
  12056. y: 4.5,
  12057. radius: 1,
  12058. speed: 7,
  12059. points: 30,
  12060. path: [{
  12061. x: 10,
  12062. y: 10.5
  12063. }, {
  12064. x: 1.5,
  12065. y: 4.5
  12066. }],
  12067. loop: !0,
  12068. chaser: !1
  12069. }, {
  12070. type: 4,
  12071. x: 7,
  12072. y: 9.5,
  12073. radius: 1,
  12074. speed: 6,
  12075. points: 100,
  12076. path: [{
  12077. x: .5,
  12078. y: 15.5
  12079. }, {
  12080. x: 7,
  12081. y: 9.5
  12082. }],
  12083. loop: !0,
  12084. chaser: !1
  12085. }, {
  12086. type: 4,
  12087. x: 5.5,
  12088. y: 15.5,
  12089. radius: 1,
  12090. speed: 7,
  12091. points: 100,
  12092. path: [{
  12093. x: 15,
  12094. y: 15.5
  12095. }, {
  12096. x: 5.5,
  12097. y: 15.5
  12098. }],
  12099. loop: !0,
  12100. chaser: !1
  12101. }],
  12102. cells: [
  12103. [{
  12104. type: 1
  12105. }, {
  12106. type: 1
  12107. }, {
  12108. type: 1
  12109. }, {
  12110. type: 1
  12111. }, {
  12112. type: 1
  12113. }, {
  12114. type: 1
  12115. }, {
  12116. type: 1
  12117. }, {
  12118. type: 1
  12119. }],
  12120. [{
  12121. type: 1
  12122. }, {
  12123. type: 1
  12124. }, {
  12125. type: 1
  12126. }, {
  12127. type: 1
  12128. }, {
  12129. type: 1
  12130. }, {
  12131. type: 1
  12132. }, {
  12133. type: 1
  12134. }, {
  12135. type: 1
  12136. }],
  12137. [{
  12138. type: 1
  12139. }, {
  12140. type: 1
  12141. }, {
  12142. type: 1
  12143. }, {
  12144. type: 1
  12145. }, {
  12146. type: 1
  12147. }, {
  12148. type: 1
  12149. }, {
  12150. type: 1
  12151. }, {
  12152. type: 1
  12153. }],
  12154. [{
  12155. type: 1
  12156. }, {
  12157. type: 1
  12158. }, {
  12159. type: 1
  12160. }, {
  12161. type: 1
  12162. }, {
  12163. type: 1
  12164. }, {
  12165. type: 1
  12166. }, {
  12167. type: 1
  12168. }, {
  12169. type: 1
  12170. }],
  12171. [{
  12172. type: 1
  12173. }, {
  12174. type: 1
  12175. }, {
  12176. type: 1
  12177. }, {
  12178. type: 1
  12179. }, {
  12180. type: 1
  12181. }, {
  12182. type: 1
  12183. }, {
  12184. type: 1
  12185. }, {
  12186. type: 1
  12187. }],
  12188. [{
  12189. type: 1
  12190. }, {
  12191. type: 1
  12192. }, {
  12193. type: 1
  12194. }, {
  12195. type: 1
  12196. }, {
  12197. type: 1
  12198. }, {
  12199. type: 1
  12200. }, {
  12201. type: 1
  12202. }, {
  12203. type: 1
  12204. }],
  12205. [{
  12206. type: 1
  12207. }, {
  12208. type: 1
  12209. }, {
  12210. type: 1
  12211. }, {
  12212. type: 1
  12213. }, {
  12214. type: 1
  12215. }, {
  12216. type: 1
  12217. }, {
  12218. type: 1
  12219. }, {
  12220. type: 1
  12221. }],
  12222. [{
  12223. type: 1
  12224. }, {
  12225. type: 1
  12226. }, {
  12227. type: 1
  12228. }, {
  12229. type: 1
  12230. }, {
  12231. type: 1
  12232. }, {
  12233. type: 1
  12234. }, {
  12235. type: 1
  12236. }, {
  12237. type: 1
  12238. }]
  12239. ]
  12240. })
  12241. };
  12242. a.addLevel0050 = function(a) {
  12243. a.push({
  12244. type: 1,
  12245. maxMoves: 3,
  12246. objects: [{
  12247. type: 2,
  12248. x: 1.5,
  12249. y: 15.5,
  12250. radius: .5,
  12251. speed: 9,
  12252. points: 0,
  12253. path: [{
  12254. x: 1.5,
  12255. y: 15.5
  12256. }, {
  12257. x: 15.5,
  12258. y: 15.5
  12259. }],
  12260. loop: !0,
  12261. chaser: !1
  12262. }, {
  12263. type: 2,
  12264. x: 1.5,
  12265. y: 10.5,
  12266. radius: .5,
  12267. speed: 9,
  12268. points: 0,
  12269. path: [{
  12270. x: 1.5,
  12271. y: 10.5
  12272. }, {
  12273. x: 15.5,
  12274. y: 10.5
  12275. }],
  12276. loop: !0,
  12277. chaser: !1
  12278. }, {
  12279. type: 2,
  12280. x: 1.5,
  12281. y: 5.5,
  12282. radius: .5,
  12283. speed: 9,
  12284. points: 0,
  12285. path: [{
  12286. x: 1.5,
  12287. y: 5.5
  12288. }, {
  12289. x: 15.5,
  12290. y: 5.5
  12291. }],
  12292. loop: !0,
  12293. chaser: !1
  12294. }, {
  12295. type: 5,
  12296. x: 4,
  12297. y: 4,
  12298. x2: 13,
  12299. y2: 13,
  12300. speed1: 1,
  12301. speed2: 1,
  12302. continuous: !1
  12303. }, {
  12304. type: 1,
  12305. x: 3,
  12306. y: 2,
  12307. radius: 1,
  12308. speed: 20,
  12309. points: 0,
  12310. path: [],
  12311. loop: !1,
  12312. chaser: !1
  12313. }, {
  12314. type: 3,
  12315. x: 8.5,
  12316. y: 12,
  12317. radius: 1,
  12318. speed: 7,
  12319. points: 50,
  12320. path: [],
  12321. loop: !1,
  12322. chaser: !1
  12323. }, {
  12324. type: 3,
  12325. x: 12.5,
  12326. y: 8.5,
  12327. radius: 1,
  12328. speed: 7,
  12329. points: 20,
  12330. path: [],
  12331. loop: !1,
  12332. chaser: !1
  12333. }, {
  12334. type: 3,
  12335. x: 4.5,
  12336. y: 8.5,
  12337. radius: 1,
  12338. speed: 7,
  12339. points: 20,
  12340. path: [],
  12341. loop: !1,
  12342. chaser: !1
  12343. }, {
  12344. type: 3,
  12345. x: 8.5,
  12346. y: 5.5,
  12347. radius: 1,
  12348. speed: 7,
  12349. points: 10,
  12350. path: [],
  12351. loop: !1,
  12352. chaser: !1
  12353. }],
  12354. cells: [
  12355. [{
  12356. type: 1
  12357. }, {
  12358. type: 1
  12359. }, {
  12360. type: 1
  12361. }, {
  12362. type: 1
  12363. }, {
  12364. type: 1
  12365. }, {
  12366. type: 1
  12367. }, {
  12368. type: 1
  12369. }, {
  12370. type: 1
  12371. }],
  12372. [{
  12373. type: 1
  12374. }, {
  12375. type: 1
  12376. }, {
  12377. type: 1
  12378. }, {
  12379. type: 1
  12380. }, {
  12381. type: 1
  12382. }, {
  12383. type: 1
  12384. }, {
  12385. type: 1
  12386. }, {
  12387. type: 1
  12388. }],
  12389. [{
  12390. type: 1
  12391. }, {
  12392. type: 1
  12393. }, {
  12394. type: 1
  12395. }, {
  12396. type: 1
  12397. }, {
  12398. type: 1
  12399. }, {
  12400. type: 1
  12401. }, {
  12402. type: 1
  12403. }, {
  12404. type: 1
  12405. }],
  12406. [{
  12407. type: 1
  12408. }, {
  12409. type: 1
  12410. }, {
  12411. type: 1
  12412. }, {
  12413. type: 1
  12414. }, {
  12415. type: 1
  12416. }, {
  12417. type: 1
  12418. }, {
  12419. type: 1
  12420. }, {
  12421. type: 1
  12422. }],
  12423. [{
  12424. type: 1
  12425. }, {
  12426. type: 1
  12427. }, {
  12428. type: 1
  12429. }, {
  12430. type: 1
  12431. }, {
  12432. type: 1
  12433. }, {
  12434. type: 1
  12435. }, {
  12436. type: 1
  12437. }, {
  12438. type: 1
  12439. }],
  12440. [{
  12441. type: 1
  12442. }, {
  12443. type: 1
  12444. }, {
  12445. type: 1
  12446. }, {
  12447. type: 1
  12448. }, {
  12449. type: 1
  12450. }, {
  12451. type: 1
  12452. }, {
  12453. type: 1
  12454. }, {
  12455. type: 1
  12456. }],
  12457. [{
  12458. type: 1
  12459. }, {
  12460. type: 1
  12461. }, {
  12462. type: 1
  12463. }, {
  12464. type: 1
  12465. }, {
  12466. type: 1
  12467. }, {
  12468. type: 1
  12469. }, {
  12470. type: 1
  12471. }, {
  12472. type: 1
  12473. }],
  12474. [{
  12475. type: 1
  12476. }, {
  12477. type: 1
  12478. }, {
  12479. type: 1
  12480. }, {
  12481. type: 1
  12482. }, {
  12483. type: 1
  12484. }, {
  12485. type: 1
  12486. }, {
  12487. type: 1
  12488. }, {
  12489. type: 1
  12490. }]
  12491. ]
  12492. })
  12493. };
  12494. a.addLevel0051 = function(a) {
  12495. a.push({
  12496. type: 1,
  12497. maxMoves: 3,
  12498. objects: [{
  12499. type: 2,
  12500. x: 4,
  12501. y: 5.5,
  12502. radius: .5,
  12503. speed: 9,
  12504. points: 0,
  12505. path: [{
  12506. x: 4,
  12507. y: 5.5
  12508. }, {
  12509. x: 12.5,
  12510. y: 5.5
  12511. }],
  12512. loop: !0,
  12513. chaser: !1
  12514. }, {
  12515. type: 2,
  12516. x: 4,
  12517. y: 10.5,
  12518. radius: .5,
  12519. speed: 9,
  12520. points: 0,
  12521. path: [{
  12522. x: 4,
  12523. y: 10.5
  12524. }, {
  12525. x: 12.5,
  12526. y: 10.5
  12527. }],
  12528. loop: !0,
  12529. chaser: !1
  12530. }, {
  12531. type: 2,
  12532. x: 4,
  12533. y: 15.5,
  12534. radius: .5,
  12535. speed: 9,
  12536. points: 0,
  12537. path: [{
  12538. x: 4,
  12539. y: 15.5
  12540. }, {
  12541. x: 12.5,
  12542. y: 15.5
  12543. }],
  12544. loop: !0,
  12545. chaser: !1
  12546. }, {
  12547. type: 5,
  12548. x: 4,
  12549. y: 13,
  12550. x2: 4,
  12551. y2: 4,
  12552. speed1: 1,
  12553. speed2: 1,
  12554. continuous: !1
  12555. }, {
  12556. type: 5,
  12557. x: 13,
  12558. y: 13,
  12559. x2: 13,
  12560. y2: 4,
  12561. speed1: 1,
  12562. speed2: 1,
  12563. continuous: !1
  12564. }, {
  12565. type: 1,
  12566. x: 3,
  12567. y: 2,
  12568. radius: 1,
  12569. speed: 20,
  12570. points: 0,
  12571. path: [],
  12572. loop: !1,
  12573. chaser: !1
  12574. }, {
  12575. type: 3,
  12576. x: 8.5,
  12577. y: 12,
  12578. radius: 1,
  12579. speed: 7,
  12580. points: 50,
  12581. path: [],
  12582. loop: !1,
  12583. chaser: !1
  12584. }, {
  12585. type: 3,
  12586. x: 11.5,
  12587. y: 8.5,
  12588. radius: 1,
  12589. speed: 7,
  12590. points: 20,
  12591. path: [],
  12592. loop: !1,
  12593. chaser: !1
  12594. }, {
  12595. type: 3,
  12596. x: 5.5,
  12597. y: 8.5,
  12598. radius: 1,
  12599. speed: 7,
  12600. points: 20,
  12601. path: [],
  12602. loop: !1,
  12603. chaser: !1
  12604. }, {
  12605. type: 3,
  12606. x: 8.5,
  12607. y: 5.5,
  12608. radius: 1,
  12609. speed: 7,
  12610. points: 10,
  12611. path: [],
  12612. loop: !1,
  12613. chaser: !1
  12614. }, {
  12615. type: 3,
  12616. x: 4,
  12617. y: 12,
  12618. radius: 1,
  12619. speed: 7,
  12620. points: 50,
  12621. path: [],
  12622. loop: !1,
  12623. chaser: !1
  12624. }, {
  12625. type: 3,
  12626. x: 13,
  12627. y: 12,
  12628. radius: 1,
  12629. speed: 7,
  12630. points: 20,
  12631. path: [],
  12632. loop: !1,
  12633. chaser: !1
  12634. }, {
  12635. type: 3,
  12636. x: 4,
  12637. y: 5.5,
  12638. radius: 1,
  12639. speed: 7,
  12640. points: 20,
  12641. path: [],
  12642. loop: !1,
  12643. chaser: !1
  12644. }, {
  12645. type: 3,
  12646. x: 13,
  12647. y: 5.5,
  12648. radius: 1,
  12649. speed: 7,
  12650. points: 10,
  12651. path: [],
  12652. loop: !1,
  12653. chaser: !1
  12654. }],
  12655. cells: [
  12656. [{
  12657. type: 1
  12658. }, {
  12659. type: 1
  12660. }, {
  12661. type: 1
  12662. }, {
  12663. type: 1
  12664. }, {
  12665. type: 1
  12666. }, {
  12667. type: 1
  12668. }, {
  12669. type: 1
  12670. }, {
  12671. type: 1
  12672. }],
  12673. [{
  12674. type: 1
  12675. }, {
  12676. type: 1
  12677. }, {
  12678. type: 1
  12679. }, {
  12680. type: 1
  12681. }, {
  12682. type: 1
  12683. }, {
  12684. type: 1
  12685. }, {
  12686. type: 1
  12687. }, {
  12688. type: 1
  12689. }],
  12690. [{
  12691. type: 1
  12692. }, {
  12693. type: 1
  12694. }, {
  12695. type: 1
  12696. }, {
  12697. type: 1
  12698. }, {
  12699. type: 1
  12700. }, {
  12701. type: 1
  12702. }, {
  12703. type: 1
  12704. }, {
  12705. type: 1
  12706. }],
  12707. [{
  12708. type: 1
  12709. }, {
  12710. type: 1
  12711. }, {
  12712. type: 1
  12713. }, {
  12714. type: 1
  12715. }, {
  12716. type: 1
  12717. }, {
  12718. type: 1
  12719. }, {
  12720. type: 1
  12721. }, {
  12722. type: 1
  12723. }],
  12724. [{
  12725. type: 1
  12726. }, {
  12727. type: 1
  12728. }, {
  12729. type: 1
  12730. }, {
  12731. type: 1
  12732. }, {
  12733. type: 1
  12734. }, {
  12735. type: 1
  12736. }, {
  12737. type: 1
  12738. }, {
  12739. type: 1
  12740. }],
  12741. [{
  12742. type: 1
  12743. }, {
  12744. type: 1
  12745. }, {
  12746. type: 1
  12747. }, {
  12748. type: 1
  12749. }, {
  12750. type: 1
  12751. }, {
  12752. type: 1
  12753. }, {
  12754. type: 1
  12755. }, {
  12756. type: 1
  12757. }],
  12758. [{
  12759. type: 1
  12760. }, {
  12761. type: 1
  12762. }, {
  12763. type: 1
  12764. }, {
  12765. type: 1
  12766. }, {
  12767. type: 1
  12768. }, {
  12769. type: 1
  12770. }, {
  12771. type: 1
  12772. }, {
  12773. type: 1
  12774. }],
  12775. [{
  12776. type: 1
  12777. }, {
  12778. type: 1
  12779. }, {
  12780. type: 1
  12781. }, {
  12782. type: 1
  12783. }, {
  12784. type: 1
  12785. }, {
  12786. type: 1
  12787. }, {
  12788. type: 1
  12789. }, {
  12790. type: 1
  12791. }]
  12792. ]
  12793. })
  12794. };
  12795. a.addLevel0052 = function(a) {
  12796. a.push({
  12797. type: 1,
  12798. maxMoves: 3,
  12799. objects: [{
  12800. type: 2,
  12801. x: 5.5,
  12802. y: 5.5,
  12803. radius: .5,
  12804. speed: 6,
  12805. points: 0,
  12806. path: [],
  12807. loop: !1,
  12808. chaser: !0
  12809. }, {
  12810. type: 2,
  12811. x: 1.5,
  12812. y: 5,
  12813. radius: .5,
  12814. speed: 6,
  12815. points: 0,
  12816. path: [{
  12817. x: 1.5,
  12818. y: 5
  12819. }, {
  12820. x: 6.5,
  12821. y: 8
  12822. }],
  12823. loop: !0,
  12824. chaser: !1
  12825. }, {
  12826. type: 2,
  12827. x: 15.5,
  12828. y: 5,
  12829. radius: .5,
  12830. speed: 6,
  12831. points: 0,
  12832. path: [{
  12833. x: 15.5,
  12834. y: 5
  12835. }, {
  12836. x: 10.5,
  12837. y: 8
  12838. }],
  12839. loop: !0,
  12840. chaser: !1
  12841. }, {
  12842. type: 5,
  12843. x: .5,
  12844. y: 12,
  12845. x2: 16.5,
  12846. y2: 12,
  12847. speed1: 1,
  12848. speed2: 1,
  12849. continuous: !1
  12850. }, {
  12851. type: 5,
  12852. x: .5,
  12853. y: 6,
  12854. x2: 16.5,
  12855. y2: 6,
  12856. speed1: 1,
  12857. speed2: 1,
  12858. continuous: !1
  12859. }, {
  12860. type: 1,
  12861. x: 3,
  12862. y: 2,
  12863. radius: 1,
  12864. speed: 20,
  12865. points: 0,
  12866. path: [],
  12867. loop: !1,
  12868. chaser: !1
  12869. }, {
  12870. type: 3,
  12871. x: .5,
  12872. y: 13.5,
  12873. radius: 1,
  12874. speed: 7,
  12875. points: 20,
  12876. path: [{
  12877. x: .5,
  12878. y: 13.5
  12879. }, {
  12880. x: 7,
  12881. y: 7.5
  12882. }],
  12883. loop: !0,
  12884. chaser: !1
  12885. }, {
  12886. type: 3,
  12887. x: 9.5,
  12888. y: 13.5,
  12889. radius: 1,
  12890. speed: 7,
  12891. points: 20,
  12892. path: [{
  12893. x: 10,
  12894. y: 13.5
  12895. }, {
  12896. x: 16.5,
  12897. y: 7.5
  12898. }],
  12899. loop: !0,
  12900. chaser: !1
  12901. }, {
  12902. type: 3,
  12903. x: 5,
  12904. y: 9.5,
  12905. radius: 1,
  12906. speed: 7,
  12907. points: 50,
  12908. path: [{
  12909. x: 5,
  12910. y: 15.5
  12911. }, {
  12912. x: 5,
  12913. y: 9.5
  12914. }],
  12915. loop: !0,
  12916. chaser: !1
  12917. }, {
  12918. type: 3,
  12919. x: 12,
  12920. y: 9.5,
  12921. radius: 1,
  12922. speed: 7,
  12923. points: 50,
  12924. path: [{
  12925. x: 12,
  12926. y: 15.5
  12927. }, {
  12928. x: 12,
  12929. y: 9.5
  12930. }],
  12931. loop: !0,
  12932. chaser: !1
  12933. }],
  12934. cells: [
  12935. [{
  12936. type: 1
  12937. }, {
  12938. type: 1
  12939. }, {
  12940. type: 1
  12941. }, {
  12942. type: 1
  12943. }, {
  12944. type: 1
  12945. }, {
  12946. type: 1
  12947. }, {
  12948. type: 1
  12949. }, {
  12950. type: 1
  12951. }],
  12952. [{
  12953. type: 1
  12954. }, {
  12955. type: 1
  12956. }, {
  12957. type: 1
  12958. }, {
  12959. type: 1
  12960. }, {
  12961. type: 1
  12962. }, {
  12963. type: 1
  12964. }, {
  12965. type: 1
  12966. }, {
  12967. type: 1
  12968. }],
  12969. [{
  12970. type: 1
  12971. }, {
  12972. type: 1
  12973. }, {
  12974. type: 1
  12975. }, {
  12976. type: 1
  12977. }, {
  12978. type: 1
  12979. }, {
  12980. type: 1
  12981. }, {
  12982. type: 1
  12983. }, {
  12984. type: 1
  12985. }],
  12986. [{
  12987. type: 1
  12988. }, {
  12989. type: 1
  12990. }, {
  12991. type: 1
  12992. }, {
  12993. type: 1
  12994. }, {
  12995. type: 1
  12996. }, {
  12997. type: 1
  12998. }, {
  12999. type: 1
  13000. }, {
  13001. type: 1
  13002. }],
  13003. [{
  13004. type: 1
  13005. }, {
  13006. type: 1
  13007. }, {
  13008. type: 1
  13009. }, {
  13010. type: 1
  13011. }, {
  13012. type: 1
  13013. }, {
  13014. type: 1
  13015. }, {
  13016. type: 1
  13017. }, {
  13018. type: 1
  13019. }],
  13020. [{
  13021. type: 1
  13022. }, {
  13023. type: 1
  13024. }, {
  13025. type: 1
  13026. }, {
  13027. type: 1
  13028. }, {
  13029. type: 1
  13030. }, {
  13031. type: 1
  13032. }, {
  13033. type: 1
  13034. }, {
  13035. type: 1
  13036. }],
  13037. [{
  13038. type: 1
  13039. }, {
  13040. type: 1
  13041. }, {
  13042. type: 1
  13043. }, {
  13044. type: 1
  13045. }, {
  13046. type: 1
  13047. }, {
  13048. type: 1
  13049. }, {
  13050. type: 1
  13051. }, {
  13052. type: 1
  13053. }],
  13054. [{
  13055. type: 1
  13056. }, {
  13057. type: 1
  13058. }, {
  13059. type: 1
  13060. }, {
  13061. type: 1
  13062. }, {
  13063. type: 1
  13064. }, {
  13065. type: 1
  13066. }, {
  13067. type: 1
  13068. }, {
  13069. type: 1
  13070. }]
  13071. ]
  13072. })
  13073. };
  13074. a.addLevel0053 = function(a) {
  13075. a.push({
  13076. type: 1,
  13077. maxMoves: 3,
  13078. objects: [{
  13079. type: 2,
  13080. x: 17,
  13081. y: 6,
  13082. radius: .5,
  13083. speed: 10,
  13084. points: 0,
  13085. path: [{
  13086. x: 17,
  13087. y: 6
  13088. }, {
  13089. x: 9.5,
  13090. y: 6
  13091. }],
  13092. loop: !0,
  13093. chaser: !1
  13094. }, {
  13095. type: 2,
  13096. x: 0,
  13097. y: 6,
  13098. radius: .5,
  13099. speed: 10,
  13100. points: 0,
  13101. path: [{
  13102. x: 0,
  13103. y: 6
  13104. }, {
  13105. x: 7.5,
  13106. y: 6
  13107. }],
  13108. loop: !0,
  13109. chaser: !1
  13110. }, {
  13111. type: 2,
  13112. x: 10,
  13113. y: 3,
  13114. radius: .5,
  13115. speed: 10,
  13116. points: 0,
  13117. path: [],
  13118. loop: !1,
  13119. chaser: !0
  13120. }, {
  13121. type: 2,
  13122. x: 6.5,
  13123. y: 13.5,
  13124. radius: .5,
  13125. speed: 10,
  13126. points: 0,
  13127. path: [],
  13128. loop: !1,
  13129. chaser: !0
  13130. }, {
  13131. type: 1,
  13132. x: 3,
  13133. y: 2,
  13134. radius: 1,
  13135. speed: 20,
  13136. points: 0,
  13137. path: [],
  13138. loop: !1,
  13139. chaser: !1
  13140. }, {
  13141. type: 3,
  13142. x: 7.5,
  13143. y: 10.5,
  13144. radius: 1,
  13145. speed: 7,
  13146. points: 20,
  13147. path: [],
  13148. loop: !1,
  13149. chaser: !1
  13150. }, {
  13151. type: 3,
  13152. x: 15,
  13153. y: 4,
  13154. radius: 1,
  13155. speed: 7,
  13156. points: 50,
  13157. path: [],
  13158. loop: !1,
  13159. chaser: !1
  13160. }, {
  13161. type: 3,
  13162. x: 15,
  13163. y: 15,
  13164. radius: 1,
  13165. speed: 7,
  13166. points: 10,
  13167. path: [],
  13168. loop: !1,
  13169. chaser: !1
  13170. }],
  13171. cells: [
  13172. [{
  13173. type: 1
  13174. }, {
  13175. type: 1
  13176. }, {
  13177. type: 1
  13178. }, {
  13179. type: 1
  13180. }, {
  13181. type: 1
  13182. }, {
  13183. type: 1
  13184. }, {
  13185. type: 1
  13186. }, {
  13187. type: 1
  13188. }],
  13189. [{
  13190. type: 1
  13191. }, {
  13192. type: 1
  13193. }, {
  13194. type: 1
  13195. }, {
  13196. type: 1
  13197. }, {
  13198. type: 1
  13199. }, {
  13200. type: 1
  13201. }, {
  13202. type: 1
  13203. }, {
  13204. type: 1
  13205. }],
  13206. [{
  13207. type: 1
  13208. }, {
  13209. type: 1
  13210. }, {
  13211. type: 1
  13212. }, {
  13213. type: 1
  13214. }, {
  13215. type: 1
  13216. }, {
  13217. type: 1
  13218. }, {
  13219. type: 1
  13220. }, {
  13221. type: 1
  13222. }],
  13223. [{
  13224. type: 1
  13225. }, {
  13226. type: 1
  13227. }, {
  13228. type: 1
  13229. }, {
  13230. type: 1
  13231. }, {
  13232. type: 1
  13233. }, {
  13234. type: 1
  13235. }, {
  13236. type: 1
  13237. }, {
  13238. type: 1
  13239. }],
  13240. [{
  13241. type: 1
  13242. }, {
  13243. type: 1
  13244. }, {
  13245. type: 1
  13246. }, {
  13247. type: 1
  13248. }, {
  13249. type: 1
  13250. }, {
  13251. type: 1
  13252. }, {
  13253. type: 1
  13254. }, {
  13255. type: 1
  13256. }],
  13257. [{
  13258. type: 1
  13259. }, {
  13260. type: 1
  13261. }, {
  13262. type: 1
  13263. }, {
  13264. type: 1
  13265. }, {
  13266. type: 1
  13267. }, {
  13268. type: 1
  13269. }, {
  13270. type: 1
  13271. }, {
  13272. type: 1
  13273. }],
  13274. [{
  13275. type: 1
  13276. }, {
  13277. type: 1
  13278. }, {
  13279. type: 1
  13280. }, {
  13281. type: 1
  13282. }, {
  13283. type: 1
  13284. }, {
  13285. type: 1
  13286. }, {
  13287. type: 1
  13288. }, {
  13289. type: 1
  13290. }],
  13291. [{
  13292. type: 1
  13293. }, {
  13294. type: 1
  13295. }, {
  13296. type: 1
  13297. }, {
  13298. type: 1
  13299. }, {
  13300. type: 1
  13301. }, {
  13302. type: 1
  13303. }, {
  13304. type: 1
  13305. }, {
  13306. type: 1
  13307. }]
  13308. ]
  13309. })
  13310. };
  13311. a.addLevel0054 = function(a) {
  13312. a.push({
  13313. type: 1,
  13314. maxMoves: 3,
  13315. objects: [{
  13316. type: 2,
  13317. x: 5,
  13318. y: 6,
  13319. radius: .5,
  13320. speed: 10,
  13321. points: 0,
  13322. path: [{
  13323. x: 5,
  13324. y: 6
  13325. }, {
  13326. x: 5,
  13327. y: 16
  13328. }],
  13329. loop: !0,
  13330. chaser: !1
  13331. }, {
  13332. type: 2,
  13333. x: 10,
  13334. y: 6,
  13335. radius: .5,
  13336. speed: 10,
  13337. points: 0,
  13338. path: [{
  13339. x: 10,
  13340. y: 6
  13341. }, {
  13342. x: 10,
  13343. y: 16
  13344. }],
  13345. loop: !0,
  13346. chaser: !1
  13347. }, {
  13348. type: 2,
  13349. x: 15,
  13350. y: 6,
  13351. radius: .5,
  13352. speed: 10,
  13353. points: 0,
  13354. path: [{
  13355. x: 15,
  13356. y: 6
  13357. }, {
  13358. x: 15,
  13359. y: 16
  13360. }],
  13361. loop: !0,
  13362. chaser: !1
  13363. }, {
  13364. type: 2,
  13365. x: 5.5,
  13366. y: 8.5,
  13367. radius: .5,
  13368. speed: 8,
  13369. points: 0,
  13370. path: [],
  13371. loop: !1,
  13372. chaser: !0
  13373. }, {
  13374. type: 5,
  13375. x: .5,
  13376. y: 12,
  13377. x2: 16.5,
  13378. y2: 12,
  13379. speed1: 1,
  13380. speed2: 1,
  13381. continuous: !1
  13382. }, {
  13383. type: 1,
  13384. x: 3,
  13385. y: 2,
  13386. radius: 1,
  13387. speed: 20,
  13388. points: 0,
  13389. path: [],
  13390. loop: !1,
  13391. chaser: !1
  13392. }, {
  13393. type: 3,
  13394. x: 6,
  13395. y: 10.5,
  13396. radius: 1,
  13397. speed: 7,
  13398. points: 20,
  13399. path: [],
  13400. loop: !1,
  13401. chaser: !1
  13402. }, {
  13403. type: 3,
  13404. x: 6,
  13405. y: 15,
  13406. radius: 1,
  13407. speed: 7,
  13408. points: 50,
  13409. path: [],
  13410. loop: !1,
  13411. chaser: !1
  13412. }, {
  13413. type: 3,
  13414. x: 15,
  13415. y: 15,
  13416. radius: 1,
  13417. speed: 7,
  13418. points: 50,
  13419. path: [],
  13420. loop: !1,
  13421. chaser: !1
  13422. }, {
  13423. type: 3,
  13424. x: 15,
  13425. y: 6,
  13426. radius: 1,
  13427. speed: 7,
  13428. points: 10,
  13429. path: [],
  13430. loop: !1,
  13431. chaser: !1
  13432. }],
  13433. cells: [
  13434. [{
  13435. type: 1
  13436. }, {
  13437. type: 1
  13438. }, {
  13439. type: 1
  13440. }, {
  13441. type: 1
  13442. }, {
  13443. type: 1
  13444. }, {
  13445. type: 1
  13446. }, {
  13447. type: 1
  13448. }, {
  13449. type: 1
  13450. }],
  13451. [{
  13452. type: 1
  13453. }, {
  13454. type: 1
  13455. }, {
  13456. type: 1
  13457. }, {
  13458. type: 1
  13459. }, {
  13460. type: 1
  13461. }, {
  13462. type: 1
  13463. }, {
  13464. type: 1
  13465. }, {
  13466. type: 1
  13467. }],
  13468. [{
  13469. type: 1
  13470. }, {
  13471. type: 1
  13472. }, {
  13473. type: 1
  13474. }, {
  13475. type: 1
  13476. }, {
  13477. type: 1
  13478. }, {
  13479. type: 1
  13480. }, {
  13481. type: 1
  13482. }, {
  13483. type: 1
  13484. }],
  13485. [{
  13486. type: 1
  13487. }, {
  13488. type: 1
  13489. }, {
  13490. type: 1
  13491. }, {
  13492. type: 1
  13493. }, {
  13494. type: 1
  13495. }, {
  13496. type: 1
  13497. }, {
  13498. type: 1
  13499. }, {
  13500. type: 1
  13501. }],
  13502. [{
  13503. type: 1
  13504. }, {
  13505. type: 1
  13506. }, {
  13507. type: 1
  13508. }, {
  13509. type: 1
  13510. }, {
  13511. type: 1
  13512. }, {
  13513. type: 1
  13514. }, {
  13515. type: 1
  13516. }, {
  13517. type: 1
  13518. }],
  13519. [{
  13520. type: 1
  13521. }, {
  13522. type: 1
  13523. }, {
  13524. type: 1
  13525. }, {
  13526. type: 1
  13527. }, {
  13528. type: 1
  13529. }, {
  13530. type: 1
  13531. }, {
  13532. type: 1
  13533. }, {
  13534. type: 1
  13535. }],
  13536. [{
  13537. type: 1
  13538. }, {
  13539. type: 1
  13540. }, {
  13541. type: 1
  13542. }, {
  13543. type: 1
  13544. }, {
  13545. type: 1
  13546. }, {
  13547. type: 1
  13548. }, {
  13549. type: 1
  13550. }, {
  13551. type: 1
  13552. }],
  13553. [{
  13554. type: 1
  13555. }, {
  13556. type: 1
  13557. }, {
  13558. type: 1
  13559. }, {
  13560. type: 1
  13561. }, {
  13562. type: 1
  13563. }, {
  13564. type: 1
  13565. }, {
  13566. type: 1
  13567. }, {
  13568. type: 1
  13569. }]
  13570. ]
  13571. })
  13572. };
  13573. a.addLevel0055 = function(a) {
  13574. a.push({
  13575. type: 1,
  13576. maxMoves: 3,
  13577. objects: [{
  13578. type: 2,
  13579. x: 5.5,
  13580. y: 8.5,
  13581. radius: .5,
  13582. speed: 8,
  13583. points: 0,
  13584. path: [],
  13585. loop: !1,
  13586. chaser: !0
  13587. }, {
  13588. type: 5,
  13589. x: 4,
  13590. y: 4,
  13591. x2: 13,
  13592. y2: 4,
  13593. speed1: 1,
  13594. speed2: 1,
  13595. continuous: !1
  13596. }, {
  13597. type: 5,
  13598. x: 13,
  13599. y: 4,
  13600. x2: 13,
  13601. y2: 13,
  13602. speed1: 1,
  13603. speed2: 1,
  13604. continuous: !1
  13605. }, {
  13606. type: 5,
  13607. x: 13,
  13608. y: 13,
  13609. x2: 4,
  13610. y2: 13,
  13611. speed1: 1,
  13612. speed2: 1,
  13613. continuous: !1
  13614. }, {
  13615. type: 5,
  13616. x: 4,
  13617. y: 13,
  13618. x2: 4,
  13619. y2: 4,
  13620. speed1: 1,
  13621. speed2: 1,
  13622. continuous: !1
  13623. }, {
  13624. type: 1,
  13625. x: 8.5,
  13626. y: 8.5,
  13627. radius: 1,
  13628. speed: 20,
  13629. points: 0,
  13630. path: [],
  13631. loop: !1,
  13632. chaser: !1
  13633. }, {
  13634. type: 3,
  13635. x: 6,
  13636. y: 10.5,
  13637. radius: 1,
  13638. speed: 7,
  13639. points: 20,
  13640. path: [],
  13641. loop: !1,
  13642. chaser: !1
  13643. }, {
  13644. type: 3,
  13645. x: 11,
  13646. y: 10.5,
  13647. radius: 1,
  13648. speed: 7,
  13649. points: 20,
  13650. path: [],
  13651. loop: !1,
  13652. chaser: !1
  13653. }, {
  13654. type: 3,
  13655. x: 8.5,
  13656. y: 5.5,
  13657. radius: 1,
  13658. speed: 7,
  13659. points: 20,
  13660. path: [],
  13661. loop: !1,
  13662. chaser: !1
  13663. }, {
  13664. type: 3,
  13665. x: 8.5,
  13666. y: 15,
  13667. radius: 1,
  13668. speed: 7,
  13669. points: 50,
  13670. path: [],
  13671. loop: !1,
  13672. chaser: !1
  13673. }, {
  13674. type: 3,
  13675. x: 15,
  13676. y: 15,
  13677. radius: 1,
  13678. speed: 7,
  13679. points: 50,
  13680. path: [],
  13681. loop: !1,
  13682. chaser: !1
  13683. }, {
  13684. type: 3,
  13685. x: 2,
  13686. y: 15,
  13687. radius: 1,
  13688. speed: 7,
  13689. points: 50,
  13690. path: [],
  13691. loop: !1,
  13692. chaser: !1
  13693. }, {
  13694. type: 3,
  13695. x: 15,
  13696. y: 6,
  13697. radius: 1,
  13698. speed: 7,
  13699. points: 50,
  13700. path: [],
  13701. loop: !1,
  13702. chaser: !1
  13703. }, {
  13704. type: 3,
  13705. x: 2,
  13706. y: 6,
  13707. radius: 1,
  13708. speed: 7,
  13709. points: 50,
  13710. path: [],
  13711. loop: !1,
  13712. chaser: !1
  13713. }],
  13714. cells: [
  13715. [{
  13716. type: 1
  13717. }, {
  13718. type: 1
  13719. }, {
  13720. type: 1
  13721. }, {
  13722. type: 1
  13723. }, {
  13724. type: 1
  13725. }, {
  13726. type: 1
  13727. }, {
  13728. type: 1
  13729. }, {
  13730. type: 1
  13731. }],
  13732. [{
  13733. type: 1
  13734. }, {
  13735. type: 1
  13736. }, {
  13737. type: 1
  13738. }, {
  13739. type: 1
  13740. }, {
  13741. type: 1
  13742. }, {
  13743. type: 1
  13744. }, {
  13745. type: 1
  13746. }, {
  13747. type: 1
  13748. }],
  13749. [{
  13750. type: 1
  13751. }, {
  13752. type: 1
  13753. }, {
  13754. type: 1
  13755. }, {
  13756. type: 1
  13757. }, {
  13758. type: 1
  13759. }, {
  13760. type: 1
  13761. }, {
  13762. type: 1
  13763. }, {
  13764. type: 1
  13765. }],
  13766. [{
  13767. type: 1
  13768. }, {
  13769. type: 1
  13770. }, {
  13771. type: 1
  13772. }, {
  13773. type: 1
  13774. }, {
  13775. type: 1
  13776. }, {
  13777. type: 1
  13778. }, {
  13779. type: 1
  13780. }, {
  13781. type: 1
  13782. }],
  13783. [{
  13784. type: 1
  13785. }, {
  13786. type: 1
  13787. }, {
  13788. type: 1
  13789. }, {
  13790. type: 1
  13791. }, {
  13792. type: 1
  13793. }, {
  13794. type: 1
  13795. }, {
  13796. type: 1
  13797. }, {
  13798. type: 1
  13799. }],
  13800. [{
  13801. type: 1
  13802. }, {
  13803. type: 1
  13804. }, {
  13805. type: 1
  13806. }, {
  13807. type: 1
  13808. }, {
  13809. type: 1
  13810. }, {
  13811. type: 1
  13812. }, {
  13813. type: 1
  13814. }, {
  13815. type: 1
  13816. }],
  13817. [{
  13818. type: 1
  13819. }, {
  13820. type: 1
  13821. }, {
  13822. type: 1
  13823. }, {
  13824. type: 1
  13825. }, {
  13826. type: 1
  13827. }, {
  13828. type: 1
  13829. }, {
  13830. type: 1
  13831. }, {
  13832. type: 1
  13833. }],
  13834. [{
  13835. type: 1
  13836. }, {
  13837. type: 1
  13838. }, {
  13839. type: 1
  13840. }, {
  13841. type: 1
  13842. }, {
  13843. type: 1
  13844. }, {
  13845. type: 1
  13846. }, {
  13847. type: 1
  13848. }, {
  13849. type: 1
  13850. }]
  13851. ]
  13852. })
  13853. };
  13854. a.addLevel0056 = function(a) {
  13855. a.push({
  13856. type: 1,
  13857. maxMoves: 3,
  13858. objects: [{
  13859. type: 2,
  13860. x: 1.5,
  13861. y: 15.5,
  13862. radius: .5,
  13863. speed: 9,
  13864. points: 0,
  13865. path: [{
  13866. x: 1.5,
  13867. y: 15.5
  13868. }, {
  13869. x: 15.5,
  13870. y: 15.5
  13871. }],
  13872. loop: !0,
  13873. chaser: !1
  13874. }, {
  13875. type: 2,
  13876. x: 1.5,
  13877. y: 2.5,
  13878. radius: .5,
  13879. speed: 9,
  13880. points: 0,
  13881. path: [{
  13882. x: 1.5,
  13883. y: 2.5
  13884. }, {
  13885. x: 15.5,
  13886. y: 2.5
  13887. }],
  13888. loop: !0,
  13889. chaser: !1
  13890. }, {
  13891. type: 2,
  13892. x: 5.5,
  13893. y: 8.5,
  13894. radius: .5,
  13895. speed: 8,
  13896. points: 0,
  13897. path: [],
  13898. loop: !1,
  13899. chaser: !0
  13900. }, {
  13901. type: 5,
  13902. x: 4,
  13903. y: 4,
  13904. x2: 13,
  13905. y2: 4,
  13906. speed1: 1,
  13907. speed2: 1,
  13908. continuous: !1
  13909. }, {
  13910. type: 5,
  13911. x: 13,
  13912. y: 4,
  13913. x2: 13,
  13914. y2: 13,
  13915. speed1: 1,
  13916. speed2: 1,
  13917. continuous: !0
  13918. }, {
  13919. type: 5,
  13920. x: 13,
  13921. y: 13,
  13922. x2: 4,
  13923. y2: 13,
  13924. speed1: 1,
  13925. speed2: 1,
  13926. continuous: !1
  13927. }, {
  13928. type: 5,
  13929. x: 4,
  13930. y: 13,
  13931. x2: 4,
  13932. y2: 4,
  13933. speed1: 1,
  13934. speed2: 1,
  13935. continuous: !0
  13936. }, {
  13937. type: 1,
  13938. x: 8.5,
  13939. y: 8.5,
  13940. radius: 1,
  13941. speed: 20,
  13942. points: 0,
  13943. path: [],
  13944. loop: !1,
  13945. chaser: !1
  13946. }, {
  13947. type: 3,
  13948. x: 6,
  13949. y: 10.5,
  13950. radius: 1,
  13951. speed: 7,
  13952. points: 20,
  13953. path: [],
  13954. loop: !1,
  13955. chaser: !1
  13956. }, {
  13957. type: 3,
  13958. x: 11,
  13959. y: 10.5,
  13960. radius: 1,
  13961. speed: 7,
  13962. points: 20,
  13963. path: [],
  13964. loop: !1,
  13965. chaser: !1
  13966. }, {
  13967. type: 3,
  13968. x: 8.5,
  13969. y: 5.5,
  13970. radius: 1,
  13971. speed: 7,
  13972. points: 20,
  13973. path: [],
  13974. loop: !1,
  13975. chaser: !1
  13976. }, {
  13977. type: 3,
  13978. x: 8.5,
  13979. y: 15,
  13980. radius: 1,
  13981. speed: 7,
  13982. points: 50,
  13983. path: [],
  13984. loop: !1,
  13985. chaser: !1
  13986. }, {
  13987. type: 3,
  13988. x: 15,
  13989. y: 15,
  13990. radius: 1,
  13991. speed: 7,
  13992. points: 50,
  13993. path: [],
  13994. loop: !1,
  13995. chaser: !1
  13996. }, {
  13997. type: 3,
  13998. x: 2,
  13999. y: 15,
  14000. radius: 1,
  14001. speed: 7,
  14002. points: 50,
  14003. path: [],
  14004. loop: !1,
  14005. chaser: !1
  14006. }, {
  14007. type: 3,
  14008. x: 15,
  14009. y: 6,
  14010. radius: 1,
  14011. speed: 7,
  14012. points: 50,
  14013. path: [],
  14014. loop: !1,
  14015. chaser: !1
  14016. }, {
  14017. type: 3,
  14018. x: 2,
  14019. y: 6,
  14020. radius: 1,
  14021. speed: 7,
  14022. points: 50,
  14023. path: [],
  14024. loop: !1,
  14025. chaser: !1
  14026. }],
  14027. cells: [
  14028. [{
  14029. type: 1
  14030. }, {
  14031. type: 1
  14032. }, {
  14033. type: 1
  14034. }, {
  14035. type: 1
  14036. }, {
  14037. type: 1
  14038. }, {
  14039. type: 1
  14040. }, {
  14041. type: 1
  14042. }, {
  14043. type: 1
  14044. }],
  14045. [{
  14046. type: 1
  14047. }, {
  14048. type: 1
  14049. }, {
  14050. type: 1
  14051. }, {
  14052. type: 1
  14053. }, {
  14054. type: 1
  14055. }, {
  14056. type: 1
  14057. }, {
  14058. type: 1
  14059. }, {
  14060. type: 1
  14061. }],
  14062. [{
  14063. type: 1
  14064. }, {
  14065. type: 1
  14066. }, {
  14067. type: 1
  14068. }, {
  14069. type: 1
  14070. }, {
  14071. type: 1
  14072. }, {
  14073. type: 1
  14074. }, {
  14075. type: 1
  14076. }, {
  14077. type: 1
  14078. }],
  14079. [{
  14080. type: 1
  14081. }, {
  14082. type: 1
  14083. }, {
  14084. type: 1
  14085. }, {
  14086. type: 1
  14087. }, {
  14088. type: 1
  14089. }, {
  14090. type: 1
  14091. }, {
  14092. type: 1
  14093. }, {
  14094. type: 1
  14095. }],
  14096. [{
  14097. type: 1
  14098. }, {
  14099. type: 1
  14100. }, {
  14101. type: 1
  14102. }, {
  14103. type: 1
  14104. }, {
  14105. type: 1
  14106. }, {
  14107. type: 1
  14108. }, {
  14109. type: 1
  14110. }, {
  14111. type: 1
  14112. }],
  14113. [{
  14114. type: 1
  14115. }, {
  14116. type: 1
  14117. }, {
  14118. type: 1
  14119. }, {
  14120. type: 1
  14121. }, {
  14122. type: 1
  14123. }, {
  14124. type: 1
  14125. }, {
  14126. type: 1
  14127. }, {
  14128. type: 1
  14129. }],
  14130. [{
  14131. type: 1
  14132. }, {
  14133. type: 1
  14134. }, {
  14135. type: 1
  14136. }, {
  14137. type: 1
  14138. }, {
  14139. type: 1
  14140. }, {
  14141. type: 1
  14142. }, {
  14143. type: 1
  14144. }, {
  14145. type: 1
  14146. }],
  14147. [{
  14148. type: 1
  14149. }, {
  14150. type: 1
  14151. }, {
  14152. type: 1
  14153. }, {
  14154. type: 1
  14155. }, {
  14156. type: 1
  14157. }, {
  14158. type: 1
  14159. }, {
  14160. type: 1
  14161. }, {
  14162. type: 1
  14163. }]
  14164. ]
  14165. })
  14166. };
  14167. a.addLevel0057 = function(a) {
  14168. a.push({
  14169. type: 1,
  14170. maxMoves: 3,
  14171. objects: [{
  14172. type: 2,
  14173. x: 1.5,
  14174. y: 5.5,
  14175. radius: .5,
  14176. speed: 9,
  14177. points: 0,
  14178. path: [{
  14179. x: 1.5,
  14180. y: 5.5
  14181. }, {
  14182. x: 1.5,
  14183. y: 12
  14184. }, {
  14185. x: 15.5,
  14186. y: 12
  14187. }, {
  14188. x: 15.5,
  14189. y: 5.5
  14190. }],
  14191. loop: !0,
  14192. chaser: !1
  14193. }, {
  14194. type: 2,
  14195. x: 1.5,
  14196. y: 12,
  14197. radius: .5,
  14198. speed: 9,
  14199. points: 0,
  14200. path: [{
  14201. x: 1.5,
  14202. y: 12
  14203. }, {
  14204. x: 15.5,
  14205. y: 12
  14206. }, {
  14207. x: 15.5,
  14208. y: 5.5
  14209. }, {
  14210. x: 1.5,
  14211. y: 5.5
  14212. }],
  14213. loop: !0,
  14214. chaser: !1
  14215. }, {
  14216. type: 2,
  14217. x: 15.5,
  14218. y: 12,
  14219. radius: .5,
  14220. speed: 9,
  14221. points: 0,
  14222. path: [{
  14223. x: 15.5,
  14224. y: 12
  14225. }, {
  14226. x: 15.5,
  14227. y: 5.5
  14228. }, {
  14229. x: 1.5,
  14230. y: 5.5
  14231. }, {
  14232. x: 1.5,
  14233. y: 12
  14234. }],
  14235. loop: !0,
  14236. chaser: !1
  14237. }, {
  14238. type: 2,
  14239. x: 15.5,
  14240. y: 5.5,
  14241. radius: .5,
  14242. speed: 9,
  14243. points: 0,
  14244. path: [{
  14245. x: 15.5,
  14246. y: 5.5
  14247. }, {
  14248. x: 1.5,
  14249. y: 5.5
  14250. }, {
  14251. x: 1.5,
  14252. y: 12
  14253. }, {
  14254. x: 15.5,
  14255. y: 12
  14256. }],
  14257. loop: !0,
  14258. chaser: !1
  14259. }, {
  14260. type: 1,
  14261. x: 8.5,
  14262. y: 8.5,
  14263. radius: 1,
  14264. speed: 20,
  14265. points: 0,
  14266. path: [],
  14267. loop: !1,
  14268. chaser: !1
  14269. }, {
  14270. type: 3,
  14271. x: 8.5,
  14272. y: 5,
  14273. radius: 1,
  14274. speed: 7,
  14275. points: 50,
  14276. path: [],
  14277. loop: !1,
  14278. chaser: !1
  14279. }, {
  14280. type: 3,
  14281. x: 8.5,
  14282. y: 12.5,
  14283. radius: 1,
  14284. speed: 7,
  14285. points: 50,
  14286. path: [],
  14287. loop: !1,
  14288. chaser: !1
  14289. }, {
  14290. type: 3,
  14291. x: 12.5,
  14292. y: 12.5,
  14293. radius: 1,
  14294. speed: 7,
  14295. points: 20,
  14296. path: [],
  14297. loop: !1,
  14298. chaser: !1
  14299. }, {
  14300. type: 3,
  14301. x: 4.5,
  14302. y: 12.5,
  14303. radius: 1,
  14304. speed: 7,
  14305. points: 20,
  14306. path: [],
  14307. loop: !1,
  14308. chaser: !1
  14309. }, {
  14310. type: 3,
  14311. x: 12.5,
  14312. y: 5,
  14313. radius: 1,
  14314. speed: 7,
  14315. points: 20,
  14316. path: [],
  14317. loop: !1,
  14318. chaser: !1
  14319. }, {
  14320. type: 3,
  14321. x: 4.5,
  14322. y: 5,
  14323. radius: 1,
  14324. speed: 7,
  14325. points: 20,
  14326. path: [],
  14327. loop: !1,
  14328. chaser: !1
  14329. }],
  14330. cells: [
  14331. [{
  14332. type: 1
  14333. }, {
  14334. type: 1
  14335. }, {
  14336. type: 1
  14337. }, {
  14338. type: 1
  14339. }, {
  14340. type: 1
  14341. }, {
  14342. type: 1
  14343. }, {
  14344. type: 1
  14345. }, {
  14346. type: 1
  14347. }],
  14348. [{
  14349. type: 1
  14350. }, {
  14351. type: 1
  14352. }, {
  14353. type: 1
  14354. }, {
  14355. type: 1
  14356. }, {
  14357. type: 1
  14358. }, {
  14359. type: 1
  14360. }, {
  14361. type: 1
  14362. }, {
  14363. type: 1
  14364. }],
  14365. [{
  14366. type: 1
  14367. }, {
  14368. type: 1
  14369. }, {
  14370. type: 1
  14371. }, {
  14372. type: 1
  14373. }, {
  14374. type: 1
  14375. }, {
  14376. type: 1
  14377. }, {
  14378. type: 1
  14379. }, {
  14380. type: 1
  14381. }],
  14382. [{
  14383. type: 1
  14384. }, {
  14385. type: 1
  14386. }, {
  14387. type: 1
  14388. }, {
  14389. type: 1
  14390. }, {
  14391. type: 1
  14392. }, {
  14393. type: 1
  14394. }, {
  14395. type: 1
  14396. }, {
  14397. type: 1
  14398. }],
  14399. [{
  14400. type: 1
  14401. }, {
  14402. type: 1
  14403. }, {
  14404. type: 1
  14405. }, {
  14406. type: 1
  14407. }, {
  14408. type: 1
  14409. }, {
  14410. type: 1
  14411. }, {
  14412. type: 1
  14413. }, {
  14414. type: 1
  14415. }],
  14416. [{
  14417. type: 1
  14418. }, {
  14419. type: 1
  14420. }, {
  14421. type: 1
  14422. }, {
  14423. type: 1
  14424. }, {
  14425. type: 1
  14426. }, {
  14427. type: 1
  14428. }, {
  14429. type: 1
  14430. }, {
  14431. type: 1
  14432. }],
  14433. [{
  14434. type: 1
  14435. }, {
  14436. type: 1
  14437. }, {
  14438. type: 1
  14439. }, {
  14440. type: 1
  14441. }, {
  14442. type: 1
  14443. }, {
  14444. type: 1
  14445. }, {
  14446. type: 1
  14447. }, {
  14448. type: 1
  14449. }],
  14450. [{
  14451. type: 1
  14452. }, {
  14453. type: 1
  14454. }, {
  14455. type: 1
  14456. }, {
  14457. type: 1
  14458. }, {
  14459. type: 1
  14460. }, {
  14461. type: 1
  14462. }, {
  14463. type: 1
  14464. }, {
  14465. type: 1
  14466. }]
  14467. ]
  14468. })
  14469. };
  14470. a.addLevel0058 = function(a) {
  14471. a.push({
  14472. type: 1,
  14473. maxMoves: 3,
  14474. objects: [{
  14475. type: 2,
  14476. x: 1.5,
  14477. y: 5.5,
  14478. radius: .5,
  14479. speed: 9,
  14480. points: 0,
  14481. path: [{
  14482. x: 1.5,
  14483. y: 5.5
  14484. }, {
  14485. x: 1.5,
  14486. y: 12
  14487. }, {
  14488. x: 15.5,
  14489. y: 12
  14490. }, {
  14491. x: 15.5,
  14492. y: 5.5
  14493. }],
  14494. loop: !0,
  14495. chaser: !1
  14496. }, {
  14497. type: 2,
  14498. x: 1.5,
  14499. y: 12,
  14500. radius: .5,
  14501. speed: 9,
  14502. points: 0,
  14503. path: [{
  14504. x: 1.5,
  14505. y: 12
  14506. }, {
  14507. x: 15.5,
  14508. y: 12
  14509. }, {
  14510. x: 15.5,
  14511. y: 5.5
  14512. }, {
  14513. x: 1.5,
  14514. y: 5.5
  14515. }],
  14516. loop: !0,
  14517. chaser: !1
  14518. }, {
  14519. type: 2,
  14520. x: 15.5,
  14521. y: 12,
  14522. radius: .5,
  14523. speed: 9,
  14524. points: 0,
  14525. path: [{
  14526. x: 15.5,
  14527. y: 12
  14528. }, {
  14529. x: 15.5,
  14530. y: 5.5
  14531. }, {
  14532. x: 1.5,
  14533. y: 5.5
  14534. }, {
  14535. x: 1.5,
  14536. y: 12
  14537. }],
  14538. loop: !0,
  14539. chaser: !1
  14540. }, {
  14541. type: 2,
  14542. x: 15.5,
  14543. y: 5.5,
  14544. radius: .5,
  14545. speed: 9,
  14546. points: 0,
  14547. path: [{
  14548. x: 15.5,
  14549. y: 5.5
  14550. }, {
  14551. x: 1.5,
  14552. y: 5.5
  14553. }, {
  14554. x: 1.5,
  14555. y: 12
  14556. }, {
  14557. x: 15.5,
  14558. y: 12
  14559. }],
  14560. loop: !0,
  14561. chaser: !1
  14562. }, {
  14563. type: 5,
  14564. x: 6,
  14565. y: 14,
  14566. x2: 6,
  14567. y2: 4,
  14568. speed1: 1,
  14569. speed2: 1,
  14570. continuous: !1
  14571. }, {
  14572. type: 5,
  14573. x: 11,
  14574. y: 14,
  14575. x2: 11,
  14576. y2: 4,
  14577. speed1: 1,
  14578. speed2: 1,
  14579. continuous: !1
  14580. }, {
  14581. type: 1,
  14582. x: 8.5,
  14583. y: 8.5,
  14584. radius: 1,
  14585. speed: 20,
  14586. points: 0,
  14587. path: [],
  14588. loop: !1,
  14589. chaser: !1
  14590. }, {
  14591. type: 3,
  14592. x: 8.5,
  14593. y: 5,
  14594. radius: 1,
  14595. speed: 7,
  14596. points: 50,
  14597. path: [],
  14598. loop: !1,
  14599. chaser: !1
  14600. }, {
  14601. type: 3,
  14602. x: 8.5,
  14603. y: 12.5,
  14604. radius: 1,
  14605. speed: 7,
  14606. points: 50,
  14607. path: [],
  14608. loop: !1,
  14609. chaser: !1
  14610. }, {
  14611. type: 3,
  14612. x: 12.5,
  14613. y: 12.5,
  14614. radius: 1,
  14615. speed: 7,
  14616. points: 20,
  14617. path: [],
  14618. loop: !1,
  14619. chaser: !1
  14620. }, {
  14621. type: 3,
  14622. x: 4.5,
  14623. y: 12.5,
  14624. radius: 1,
  14625. speed: 7,
  14626. points: 20,
  14627. path: [],
  14628. loop: !1,
  14629. chaser: !1
  14630. }, {
  14631. type: 3,
  14632. x: 12.5,
  14633. y: 5,
  14634. radius: 1,
  14635. speed: 7,
  14636. points: 20,
  14637. path: [],
  14638. loop: !1,
  14639. chaser: !1
  14640. }, {
  14641. type: 3,
  14642. x: 4.5,
  14643. y: 5,
  14644. radius: 1,
  14645. speed: 7,
  14646. points: 20,
  14647. path: [],
  14648. loop: !1,
  14649. chaser: !1
  14650. }],
  14651. cells: [
  14652. [{
  14653. type: 1
  14654. }, {
  14655. type: 1
  14656. }, {
  14657. type: 1
  14658. }, {
  14659. type: 1
  14660. }, {
  14661. type: 1
  14662. }, {
  14663. type: 1
  14664. }, {
  14665. type: 1
  14666. }, {
  14667. type: 1
  14668. }],
  14669. [{
  14670. type: 1
  14671. }, {
  14672. type: 1
  14673. }, {
  14674. type: 1
  14675. }, {
  14676. type: 1
  14677. }, {
  14678. type: 1
  14679. }, {
  14680. type: 1
  14681. }, {
  14682. type: 1
  14683. }, {
  14684. type: 1
  14685. }],
  14686. [{
  14687. type: 1
  14688. }, {
  14689. type: 1
  14690. }, {
  14691. type: 1
  14692. }, {
  14693. type: 1
  14694. }, {
  14695. type: 1
  14696. }, {
  14697. type: 1
  14698. }, {
  14699. type: 1
  14700. }, {
  14701. type: 1
  14702. }],
  14703. [{
  14704. type: 1
  14705. }, {
  14706. type: 1
  14707. }, {
  14708. type: 1
  14709. }, {
  14710. type: 1
  14711. }, {
  14712. type: 1
  14713. }, {
  14714. type: 1
  14715. }, {
  14716. type: 1
  14717. }, {
  14718. type: 1
  14719. }],
  14720. [{
  14721. type: 1
  14722. }, {
  14723. type: 1
  14724. }, {
  14725. type: 1
  14726. }, {
  14727. type: 1
  14728. }, {
  14729. type: 1
  14730. }, {
  14731. type: 1
  14732. }, {
  14733. type: 1
  14734. }, {
  14735. type: 1
  14736. }],
  14737. [{
  14738. type: 1
  14739. }, {
  14740. type: 1
  14741. }, {
  14742. type: 1
  14743. }, {
  14744. type: 1
  14745. }, {
  14746. type: 1
  14747. }, {
  14748. type: 1
  14749. }, {
  14750. type: 1
  14751. }, {
  14752. type: 1
  14753. }],
  14754. [{
  14755. type: 1
  14756. }, {
  14757. type: 1
  14758. }, {
  14759. type: 1
  14760. }, {
  14761. type: 1
  14762. }, {
  14763. type: 1
  14764. }, {
  14765. type: 1
  14766. }, {
  14767. type: 1
  14768. }, {
  14769. type: 1
  14770. }],
  14771. [{
  14772. type: 1
  14773. }, {
  14774. type: 1
  14775. }, {
  14776. type: 1
  14777. }, {
  14778. type: 1
  14779. }, {
  14780. type: 1
  14781. }, {
  14782. type: 1
  14783. }, {
  14784. type: 1
  14785. }, {
  14786. type: 1
  14787. }]
  14788. ]
  14789. })
  14790. };
  14791. a.addLevel0059 = function(a) {
  14792. a.push({
  14793. type: 1,
  14794. maxMoves: 3,
  14795. objects: [{
  14796. type: 2,
  14797. x: 7.5,
  14798. y: 5.5,
  14799. radius: .5,
  14800. speed: 9,
  14801. points: 0,
  14802. path: [{
  14803. x: 7.5,
  14804. y: 5.5
  14805. }, {
  14806. x: 15.5,
  14807. y: 5.5
  14808. }],
  14809. loop: !0,
  14810. chaser: !1
  14811. }, {
  14812. type: 2,
  14813. x: 7.5,
  14814. y: 12.5,
  14815. radius: .5,
  14816. speed: 9,
  14817. points: 0,
  14818. path: [{
  14819. x: 7.5,
  14820. y: 12.5
  14821. }, {
  14822. x: 15.5,
  14823. y: 12.5
  14824. }],
  14825. loop: !0,
  14826. chaser: !1
  14827. }, {
  14828. type: 5,
  14829. x: 6,
  14830. y: 6,
  14831. x2: 6,
  14832. y2: 12,
  14833. speed1: 1,
  14834. speed2: 1,
  14835. continuous: !0
  14836. }, {
  14837. type: 5,
  14838. x: .5,
  14839. y: 8.5,
  14840. x2: 16.5,
  14841. y2: 8.5,
  14842. speed1: 1,
  14843. speed2: 2,
  14844. continuous: !1
  14845. }, {
  14846. type: 1,
  14847. x: 3,
  14848. y: 2,
  14849. radius: 1,
  14850. speed: 20,
  14851. points: 0,
  14852. path: [],
  14853. loop: !1,
  14854. chaser: !1
  14855. }, {
  14856. type: 3,
  14857. x: 8.5,
  14858. y: 6.5,
  14859. radius: 1,
  14860. speed: 7,
  14861. points: 20,
  14862. path: [],
  14863. loop: !1,
  14864. chaser: !1
  14865. }, {
  14866. type: 3,
  14867. x: 3,
  14868. y: 6.5,
  14869. radius: 1,
  14870. speed: 7,
  14871. points: 20,
  14872. path: [],
  14873. loop: !1,
  14874. chaser: !1
  14875. }, {
  14876. type: 3,
  14877. x: 14,
  14878. y: 6.5,
  14879. radius: 1,
  14880. speed: 7,
  14881. points: 20,
  14882. path: [],
  14883. loop: !1,
  14884. chaser: !1
  14885. }, {
  14886. type: 3,
  14887. x: 8.5,
  14888. y: 10.5,
  14889. radius: 1,
  14890. speed: 7,
  14891. points: 50,
  14892. path: [],
  14893. loop: !1,
  14894. chaser: !1
  14895. }, {
  14896. type: 3,
  14897. x: 3,
  14898. y: 10.5,
  14899. radius: 1,
  14900. speed: 7,
  14901. points: 50,
  14902. path: [],
  14903. loop: !1,
  14904. chaser: !1
  14905. }, {
  14906. type: 3,
  14907. x: 14,
  14908. y: 10.5,
  14909. radius: 1,
  14910. speed: 7,
  14911. points: 50,
  14912. path: [],
  14913. loop: !1,
  14914. chaser: !1
  14915. }],
  14916. cells: [
  14917. [{
  14918. type: 1
  14919. }, {
  14920. type: 1
  14921. }, {
  14922. type: 1
  14923. }, {
  14924. type: 1
  14925. }, {
  14926. type: 1
  14927. }, {
  14928. type: 1
  14929. }, {
  14930. type: 1
  14931. }, {
  14932. type: 1
  14933. }],
  14934. [{
  14935. type: 1
  14936. }, {
  14937. type: 1
  14938. }, {
  14939. type: 1
  14940. }, {
  14941. type: 1
  14942. }, {
  14943. type: 1
  14944. }, {
  14945. type: 1
  14946. }, {
  14947. type: 1
  14948. }, {
  14949. type: 1
  14950. }],
  14951. [{
  14952. type: 1
  14953. }, {
  14954. type: 1
  14955. }, {
  14956. type: 1
  14957. }, {
  14958. type: 1
  14959. }, {
  14960. type: 1
  14961. }, {
  14962. type: 1
  14963. }, {
  14964. type: 1
  14965. }, {
  14966. type: 1
  14967. }],
  14968. [{
  14969. type: 1
  14970. }, {
  14971. type: 1
  14972. }, {
  14973. type: 1
  14974. }, {
  14975. type: 1
  14976. }, {
  14977. type: 1
  14978. }, {
  14979. type: 1
  14980. }, {
  14981. type: 1
  14982. }, {
  14983. type: 1
  14984. }],
  14985. [{
  14986. type: 1
  14987. }, {
  14988. type: 1
  14989. }, {
  14990. type: 1
  14991. }, {
  14992. type: 1
  14993. }, {
  14994. type: 1
  14995. }, {
  14996. type: 1
  14997. }, {
  14998. type: 1
  14999. }, {
  15000. type: 1
  15001. }],
  15002. [{
  15003. type: 1
  15004. }, {
  15005. type: 1
  15006. }, {
  15007. type: 1
  15008. }, {
  15009. type: 1
  15010. }, {
  15011. type: 1
  15012. }, {
  15013. type: 1
  15014. }, {
  15015. type: 1
  15016. }, {
  15017. type: 1
  15018. }],
  15019. [{
  15020. type: 1
  15021. }, {
  15022. type: 1
  15023. }, {
  15024. type: 1
  15025. }, {
  15026. type: 1
  15027. }, {
  15028. type: 1
  15029. }, {
  15030. type: 1
  15031. }, {
  15032. type: 1
  15033. }, {
  15034. type: 1
  15035. }],
  15036. [{
  15037. type: 1
  15038. }, {
  15039. type: 1
  15040. }, {
  15041. type: 1
  15042. }, {
  15043. type: 1
  15044. }, {
  15045. type: 1
  15046. }, {
  15047. type: 1
  15048. }, {
  15049. type: 1
  15050. }, {
  15051. type: 1
  15052. }]
  15053. ]
  15054. })
  15055. };
  15056. a.addLevel0060 = function(a) {
  15057. a.push({
  15058. type: 1,
  15059. maxMoves: 3,
  15060. objects: [{
  15061. type: 2,
  15062. x: 2,
  15063. y: 14,
  15064. radius: .5,
  15065. speed: 10,
  15066. points: 0,
  15067. path: [{
  15068. x: 2,
  15069. y: 14
  15070. }, {
  15071. x: 7.5,
  15072. y: 10
  15073. }, {
  15074. x: 3.5,
  15075. y: 6
  15076. }, {
  15077. x: 7.5,
  15078. y: 10
  15079. }],
  15080. loop: !0,
  15081. chaser: !1
  15082. }, {
  15083. type: 2,
  15084. x: 15,
  15085. y: 14,
  15086. radius: .5,
  15087. speed: 10,
  15088. points: 0,
  15089. path: [{
  15090. x: 15,
  15091. y: 14
  15092. }, {
  15093. x: 9.5,
  15094. y: 10
  15095. }, {
  15096. x: 13.5,
  15097. y: 6
  15098. }, {
  15099. x: 9.5,
  15100. y: 10
  15101. }],
  15102. loop: !0,
  15103. chaser: !1
  15104. }, {
  15105. type: 2,
  15106. x: 8.5,
  15107. y: 3,
  15108. radius: .5,
  15109. speed: 10,
  15110. points: 0,
  15111. path: [{
  15112. x: 8.5,
  15113. y: 3
  15114. }, {
  15115. x: 8.5,
  15116. y: 7.5
  15117. }],
  15118. loop: !0,
  15119. chaser: !1
  15120. }, {
  15121. type: 2,
  15122. x: 8.5,
  15123. y: 14,
  15124. radius: .5,
  15125. speed: 10,
  15126. points: 0,
  15127. path: [{
  15128. x: 8.5,
  15129. y: 14
  15130. }, {
  15131. x: 8.5,
  15132. y: 9.5
  15133. }],
  15134. loop: !0,
  15135. chaser: !1
  15136. }, {
  15137. type: 1,
  15138. x: 3,
  15139. y: 2,
  15140. radius: 1,
  15141. speed: 20,
  15142. points: 0,
  15143. path: [],
  15144. loop: !1,
  15145. chaser: !1
  15146. }, {
  15147. type: 3,
  15148. x: 8.5,
  15149. y: 8.5,
  15150. radius: .5,
  15151. speed: 5,
  15152. points: 100,
  15153. path: [],
  15154. loop: !1,
  15155. chaser: !1
  15156. }, {
  15157. type: 3,
  15158. x: 2,
  15159. y: 14,
  15160. radius: .5,
  15161. speed: 5,
  15162. points: 50,
  15163. path: [{
  15164. x: 2,
  15165. y: 14
  15166. }, {
  15167. x: 7.5,
  15168. y: 10
  15169. }, {
  15170. x: 3.5,
  15171. y: 6
  15172. }, {
  15173. x: 7.5,
  15174. y: 10
  15175. }],
  15176. loop: !0,
  15177. chaser: !1
  15178. }, {
  15179. type: 3,
  15180. x: 15,
  15181. y: 14,
  15182. radius: .5,
  15183. speed: 5,
  15184. points: 50,
  15185. path: [{
  15186. x: 15,
  15187. y: 14
  15188. }, {
  15189. x: 9.5,
  15190. y: 10
  15191. }, {
  15192. x: 13.5,
  15193. y: 6
  15194. }, {
  15195. x: 9.5,
  15196. y: 10
  15197. }],
  15198. loop: !0,
  15199. chaser: !1
  15200. }],
  15201. cells: [
  15202. [{
  15203. type: 1
  15204. }, {
  15205. type: 1
  15206. }, {
  15207. type: 1
  15208. }, {
  15209. type: 1
  15210. }, {
  15211. type: 1
  15212. }, {
  15213. type: 1
  15214. }, {
  15215. type: 1
  15216. }, {
  15217. type: 1
  15218. }],
  15219. [{
  15220. type: 1
  15221. }, {
  15222. type: 1
  15223. }, {
  15224. type: 1
  15225. }, {
  15226. type: 1
  15227. }, {
  15228. type: 1
  15229. }, {
  15230. type: 1
  15231. }, {
  15232. type: 1
  15233. }, {
  15234. type: 1
  15235. }],
  15236. [{
  15237. type: 1
  15238. }, {
  15239. type: 1
  15240. }, {
  15241. type: 1
  15242. }, {
  15243. type: 1
  15244. }, {
  15245. type: 1
  15246. }, {
  15247. type: 1
  15248. }, {
  15249. type: 1
  15250. }, {
  15251. type: 1
  15252. }],
  15253. [{
  15254. type: 1
  15255. }, {
  15256. type: 1
  15257. }, {
  15258. type: 1
  15259. }, {
  15260. type: 1
  15261. }, {
  15262. type: 1
  15263. }, {
  15264. type: 1
  15265. }, {
  15266. type: 1
  15267. }, {
  15268. type: 1
  15269. }],
  15270. [{
  15271. type: 1
  15272. }, {
  15273. type: 1
  15274. }, {
  15275. type: 1
  15276. }, {
  15277. type: 1
  15278. }, {
  15279. type: 1
  15280. }, {
  15281. type: 1
  15282. }, {
  15283. type: 1
  15284. }, {
  15285. type: 1
  15286. }],
  15287. [{
  15288. type: 1
  15289. }, {
  15290. type: 1
  15291. }, {
  15292. type: 1
  15293. }, {
  15294. type: 1
  15295. }, {
  15296. type: 1
  15297. }, {
  15298. type: 1
  15299. }, {
  15300. type: 1
  15301. }, {
  15302. type: 1
  15303. }],
  15304. [{
  15305. type: 1
  15306. }, {
  15307. type: 1
  15308. }, {
  15309. type: 1
  15310. }, {
  15311. type: 1
  15312. }, {
  15313. type: 1
  15314. }, {
  15315. type: 1
  15316. }, {
  15317. type: 1
  15318. }, {
  15319. type: 1
  15320. }],
  15321. [{
  15322. type: 1
  15323. }, {
  15324. type: 1
  15325. }, {
  15326. type: 1
  15327. }, {
  15328. type: 1
  15329. }, {
  15330. type: 1
  15331. }, {
  15332. type: 1
  15333. }, {
  15334. type: 1
  15335. }, {
  15336. type: 1
  15337. }]
  15338. ]
  15339. })
  15340. };
  15341. a.addChallengeLevel = function(a) {
  15342. a.push({
  15343. type: 1,
  15344. maxMoves: 20,
  15345. objects: [{
  15346. type: 2,
  15347. x: 0,
  15348. y: 15,
  15349. radius: .5,
  15350. speed: 10,
  15351. points: 0,
  15352. path: [{
  15353. x: 0,
  15354. y: 15
  15355. }, {
  15356. x: 17,
  15357. y: 7
  15358. }],
  15359. loop: !0,
  15360. chaser: !1
  15361. }, {
  15362. type: 2,
  15363. x: 10,
  15364. y: 2,
  15365. radius: .5,
  15366. speed: 10,
  15367. points: 0,
  15368. path: [{
  15369. x: 10,
  15370. y: 2
  15371. }, {
  15372. x: 10,
  15373. y: 15
  15374. }],
  15375. loop: !0,
  15376. chaser: !1
  15377. }, {
  15378. type: 2,
  15379. x: 17,
  15380. y: 9,
  15381. radius: .5,
  15382. speed: 12,
  15383. points: 0,
  15384. path: [{
  15385. x: 17,
  15386. y: 9
  15387. }, {
  15388. x: 0,
  15389. y: 9
  15390. }],
  15391. loop: !0,
  15392. chaser: !1
  15393. }, {
  15394. type: 2,
  15395. x: 0,
  15396. y: 7,
  15397. radius: .5,
  15398. speed: 12,
  15399. points: 0,
  15400. path: [{
  15401. x: 0,
  15402. y: 7
  15403. }, {
  15404. x: 15,
  15405. y: 9
  15406. }],
  15407. loop: !0,
  15408. chaser: !1
  15409. }, {
  15410. type: 2,
  15411. x: 2,
  15412. y: 5,
  15413. radius: .5,
  15414. speed: 12,
  15415. points: 0,
  15416. path: [{
  15417. x: 2,
  15418. y: 5
  15419. }, {
  15420. x: 2,
  15421. y: 13.5
  15422. }, {
  15423. x: 15,
  15424. y: 13.5
  15425. }, {
  15426. x: 15,
  15427. y: 5
  15428. }, {
  15429. x: 15,
  15430. y: 13.5
  15431. }, {
  15432. x: 2,
  15433. y: 13.5
  15434. }],
  15435. loop: !0,
  15436. chaser: !1
  15437. }, {
  15438. type: 2,
  15439. x: 0,
  15440. y: 8.5,
  15441. radius: .5,
  15442. speed: 12,
  15443. points: 0,
  15444. path: [{
  15445. x: 0,
  15446. y: 8.5
  15447. }, {
  15448. x: 17,
  15449. y: 8.5
  15450. }],
  15451. loop: !0,
  15452. chaser: !1
  15453. }, {
  15454. type: 2,
  15455. x: 8.5,
  15456. y: 17,
  15457. radius: .5,
  15458. speed: 12,
  15459. points: 0,
  15460. path: [{
  15461. x: 8.5,
  15462. y: 17
  15463. }, {
  15464. x: 8.5,
  15465. y: 2
  15466. }],
  15467. loop: !0,
  15468. chaser: !1
  15469. }, {
  15470. type: 2,
  15471. x: 0,
  15472. y: 13,
  15473. radius: .5,
  15474. speed: 12,
  15475. points: 0,
  15476. path: [{
  15477. x: 0,
  15478. y: 13
  15479. }, {
  15480. x: 7.5,
  15481. y: 13
  15482. }, {
  15483. x: 7.5,
  15484. y: 4
  15485. }, {
  15486. x: 7.5,
  15487. y: 13
  15488. }],
  15489. loop: !0,
  15490. chaser: !1
  15491. }, {
  15492. type: 2,
  15493. x: 17,
  15494. y: 13,
  15495. radius: .5,
  15496. speed: 12,
  15497. points: 0,
  15498. path: [{
  15499. x: 17,
  15500. y: 13
  15501. }, {
  15502. x: 9.5,
  15503. y: 13
  15504. }, {
  15505. x: 9.5,
  15506. y: 4
  15507. }, {
  15508. x: 9.5,
  15509. y: 13
  15510. }],
  15511. loop: !0,
  15512. chaser: !1
  15513. }, {
  15514. type: 2,
  15515. x: 0,
  15516. y: 15,
  15517. radius: .5,
  15518. speed: 12,
  15519. points: 0,
  15520. path: [{
  15521. x: 0,
  15522. y: 15
  15523. }, {
  15524. x: 7.5,
  15525. y: 10
  15526. }, {
  15527. x: 3.5,
  15528. y: 6
  15529. }, {
  15530. x: 7.5,
  15531. y: 10
  15532. }],
  15533. loop: !0,
  15534. chaser: !1
  15535. }, {
  15536. type: 1,
  15537. x: 3,
  15538. y: 2,
  15539. radius: 1,
  15540. speed: 20,
  15541. points: 0,
  15542. path: [],
  15543. loop: !1,
  15544. chaser: !1
  15545. }],
  15546. cells: [
  15547. [{
  15548. type: 1
  15549. }, {
  15550. type: 1
  15551. }, {
  15552. type: 1
  15553. }, {
  15554. type: 1
  15555. }, {
  15556. type: 1
  15557. }, {
  15558. type: 1
  15559. }, {
  15560. type: 1
  15561. }, {
  15562. type: 1
  15563. }],
  15564. [{
  15565. type: 1
  15566. }, {
  15567. type: 1
  15568. }, {
  15569. type: 1
  15570. }, {
  15571. type: 1
  15572. }, {
  15573. type: 1
  15574. }, {
  15575. type: 1
  15576. }, {
  15577. type: 1
  15578. }, {
  15579. type: 1
  15580. }],
  15581. [{
  15582. type: 1
  15583. }, {
  15584. type: 1
  15585. }, {
  15586. type: 1
  15587. }, {
  15588. type: 1
  15589. }, {
  15590. type: 1
  15591. }, {
  15592. type: 1
  15593. }, {
  15594. type: 1
  15595. }, {
  15596. type: 1
  15597. }],
  15598. [{
  15599. type: 1
  15600. }, {
  15601. type: 1
  15602. }, {
  15603. type: 1
  15604. }, {
  15605. type: 1
  15606. }, {
  15607. type: 1
  15608. }, {
  15609. type: 1
  15610. }, {
  15611. type: 1
  15612. }, {
  15613. type: 1
  15614. }],
  15615. [{
  15616. type: 1
  15617. }, {
  15618. type: 1
  15619. }, {
  15620. type: 1
  15621. }, {
  15622. type: 1
  15623. }, {
  15624. type: 1
  15625. }, {
  15626. type: 1
  15627. }, {
  15628. type: 1
  15629. }, {
  15630. type: 1
  15631. }],
  15632. [{
  15633. type: 1
  15634. }, {
  15635. type: 1
  15636. }, {
  15637. type: 1
  15638. }, {
  15639. type: 1
  15640. }, {
  15641. type: 1
  15642. }, {
  15643. type: 1
  15644. }, {
  15645. type: 1
  15646. }, {
  15647. type: 1
  15648. }],
  15649. [{
  15650. type: 1
  15651. }, {
  15652. type: 1
  15653. }, {
  15654. type: 1
  15655. }, {
  15656. type: 1
  15657. }, {
  15658. type: 1
  15659. }, {
  15660. type: 1
  15661. }, {
  15662. type: 1
  15663. }, {
  15664. type: 1
  15665. }],
  15666. [{
  15667. type: 1
  15668. }, {
  15669. type: 1
  15670. }, {
  15671. type: 1
  15672. }, {
  15673. type: 1
  15674. }, {
  15675. type: 1
  15676. }, {
  15677. type: 1
  15678. }, {
  15679. type: 1
  15680. }, {
  15681. type: 1
  15682. }]
  15683. ]
  15684. })
  15685. };
  15686. a.addLevelReference = function(a) {
  15687. a.push({
  15688. type: 1,
  15689. maxMoves: 40,
  15690. objects: [{
  15691. type: 2,
  15692. x: 0,
  15693. y: 5,
  15694. radius: .5,
  15695. speed: 10,
  15696. points: 0,
  15697. path: [{
  15698. x: 0,
  15699. y: 5
  15700. }, {
  15701. x: 17,
  15702. y: 7
  15703. }],
  15704. loop: !0,
  15705. chaser: !1
  15706. }, {
  15707. type: 2,
  15708. x: 5,
  15709. y: 7,
  15710. radius: .5,
  15711. speed: 7,
  15712. points: 0,
  15713. path: [{
  15714. x: 5,
  15715. y: 7
  15716. }, {
  15717. x: 9,
  15718. y: 12
  15719. }, {
  15720. x: 15,
  15721. y: 9
  15722. }, {
  15723. x: 9,
  15724. y: 12
  15725. }],
  15726. loop: !0,
  15727. chaser: !1
  15728. }, {
  15729. type: 1,
  15730. x: 3,
  15731. y: 2,
  15732. radius: 1,
  15733. speed: 20,
  15734. points: 0,
  15735. path: [],
  15736. loop: !1,
  15737. chaser: !1
  15738. }, {
  15739. type: 4,
  15740. x: 2,
  15741. y: 16,
  15742. radius: 1,
  15743. speed: 7,
  15744. points: 150,
  15745. path: [],
  15746. loop: !1,
  15747. chaser: !1
  15748. }, {
  15749. type: 3,
  15750. x: 10,
  15751. y: 7,
  15752. radius: 1,
  15753. speed: 7,
  15754. points: 20,
  15755. path: [],
  15756. loop: !1,
  15757. chaser: !1
  15758. }, {
  15759. type: 3,
  15760. x: 16,
  15761. y: 4,
  15762. radius: 1,
  15763. speed: 7,
  15764. points: 10,
  15765. path: [],
  15766. loop: !1,
  15767. chaser: !1
  15768. }, {
  15769. type: 3,
  15770. x: 14,
  15771. y: 11,
  15772. radius: 1,
  15773. speed: 7,
  15774. points: 50,
  15775. path: [],
  15776. loop: !1,
  15777. chaser: !1
  15778. }],
  15779. cells: [
  15780. [{
  15781. type: 1
  15782. }, {
  15783. type: 1
  15784. }, {
  15785. type: 1
  15786. }, {
  15787. type: 1
  15788. }, {
  15789. type: 1
  15790. }, {
  15791. type: 1
  15792. }, {
  15793. type: 1
  15794. }, {
  15795. type: 1
  15796. }],
  15797. [{
  15798. type: 1
  15799. }, {
  15800. type: 1
  15801. }, {
  15802. type: 1
  15803. }, {
  15804. type: 1
  15805. }, {
  15806. type: 1
  15807. }, {
  15808. type: 1
  15809. }, {
  15810. type: 1
  15811. }, {
  15812. type: 1
  15813. }],
  15814. [{
  15815. type: 1
  15816. }, {
  15817. type: 1
  15818. }, {
  15819. type: 1
  15820. }, {
  15821. type: 1
  15822. }, {
  15823. type: 1
  15824. }, {
  15825. type: 1
  15826. }, {
  15827. type: 1
  15828. }, {
  15829. type: 1
  15830. }],
  15831. [{
  15832. type: 1
  15833. }, {
  15834. type: 1
  15835. }, {
  15836. type: 1
  15837. }, {
  15838. type: 1
  15839. }, {
  15840. type: 1
  15841. }, {
  15842. type: 1
  15843. }, {
  15844. type: 1
  15845. }, {
  15846. type: 1
  15847. }],
  15848. [{
  15849. type: 1
  15850. }, {
  15851. type: 1
  15852. }, {
  15853. type: 1
  15854. }, {
  15855. type: 1
  15856. }, {
  15857. type: 1
  15858. }, {
  15859. type: 1
  15860. }, {
  15861. type: 1
  15862. }, {
  15863. type: 1
  15864. }],
  15865. [{
  15866. type: 1
  15867. }, {
  15868. type: 1
  15869. }, {
  15870. type: 1
  15871. }, {
  15872. type: 1
  15873. }, {
  15874. type: 1
  15875. }, {
  15876. type: 1
  15877. }, {
  15878. type: 1
  15879. }, {
  15880. type: 1
  15881. }],
  15882. [{
  15883. type: 1
  15884. }, {
  15885. type: 1
  15886. }, {
  15887. type: 1
  15888. }, {
  15889. type: 1
  15890. }, {
  15891. type: 1
  15892. }, {
  15893. type: 1
  15894. }, {
  15895. type: 1
  15896. }, {
  15897. type: 1
  15898. }],
  15899. [{
  15900. type: 1
  15901. }, {
  15902. type: 1
  15903. }, {
  15904. type: 1
  15905. }, {
  15906. type: 1
  15907. }, {
  15908. type: 1
  15909. }, {
  15910. type: 1
  15911. }, {
  15912. type: 1
  15913. }, {
  15914. type: 1
  15915. }]
  15916. ]
  15917. })
  15918. }
  15919. })(window.AquaThiefGame = window.AquaThiefGame || {});
  15920. (function(a, U) {
  15921. a.SceneManager = function() {
  15922. if (!(this instanceof a.SceneManager)) throw Error("Constructor called as a function.");
  15923. this.previousMode = this.mode = a.GameSceneModeEnum.None;
  15924. this.currentLeaderboardsPage = this.currentAchievementsPage = this.currentShopPage = this.currentLevelPage = this.currentLevel = 0;
  15925. this.challengeLevelIndex = 200;
  15926. this.pageAnimTime = this.achievementSetupTime = 0;
  15927. this.pageAnimDirection = a.DirectionEnum.None;
  15928. this.pageOffsetX = this.pagex = this.pagevx = this.pageFadeInTime = 0;
  15929. this.pageBounce = !1;
  15930. this.animationAngle = 0;
  15931. this.menuExpanded = this.canDrawPath = this.canChangeMode = this.canForcePageChange = !1;
  15932. this.titleNotificationTime = this.badgeNotificationTime = this.badgeNotification = this.shopMessageTime = this.menuTime = 0;
  15933. this.minX = 1;
  15934. this.minY = -10;
  15935. this.maxX = this.minX + 15;
  15936. this.maxY = this.minY + 15;
  15937. this.drawScoreTime = this.drawScore = this.currentBest = this.currentStars = this.currentScore = this.scoreTime = this.movecountTime = 0;
  15938. this.dataSaved = this.newBest = !1;
  15939. this.boosters = [];
  15940. this.effects = [];
  15941. this.objects = [];
  15942. this.cells = [];
  15943. this.wonObjects = [];
  15944. this.lostObjects = [];
  15945. this.currencyCount = 0;
  15946. this.activeObject = null;
  15947. this.bonusTime = this.activeObjectChangedTime = 0;
  15948. this.bonusFactor = 1;
  15949. this.grid = {};
  15950. this.tutorialStepChangeTime = this.tutorialStep = 0;
  15951. this.pickUp = this.tutorialAutoStep = !1
  15952. };
  15953. a.SceneManager.prototype.resetPage = function() {
  15954. this.pageAnimTime = 0;
  15955. this.pageAnimDirection = a.DirectionEnum.None;
  15956. this.pageOffsetX = this.pagex = this.pagevx = this.pageFadeInTime = 0;
  15957. this.pageBounce = !1
  15958. };
  15959. a.SceneManager.prototype.loadLevel = function() {
  15960. a.userData.levels[this.currentLevel] ||
  15961. a.createUserLeveldata(this.currentLevel);
  15962. this.isChallenge = this.currentLevel === this.challengeLevelIndex ? !0 : !1;
  15963. this.objects = [];
  15964. this.cells = [];
  15965. this.activeObject = null;
  15966. this.bonusTime = 0;
  15967. this.bonusFactor = 1;
  15968. this.currentStars = this.currentScore = 0;
  15969. this.currentBest = a.userData.levels[this.currentLevel].bestScore;
  15970. this.drawScoreTime = this.drawScore = 0;
  15971. this.newBest = !1;
  15972. this.badgeNotification = this.currentBest;
  15973. this.currencyCount = a.userData.currencyCount;
  15974. this.dataSaved = !1;
  15975. this.tutorialStep = 0;
  15976. this.tutorialStepChangeTime =
  15977. .5;
  15978. this.tutorialAutoStep = !1;
  15979. this.grid = a.levelData[this.isChallenge ? a.levelData.length - 1 : this.currentLevel];
  15980. this.moveCount = this.grid.maxMoves;
  15981. switch (this.grid.type) {
  15982. case a.GridTypeEnum.Small:
  15983. this.maxX = this.minX + 15;
  15984. this.maxY = this.minY + 15;
  15985. this.grid.rowCount = 7;
  15986. this.grid.columnCount = 7;
  15987. this.grid.permutationTable = a.permutationTable7x7;
  15988. break;
  15989. case a.GridTypeEnum.Large:
  15990. this.maxX = this.minX + 17, this.maxY = this.minY + 17, this.grid.rowCount = 8, this.grid.columnCount = 8, this.grid.permutationTable = a.permutationTable8x8
  15991. }
  15992. this.boosters =
  15993. this.isChallenge ? [{
  15994. type: a.BoosterTypeEnum.Speed,
  15995. active: !0,
  15996. value: 100
  15997. }, {
  15998. type: a.BoosterTypeEnum.Shield,
  15999. active: !0,
  16000. value: 300
  16001. }] : 3 > this.currentLevel ? [{
  16002. type: a.BoosterTypeEnum.Speed,
  16003. active: !1,
  16004. value: 100
  16005. }, {
  16006. type: a.BoosterTypeEnum.Shadow,
  16007. active: !1,
  16008. value: 200
  16009. }, {
  16010. type: a.BoosterTypeEnum.Shield,
  16011. active: !1,
  16012. value: 300
  16013. }] : 3 === this.currentLevel ? [{
  16014. type: a.BoosterTypeEnum.Speed,
  16015. active: !0,
  16016. value: 0
  16017. }, {
  16018. type: a.BoosterTypeEnum.Shadow,
  16019. active: !1,
  16020. value: 200
  16021. }, {
  16022. type: a.BoosterTypeEnum.Shield,
  16023. active: !1,
  16024. value: 300
  16025. }] : 11 > this.currentLevel ? [{
  16026. type: a.BoosterTypeEnum.Speed,
  16027. active: !0,
  16028. value: 100
  16029. }, {
  16030. type: a.BoosterTypeEnum.Shadow,
  16031. active: !1,
  16032. value: 200
  16033. }, {
  16034. type: a.BoosterTypeEnum.Shield,
  16035. active: !1,
  16036. value: 300
  16037. }] : 11 === this.currentLevel ? [{
  16038. type: a.BoosterTypeEnum.Speed,
  16039. active: !0,
  16040. value: 100
  16041. }, {
  16042. type: a.BoosterTypeEnum.Shadow,
  16043. active: !0,
  16044. value: 0
  16045. }, {
  16046. type: a.BoosterTypeEnum.Shield,
  16047. active: !1,
  16048. value: 300
  16049. }] : 21 > this.currentLevel ? [{
  16050. type: a.BoosterTypeEnum.Speed,
  16051. active: !0,
  16052. value: 100
  16053. }, {
  16054. type: a.BoosterTypeEnum.Shadow,
  16055. active: !0,
  16056. value: 200
  16057. }, {
  16058. type: a.BoosterTypeEnum.Shield,
  16059. active: !1,
  16060. value: 300
  16061. }] : 21 === this.currentLevel ? [{
  16062. type: a.BoosterTypeEnum.Speed,
  16063. active: !0,
  16064. value: 100
  16065. }, {
  16066. type: a.BoosterTypeEnum.Shadow,
  16067. active: !0,
  16068. value: 200
  16069. }, {
  16070. type: a.BoosterTypeEnum.Shield,
  16071. active: !0,
  16072. value: 0
  16073. }] : [{
  16074. type: a.BoosterTypeEnum.Speed,
  16075. active: !0,
  16076. value: 100
  16077. }, {
  16078. type: a.BoosterTypeEnum.Shadow,
  16079. active: !0,
  16080. value: 200
  16081. }, {
  16082. type: a.BoosterTypeEnum.Shield,
  16083. active: !0,
  16084. value: 300
  16085. }];
  16086. var e, k;
  16087. for (e = 0; e < this.grid.rowCount; ++e)
  16088. for (k = 0; k < this.grid.columnCount; ++k) this.cells.push(new a.CellEntity(this.grid.cells[e][k].type, this.minX + k + .5, this.minY - (e + 1.3 * k), e, k, 1, a.DirectionEnum.Left));
  16089. if (this.isChallenge) {
  16090. var f = Math.floor(10 * Math.random());
  16091. for (e = Math.floor(10 * Math.random()); e === f;) e = Math.floor(10 * Math.random());
  16092. console.log(f + " " + e);
  16093. var p = [];
  16094. for (k = 0; k < this.grid.objects[f].path.length; ++k) p.push({
  16095. x: this.minX + this.grid.objects[f].path[k].x,
  16096. y: this.minY + this.grid.objects[f].path[k].y
  16097. });
  16098. p = new a.ObjectEntity(this.grid.objects[f].type, this.minX + this.grid.objects[f].x, this.minY + this.grid.objects[f].y, this.grid.objects[f].speed, this.grid.objects[f].radius, a.DirectionEnum.Left, this.grid.objects[f].points,
  16099. p, this.grid.objects[f].loop, this.grid.objects[f].chaser);
  16100. this.objects.push(p);
  16101. p = [];
  16102. for (k = 0; k < this.grid.objects[e].path.length; ++k) p.push({
  16103. x: this.minX + this.grid.objects[e].path[k].x,
  16104. y: this.minY + this.grid.objects[e].path[k].y
  16105. });
  16106. p = new a.ObjectEntity(this.grid.objects[e].type, this.minX + this.grid.objects[e].x, this.minY + this.grid.objects[e].y, this.grid.objects[e].speed, this.grid.objects[e].radius, a.DirectionEnum.Left, this.grid.objects[e].points, p, this.grid.objects[e].loop, this.grid.objects[e].chaser);
  16107. this.objects.push(p);
  16108. p = [];
  16109. k = this.grid.objects.length - 1;
  16110. p = new a.ObjectEntity(this.grid.objects[k].type, this.minX + this.grid.objects[k].x, this.minY + this.grid.objects[k].y, this.grid.objects[k].speed, this.grid.objects[k].radius, a.DirectionEnum.Left, this.grid.objects[k].points, p, this.grid.objects[k].loop, this.grid.objects[k].chaser);
  16111. this.objects.push(p);
  16112. this.activeObject = p;
  16113. this.activeObjectChangedTime = .3
  16114. } else
  16115. for (e = 0; e < this.grid.objects.length; ++e) {
  16116. p = [];
  16117. if (this.grid.objects[e].type === a.ObjectTypeEnum.Object5) p = new a.ObjectEntity(this.grid.objects[e].type,
  16118. this.minX + this.grid.objects[e].x, this.minY + this.grid.objects[e].y, 0, 0, a.DirectionEnum.Left, 0, p, !1, !1), p.x2 = this.minX + this.grid.objects[e].x2, p.y2 = this.minY + this.grid.objects[e].y2, p.continuous = this.grid.objects[e].continuous, p.heartBeats[0].time = 0, p.heartBeats[0].maxTime = 1, p.heartBeats[0].direction = 0, p.heartBeats[0].speed1 = this.grid.objects[e].speed1, p.heartBeats[0].speed2 = this.grid.objects[e].speed2;
  16119. else {
  16120. for (k = 0; k < this.grid.objects[e].path.length; ++k) p.push({
  16121. x: this.minX + this.grid.objects[e].path[k].x,
  16122. y: this.minY + this.grid.objects[e].path[k].y
  16123. });
  16124. p = new a.ObjectEntity(this.grid.objects[e].type, this.minX + this.grid.objects[e].x, this.minY + this.grid.objects[e].y, this.grid.objects[e].speed, this.grid.objects[e].radius, a.DirectionEnum.Left, this.grid.objects[e].points, p, this.grid.objects[e].loop, this.grid.objects[e].chaser)
  16125. }
  16126. this.objects.push(p);
  16127. this.grid.objects[e].type === a.ObjectTypeEnum.Object1 && (this.activeObject = p, this.activeObjectChangedTime = .3)
  16128. }
  16129. this.wonObjects = [];
  16130. this.wonObjects.push(new a.ObjectEntity(1,
  16131. 0, 0, 0, 1, a.DirectionEnum.Left, 0, [], !1));
  16132. this.wonObjects.push(new a.ObjectEntity(1, 0, 0, 0, 1, a.DirectionEnum.Left, 0, [], !1));
  16133. this.lostObjects = [];
  16134. this.lostObjects.push(new a.ObjectEntity(2, 0, 0, 0, 1, a.DirectionEnum.Left, 0, [], !1));
  16135. this.lostObjects.push(new a.ObjectEntity(1, 0, 0, 0, 1, a.DirectionEnum.Left, 0, [], !1));
  16136. this.playedFailSound = this.busted = !1
  16137. };
  16138. a.SceneManager.prototype.update = function(e, k) {
  16139. 0 < this.pageAnimTime && (this.pageAnimTime -= e, 0 > this.pageAnimTime && (this.pageAnimTime = 0, !k && this.pageBounce && (this.pagex =
  16140. this.pageAnimDirection === a.DirectionEnum.Left ? .3 : -.3, this.pagevx = this.pageAnimDirection === a.DirectionEnum.Left ? -30 : 30)));
  16141. 0 < this.movecountTime && (this.movecountTime -= e, 0 > this.movecountTime && (this.movecountTime = 0));
  16142. 0 < this.scoreTime && (this.scoreTime -= e, 0 > this.scoreTime && (this.scoreTime = 0));
  16143. 0 < this.tutorialStepChangeTime && (this.tutorialStepChangeTime -= e, 0 > this.tutorialStepChangeTime && (this.tutorialStepChangeTime = 0, this.tutorialAutoStep && (this.tutorialAutoStep = !1, this.tutorialStep++, this.tutorialStepChangeTime =
  16144. .5)));
  16145. 0 < this.pageFadeInTime && (this.pageFadeInTime -= e, 0 > this.pageFadeInTime && (this.pageFadeInTime = 0));
  16146. 0 < this.drawScoreTime && (this.drawScoreTime -= e, 0 > this.drawScoreTime && (this.drawScoreTime = 0));
  16147. 0 < this.bonusTime && (this.bonusTime -= e, 0 >= this.bonusTime && (this.bonusTime = 0, this.bonusFactor = 1));
  16148. 0 < this.menuTime && (this.menuTime -= e, 0 > this.menuTime && (this.menuTime = 0));
  16149. 0 < this.achievementSetupTime && (this.achievementSetupTime -= e, 0 > this.achievementSetupTime && (this.achievementSetupTime = 0));
  16150. 0 < this.badgeNotificationTime &&
  16151. (this.badgeNotificationTime -= e, 0 > this.badgeNotificationTime && (this.badgeNotificationTime = 0));
  16152. 0 < this.titleNotificationTime && (this.titleNotificationTime -= e, 0 > this.titleNotificationTime && (this.titleNotificationTime = 0));
  16153. 0 < this.activeObjectChangedTime && (this.activeObjectChangedTime -= e, 0 > this.activeObjectChangedTime && (this.activeObjectChangedTime = 0));
  16154. 0 < this.shopMessageTime && (this.shopMessageTime -= e, 0 > this.shopMessageTime && (this.shopMessageTime = 0));
  16155. this.showReviewTipTime && 0 < this.showReviewTipTime && (this.showReviewTipTime -=
  16156. e, 0 > this.showReviewTipTime && (this.showReviewTipTime = 0));
  16157. 0 < this.pagex ? (this.pagevx -= 9.78 * e * 3, this.pagex += this.pagevx * e, 0 >= this.pagex && (-.5 > this.pagevx ? (this.pagevx = .3 * -this.pagevx, this.pagex = this.pagevx * e) : this.pagevx = this.pagex = 0)) : 0 > this.pagex && (this.pagevx += 9.78 * e * 3, this.pagex += this.pagevx * e, 0 <= this.pagex && (.5 < this.pagevx ? (this.pagevx = .3 * -this.pagevx, this.pagex = this.pagevx * e) : this.pagevx = this.pagex = 0));
  16158. this.animationAngle += 1.3 * Math.PI * e % (2 * Math.PI)
  16159. }
  16160. })(window.AquaThiefGame = window.AquaThiefGame || {});
  16161. (function(a, U) {})(window.AquaThiefGame.Resources = window.AquaThiefGame.Resources || {});
  16162. (function(a, U) {
  16163. var e = {},
  16164. k = !0,
  16165. f = !1,
  16166. p, q = window.AudioContext || window.webkitAudioContext;
  16167. if (q) p = new q;
  16168. else if ("undefined" === typeof Audio) k = !1;
  16169. else if (q = navigator.userAgent.toLowerCase(), -1 < q.indexOf("firefox") || -1 < q.indexOf("opera")) f = !0;
  16170. else if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)) k = !1;
  16171. a.canPlaySounds = function() {
  16172. return k
  16173. };
  16174. a.registerSound = function(a, q, v) {
  16175. if (k)
  16176. if (p) {
  16177. var u = new XMLHttpRequest;
  16178. u.open("get", q, !0);
  16179. u.responseType = "arraybuffer";
  16180. u.onload = function() {
  16181. p.decodeAudioData(u.response, function(f) {
  16182. e[a] = {
  16183. buffer: f
  16184. };
  16185. v && v()
  16186. })
  16187. };
  16188. u.send()
  16189. } else e[a] = new Audio, v && (e[a].preload = "auto", $(e[a]).on("loadeddata", v)), e[a].src = f ? q.replace(".mp3", ".ogg") : q;
  16190. else v && v()
  16191. };
  16192. a.playSound = function(f) {
  16193. try {
  16194. var q;
  16195. k && (q = e[f]) && (p ? (a.stopSound(f), q.sourceNode = p.createBufferSource(), q.sourceNode.buffer = q.buffer,
  16196. q.sourceNode.connect(p.destination), "undefined" !== typeof q.sourceNode.noteOn ? q.sourceNode.noteOn(0) : q.sourceNode.start(0)) : (q.currentTime = 0, q.play()))
  16197. } catch (v) {}
  16198. };
  16199. a.loopSound = function(f) {
  16200. var q;
  16201. k && (q = e[f]) && (p ? (a.stopSound(f), q.sourceNode = p.createBufferSource(), q.sourceNode.loop = !0, q.sourceNode.buffer = q.buffer, q.sourceNode.connect(p.destination), "undefined" !== typeof q.sourceNode.noteOn ? q.sourceNode.noteOn(0) : q.sourceNode.start(0)) : ("boolean" === typeof q.loop ? q.loop = !0 : q.addEventListener("ended", function() {
  16202. this.currentTime =
  16203. 0;
  16204. this.play()
  16205. }, !1), q.play()))
  16206. };
  16207. a.stopSound = function(a) {
  16208. k && (a = e[a]) && (p ? a.sourceNode && ("undefined" !== typeof a.sourceNode.noteOff ? a.sourceNode.noteOff(0) : a.sourceNode.stop(0), a.sourceNode = null) : (a.pause(), a.currentTime = 0))
  16209. }
  16210. })(window.AudioManager = window.AudioManager || {});
  16211. (function(a, U) {
  16212. var e = new Date,
  16213. k = 0,
  16214. f = 0;
  16215. a.getFPS = function() {
  16216. ++k;
  16217. var a = new Date;
  16218. 1E3 < a.getTime() - e.getTime() && (f = k, k = 0, e = a);
  16219. return f
  16220. };
  16221. a.clamp = function(a, e, f) {
  16222. return Math.max(e, Math.min(f, a))
  16223. };
  16224. a.circleRectIntersect = function(e, f, k, w, v, u, z) {
  16225. e -= a.clamp(e, w, u);
  16226. f -= a.clamp(f, v, z);
  16227. return e * e + f * f < k * k
  16228. };
  16229. a.distance = function(a, e, f, k) {
  16230. a = f - a;
  16231. e = k - e;
  16232. return Math.sqrt(a * a + e * e)
  16233. };
  16234. a.vectorAdd = function(a, e, f, k) {
  16235. return {
  16236. x: a + f,
  16237. y: e + k
  16238. }
  16239. };
  16240. a.vectorSubstract = function(a, e, f, k) {
  16241. return {
  16242. x: a - f,
  16243. y: e - k
  16244. }
  16245. };
  16246. a.vectorMultiply = function(a, e, f) {
  16247. return {
  16248. x: a *
  16249. f,
  16250. y: e * f
  16251. }
  16252. };
  16253. a.vectorDivide = function(a, e, f) {
  16254. return 0 === f ? {
  16255. x: a,
  16256. y: e
  16257. } : {
  16258. x: a / f,
  16259. y: e / f
  16260. }
  16261. };
  16262. a.vectorDotProduct = function(a, e, f, k) {
  16263. return a * f + e * k
  16264. };
  16265. a.vectorLength = function(a, e) {
  16266. return Math.sqrt(a * a + e * e)
  16267. };
  16268. a.vectorNormalize = function(e, f) {
  16269. var k = a.vectorLength(e, f);
  16270. return 0 === k ? {
  16271. x: e,
  16272. y: f
  16273. } : {
  16274. x: e / k,
  16275. y: f / k
  16276. }
  16277. };
  16278. a.vectorRotate = function(a, e, f) {
  16279. var k = Math.cos(f);
  16280. f = Math.sin(f);
  16281. return {
  16282. x: k * a - f * e,
  16283. y: f * a + k * e
  16284. }
  16285. };
  16286. a.vectorAngle = function(a, e, f, k) {
  16287. return Math.atan2(k - e, f - a)
  16288. };
  16289. a.vectorFromAngle = function(a) {
  16290. return {
  16291. x: Math.cos(a),
  16292. y: Math.sin(a)
  16293. }
  16294. };
  16295. a.toDegrees = function(a) {
  16296. return 180 / Math.PI * a
  16297. };
  16298. a.toRadians = function(a) {
  16299. return Math.PI / 180 * a
  16300. };
  16301. a.shortestArc = function(a, e) {
  16302. var f = Math.abs(a - e);
  16303. f > Math.PI && (f = 2 * Math.PI - f);
  16304. return f
  16305. };
  16306. a.rectIntersect = function(a, e, f, k, v, u, z, x) {
  16307. return !(k < u || e > x || f < v || a > z)
  16308. };
  16309. a.pointInRect = function(a, e, f, k, v, u) {
  16310. return a > f && a < v && e > k && e < u
  16311. };
  16312. a.circleLineIntersect = function(a, e, f, k, v, u, z) {
  16313. f -= a;
  16314. k -= e;
  16315. var x = 2 * (f * (a - v) + k * (e - u)),
  16316. N;
  16317. N = v * v + u * u + (a * a + e * e);
  16318. N -= 2 * (v * a + u * e);
  16319. N -= z * z;
  16320. return 0 > x * x - 4 * (f * f + k * k) * N ? !1 : !0
  16321. };
  16322. a.lineLineIntersect = function(a,
  16323. e, f, k, v, u, z, x) {
  16324. var N = {
  16325. intersect: !1,
  16326. x: 0,
  16327. y: 0
  16328. },
  16329. c = (x - u) * (f - a) - (z - v) * (k - e);
  16330. 0 !== c ? (z = ((z - v) * (e - u) - (x - u) * (a - v)) / c, v = ((f - a) * (e - u) - (k - e) * (a - v)) / c, 0 <= z && 1 >= z && 0 <= v && 1 >= v ? (N.intersect = !0, N.x = a + z * (f - a), N.y = e + z * (k - e)) : N.intersect = !1) : N.intersect = !1;
  16331. return N
  16332. };
  16333. a.loadResources = function(a, e, f) {
  16334. var k, v, u = {},
  16335. z = 0,
  16336. x, N = function() {
  16337. ++z === v && e && e(u);
  16338. f && f(z, v)
  16339. };
  16340. k = 0;
  16341. for (v = a.length; k < v; k += 1) x = a[k], "img" === x.type ? (u[x.id] = new Image, u[x.id].onload = N, u[x.id].src = x.src) : "snd" === x.type && AudioManager.registerSound(x.id, x.src, N)
  16342. }
  16343. })(window.AquaThiefGame =
  16344. window.AquaThiefGame || {});
  16345. (function(a, U) {
  16346. var e, k, f, p, q, t, w, v, u, z, x, N;
  16347. a.setupTileOffsets = function() {
  16348. var c = 1 / a.getScaleUnit();
  16349. e = 0;
  16350. k = 1 * c;
  16351. f = 2 * c;
  16352. p = 3 * c;
  16353. q = 4 * c;
  16354. t = 5 * c;
  16355. w = 6 * c;
  16356. v = 7 * c;
  16357. u = 8 * c;
  16358. z = 9 * c;
  16359. x = 10 * c;
  16360. N = 3E-4 * k
  16361. };
  16362. a.draw = function(c, b) {
  16363. var g, h = a.getCurrentGameState(),
  16364. l = a.getCanvasWidth(),
  16365. p = a.getCanvasHeight(),
  16366. m = a.getSceneHudItems(),
  16367. n = a.getLayoutOrientation(),
  16368. q = a.screenToHud({
  16369. x: l,
  16370. y: p
  16371. });
  16372. g = a.getGamePlayEndTime();
  16373. if (h !== a.GameStateEnum.GamePreLoading)
  16374. if (h === a.GameStateEnum.GameLogo || h === a.GameStateEnum.GameLoading) a.drawLoader(c);
  16375. else if (h ===
  16376. a.GameStateEnum.GameIntro) a.drawGameIntro(c);
  16377. else if (h === a.GameStateEnum.GameMenu) a.drawGameMenu(c);
  16378. else if (h === a.GameStateEnum.GameRun || h === a.GameStateEnum.GameLost || h === a.GameStateEnum.GameWon) {
  16379. switch (b.currentLevelPage) {
  16380. case 0:
  16381. c.drawImage(a.Resources.background01Image, e + 2, e + 2, t - 2, t - 2, 0, 0, l, p);
  16382. break;
  16383. case 1:
  16384. c.drawImage(a.Resources.background01Image, t + 2, e + 2, t - 2, t - 2, 0, 0, l, p);
  16385. break;
  16386. case 2:
  16387. c.drawImage(a.Resources.background01Image, e + 2, t + 2, t - 2, t - 2, 0, 0, l, p);
  16388. break;
  16389. case 3:
  16390. case 4:
  16391. c.drawImage(a.Resources.background01Image,
  16392. t + 2, t + 2, t - 2, t - 2, 0, 0, l, p)
  16393. }
  16394. a.applySceneCameras();
  16395. h = b.maxX - b.minX;
  16396. a.getTitleHeartbeat1();
  16397. a.getTitleHeartbeat2();
  16398. c.save();
  16399. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ? b.pageAnimTime * h * 2 : -b.pageAnimTime * h * 2) + b.pagex + b.pageOffsetX, 0);
  16400. a.applyVeryFarParallaxCameras();
  16401. c.restore();
  16402. c.save();
  16403. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ? b.pageAnimTime * h * 5 : -b.pageAnimTime * h * 5) + b.pagex + b.pageOffsetX, 0);
  16404. a.applyFarParallaxCameras();
  16405. c.restore();
  16406. c.save();
  16407. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ?
  16408. b.pageAnimTime * h * 7 : -b.pageAnimTime * h * 7) + b.pagex + b.pageOffsetX, 0);
  16409. a.applyNearParallaxCameras();
  16410. c.globalAlpha = 1;
  16411. c.restore();
  16412. a.applyHereParallaxCameras();
  16413. c.fillStyle = "rgba(255, 255, 255, 0.3)";
  16414. switch (b.mode) {
  16415. case a.GameSceneModeEnum.Shop:
  16416. a.drawShop(c, b);
  16417. break;
  16418. case a.GameSceneModeEnum.Credits:
  16419. a.drawCredits(c, b);
  16420. break;
  16421. case a.GameSceneModeEnum.Achievements:
  16422. a.drawAchievements(c, b);
  16423. break;
  16424. case a.GameSceneModeEnum.Leaderboards:
  16425. a.drawLeaderboards(c, b);
  16426. break;
  16427. case a.GameSceneModeEnum.WorldSelection:
  16428. a.drawWorldSelection(c,
  16429. b);
  16430. break;
  16431. case a.GameSceneModeEnum.LevelPlay:
  16432. a.drawLevelPlay(c, b)
  16433. }
  16434. a.applyHudCameras();
  16435. b.mode === a.GameSceneModeEnum.LevelPlay && a.drawLevelPlayHud(c, b, q);
  16436. b.mode === a.GameSceneModeEnum.WorldSelection && a.drawShopIcon(c);
  16437. b.mode === a.GameSceneModeEnum.Shop && a.drawShopIcon(c, !0);
  16438. !0 === b.menuExpanded && (c.globalAlpha = .5, c.fillStyle = "rgb(210, 100, 255)", c.globalAlpha = .5, c.fillStyle = "rgb(0, 0, 0)", n === a.LayoutOrientationEnum.Landscape ? c.fillRect(q.x - 1.8, 0, 1.8, q.y) : c.fillRect(0, 0, q.x, 1.8), c.globalAlpha = 1);
  16439. h = -g;
  16440. for (g =
  16441. 0; g < m.length; g += 1) m[g].enabled && (c.save(), l = b.menuExpanded ? 5 * b.menuTime : 1 - 5 * b.menuTime, a.CommandEnum.Menu === m[g].type ? c.drawImage(a.Resources.hud01Image, e, t, 1.5 * k, 1.5 * k, m[g].x, m[g].y, 1.5, 1.5) : a.CommandEnum.Home === m[g].type ? (n === a.LayoutOrientationEnum.Landscape ? c.translate(0, 2 * l) : c.translate(2 * -l, 0), c.globalAlpha = b.menuExpanded ? 1 - 5 * b.menuTime : 5 * b.menuTime, c.drawImage(a.Resources.hud01Image, e, 6.5 * k, 1.5 * k, 1.5 * k, m[g].x, m[g].y, 1.5, 1.5)) : a.CommandEnum.GoBack === m[g].type && (n === a.LayoutOrientationEnum.Landscape ?
  16442. c.translate(0, 2 * l) : c.translate(-l, 0), c.globalAlpha = b.menuExpanded ? 1 - 5 * b.menuTime : 5 * b.menuTime, c.drawImage(a.Resources.hud01Image, 1.5 * k, 6.5 * k, 1.5 * k, 1.5 * k, m[g].x, m[g].y, 1.5, 1.5)), a.CommandEnum.Close === m[g].type ? c.drawImage(a.Resources.hud01Image, u, t, 1.5 * k, 1.5 * k, m[g].x, m[g].y, 1.5, 1.5) : a.CommandEnum.Refresh === m[g].type ? (n === a.LayoutOrientationEnum.Landscape ? c.translate(0, 3 * l) : c.translate(3 * -l, 0), c.globalAlpha = b.menuExpanded ? 1 - 5 * b.menuTime : 5 * b.menuTime, c.drawImage(a.Resources.hud01Image, 1.5 * k, t, 1.5 * k,
  16443. 1.5 * k, m[g].x, m[g].y, 1.5, 1.5)) : a.CommandEnum.PreviousPage !== m[g].type && a.CommandEnum.NextPage !== m[g].type && (a.CommandEnum.NextLevel === m[g].type ? c.drawImage(a.Resources.tooltips01Image, e, v, f, f, m[g].x - h, m[g].y - h, 2 + 2 * h, 2 + 2 * h) : a.CommandEnum.Share === m[g].type ? (c.drawImage(a.Resources.hud01Image, u, e, f, f, m[g].x - .25 - h, m[g].y - .25 - h, 2 + 2 * h, 2 + 2 * h), c.drawImage(a.Resources.tooltips01Image, e, z, k, k, m[g].x + .25 - h, m[g].y + .25 - h, 1 + 2 * h, 1 + 2 * h)) : a.CommandEnum.ReplayLevel === m[g].type ? a.getCurrentGameState() !== a.GameStateEnum.GameWon ||
  16444. b.isChallenge ? c.drawImage(a.Resources.tooltips01Image, w, v, f, f, m[g].x - h, m[g].y - h, 2 + 2 * h, 2 + 2 * h) : c.drawImage(a.Resources.hud01Image, 1.5 * k, t, 1.5 * k, 1.5 * k, m[g].x - h, m[g].y - h, 1.5 + 2 * h, 1.5 + 2 * h) : a.CommandEnum.QuitLevel === m[g].type && c.drawImage(a.Resources.tooltips01Image, f, v, f, f, m[g].x - h, m[g].y - h, 2 + 2 * h, 2 + 2 * h)), c.restore());
  16445. !0 === a.showHouseAds && (c.fillStyle = "rgba(0, 0, 0, 0.7)", c.fillRect(0, 0, q.x, q.y), c.save(), c.translate(20 * -a.getGameAdsTime(), 0), 0 === a.showHouseAdsType ? c.drawImage(a.Resources.adsImage, e, e, t,
  16446. t, q.x / 2 - 2.5, q.y / 2 - 2.5, 5, 5) : 1 === a.showHouseAdsType ? c.drawImage(a.Resources.adsImage, t, e, t, t, q.x / 2 - 2.5, q.y / 2 - 2.5, 5, 5) : 2 === a.showHouseAdsType && c.drawImage(a.Resources.adsImage, t, t, t, t, q.x / 2 - 2.5, q.y / 2 - 2.5, 5, 5), c.restore(), c.drawImage(a.Resources.adsImage, e, z, t, k, q.x / 2 - 2.5, q.y - 1, 5, 1));
  16447. 0 < b.pageFadeInTime && (c.globalAlpha = b.pageFadeInTime, c.fillStyle = "rgb(210, 100, 255)", c.fillRect(0, 0, q.x, q.y), c.globalAlpha = 1)
  16448. }
  16449. };
  16450. a.drawLoader = function(c) {
  16451. var b = a.getLogoTime();
  16452. a.getLayoutOrientation();
  16453. var g = a.screenToHud({
  16454. x: a.getCanvasWidth(),
  16455. y: a.getCanvasHeight()
  16456. }),
  16457. h = a.getGameLoadingData();
  16458. c.drawImage(a.Resources.loadingScreenImage, e, e, x, 6.5 * k, 0, 0, a.getCanvasWidth(), a.getCanvasHeight());
  16459. c.save();
  16460. a.applyHudCameras();
  16461. b = 3 * h.current / h.total + (3 - b) / 3;
  16462. c.drawImage(a.Resources.loadingScreenImage, t, v, q, k, g.x / 2 - 2, g.y / 2 + .5, 4, 1);
  16463. c.save();
  16464. c.beginPath();
  16465. c.rect(g.x / 2 - 2, g.y / 2 + .5, b, 1);
  16466. c.closePath();
  16467. c.clip();
  16468. c.drawImage(a.Resources.loadingScreenImage, t, u, q, k, g.x / 2 - 2, g.y / 2 + .5, 4, 1);
  16469. c.restore();
  16470. c.drawImage(a.Resources.loadingScreenImage, e, v, t, f, g.x / 2 - 2.5,
  16471. g.y / 2 - 1 - .5, 5, 2);
  16472. c.restore()
  16473. };
  16474. a.drawGameIntro = function(c) {
  16475. a.getIntroTime();
  16476. c.fillStyle = "rgb(0, 0, 0)";
  16477. c.fillRect(0, 0, a.getCanvasWidth(), a.getCanvasHeight());
  16478. a.applyHudCameras()
  16479. };
  16480. a.drawGameMenu = function(c) {
  16481. var b, g, h, l, r, m = a.getGameMenuData(),
  16482. n = a.screenToHud({
  16483. x: a.getCanvasWidth(),
  16484. y: a.getCanvasHeight()
  16485. });
  16486. r = a.getTitleHeartbeat1();
  16487. var A = a.getTitleHeartbeat2();
  16488. a.getTitleHeartbeat3();
  16489. g = a.getTitleHeartbeat4();
  16490. h = a.getTitleHeartbeat5();
  16491. l = n.x / 2;
  16492. var D = n.y / 2,
  16493. x = Math.max(n.x, n.y),
  16494. F = 0,
  16495. J = .3 * m.offsetY;
  16496. c.drawImage(a.Resources.background01Image,
  16497. e, e, t, t, 0, 0, a.getCanvasWidth(), a.getCanvasHeight());
  16498. c.save();
  16499. a.applyHudCameras();
  16500. for (b = 0; 3 > b; ++b) F = 30 * b, c.save(), c.beginPath(), c.translate(l, D), c.rotate(a.toRadians(F + m.rotationAngle)), c.translate(-l, -D), c.moveTo(l - .1, D - .1), c.lineTo(l - .8, D - x), c.lineTo(l + 1.6, D - x), c.lineTo(l + .1, D - .1), c.lineTo(l + x, D - .8), c.lineTo(l + x, D + 1.6), c.lineTo(l + .1, D + .1), c.lineTo(l + .8, D + x), c.lineTo(l - 1.6, D + x), c.lineTo(l - .1, D + .1), c.lineTo(l - x, D + .8), c.lineTo(l - x, D - 1.6), c.lineTo(l - .1, D - .1), c.closePath(), c.clip(), c.globalAlpha = .6, c.drawImage(a.Resources.background02Image,
  16501. e, e, t, t, l - x, D - x, 2 * x, 2 * x), c.globalAlpha = 1, c.restore();
  16502. c.save();
  16503. c.translate(0, 2 * m.offsetY);
  16504. c.drawImage(a.Resources.entities01Image, q, e, q, q, n.x / 2 - 3 - J, n.y / 2 - .9, Math.max(0, 2.5 + 2 * J), 2.5);
  16505. c.restore();
  16506. c.save();
  16507. c.translate(0, 2 * m.offsetY);
  16508. c.drawImage(a.Resources.entities01Image, q, e, q, q, n.x / 2 + .7 - J, n.y / 2 - .5, Math.max(0, 1.75 + 2 * J), 1.75);
  16509. c.restore();
  16510. c.save();
  16511. c.translate(0, m.offsetY);
  16512. c.drawImage(a.Resources.hud02Image, q, p, w, q, n.x / 2 - 3 - J, n.y / 2 - 1.6, Math.max(0, 6 + 2 * J), 4);
  16513. 0 === g.direction ? g.time > g.maxTime - .5 ? (c.save(), 0 ===
  16514. h.direction && (c.translate(n.x / 2 * 2, 0), c.scale(-1, 1)), c.drawImage(a.Resources.hud02Image, u, v, f, k, n.x / 2 - 1 - J, n.y / 2 - .2, Math.max(0, 2 + 2 * J), 1), c.restore()) : c.drawImage(a.Resources.hud02Image, q, v, f, k, n.x / 2 - 1 - J, n.y / 2 - .2, Math.max(0, 2 + 2 * J), 1) : c.drawImage(a.Resources.hud02Image, w, v, f, k, n.x / 2 - 1 - J, n.y / 2 - .4, Math.max(0, 2 + 2 * J), 1);
  16515. c.restore();
  16516. c.save();
  16517. c.translate(0, .5 * m.offsetY);
  16518. c.drawImage(a.Resources.hud02Image, e, u, t, f, n.x / 2 - 2.5 - J, n.y / 2 - 3.35, Math.max(0, 5 + 2 * J), 2);
  16519. c.restore();
  16520. c.save();
  16521. c.translate(0, 1.3 * m.offsetY);
  16522. c.drawImage(a.Resources.hud02Image,
  16523. t, u, t, f, n.x / 2 - 2.5 - J, n.y / 2 - 2.35, Math.max(0, 5 + 2 * J), 2);
  16524. c.restore();
  16525. m.showButtons && (c.save(), c.translate(-3.5 + 7 * m.offsetY, -1), c.translate(n.x / 2 - 2, n.y / 2 - 2.5), l = m.buttons[0].time ? 1.15 * (1 - 3 * m.buttons[0].time) : 1 - 3 * m.buttons[0].time, c.scale(m.buttons[0].time ? 1.15 * l : l, l), c.translate(-(n.x / 2 - 2), -(n.y / 2 - 2.5)), c.restore(), c.save(), c.translate(3.5 + 7 * -m.offsetY, -1.2), c.translate(n.x / 2 - 2, n.y / 2 - 2), l = m.buttons[0].time ? 1.15 * (1 - 3 * m.buttons[0].time) : 1 - 3 * m.buttons[0].time, c.scale(m.buttons[0].time ? 1.15 * l : l, l), c.translate(-(n.x /
  16526. 2 - 2), -(n.y / 2 - 2)), c.restore(), c.save(), c.translate(7 * -m.offsetY, .2), c.translate(n.x / 2 - 2, n.y / 2 - 2.5), c.translate(-(n.x / 2 - 2), -(n.y / 2 - 2.5)), c.restore());
  16527. c.save();
  16528. c.translate(0, 2 * m.offsetY);
  16529. c.restore();
  16530. if (m.showButtons)
  16531. for (b = 0; b < m.buttons.length; b++)
  16532. if (.3 > m.buttons[b].time) {
  16533. c.save();
  16534. l = m.buttons[b].time ? 1.15 * (1 - 3 * m.buttons[b].time) : 1 - 3 * m.buttons[b].time;
  16535. switch (m.buttons[b].type) {
  16536. case a.CommandEnum.Play:
  16537. g = n.x / 2 + m.buttons[b].x - .2 * r.time;
  16538. h = n.y / 2 + m.buttons[b].y - .2 * A.time;
  16539. c.translate(g + 1, h + 1);
  16540. c.scale(m.buttons[b].time ?
  16541. 1.15 * l : l, l);
  16542. c.translate(-(g + 1), -(h + 1));
  16543. c.drawImage(a.Resources.tooltips01Image, q, v, f, f, g, h, 2 + .4 * r.time, 2 + .4 * A.time);
  16544. break;
  16545. case a.CommandEnum.PlayChallenge:
  16546. g = n.x / 2 + m.buttons[b].x - .2 * r.time;
  16547. h = n.y / 2 + m.buttons[b].y - .2 * A.time;
  16548. c.translate(g + 1, h + 1);
  16549. c.scale(m.buttons[b].time ? 1.15 * l : l, l);
  16550. c.translate(-(g + 1), -(h + 1));
  16551. c.drawImage(a.Resources.tooltips02Image, e, w, f, f, g, h, 2 + .4 * r.time, 2 + .4 * A.time);
  16552. a.userData.challenge || c.drawImage(a.Resources.hud01Image, q, e, f, f, g + .3, h - .15, 1.4, 1.4);
  16553. break;
  16554. case a.CommandEnum.Credits:
  16555. g =
  16556. n.x / 2 + m.buttons[b].x - .2 * A.time;
  16557. h = n.y / 2 + m.buttons[b].y - .2 * r.time;
  16558. c.translate(g + 1, h + 1);
  16559. c.scale(m.buttons[b].time ? 1.15 * l : l, l);
  16560. c.translate(-(g + 1), -(h + 1));
  16561. c.drawImage(a.Resources.hud01Image, w, e, f, f, n.x / 2 + m.buttons[b].x - .2 * A.time, n.y / 2 + m.buttons[b].y - .2 * r.time, 2 + .4 * A.time, 2 + .4 * r.time);
  16562. break;
  16563. case a.CommandEnum.Leaderboards:
  16564. g = n.x - m.buttons[b].x;
  16565. h = n.y - m.buttons[b].y;
  16566. c.translate(g + 1, h + 1);
  16567. c.scale(m.buttons[b].time ? 1.15 * l : l, l);
  16568. c.translate(-(g + 1), -(h + 1));
  16569. c.drawImage(a.Resources.hud03Image, f, e, f, f, n.x - m.buttons[b].x,
  16570. n.y - m.buttons[b].y, 2, 2);
  16571. break;
  16572. case a.CommandEnum.Achievements:
  16573. g = n.x - m.buttons[b].x;
  16574. h = n.y - m.buttons[b].y;
  16575. c.translate(g + 1, h + 1);
  16576. c.scale(m.buttons[b].time ? 1.15 * l : l, l);
  16577. c.translate(-(g + 1), -(h + 1));
  16578. c.drawImage(a.Resources.hud03Image, e, e, f, f, n.x - m.buttons[b].x, n.y - m.buttons[b].y, 2, 2);
  16579. break;
  16580. case a.CommandEnum.Settings:
  16581. g = n.x / 2 + m.buttons[b].x - .2 * A.time;
  16582. h = n.y / 2 + m.buttons[b].y - .2 * r.time;
  16583. c.translate(g + 1, h + 1);
  16584. c.scale(m.buttons[b].time ? 1.15 * l : l, l);
  16585. c.translate(-(g + 1), -(h + 1));
  16586. c.drawImage(a.Resources.hud01Image, u, e,
  16587. f, f, n.x / 2 + m.buttons[b].x - .2 * r.time, n.y / 2 + m.buttons[b].y - .2 * A.time, 2 + .4 * r.time, 2 + .4 * A.time);
  16588. c.drawImage(a.Resources.hud01Image, u, v, k, k, n.x / 2 + .5 + m.buttons[b].x - .2 * r.time, n.y / 2 + .5 + m.buttons[b].y - .2 * A.time, 1 + .4 * r.time, 1 + .4 * A.time);
  16589. break;
  16590. case a.CommandEnum.Sound:
  16591. a.getShowSettings() && (g = n.x / 2 + m.buttons[b].x - .2 * A.time, h = n.y / 2 + m.buttons[b].y - .2 * r.time, c.translate(g + 1, h + 1), c.scale(m.buttons[b].time ? 1.15 * l : l, l), c.translate(-(g + 1), -(h + 1)), c.drawImage(a.Resources.hud01Image, u, e, f, f, n.x / 2 + m.buttons[b].x - .2 * r.time,
  16592. n.y / 2 + m.buttons[b].y - .2 * A.time, 2 + .4 * r.time, 2 + .4 * A.time), c.drawImage(a.Resources.hud01Image, v, v, k, k, n.x / 2 + .5 + m.buttons[b].x - .2 * r.time, n.y / 2 + .5 + m.buttons[b].y - .2 * A.time, 1 + .4 * r.time, 1 + .4 * A.time), a.isSoundEnabled || c.drawImage(a.Resources.hud01Image, z, v, k, k, n.x / 2 + .5 + m.buttons[b].x - .2 * r.time, n.y / 2 + .5 + m.buttons[b].y - .2 * A.time, 1 + .4 * r.time, 1 + .4 * A.time));
  16593. break;
  16594. case a.CommandEnum.Music:
  16595. a.getShowSettings() && (g = n.x / 2 + m.buttons[b].x - .2 * A.time, h = n.y / 2 + m.buttons[b].y - .2 * r.time, c.translate(g + 1, h + 1), c.scale(m.buttons[b].time ?
  16596. 1.15 * l : l, l), c.translate(-(g + 1), -(h + 1)), c.drawImage(a.Resources.hud01Image, u, e, f, f, n.x / 2 + m.buttons[b].x - .2 * r.time, n.y / 2 + m.buttons[b].y - .2 * A.time, 2 + .4 * r.time, 2 + .4 * A.time), c.drawImage(a.Resources.hud01Image, w, v, k, k, n.x / 2 + .5 + m.buttons[b].x - .2 * r.time, n.y / 2 + .5 + m.buttons[b].y - .2 * A.time, 1 + .4 * r.time, 1 + .4 * A.time), a.isMusicEnabled || c.drawImage(a.Resources.hud01Image, z, v, k, k, n.x / 2 + .5 + m.buttons[b].x - .2 * r.time, n.y / 2 + .5 + m.buttons[b].y - .2 * A.time, 1 + .4 * r.time, 1 + .4 * A.time))
  16597. }
  16598. c.restore()
  16599. }
  16600. for (b = 0; b < a.getGameMenuEffects().length; b +=
  16601. 1) r = a.getGameMenuEffects()[b], a.drawEffect(c, r);
  16602. a.drawShopIcon(c);
  16603. g = n.x - 2.2;
  16604. h = -.03 - 10 * m.buttons[0].time;
  16605. c.save();
  16606. c.translate(g + .75, h);
  16607. c.rotate(-.05 + .3 * a.getTitleHeartbeat1().time);
  16608. c.translate(-(g + .75), -h);
  16609. c.drawImage(a.Resources.adsImage, e, t, f, q, g, h, 1.5, 3);
  16610. c.restore();
  16611. a.Resources.sponsorLogo && (b = 4 * a.Resources.sponsorLogo.naturalHeight / a.Resources.sponsorLogo.naturalWidth, c.drawImage(a.Resources.sponsorLogo, 0, n.y - b - .1, 4, b));
  16612. c.restore();
  16613. 0 < m.menuTime && (c.globalAlpha = m.menuTime, c.fillStyle = "rgb(210, 100, 255)",
  16614. c.fillRect(0, 0, a.getCanvasWidth(), a.getCanvasHeight()), c.globalAlpha = 1)
  16615. };
  16616. a.drawCredits = function(c, b) {
  16617. c.drawImage(a.Resources.creditsImage, e, e, x, x, b.minX + (b.maxX - b.minX) / 2 - 5, b.minY + (b.maxY - b.minY) / 2 - 5, 10, 10);
  16618. for (var f = 0; f < b.effects.length; f += 1) {
  16619. var h = b.effects[f];
  16620. h.useTransform || a.drawEffect(c, h, b)
  16621. }
  16622. };
  16623. a.drawShopIcon = function(c, b) {
  16624. c.drawImage(a.Resources.hud01Image, p, v, f, k, .2, .25, 2, 1);
  16625. a.shopAvailable && !b && c.drawImage(a.Resources.hud01Image, p, w, k, k, .2, .8, 1, 1);
  16626. a.drawNumber(c, a.userData.currencyCount.toString(),
  16627. 1.35, .9, .33, 3, !1)
  16628. };
  16629. a.drawShop = function(c, b) {
  16630. var g, h, l = b.maxX - b.minX,
  16631. r = b.maxY - b.minY,
  16632. m = 4 * b.currentShopPage;
  16633. if (a.isDemo || !a.shopAvailable) c.drawImage(a.Resources.tooltips06Image, e, f, x, k, b.minX + l / 2 - 7.5, b.minY + r / 2 - 4, 15, 1.5);
  16634. else {
  16635. c.save();
  16636. c.font = "bold 0.6px Segoe WP";
  16637. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ? b.pageAnimTime * l * 3 : -b.pageAnimTime * l * 3) + b.pagex + b.pageOffsetX, 0);
  16638. for (g = 0; 2 > g; g++) {
  16639. for (h = 0; 2 > h && (c.fillStyle = "rgba(0, 128, 255, 0.3)", c.fillRect(b.minX + h * l / 2, b.minY + g * r / 2, l / 2 - .05, r / 2 -
  16640. .05), c.drawImage(a.Resources.hud03Image, p, p, p, p, b.minX + h * l / 2 + 1.5, b.minY + g * r / 2 + 1.5, 3, 3), c.fillStyle = "rgb(255, 255, 255)", c.textBaseline = "top", c.textAlign = "center", c.fillText(a.shopItems[m].name, b.minX + h * l / 2 + l / 4, b.minY + g * r / 2), c.textBaseline = "bottom", c.textAlign = "right", c.fillText(a.shopItems[m].price, b.minX + h * l / 2 + (l / 2 - .4), b.minY + g * r / 2 + r / 2 - .4), m++, m !== a.shopItems.length); h++);
  16641. if (m === a.shopItems.length) break
  16642. }
  16643. if (b.pageAnimTime) {
  16644. c.globalAlpha = 2 * b.pageAnimTime;
  16645. if (b.pageAnimDirection === a.DirectionEnum.Left)
  16646. for (m =
  16647. 4 * b.currentShopPage - 4, 0 > m && (g = Math.floor(a.shopItems.length / 4), g += a.shopItems.length % 4 ? 1 : 0, m = 4 * (g - 1)), g = 0; 2 > g; g++) {
  16648. for (h = 0; 2 > h && (c.fillStyle = "rgba(0, 128, 255, 0.3)", c.fillRect(b.minX + h * l / 2 - l, b.minY + g * r / 2, l / 2 - .05, r / 2 - .05), m++, m !== a.shopItems.length); h++);
  16649. if (m === a.shopItems.length) break
  16650. } else
  16651. for (m = 4 * b.currentShopPage + 4, m > a.shopItems.length && (m = 0), g = 0; 2 > g; g++) {
  16652. for (h = 0; 2 > h && (c.fillStyle = "rgba(0, 128, 255, 0.3)", c.fillRect(b.minX + h * l / 2 + l, b.minY + g * r / 2, l / 2 - .05, r / 2 - .05), m++, m !== a.shopItems.length); h++);
  16653. if (m === a.shopItems.length) break
  16654. }
  16655. c.globalAlpha = 1
  16656. }
  16657. c.restore()
  16658. }
  16659. };
  16660. a.drawAchievements = function(c, b) {
  16661. var g;
  16662. g = b.maxX - b.minX;
  16663. var h = b.maxY - b.minY;
  16664. g = b.maxX - b.minX;
  16665. h = b.maxY - b.minY;
  16666. a.getTitleHeartbeat1();
  16667. var l = a.getTitleHeartbeat2();
  16668. a.getTitleHeartbeat3();
  16669. c.save();
  16670. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ? b.pageAnimTime * g * 3 : -b.pageAnimTime * g * 3) + b.pagex + b.pageOffsetX, 0);
  16671. c.drawImage(a.Resources.tooltips07Image, e, e, p, f, b.minX - .5 * l.time, b.minY - .5 * l.time, 4.5 + l.time, 3 + l.time);
  16672. c.drawImage(a.Resources.tooltips07Image,
  16673. p, e, v, k, b.minX + 3.75, b.minY + .5 - .5 * l.time, 10.5, 1.5);
  16674. c.drawImage(a.Resources.tooltips07Image, e, w, f, k, b.minX + .5, b.minY + 4, 3, 1.5);
  16675. c.drawImage(a.Resources.tooltips07Image, p, k, v, k, b.minX + g / 2 - 3, b.minY + 4, 10.5, 1.5);
  16676. var l = Math.min(60, a.threeStarsLevels),
  16677. r = l * Math.max(0, 1 - b.achievementSetupTime) * 7 / 60;
  16678. c.drawImage(a.Resources.tooltips07Image, e, q, x, f, b.minX, b.minY + 6, 15, 3);
  16679. var m = 0 < l ? 3 : 0;
  16680. c.save();
  16681. c.beginPath();
  16682. c.rect(b.minX, b.minY, 1.5 * (m + r), h);
  16683. c.closePath();
  16684. c.clip();
  16685. c.drawImage(a.Resources.tooltips07Image, e, f, x, f, b.minX,
  16686. b.minY + 6, 15, 3);
  16687. c.restore();
  16688. l >= a.achievementItems[0].value && (h = 1.8 + 10 * Math.max(0, b.achievementSetupTime - .5), c.drawImage(a.Resources.hud01Image, e, p, f, f, b.minX + 3.3, b.minY + 5.9, h, h));
  16689. l >= a.achievementItems[1].value && (h = 1.8 + 15 * Math.max(0, b.achievementSetupTime - .5), c.drawImage(a.Resources.hud01Image, e, p, f, f, b.minX + 8.1, b.minY + 5.9, h, h));
  16690. l >= a.achievementItems[2].value && (h = 1.8 + 20 * Math.max(0, b.achievementSetupTime - .5), c.drawImage(a.Resources.hud01Image, e, p, f, f, b.minX + 13.2, b.minY + 5.9, h, h));
  16691. c.drawImage(a.Resources.tooltips07Image,
  16692. f, w, u, k, b.minX + g / 2 - 6, b.minY + 10, 12, 1.5);
  16693. g = 0;
  16694. a.userData.levels[b.challengeLevelIndex] && (g = a.userData.levels[b.challengeLevelIndex].bestScore);
  16695. h = 1.5 + 15 * Math.max(0, b.achievementSetupTime - .5);
  16696. g >= a.achievementItems[3].value ? (c.drawImage(a.Resources.tooltips07Image, e, v, f, f, b.minX + .5, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[3].value.toString(), b.minX + 2, b.maxY - .3, .6, 2, !1)) : (c.drawImage(a.Resources.tooltips07Image, u, v, f, f, b.minX + .5, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[3].value.toString(),
  16697. b.minX + 2, b.maxY - .3, .6, 0, !1));
  16698. h = 1.5 + 20 * Math.max(0, b.achievementSetupTime - .5);
  16699. g >= a.achievementItems[4].value ? (c.drawImage(a.Resources.tooltips07Image, f, v, f, f, b.minX + 4, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[4].value.toString(), b.minX + 5.5, b.maxY - .3, .6, 2, !1)) : (c.drawImage(a.Resources.tooltips07Image, u, v, f, f, b.minX + 4, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[4].value.toString(), b.minX + 5.5, b.maxY - .3, .6, 0, !1));
  16700. h = 1.5 + 25 * Math.max(0, b.achievementSetupTime - .5);
  16701. g >= a.achievementItems[5].value ?
  16702. (c.drawImage(a.Resources.tooltips07Image, q, v, f, f, b.minX + 7.5, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[5].value.toString(), b.minX + 9, b.maxY - .3, .6, 2, !1)) : (c.drawImage(a.Resources.tooltips07Image, u, v, f, f, b.minX + 7.5, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[5].value.toString(), b.minX + 9, b.maxY - .3, .6, 0, !1));
  16703. h = 1.5 + 30 * Math.max(0, b.achievementSetupTime - .5);
  16704. g >= a.achievementItems[6].value ? (c.drawImage(a.Resources.tooltips07Image, w, v, f, f, b.minX + 11, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[6].value.toString(),
  16705. b.minX + 12.5, b.maxY - .3, .6, 2, !1)) : (c.drawImage(a.Resources.tooltips07Image, u, v, f, f, b.minX + 11, b.minY + 12, 2 * h, 2 * h), a.drawNumber(c, a.achievementItems[6].value.toString(), b.minX + 12.5, b.maxY - .3, .6, 0, !1));
  16706. c.fillStyle = "rgba(255, 255, 0, 0.2)";
  16707. c.restore();
  16708. for (g = 0; g < b.effects.length; g += 1) h = b.effects[g], h.useTransform || a.drawEffect(c, h, b)
  16709. };
  16710. a.drawLeaderboards = function(c, b) {
  16711. var f = b.maxX - b.minX,
  16712. h = b.maxY - b.minY;
  16713. c.save();
  16714. a.isDemo ? (c.drawImage(a.Resources.tooltips06Image, e, e, x, k, b.minX + f / 2 - 7.5, b.minY + h / 2 - 1.5, 15, 1.5),
  16715. c.drawImage(a.Resources.tooltips06Image, e, k, x, k, b.minX + f / 2 - 7.5, b.minY + h / 2 - 4, 15, 1.5)) : c.restore()
  16716. };
  16717. a.drawWorldSelection = function(c, b) {
  16718. var g, h, l, r = b.maxX - b.minX,
  16719. m = b.maxY - b.minY,
  16720. n = a.getTitleHeartbeat1(),
  16721. u = a.getTitleHeartbeat2();
  16722. a.getTitleHeartbeat3();
  16723. c.save();
  16724. c.translate((b.pageAnimDirection === a.DirectionEnum.Left ? b.pageAnimTime * r * 3 : -b.pageAnimTime * r * 3) + b.pagex + b.pageOffsetX, 0);
  16725. c.globalAlpha = 1 - 3 * b.pageAnimTime;
  16726. var v = 20 * b.currentLevelPage,
  16727. x = 1,
  16728. z = 0;
  16729. for (g = v; g < Math.min(v + 20, a.levelData.length - 1); ++g) h = b.minX +
  16730. r / 5 * z, l = b.minY + m / 5 * x, c.drawImage(a.Resources.hud01Image, e, e, p, p, h - .3 * u.time, l - .3 * n.time, 3 + .6 * u.time, 3 + .6 * n.time), a.drawNumber(c, (g + 1).toString(), h + r / 5 / 2, l + m / 5 / 2 - .1, .9, 0, !1), a.userData.levels[g] && a.userData.levels[g].unlocked ? 2 < a.userData.levels[g].stars ? (c.drawImage(a.Resources.hud01Image, e, p, f, f, h, l + 1.25, 1.5, 1.5), c.drawImage(a.Resources.hud01Image, e, p, f, f, h + .6, l + 1.27, 1.75, 1.75), c.drawImage(a.Resources.hud01Image, e, p, f, f, h + 1.3, l + 1.3, 2, 2)) : (1 < a.userData.levels[g].stars ? (c.drawImage(a.Resources.hud01Image,
  16731. e, p, f, f, h, l + 1.25, 1.5, 1.5), c.drawImage(a.Resources.hud01Image, e, p, f, f, h + .6, l + 1.27, 1.75, 1.75)) : (0 < a.userData.levels[g].stars ? c.drawImage(a.Resources.hud01Image, e, p, f, f, h, l + 1.25, 1.5, 1.5) : c.drawImage(a.Resources.hud01Image, f, p, f, f, h, l + 1.25, 1.5, 1.5), c.drawImage(a.Resources.hud01Image, f, p, f, f, h + .6, l + 1.27, 1.75, 1.75)), c.drawImage(a.Resources.hud01Image, f, p, f, f, h + 1.3, l + 1.3, 2, 2)) : c.drawImage(a.Resources.hud01Image, q, e, f, f, h + .55, l + 1.25, 2, 2), z++, 5 === z && (z = 0, x++);
  16732. c.globalAlpha = 1;
  16733. if (b.pageAnimTime) {
  16734. c.globalAlpha =
  16735. 2 * b.pageAnimTime;
  16736. n = b.pageAnimDirection === a.DirectionEnum.Left ? -r : r;
  16737. x = 1;
  16738. z = 0;
  16739. for (g = v; g < Math.min(v + 20, a.levelData.length - 1); ++g) h = b.minX + r / 5 * z + n, l = b.minY + m / 5 * x, c.drawImage(a.Resources.hud01Image, e, e, p, p, h, l, 3, 3), z++, 5 === z && (z = 0, x++);
  16740. c.globalAlpha = 1
  16741. }
  16742. c.restore();
  16743. c.drawImage(a.Resources.hud01Image, q, t, f, f, b.minX + r / 2 - 6 - .5 * u.time, b.minY + m / 2 - 7 - .5 * u.time, 2 + u.time, 2 + u.time);
  16744. c.drawImage(a.Resources.hud01Image, w, t, f, f, b.minX + r / 2 + 4 - .5 * u.time, b.minY + m / 2 - 7 - .5 * u.time, 2 + u.time, 2 + u.time);
  16745. c.save();
  16746. c.translate((b.pageAnimDirection !==
  16747. a.DirectionEnum.Left ? b.pageAnimTime * r * 5 : -b.pageAnimTime * r * 5) + b.pagex + b.pageOffsetX, 0);
  16748. c.globalAlpha = 1 - 3 * b.pageAnimTime;
  16749. switch (b.currentLevelPage) {
  16750. case 0:
  16751. c.drawImage(a.Resources.tooltips01Image, e, e, q, k, b.minX + r / 2 - 4, b.minY + m / 2 - 6.7 - u.time, 8, 2);
  16752. break;
  16753. case 1:
  16754. c.drawImage(a.Resources.tooltips01Image, e, k, q, k, b.minX + r / 2 - 4, b.minY + m / 2 - 6.7 - u.time, 8, 2);
  16755. break;
  16756. case 2:
  16757. c.drawImage(a.Resources.tooltips01Image, e, f, q, k, b.minX + r / 2 - 4, b.minY + m / 2 - 6.7 - u.time, 8, 2);
  16758. break;
  16759. case 3:
  16760. case 4:
  16761. c.drawImage(a.Resources.tooltips01Image,
  16762. e, p, q, k, b.minX + r / 2 - 4, b.minY + m / 2 - 6.7 - u.time, 8, 2)
  16763. }
  16764. c.globalAlpha = 1;
  16765. c.restore();
  16766. for (g = 0; g < b.effects.length; g += 1) h = b.effects[g], h.useTransform || a.drawEffect(c, h, b)
  16767. };
  16768. a.drawLevelPlay = function(c, b) {
  16769. var g, h, l, r = b.maxX - b.minX,
  16770. m = b.maxY - b.minY,
  16771. n = a.getCanvasWidth();
  16772. g = a.getCanvasHeight();
  16773. n = a.screenToHud({
  16774. x: n,
  16775. y: g
  16776. });
  16777. c.lineWidth = N;
  16778. switch (b.currentLevelPage) {
  16779. case 0:
  16780. c.drawImage(a.Resources.backdrop01Image, e, e, t, t, b.minX + r / 2 - 11.75, b.minY + m / 2 - 11.75, 23.5, 23.5);
  16781. break;
  16782. case 1:
  16783. c.drawImage(a.Resources.backdrop01Image, t, e, t,
  16784. t, b.minX + r / 2 - 11.75, b.minY + m / 2 - 11.75, 23.5, 23.5);
  16785. break;
  16786. case 2:
  16787. c.drawImage(a.Resources.backdrop01Image, e, t, t, t, b.minX + r / 2 - 11.75, b.minY + m / 2 - 11.75, 23.5, 23.5);
  16788. break;
  16789. case 3:
  16790. case 4:
  16791. c.drawImage(a.Resources.backdrop01Image, t, t, t, t, b.minX + r / 2 - 11.75, b.minY + m / 2 - 11.75, 23.5, 23.5)
  16792. }
  16793. c.save();
  16794. c.translate(b.minX + r / 2, b.minY + m / 2);
  16795. c.rotate(.15 * (-a.getTitleHeartbeat1().maxTime / 2 + a.getTitleHeartbeat1().time));
  16796. c.translate(-(b.minX + r / 2), -(b.minY + m / 2));
  16797. switch (b.grid.type) {
  16798. case a.GridTypeEnum.Small:
  16799. c.drawImage(a.Resources.effectsImage,
  16800. e, e, x, k, b.minX + r / 2 - 10, b.minY - .1 + .5 * a.getTitleHeartbeat3().time, 20, 2 - a.getTitleHeartbeat3().time);
  16801. break;
  16802. case a.GridTypeEnum.Large:
  16803. c.drawImage(a.Resources.effectsImage, e, e, x, k, b.minX + r / 2 - 10, b.minY + .9 + .5 * a.getTitleHeartbeat3().time, 20, 2 - a.getTitleHeartbeat3().time)
  16804. }
  16805. c.drawImage(a.Resources.backdrop02Image, e, e, x, x, b.minX + r / 2 - 11.75, b.minY + m / 2 - 11.75, 23.5, 23.5);
  16806. c.restore();
  16807. c.drawImage(a.Resources.effectsImage, e, f, f, t, b.minX + r / 2 - 2, b.minY - .5, 4, 10);
  16808. c.globalAlpha = .7;
  16809. c.drawImage(a.Resources.effectsImage, q, f, f,
  16810. q, b.minX + r / 2 + 3, b.minY + 3, 4, 8);
  16811. c.globalAlpha = 1;
  16812. c.save();
  16813. c.globalAlpha = .16;
  16814. c.translate(b.minX + r / 2, b.minY + m / 2);
  16815. c.rotate(.15 * (-a.getTitleHeartbeat1().maxTime / 2 + a.getTitleHeartbeat1().time) - .1 * b.gridTime);
  16816. c.translate(-(b.minX + r / 2), -(b.minY + m / 2));
  16817. switch (b.grid.type) {
  16818. case a.GridTypeEnum.Small:
  16819. c.drawImage(a.Resources.effectsImage, e, v, x, k, b.minX + r / 2 - 10, b.minY - .1 + .5 * a.getTitleHeartbeat3().time, 20, 4 - a.getTitleHeartbeat3().time);
  16820. break;
  16821. case a.GridTypeEnum.Large:
  16822. c.drawImage(a.Resources.effectsImage, e, v, x, k, b.minX +
  16823. r / 2 - 10, b.minY + 1 + .5 * a.getTitleHeartbeat3().time, 20, 4 - a.getTitleHeartbeat3().time)
  16824. }
  16825. c.restore();
  16826. c.save();
  16827. c.translate(b.minX + r / 2, b.minY + m / 2);
  16828. c.rotate(b.gridAngle + b.gridAngleOffset);
  16829. c.translate(-(b.minX + r / 2), -(b.minY + m / 2));
  16830. c.save();
  16831. a.applyHudCameras();
  16832. c.save();
  16833. c.globalAlpha = .5;
  16834. g = 1;
  16835. l = n.y - 2.5;
  16836. h = n.y;
  16837. c.translate(g, h);
  16838. c.rotate(.2 * -a.getTitleHeartbeat6().time);
  16839. c.scale(.8 - .2 * a.getTitleHeartbeat3().time, .8);
  16840. c.translate(-g, -h);
  16841. c.drawImage(a.Resources.entities01Image, u, e, f, p, g, l, 2, 3);
  16842. c.restore();
  16843. c.save();
  16844. c.globalAlpha =
  16845. .5;
  16846. g = .7;
  16847. l = n.y - 2.5;
  16848. h = n.y;
  16849. c.translate(g, h);
  16850. c.rotate(-.5 + .2 * a.getTitleHeartbeat6().time);
  16851. c.scale(1.3 - .2 * a.getTitleHeartbeat3().time, 1.4);
  16852. c.translate(-g, -h);
  16853. c.drawImage(a.Resources.entities01Image, u, e, f, p, g, l, 2, 3);
  16854. c.restore();
  16855. c.save();
  16856. c.globalAlpha = .5;
  16857. g = 1.3;
  16858. l = n.y - 2.5;
  16859. h = n.y;
  16860. c.translate(g, h);
  16861. c.rotate(-.3 + .1 * a.getTitleHeartbeat6().time);
  16862. c.scale(1 - .2 * a.getTitleHeartbeat2().time, 1);
  16863. c.translate(-g, -h);
  16864. c.drawImage(a.Resources.entities01Image, u, e, f, p, g, l, 2, 3);
  16865. c.restore();
  16866. c.restore();
  16867. for (g = b.cells.length - 1; 0 <=
  16868. g; --g) a.drawCell(c, b.cells[g]);
  16869. for (g = 0; g < b.objects.length; ++g)
  16870. if (h = b.objects[g], !h.destroyTime && !h.isDead && h.type === a.ObjectTypeEnum.Object1) {
  16871. l = 0 < h.path.length ? h.path : h.referencePath;
  16872. var A = {
  16873. x: h.x,
  16874. y: h.y
  16875. };
  16876. for (h = 0; h < l.length; ++h) {
  16877. 0 < h && (A = l[h - 1]);
  16878. var D = l[h];
  16879. A && D && (c.save(), c.translate(A.x, A.y), c.rotate(a.vectorAngle(A.x, A.y, D.x, D.y)), c.translate(-A.x, -A.y), c.drawImage(a.Resources.effectsImage, e, z, x, k, A.x, A.y - .5, a.distance(A.x, A.y, D.x, D.y), 1), c.restore(), c.drawImage(a.Resources.effectsImage, w, q, k, k, D.x -
  16880. .5, D.y - .5, 1, 1))
  16881. }
  16882. }
  16883. for (g = 0; g < b.objects.length; ++g) h = b.objects[g], a.drawObject(c, h, b);
  16884. for (g = 0; g < b.effects.length; g += 1) l = b.effects[g], a.drawEffect(c, l, b);
  16885. c.restore();
  16886. c.save();
  16887. c.globalAlpha = 1;
  16888. c.translate(b.minX + r / 2, b.minY + m / 2);
  16889. c.rotate(.15 * (-a.getTitleHeartbeat1().maxTime / 2 + a.getTitleHeartbeat1().time));
  16890. c.translate(-(b.minX + r / 2), -(b.minY + m / 2));
  16891. switch (b.grid.type) {
  16892. case a.GridTypeEnum.Small:
  16893. c.drawImage(a.Resources.effectsImage, e, k, x, k, b.minX + r / 2 - 10, b.minY - .1 + .5 * a.getTitleHeartbeat3().time, 20, 2 - a.getTitleHeartbeat3().time);
  16894. break;
  16895. case a.GridTypeEnum.Large:
  16896. c.drawImage(a.Resources.effectsImage, e, k, x, k, b.minX + r / 2 - 10, b.minY + .9 + .5 * a.getTitleHeartbeat3().time, 20, 2 - a.getTitleHeartbeat3().time)
  16897. }
  16898. c.restore();
  16899. b.showReviewTip && (c.save(), a.applyHudCameras(), n = a.screenToHud({
  16900. x: a.getCanvasWidth(),
  16901. y: a.getCanvasHeight()
  16902. }), c.fillStyle = "rgba(0, 0, 0, 0.7)", c.fillRect(0, 0, n.x, n.y), c.restore(), c.save(), c.scale(1 - 2 * b.showReviewTipTime, 1 - 2 * b.showReviewTipTime), c.translate(0, 10 * b.showReviewTipTime), c.drawImage(a.Resources.tooltips03Image, e,
  16903. t, x, p, b.minX + r / 2 - 5 - .2 * a.getTitleHeartbeat1().time, b.minY + m / 2 - 1.5 - .2 * a.getTitleHeartbeat1().time, 10 + .4 * a.getTitleHeartbeat1().time, 3 + .4 * a.getTitleHeartbeat1().time), c.restore());
  16904. c.save();
  16905. a.applyHudCameras();
  16906. b.mode !== a.GameSceneModeEnum.LevelPlay || 0 !== b.currentLevel && 1 !== b.currentLevel && 2 !== b.currentLevel && 9 !== b.currentLevel && 20 !== b.currentLevel || 0 !== b.tutorialStep || (c.translate(0, 20 * b.tutorialStepChangeTime), c.globalAlpha = .3, c.fillStyle = "rgb(0, 0, 0)", c.fillRect(0, n.y / 2 - 2, n.x, 4), c.globalAlpha = 1);
  16907. c.restore();
  16908. if (0 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), n = a.getTitleHeartbeat7(), b.tutorialStep) {
  16909. case 0:
  16910. c.drawImage(a.Resources.tooltips03Image, e, e, w, f, b.minX + r / 2 - 6, b.minY + m / 2 - 3.5 + .5 * g.time - 20 * b.tutorialStepChangeTime, 12, 4);
  16911. c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + .5 + 20 * b.tutorialStepChangeTime, 9, 1.5);
  16912. break;
  16913. case 1:
  16914. c.drawImage(a.Resources.tooltips03Image, e, p, t, k, b.minX + r / 2 - 6 + 40 * b.tutorialStepChangeTime, b.minY + m / 2 - 6.5 + .5 * g.time, 7.5, 1.5);
  16915. c.globalAlpha = .5;
  16916. c.drawImage(a.Resources.tooltips03Image, p, v, f, p, b.minX + r / 2 - 1.6 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 5, 9, 13.5);
  16917. c.globalAlpha = 1;
  16918. c.drawImage(a.Resources.tooltips03Image, e, q, p, w, b.minX + r / 2 + 1 + 20 * b.tutorialStepChangeTime, b.minY + m / 2, 3 * 1.2, 6 * 1.2);
  16919. c.drawImage(a.Resources.tooltips03Image, t, v, p, k, b.minX + r / 2 + 3 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 5, 3 * 1.2, 1.2);
  16920. 0 === n.direction && (c.globalAlpha = n.time < .25 * n.maxTime ? 8 * n.time : n.time > .75 * n.maxTime ? 1 - 8 * n.time : 1, g = n.time > .5 * n.maxTime ? 1.5 * (n.maxTime -
  16921. n.time) : 1.5 * n.time, c.drawImage(a.Resources.tooltips03Image, w, e, p, f, b.minX + 1 + 6 * g + r / 2 + 1 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 + 12 * n.time, 3 * 1.2, 2.4), c.globalAlpha = 1);
  16922. c.drawImage(a.Resources.tooltips03Image, p, q, v, p, b.minX + r / 2 - 1 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 4, 8.4, 3 * 1.2);
  16923. break;
  16924. case 2:
  16925. c.globalAlpha = .5, c.drawImage(a.Resources.tooltips03Image, p, v, f, p, b.minX + r / 2 - 1.6 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 5, 9, 13.5), c.globalAlpha = 1, c.drawImage(a.Resources.tooltips03Image, e, q, p, w, b.minX + r / 2 + 1 + 20 * b.tutorialStepChangeTime,
  16926. b.minY + m / 2, 3 * 1.2, 6 * 1.2), c.drawImage(a.Resources.tooltips03Image, t, v, p, k, b.minX + r / 2 + 3 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 5, 3 * 1.2, 1.2), 0 === n.direction && (c.globalAlpha = n.time < .25 * n.maxTime ? 8 * n.time : n.time > .75 * n.maxTime ? 1 - 8 * n.time : 1, g = n.time > .5 * n.maxTime ? 1.5 * (n.maxTime - n.time) : 1.5 * n.time, c.drawImage(a.Resources.tooltips03Image, w, e, p, f, b.minX + 1 + 6 * g + r / 2 + 1 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 + 12 * n.time, 3 * 1.2, 2.4), c.globalAlpha = 1), c.drawImage(a.Resources.tooltips03Image, p, q, v, p, b.minX + r / 2 - 1 + 20 * b.tutorialStepChangeTime,
  16927. b.minY + m / 2 - 4, 8.4, 3 * 1.2)
  16928. }
  16929. if (1 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16930. case 0:
  16931. c.drawImage(a.Resources.tooltips04Image, e, p, x, p, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 4.5);
  16932. c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + .5 + 20 * b.tutorialStepChangeTime, 9, 1.5);
  16933. break;
  16934. case 1:
  16935. c.drawImage(a.Resources.tooltips03Image, e, p, t, k, b.minX + r / 2 - 6 + 20 * b.tutorialStepChangeTime, b.minY + m / 2 - 6.5 + .5 * g.time, 7.5, 1.5)
  16936. }
  16937. if (2 ===
  16938. b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16939. case 0:
  16940. c.drawImage(a.Resources.tooltips04Image, e, e, x, p, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 4.5), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + .5 + 20 * b.tutorialStepChangeTime, 9, 1.5)
  16941. }
  16942. if (3 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16943. case 0:
  16944. c.drawImage(a.Resources.tooltips04Image, e, w, x, q, b.minX + r / 2 - 7.5, b.minY +
  16945. m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 6), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 2.5 + 20 * b.tutorialStepChangeTime, 9, 1.5)
  16946. }
  16947. if (9 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16948. case 0:
  16949. c.drawImage(a.Resources.tooltips05Image, e, p, x, p, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 4.5), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 1 + 20 * b.tutorialStepChangeTime,
  16950. 9, 1.5)
  16951. }
  16952. if (11 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16953. case 0:
  16954. c.drawImage(a.Resources.tooltips05Image, e, w, x, q, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 6), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 2.5 + 20 * b.tutorialStepChangeTime, 9, 1.5)
  16955. }
  16956. if (20 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16957. case 0:
  16958. c.drawImage(a.Resources.tooltips06Image, e, p, x, f, b.minX +
  16959. r / 2 - 7.5, b.minY + m / 2 - 3 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 3), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 1.5 + 20 * b.tutorialStepChangeTime, 9, 1.5)
  16960. }
  16961. if (21 === b.currentLevel) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16962. case 0:
  16963. c.drawImage(a.Resources.tooltips06Image, e, w, x, q, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 6), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 2.5 + 20 * b.tutorialStepChangeTime,
  16964. 9, 1.5)
  16965. }
  16966. if (b.isChallenge) switch (g = a.getTitleHeartbeat2(), a.getTitleHeartbeat1(), b.tutorialStep) {
  16967. case 0:
  16968. c.drawImage(a.Resources.tooltips05Image, e, e, x, p, b.minX + r / 2 - 7.5, b.minY + m / 2 - 4 + .5 * g.time - 20 * b.tutorialStepChangeTime, 15, 4.5), c.drawImage(a.Resources.tooltips03Image, e, f, w, k, b.minX + r / 2 - 3 + .2 * g.time, b.minY + m / 2 + 1.5 + 20 * b.tutorialStepChangeTime, 9, 1.5)
  16969. }
  16970. a.isDemo && 60 < b.currentLevel && !b.isChallenge && c.drawImage(a.Resources.adsImage, e, e, x, x, b.minX, b.minY, r, m)
  16971. };
  16972. a.drawLevelPlayHud = function(c, b, g) {
  16973. var h;
  16974. if (a.getCurrentGameState() ===
  16975. a.GameStateEnum.GameRun)
  16976. if (a.getLayoutOrientation() === a.LayoutOrientationEnum.Landscape) {
  16977. if (c.drawImage(a.Resources.hud02Image, e, p, f, k, .2, .2, 2, 1), c.drawImage(a.Resources.tooltips01Image, e, z, f, k, .2, -.25, 2, 1), a.drawNumber(c, b.moveCount.toString(), 1.2, 1, .55 + b.movecountTime, 0, !1), c.drawImage(a.Resources.hud02Image, e, p, f, k, .2, 1.4, 2, 1), c.drawImage(a.Resources.tooltips01Image, f, z, f, k, .2, .95, 2, 1), a.drawNumber(c, b.currentScore.toString(), 1.2, 2.1, .4 + b.scoreTime, 2, !1), 0 < b.currentBest && (c.drawImage(a.Resources.tooltips02Image,
  16978. w, t, f, k, .3, 2.15, .9, .45), a.drawNumber(c, b.currentBest.toString(), 1.6, 2.5, .25, 1, !1)), c.drawImage(a.Resources.hud02Image, f, p, f, k, 0, 2.6, 2, 1), c.drawImage(a.Resources.tooltips01Image, q, z, f, k, .2, 2.3, 2, 1), a.drawNumber(c, b.currencyCount.toString(), 1.2, 3.3, .34, 3, !1), a.shopAvailable && c.drawImage(a.Resources.hud01Image, p, w, k, k, .5, 3.2, .7, .7), b.activeObject && !a.isModalTip()) {
  16979. c.drawImage(a.Resources.tooltips02Image, w, k, f, f, g.x - 1.8 + 6 * b.activeObjectChangedTime, 1.6, 1.5, 1.5);
  16980. var l = 0,
  16981. r = !1;
  16982. for (h = 0; h < b.boosters.length; ++h) a.drawBooster(c,
  16983. b.boosters[h], b, g.x - 1.5 + 12 * b.activeObjectChangedTime, 2.8 + l), l += 1.5, 0 === b.boosters[h].value && (r = !0);
  16984. r && c.drawImage(a.Resources.tooltips03Image, w, f, q, k, g.x - 5.8 + 6 * b.activeObjectChangedTime, .3 - .2 * a.getTitleHeartbeat2().time, 4, 1);
  16985. c.drawImage(a.Resources.tooltips02Image, w, e, p, k, g.x - 2.1 + 4 * b.activeObjectChangedTime, 1.3 - 4 * b.activeObjectChangedTime + .4 * a.getTitleHeartbeat2().time, 3 * .7, .7 + 8 * b.activeObjectChangedTime)
  16986. }
  16987. } else {
  16988. if (c.drawImage(a.Resources.hud02Image, e, p, f, k, .2, .2, 2, 1), c.drawImage(a.Resources.tooltips01Image,
  16989. e, z, f, k, .2, -.25, 2, 1), a.drawNumber(c, b.moveCount.toString(), 1.2, 1, .55 + b.movecountTime, 0, !1), c.drawImage(a.Resources.hud02Image, e, p, f, k, 2.2, .2, 2, 1), c.drawImage(a.Resources.tooltips01Image, f, z, f, k, 2.2, -.25, 2, 1), a.drawNumber(c, b.currentScore.toString(), 3.2, .9, .4 + b.scoreTime, 2, !1), 0 < b.currentBest && (c.drawImage(a.Resources.tooltips02Image, w, t, f, k, 2.2, .9, .9, .45), a.drawNumber(c, b.currentBest.toString(), 3.6, 1.26, .25, 1, !1)), c.drawImage(a.Resources.hud02Image, f, p, f, k, 4.2, .1, 2, 1), c.drawImage(a.Resources.tooltips01Image,
  16990. q, z, f, k, 4.4, -.25, 2, 1), a.drawNumber(c, b.currencyCount.toString(), 5.4, .8, .34, 3, !1), a.shopAvailable && c.drawImage(a.Resources.hud01Image, p, w, k, k, 5.4, .7, .7, .7), b.activeObject && !a.isModalTip()) {
  16991. c.drawImage(a.Resources.tooltips02Image, w, k, f, f, .3, g.y - 1.5 + 6 * b.activeObjectChangedTime, 1.5, 1.5);
  16992. l = 0;
  16993. r = !1;
  16994. for (h = 0; h < b.boosters.length; ++h) a.drawBooster(c, b.boosters[h], b, 2 + l, g.y - 1.5 + 12 * b.activeObjectChangedTime), l += 1.5, 0 === b.boosters[h].value && (r = !0);
  16995. r && c.drawImage(a.Resources.tooltips03Image, w, f, q, k, .3, g.y - 2.5 + 6 *
  16996. b.activeObjectChangedTime - .2 * a.getTitleHeartbeat2().time, 4, 1);
  16997. c.drawImage(a.Resources.tooltips02Image, w, e, p, k, 0 - 4 * b.activeObjectChangedTime, g.y - 1.7 + 4 * b.activeObjectChangedTime + .4 * a.getTitleHeartbeat2().time, 2.25 + 8 * b.activeObjectChangedTime, .75)
  16998. }
  16999. } else if (a.getCurrentGameState() === a.GameStateEnum.GameLost) {
  17000. 1 > a.getGamePlayEndTime() && (h = Math.min(0, -(2 * (a.getGamePlayEndTime() - .6))), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.translate(-(.5 * g.x), -(.5 * g.y)), c.drawImage(a.Resources.tooltips02Image,
  17001. e, e, w, w, g.x / 2 - 3, g.y / 2 - 3, 6, 6), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + 3 * h), c.translate(-(.5 * g.x), -(.5 * g.y)), a.drawNumber(c, (b.currentLevel + 1).toString(), g.x / 2 - .1, g.y / 2 - .25, 1.2, 0, !1), c.restore(), h = Math.max(0, 10 * (a.getGamePlayEndTime() - .5)), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.rotate(-.15 + Math.max(0, a.getGamePlayEndTime() - .6)), c.translate(-(.5 * g.x), -(.5 * g.y)), b.busted ? c.drawImage(a.Resources.tooltips01Image, w, z, q, k, g.x / 2 - 2.2, g.y / 2 - 2.5, 4.8, 1.2) : c.drawImage(a.Resources.tooltips01Image,
  17002. t, w, t, k, g.x / 2 - 3, g.y / 2 - 2.5, 6, 1.2), c.restore());
  17003. for (h = 0; h < b.lostObjects.length; ++h) a.drawObject(c, b.lostObjects[h], b);
  17004. a.drawShopIcon(c);
  17005. c.drawImage(a.Resources.tooltips02Image, w, q, p, k, g.x - 3, .3, 3, 1);
  17006. c.drawImage(a.Resources.tooltips02Image, w, p, p, k, g.x - 2.45, .1, 3 * .6, .6);
  17007. a.drawNumber(c, b.currentBest.toString(), g.x - 1.6, 1, .4, 1, !1);
  17008. a.Resources.sponsorLogo && (h = 4, l = h * a.Resources.sponsorLogo.naturalHeight / a.Resources.sponsorLogo.naturalWidth, c.drawImage(a.Resources.sponsorLogo, 0, g.y - l - .1, h, l))
  17009. } else if (a.getCurrentGameState() ===
  17010. a.GameStateEnum.GameWon) {
  17011. if (1.3 > a.getGamePlayEndTime()) {
  17012. g = a.screenToHud({
  17013. x: a.getCanvasWidth(),
  17014. y: a.getCanvasHeight()
  17015. });
  17016. var l = g.x / 2,
  17017. r = g.y / 2,
  17018. m = Math.max(g.x, g.y),
  17019. n = 0;
  17020. for (h = 0; 3 > h; ++h) n = 30 * h, c.save(), c.beginPath(), c.translate(l, r), c.rotate(a.toRadians(n + b.animationAngle)), c.translate(-l, -r), c.moveTo(l - .1, r - .1), c.lineTo(l - .8, r - m), c.lineTo(l + 1.6, r - m), c.lineTo(l + .1, r - .1), c.lineTo(l + m, r - .8), c.lineTo(l + m, r + 1.6), c.lineTo(l + .1, r + .1), c.lineTo(l + .8, r + m), c.lineTo(l - 1.6, r + m), c.lineTo(l - .1, r + .1), c.lineTo(l - m, r + .8),
  17021. c.lineTo(l - m, r - 1.6), c.lineTo(l - .1, r - .1), c.closePath(), c.clip(), c.globalAlpha = Math.min(.6, 1.3 - a.getGamePlayEndTime()), c.drawImage(a.Resources.background02Image, e, e, t, t, l - m, r - m, 2 * m, 2 * m), c.globalAlpha = 1, c.restore()
  17022. }!b.isChallenge && 1 > a.getGamePlayEndTime() ? (h = Math.min(0, -(2 * (a.getGamePlayEndTime() - .6))), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.translate(-(.5 * g.x), -(.5 * g.y)), c.drawImage(a.Resources.tooltips01Image, q, e, w, w, g.x / 2 - 3, g.y / 2 - 3, 6, 6), c.drawImage(a.Resources.tooltips02Image, u, f, f,
  17023. k, g.x / 2 - .8, g.y / 2 - 4, 1.6, .8), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + 3 * h), c.translate(-(.5 * g.x), -(.5 * g.y)), h = b.drawScore === b.currentScore ? .3 * a.getTitleHeartbeat2().time : a.getTitleHeartbeat8().time, a.drawNumber(c, b.drawScore.toString(), g.x / 2 - .1, g.y / 2 - 2.7, .6 + h, 2, !1), c.restore(), h = Math.max(0, 10 * (a.getGamePlayEndTime() - .5)), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.rotate(-.15 + Math.max(0, a.getGamePlayEndTime() - .6)), c.translate(-(.5 * g.x), -(.5 * g.y)), c.drawImage(a.Resources.tooltips01Image, e,
  17024. w, t, k, g.x / 2 - 3, g.y / 2, 6, 1.2), c.restore()) : 1 > a.getGamePlayEndTime() && (h = Math.min(0, -(2 * (a.getGamePlayEndTime() - .6))), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.translate(-(.5 * g.x), -(.5 * g.y)), c.drawImage(a.Resources.tooltips02Image, u, f, f, k, g.x / 2 - 1.5, g.y / 2 - 2, 3, 1.5), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + 3 * h), c.translate(-(.5 * g.x), -(.5 * g.y)), h = b.drawScore === b.currentScore ? .3 * a.getTitleHeartbeat2().time : a.getTitleHeartbeat8().time, a.drawNumber(c, b.drawScore.toString(), g.x / 2 - .1, g.y / 2 + .2, 1 + h,
  17025. 2, !1), c.restore());
  17026. !b.isChallenge && 1 > a.getGamePlayEndTime() && (h = Math.max(0, 7 * a.getGamePlayEndTime()), c.save(), c.translate(.5 * g.x, .5 * g.y), c.scale(1 + h, 1 + h), c.translate(-(.5 * g.x), -(.5 * g.y)), 0 < b.currentStars && c.drawImage(a.Resources.tooltips01Image, u, v, f, f, g.x / 2 - 2.195, g.y / 2 - 3.31, 2, 2), 1 < b.currentStars && c.drawImage(a.Resources.tooltips01Image, u, v, f, f, g.x / 2 - 1.03, g.y / 2 - 3.2, 2, 2), 2 < b.currentStars && c.drawImage(a.Resources.tooltips01Image, u, v, f, f, g.x / 2 + .08, g.y / 2 - 3.32, 2, 2), c.restore());
  17027. if (!b.isChallenge)
  17028. for (h =
  17029. 0; h < b.wonObjects.length; ++h) a.drawObject(c, b.wonObjects[h], b);
  17030. a.drawShopIcon(c);
  17031. c.drawImage(a.Resources.tooltips02Image, w, q, p, k, g.x - 3, .3, 3, 1);
  17032. c.drawImage(a.Resources.tooltips02Image, w, p, p, k, g.x - 2.45, .1, 3 * .6, .6);
  17033. a.drawNumber(c, b.currentBest.toString(), g.x - 1.55, 1, .4, 1, !1);
  17034. b.newBest && 1 === a.getTitleHeartbeat2().direction && c.drawImage(a.Resources.tooltips02Image, u, k, f, k, g.x - 2.1, .95, 1.2, .6);
  17035. a.Resources.sponsorLogo && (h = 4, l = h * a.Resources.sponsorLogo.naturalHeight / a.Resources.sponsorLogo.naturalWidth, c.drawImage(a.Resources.sponsorLogo,
  17036. 0, g.y - l - .1, h, l))
  17037. }
  17038. 0 < b.badgeNotificationTime && (c.save(), c.translate(0, -Math.max(0, 20 * (b.badgeNotificationTime - 2))), h = .2 * (1 - (b.badgeNotificationTime - 2)), c.globalAlpha = Math.min(1, b.badgeNotificationTime), c.drawImage(a.Resources.tooltips06Image, e, t, t, k, g.x / 2 - 2.5, 2.3 + h, 5, 1), c.drawImage(a.Resources.tooltips07Image, e, z, t, k, g.x / 2 - 2.5, 3 + h, 5, 1), c.drawImage(a.Resources.tooltips06Image, t, t, t, k, g.x / 2 - 2.5, 3.7 + h, 5, 1), c.restore());
  17039. 0 < b.titleNotificationTime && (c.save(), c.translate(0, -Math.max(0, 20 * (b.titleNotificationTime -
  17040. 2))), h = .2 * (1 - (b.titleNotificationTime - 2)), c.globalAlpha = Math.min(1, b.titleNotificationTime), c.drawImage(a.Resources.tooltips06Image, e, t, t, k, g.x / 2 - 2.5, 2.3 + h, 5, 1), c.drawImage(a.Resources.tooltips07Image, t, z, t, k, g.x / 2 - 2.5, 3 + h, 5, 1), c.drawImage(a.Resources.tooltips06Image, t, t, t, k, g.x / 2 - 2.5, 3.7 + h, 5, 1), c.restore())
  17041. };
  17042. a.drawNumber = function(c, b, f, h, l, p, m, n) {
  17043. var q = f - .35 * b.length - (m ? -.4 : 0),
  17044. t = f + (m ? .4 : 0);
  17045. f = p * k;
  17046. var v = a.Resources.hud02Image;
  17047. 2 < p && (f = u + (p - 3) * k, v = a.Resources.hud01Image);
  17048. c.save();
  17049. c.translate(t, h);
  17050. c.scale(l,
  17051. l);
  17052. if (n) switch (n) {
  17053. case a.RotationEnum.Quarter:
  17054. c.rotate(-Math.PI / 2);
  17055. break;
  17056. case a.RotationEnum.Half:
  17057. c.rotate(-Math.PI);
  17058. break;
  17059. case a.RotationEnum.ThreeQuarter:
  17060. c.rotate(Math.PI / 2)
  17061. }
  17062. c.translate(-t, -h);
  17063. m && (c.drawImage(v, u, f, k, k, q, h - 1, 1, 1), q += .8);
  17064. l = 0;
  17065. for (p = b.length; l < p; l += 1) m = b.charAt(l), m = parseInt(m, 10) * k * .8, c.drawImage(v, e + m, f, .77 * k, k, q, h - 1, .8, 1), q += .7;
  17066. c.restore()
  17067. };
  17068. a.drawEffect = function(c, b, g) {
  17069. var h = c.globalAlpha;
  17070. c.save();
  17071. b.direction === a.DirectionEnum.Left && (c.translate(2 * b.x, 0), c.scale(-1, 1));
  17072. c.translate(b.x,
  17073. b.y);
  17074. 0 <= b.scaleTime ? c.scale(b.scaleFactor * Math.min(1, b.scaleTime), b.scaleFactor * Math.min(1, b.scaleTime)) : c.scale(b.scaleFactor, b.scaleFactor);
  17075. c.translate(-b.x, -b.y);
  17076. c.translate(b.x, b.y);
  17077. c.rotate(b.angle);
  17078. c.translate(-b.x, -b.y);
  17079. b.selfDestroyTime < b.startFadeTime && (c.globalAlpha = b.selfDestroyTime);
  17080. switch (b.type) {
  17081. case a.EffectTypeEnum.BubbleEffect:
  17082. c.drawImage(a.Resources.effectsImage, f, f, f, f, b.x - 1, b.y - 1, 2, 2);
  17083. break;
  17084. case a.EffectTypeEnum.PangEffect:
  17085. c.drawImage(a.Resources.effectsImage, u, f, f, f, b.x - 1, b.y -
  17086. 1, 2, 2);
  17087. break;
  17088. case a.EffectTypeEnum.StarEffect:
  17089. switch (b.subType) {
  17090. case 1:
  17091. c.drawImage(a.Resources.effectsImage, w, f, f, f, b.x - 1, b.y - 1, 2, 2);
  17092. break;
  17093. default:
  17094. c.drawImage(a.Resources.effectsImage, f, f, f, f, b.x - 1, b.y - 1, 2, 2)
  17095. }
  17096. break;
  17097. case a.EffectTypeEnum.PebbleEffect:
  17098. switch (b.subType) {
  17099. case 1:
  17100. c.drawImage(a.Resources.effectsImage, f, f, f, f, b.x - 1, b.y - 1, 2, 2);
  17101. break;
  17102. case 2:
  17103. c.drawImage(a.Resources.effectsImage, f, q, f, f, b.x - 1, b.y - 1, 2, 2);
  17104. break;
  17105. case 3:
  17106. c.drawImage(a.Resources.entities01Image, q, q, f, f, b.x - 1, b.y - 1, 2, 2)
  17107. }
  17108. break;
  17109. case a.EffectTypeEnum.NumberEffect:
  17110. a.drawNumber(c,
  17111. b.number.toString(), b.x - .5, b.y - .5, 1, b.color, b.hasX, g.gridRotationTarget);
  17112. break;
  17113. case a.EffectTypeEnum.SpeedEffect:
  17114. a.drawObject(c, b.activeObject, g, b.x, b.y, !0);
  17115. break;
  17116. case a.EffectTypeEnum.BoosterEffect:
  17117. switch (b.boosterType) {
  17118. case a.BoosterTypeEnum.Speed:
  17119. c.drawImage(a.Resources.tooltips02Image, f, u, f, f, b.x - 2, b.y - 1, 4, 4);
  17120. break;
  17121. case a.BoosterTypeEnum.Shield:
  17122. c.drawImage(a.Resources.tooltips02Image, q, u, f, f, b.x - 2, b.y - 1, 4, 4);
  17123. break;
  17124. case a.BoosterTypeEnum.Shadow:
  17125. c.drawImage(a.Resources.tooltips02Image, w, u, f, f, b.x -
  17126. 2, b.y - 1, 4, 4)
  17127. }
  17128. break;
  17129. case a.EffectTypeEnum.ProjectileEffect:
  17130. switch (b.objectType) {
  17131. case a.ObjectTypeEnum.Object1:
  17132. c.drawImage(a.Resources.entities01Image, q, q, f, f, b.x - 1, b.y - 1, 2, 2)
  17133. }
  17134. break;
  17135. case a.EffectTypeEnum.CoinEffect:
  17136. c.drawImage(a.Resources.entities01Image, u, w, f, f, b.x - 1, b.y - 1, 2, 2);
  17137. break;
  17138. default:
  17139. c.drawImage(a.Resources.effectsImage, e, e, k, k, b.x - .5, b.y - .5, 1, 1)
  17140. }
  17141. c.globalAlpha = h;
  17142. c.restore()
  17143. };
  17144. a.drawCell = function(c, b) {
  17145. var g = b.heartBeats[0],
  17146. h = b.x - 1,
  17147. k = b.y - 1;
  17148. c.save();
  17149. c.translate(b.x, b.y);
  17150. c.scale(b.scaleFactor + 1.5 *
  17151. b.scaleFactorTime, b.scaleFactor + 1.5 * b.scaleFactorTime);
  17152. c.translate(-b.x, -b.y);
  17153. c.translate(b.x, b.y);
  17154. c.rotate(b.angle);
  17155. c.translate(-b.x, -b.y);
  17156. switch (b.type) {
  17157. case a.CellTypeEnum.Cell1:
  17158. c.globalAlpha = Math.max(.17, .3 - .3 * g.time), c.drawImage(a.Resources.entities02Image, e, e, f, f, h, k, 2, 2)
  17159. }
  17160. c.restore()
  17161. };
  17162. a.drawObject = function(c, b, g, h, l, r) {
  17163. var m = b.heartBeats[0],
  17164. n = b.heartBeats[1],
  17165. A = b.heartBeats[2],
  17166. D = b.heartBeats[3],
  17167. N = b.heartBeats[5];
  17168. h = h ? h - 2 : b.x - 2;
  17169. var F = l ? l - 2 : b.y - 2;
  17170. b.type !== a.ObjectTypeEnum.Object1 && b.type !== a.ObjectTypeEnum.Object2 &&
  17171. (h += 1, F += 1);
  17172. l = .15 * m.time;
  17173. n = .15 * n.time;
  17174. c.save();
  17175. var J = b.scaleFactor;
  17176. b.type === a.ObjectTypeEnum.Object2 && (J *= .8);
  17177. var U = b.isDead || b.destroyTime ? b.deathAngle : 0;
  17178. r || (c.translate(b.x, b.y), c.scale(2.3 * b.destroyTime + Math.max(0, J + 1.5 * b.scaleFactorTime - b.spawnTime), 2.3 * b.destroyTime + Math.max(0, J + 1.5 * b.scaleFactorTime - b.spawnTime)), c.translate(-b.x, -b.y));
  17179. r || g.activeObject !== b || b.destroyTime || b.isDead || c.translate(0, .2 * -N.time);
  17180. r || (c.translate(b.x, b.y), c.rotate(b.angle + U + (b.isDead ? .9 * -Math.PI : 0)), c.translate(-b.x, -b.y));
  17181. switch (b.type) {
  17182. case a.ObjectTypeEnum.Object1:
  17183. b.altface ? c.drawImage(a.Resources.entities02Image, w, e, q, p, h - l, F - n + .5, 4 + 2 * l, 3 + 2 * n) : (!0 === b.speedBooster && (c.drawImage(a.Resources.entities01Image, q, u, p, f, h - l - .5, F - n + .3, 3 * .7 + 2 * l, 1.4 + 2 * n), c.drawImage(a.Resources.entities01Image, v, u, p, f, h - l + 2.5, F - n + .3, 3 * .7 + 2 * l, 1.4 + 2 * n)), g.activeObject === b ? b.shadowBooster ? c.drawImage(a.Resources.entities02Image, f, q, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n) : c.drawImage(a.Resources.entities02Image, f, e, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n) : b.shadowBooster ?
  17184. c.drawImage(a.Resources.entities02Image, w, q, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n) : c.drawImage(a.Resources.entities01Image, e, e, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n), !r && b.shieldBooster && (c.save(), c.globalAlpha = 1, c.translate(b.x, b.y), c.rotate(b.deathAngle), c.scale(1, 1), c.translate(-b.x, -b.y), c.drawImage(a.Resources.hud01Image, q, f, p, p, h, F, 4, 4), c.restore()));
  17185. c.save();
  17186. !1 === b.altface ? (c.translate(b.x, b.y), c.scale(J + 2.5 * b.scaleFactorTime, J + 2.5 * b.scaleFactorTime), c.translate(-b.x, -b.y), 0 === A.direction ? A.time > A.maxTime - .5 ? 0 === D.direction ?
  17187. c.drawImage(a.Resources.entities01Image, f, u, f, k, h + 1 - l, F + 1.75 - n, 2 + 2 * l, 1 + 2 * n) : c.drawImage(a.Resources.entities01Image, f, z, f, k, h + 1 - l, F + 1.75 - n, 2 + 2 * l, 1 + 2 * n) : c.drawImage(a.Resources.entities01Image, e, u, f, k, h + 1 - l, F + 1.75 - n, 2 + 2 * l, 1 + 2 * n) : c.drawImage(a.Resources.entities01Image, e, z, f, k, h + 1 - l, F + 1.75 - n, 2 + 2 * l, 1 + 2 * n)) : .2 > b.heartBeats[4].time || .6 < b.heartBeats[4].time ? c.drawImage(a.Resources.entities02Image, e, u, w, f, h - 1 - l, F + .25 - n, 6 + 2 * l, 2 + 2 * n) : c.drawImage(a.Resources.entities02Image, w, u, q, f, h + .1 - l, F + .7 - n, 4 + 2 * l, 2 + 2 *
  17188. n);
  17189. c.restore();
  17190. break;
  17191. case a.ObjectTypeEnum.Object2:
  17192. b.chaser ? c.drawImage(a.Resources.entities01Image, q, q, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n) : c.drawImage(a.Resources.entities01Image, q, e, q, q, h - l, F - n, 4 + 2 * l, 4 + 2 * n);
  17193. break;
  17194. case a.ObjectTypeEnum.Object3:
  17195. c.drawImage(a.Resources.entities01Image, u, w, f, f, h - .5 * n, F - .5 * n, 2 + n, 2 + n);
  17196. a.drawNumber(c, b.points.toString(), h + .95, F + 1.32, .8, 3, !1);
  17197. b.destroyTime || b.isDead || (c.drawImage(a.Resources.entities01Image, e, q, q, q, h - 1 - l, F - 1 - n, 4 + 2 * l, 4 + 2 * n), 1 < g.bonusFactor && a.drawNumber(c, g.bonusFactor.toString(),
  17198. h + 1, F + 2, .8, 2, !0));
  17199. break;
  17200. case a.ObjectTypeEnum.Object4:
  17201. c.drawImage(a.Resources.entities01Image, u, q, f, f, h - n, F - n, 2 + 2 * n, 2 + 2 * n);
  17202. b.destroyTime || b.isDead || c.drawImage(a.Resources.entities01Image, e, q, q, q, h - 1 - l, F - 1 - n, 4 + 2 * l, 4 + 2 * n);
  17203. break;
  17204. case a.ObjectTypeEnum.Object5:
  17205. g = b.x;
  17206. r = b.y;
  17207. A = b.x2;
  17208. D = b.y2;
  17209. if (0 === m.direction || b.continuous) c.save(), c.globalAlpha = Math.min(1, .7 + 3 * a.getTitleHeartbeat8().time), c.translate(g, r), c.rotate(a.vectorAngle(g, r, A, D)), c.translate(-g, -r), c.drawImage(a.Resources.effectsImage, e, u, x, k, g, r -
  17210. .5, a.distance(g, r, A, D), 1), c.restore();
  17211. 0 === m.direction || b.continuous ? (c.drawImage(a.Resources.effectsImage, u, t, f, f, g - 1 - l, r - 1 - n, 2 + 2 * l, 2 + 2 * n), c.drawImage(a.Resources.effectsImage, u, t, f, f, A - 1 - l, D - 1 - n, 2 + 2 * l, 2 + 2 * n)) : (c.drawImage(a.Resources.effectsImage, w, t, f, f, g - 1 - l, r - 1 - n, 2 + 2 * l, 2 + 2 * n), c.drawImage(a.Resources.effectsImage, w, t, f, f, A - 1 - l, D - 1 - n, 2 + 2 * l, 2 + 2 * n));
  17212. break;
  17213. case a.ObjectTypeEnum.Object6:
  17214. c.drawImage(a.Resources.entities03Image, e, e, f, f, h, F, 2, 2);
  17215. break;
  17216. case a.ObjectTypeEnum.Object7:
  17217. case a.ObjectTypeEnum.Object8:
  17218. case a.ObjectTypeEnum.Object9:
  17219. case a.ObjectTypeEnum.Object10:
  17220. case a.ObjectTypeEnum.Object11:
  17221. case a.ObjectTypeEnum.Object12:
  17222. case a.ObjectTypeEnum.Object13:
  17223. case a.ObjectTypeEnum.Object14:
  17224. case a.ObjectTypeEnum.Object16:
  17225. case a.ObjectTypeEnum.Object15:
  17226. c.drawImage(a.Resources.entities02Image,
  17227. e, f, f, f, h - l, F - n, 2 + 2 * l, 2 + 2 * n)
  17228. }
  17229. c.restore();
  17230. c.restore()
  17231. };
  17232. a.drawBooster = function(c, b, e, h, l) {
  17233. a.getTitleHeartbeat2();
  17234. !1 === b.active && (c.globalAlpha = .5);
  17235. switch (b.type) {
  17236. case a.BoosterTypeEnum.Speed:
  17237. c.drawImage(a.Resources.tooltips02Image, f, w, f, f, h, l, 1.5, 1.5);
  17238. c.globalAlpha = 1;
  17239. c.drawImage(a.Resources.tooltips02Image, f, u, f, f, h, l + 1, 1.5, 1.5);
  17240. break;
  17241. case a.BoosterTypeEnum.Shield:
  17242. c.drawImage(a.Resources.tooltips02Image, q, w, f, f, h, l, 1.5, 1.5);
  17243. c.globalAlpha = 1;
  17244. c.drawImage(a.Resources.tooltips02Image, q, u, f, f, h, l + 1, 1.5, 1.5);
  17245. break;
  17246. case a.BoosterTypeEnum.Shadow:
  17247. c.drawImage(a.Resources.tooltips02Image, w, w, f, f, h, l, 1.5, 1.5), c.globalAlpha = 1, c.drawImage(a.Resources.tooltips02Image, w, u, f, f, h, l + 1, 1.5, 1.5)
  17248. }
  17249. c.globalAlpha = 1;
  17250. if (b.active) {
  17251. if (c.drawImage(a.Resources.tooltips02Image, u, t, k, k, h + .7, l - .1, .85, .85), e.activeObject) {
  17252. var r = e.currencyCount >= b.value ? !0 : !1,
  17253. m = 0 < b.value ? Math.min(99, Math.floor(e.currencyCount / b.value)) : 1;
  17254. switch (b.type) {
  17255. case a.BoosterTypeEnum.Speed:
  17256. e.activeObject.speedBooster ? c.drawImage(a.Resources.tooltips02Image,
  17257. z, p, k, k, h + .6, l + .1, .7, .7) : r ? a.drawNumber(c, m.toString(), h + 1.14, l + .5, .35, 0, !1) : c.drawImage(a.Resources.tooltips02Image, z, t, k, k, h + .7, l - .1, .85, .85);
  17258. break;
  17259. case a.BoosterTypeEnum.Shield:
  17260. e.activeObject.shieldBooster ? c.drawImage(a.Resources.tooltips02Image, z, p, k, k, h + .6, l + .1, .7, .7) : r ? a.drawNumber(c, m.toString(), h + 1.14, l + .5, .35, 0, !1) : c.drawImage(a.Resources.tooltips02Image, z, t, k, k, h + .7, l - .1, .85, .85);
  17261. break;
  17262. case a.BoosterTypeEnum.Shadow:
  17263. e.activeObject.shadowBooster ? c.drawImage(a.Resources.tooltips02Image, z, p,
  17264. k, k, h + .6, l + .1, .7, .7) : r ? a.drawNumber(c, m.toString(), h + 1.14, l + .5, .35, 0, !1) : c.drawImage(a.Resources.tooltips02Image, z, t, k, k, h + .7, l - .1, .85, .85)
  17265. }
  17266. }
  17267. } else c.drawImage(a.Resources.tooltips02Image, z, q, k, k, h + .32, l + .25, .85, .85)
  17268. }
  17269. })(window.AquaThiefGame = window.AquaThiefGame || {});
  17270. (function(a, U) {
  17271. function e() {
  17272. ma = !0;
  17273. a.stopSound("music1")
  17274. }
  17275. function k() {
  17276. E = {
  17277. menuTime: 1,
  17278. rotationAngle: 0,
  17279. offsetY: -10,
  17280. velocityY: 10,
  17281. showButtons: !1,
  17282. bubbleTimes: [{
  17283. current: 0,
  17284. max: 2
  17285. }, {
  17286. current: .5,
  17287. max: 2.3
  17288. }, {
  17289. current: 1,
  17290. max: 3
  17291. }],
  17292. buttons: [{
  17293. type: a.CommandEnum.Play,
  17294. time: .5,
  17295. x: -2.25,
  17296. y: 1,
  17297. vx: 15,
  17298. vy: 15,
  17299. tx: -2.25,
  17300. ty: 1.5
  17301. }, {
  17302. type: a.CommandEnum.PlayChallenge,
  17303. time: .5,
  17304. x: .25,
  17305. y: 1,
  17306. vx: 15,
  17307. vy: 15,
  17308. tx: .25,
  17309. ty: 1.5
  17310. }, {
  17311. type: a.CommandEnum.Credits,
  17312. time: .9,
  17313. x: -3.5,
  17314. y: .5,
  17315. vx: 15,
  17316. vy: 15,
  17317. tx: -4,
  17318. ty: -1.5
  17319. }, {
  17320. type: a.CommandEnum.Sound,
  17321. time: .3,
  17322. x: 1.5,
  17323. y: .5,
  17324. vx: 15,
  17325. vy: 15,
  17326. tx: 2,
  17327. ty: -3
  17328. }, {
  17329. type: a.CommandEnum.Music,
  17330. time: .3,
  17331. x: 1.5,
  17332. y: .5,
  17333. vx: 15,
  17334. vy: 15,
  17335. tx: 2,
  17336. ty: -1.5
  17337. }, {
  17338. type: a.CommandEnum.Settings,
  17339. time: 1,
  17340. x: 1.5,
  17341. y: .5,
  17342. vx: 15,
  17343. vy: 15,
  17344. tx: 2,
  17345. ty: 0
  17346. }, {
  17347. type: a.CommandEnum.Achievements,
  17348. time: .9,
  17349. x: 1.9,
  17350. y: 1.6,
  17351. vx: 15,
  17352. vy: 15,
  17353. tx: 1.9,
  17354. ty: 1.6
  17355. }]
  17356. };
  17357. Z = []
  17358. }
  17359. function f() {
  17360. var c;
  17361. B = a.GameStateEnum.GameLogo;
  17362. var b = [{
  17363. type: "img",
  17364. id: "backdrop1",
  17365. src: "assets/img/" + M + "/backdrop1.png"
  17366. }, {
  17367. type: "img",
  17368. id: "backdrop2",
  17369. src: "assets/img/" + M + "/backdrop2.png"
  17370. }, {
  17371. type: "img",
  17372. id: "background1",
  17373. src: "assets/img/" + M + "/background1.png"
  17374. }, {
  17375. type: "img",
  17376. id: "background2",
  17377. src: "assets/img/" + M + "/background2.png"
  17378. }, {
  17379. type: "img",
  17380. id: "credits",
  17381. src: "assets/img/" + M + "/credits.png"
  17382. }, {
  17383. type: "img",
  17384. id: "effects",
  17385. src: "assets/img/" + M + "/effects.png"
  17386. }, {
  17387. type: "img",
  17388. id: "entities1",
  17389. src: "assets/img/" + M + "/entities1.png"
  17390. }, {
  17391. type: "img",
  17392. id: "entities2",
  17393. src: "assets/img/" + M + "/entities2.png"
  17394. }, {
  17395. type: "img",
  17396. id: "entities3",
  17397. src: "assets/img/" + M + "/entities3.png"
  17398. }, {
  17399. type: "img",
  17400. id: "hud1",
  17401. src: "assets/img/" + M + "/hud1.png"
  17402. }, {
  17403. type: "img",
  17404. id: "hud2",
  17405. src: "assets/img/" + M + "/hud2.png"
  17406. }, {
  17407. type: "img",
  17408. id: "hud3",
  17409. src: "assets/img/" + M + "/hud3.png"
  17410. }, {
  17411. type: "img",
  17412. id: "ads",
  17413. src: "assets/img/" + M + "/ads.png"
  17414. }, {
  17415. type: "img",
  17416. id: "tooltips1",
  17417. src: "assets/img/" + M + "/" + a.language + "/tooltips1.png"
  17418. }, {
  17419. type: "img",
  17420. id: "tooltips2",
  17421. src: "assets/img/" + M + "/" + a.language + "/tooltips2.png"
  17422. }, {
  17423. type: "img",
  17424. id: "tooltips3",
  17425. src: "assets/img/" + M + "/" + a.language + "/tooltips3.png"
  17426. }, {
  17427. type: "img",
  17428. id: "tooltips4",
  17429. src: "assets/img/" + M + "/" + a.language + "/tooltips4.png"
  17430. }, {
  17431. type: "img",
  17432. id: "tooltips5",
  17433. src: "assets/img/" + M + "/" + a.language + "/tooltips5.png"
  17434. }, {
  17435. type: "img",
  17436. id: "tooltips6",
  17437. src: "assets/img/" + M + "/" + a.language + "/tooltips6.png"
  17438. }, {
  17439. type: "img",
  17440. id: "tooltips7",
  17441. src: "assets/img/" + M + "/" + a.language + "/tooltips7.png"
  17442. }];
  17443. if (a.preloadSounds)
  17444. for (c in a.soundItems) a.soundItems.hasOwnProperty(c) && b.push({
  17445. type: "snd",
  17446. id: c,
  17447. src: a.soundItems[c]
  17448. });
  17449. a.loadResources(b, q, p)
  17450. }
  17451. function p(a, c) {
  17452. ra = {
  17453. current: a,
  17454. total: c
  17455. }
  17456. }
  17457. function q(c) {
  17458. a.Resources.adsImage = c.ads;
  17459. a.Resources.effectsImage = c.effects;
  17460. a.Resources.creditsImage = c.credits;
  17461. a.Resources.hud01Image = c.hud1;
  17462. a.Resources.hud02Image = c.hud2;
  17463. a.Resources.hud03Image =
  17464. c.hud3;
  17465. a.Resources.background01Image = c.background1;
  17466. a.Resources.background02Image = c.background2;
  17467. a.Resources.backdrop01Image = c.backdrop1;
  17468. a.Resources.backdrop02Image = c.backdrop2;
  17469. a.Resources.entities01Image = c.entities1;
  17470. a.Resources.entities02Image = c.entities2;
  17471. a.Resources.entities03Image = c.entities3;
  17472. a.Resources.tooltips01Image = c.tooltips1;
  17473. a.Resources.tooltips02Image = c.tooltips2;
  17474. a.Resources.tooltips03Image = c.tooltips3;
  17475. a.Resources.tooltips04Image = c.tooltips4;
  17476. a.Resources.tooltips05Image = c.tooltips5;
  17477. a.Resources.tooltips06Image =
  17478. c.tooltips6;
  17479. a.Resources.tooltips07Image = c.tooltips7;
  17480. a.loadShopItems();
  17481. a.loadLeaderboardItems();
  17482. sa = !0
  17483. }
  17484. function t() {
  17485. var c = (new Date).getTime(),
  17486. b = Math.min((c - (ua || c)) / 1E3, .05);
  17487. ua = c;
  17488. window.requestAnimationFrame(t);
  17489. P.setTransform(1, 0, 0, 1, 0, 0);
  17490. P.clearRect(0, 0, C.width, C.height);
  17491. z(b, b);
  17492. a.draw(P, d)
  17493. }
  17494. function w(b) {
  17495. oa = !1;
  17496. d = new a.SceneManager;
  17497. T = O = null;
  17498. switch (b) {
  17499. case a.GameSceneModeEnum.Achievements:
  17500. d.mode !== a.GameSceneModeEnum.Achievements && (V = 0, K = {
  17501. x: d.minX + (d.maxX - d.minX) / 2,
  17502. y: d.maxY - 13.7
  17503. }, G = 1.5 * c().zoom, b = new a.Camera,
  17504. b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 - K.y, y.angle = 0, y.sx = G, y.sy = G, d.previousMode = d.mode, d.resetPage(), d.pageBounce = !0, d.currentAchievementsPage = 0, d.mode = a.GameSceneModeEnum.Achievements, a.hideBannerAd(), d.achievementSetupTime = 1, d.pageAnimTime = .3, d.pageAnimDirection = a.DirectionEnum.Left, a.updateAchievements());
  17505. break;
  17506. case a.GameSceneModeEnum.Credits:
  17507. d.mode !== a.GameSceneModeEnum.Credits && (V = 0, K = {
  17508. x: d.minX + (d.maxX - d.minX) / 2,
  17509. y: d.maxY - 13.7
  17510. }, G = 1.5 * c().zoom, b = new a.Camera,
  17511. b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 - K.y, y.angle = 0, y.sx = G, y.sy = G, d.previousMode = d.mode, d.resetPage(), d.pageBounce = !0, d.mode = a.GameSceneModeEnum.Credits, a.hideBannerAd());
  17512. break;
  17513. case a.GameSceneModeEnum.Leaderboards:
  17514. d.mode !== a.GameSceneModeEnum.Leaderboards && (V = 0, K = {
  17515. x: d.minX + (d.maxX - d.minX) / 2,
  17516. y: d.maxY - 13.7
  17517. }, G = 1.5 * c().zoom, b = new a.Camera, b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 - K.y, y.angle = 0, y.sx = G, y.sy = G, d.previousMode = d.mode, d.resetPage(),
  17518. d.pageBounce = !0, d.currentLeaderboardsPage = 0, d.mode = a.GameSceneModeEnum.Leaderboards, a.hideBannerAd());
  17519. break;
  17520. case a.GameSceneModeEnum.Shop:
  17521. W();
  17522. break;
  17523. case a.GameSceneModeEnum.WorldSelection:
  17524. qa()
  17525. }
  17526. d && (I = [{
  17527. selected: !1,
  17528. enabled: !0,
  17529. type: a.CommandEnum.Menu,
  17530. x: 0,
  17531. y: 0,
  17532. size: 1.5
  17533. }, {
  17534. selected: !1,
  17535. enabled: !0,
  17536. type: a.CommandEnum.Home,
  17537. x: 0,
  17538. y: 0,
  17539. size: 1.5
  17540. }, {
  17541. selected: !1,
  17542. enabled: !0,
  17543. type: a.CommandEnum.Refresh,
  17544. x: 0,
  17545. y: 0,
  17546. size: 1.5
  17547. }, {
  17548. selected: !1,
  17549. enabled: !0,
  17550. type: a.CommandEnum.GoBack,
  17551. x: 0,
  17552. y: 0,
  17553. size: 1.5
  17554. }, {
  17555. selected: !1,
  17556. enabled: !0,
  17557. type: a.CommandEnum.Close,
  17558. x: 0,
  17559. y: 0,
  17560. size: 1.5
  17561. }, {
  17562. selected: !1,
  17563. enabled: !0,
  17564. type: a.CommandEnum.PreviousPage,
  17565. x: 0,
  17566. y: 0,
  17567. size: 1.5
  17568. }, {
  17569. selected: !1,
  17570. enabled: !0,
  17571. type: a.CommandEnum.NextPage,
  17572. x: 0,
  17573. y: 0,
  17574. size: 1.5
  17575. }, {
  17576. selected: !1,
  17577. enabled: !0,
  17578. type: a.CommandEnum.NextLevel,
  17579. x: 0,
  17580. y: 0,
  17581. size: 2
  17582. }, {
  17583. selected: !1,
  17584. enabled: !0,
  17585. type: a.CommandEnum.ReplayLevel,
  17586. x: 0,
  17587. y: 0,
  17588. size: 2
  17589. }, {
  17590. selected: !1,
  17591. enabled: !0,
  17592. type: a.CommandEnum.QuitLevel,
  17593. x: 0,
  17594. y: 0,
  17595. size: 2
  17596. }, {
  17597. selected: !1,
  17598. enabled: !0,
  17599. type: a.CommandEnum.Share,
  17600. x: 0,
  17601. y: 0,
  17602. size: 1.5
  17603. }], v());
  17604. B = a.GameStateEnum.GameRun
  17605. }
  17606. function v() {
  17607. if (d) {
  17608. var c, b, e = I.length,
  17609. f = a.screenToHud({
  17610. x: C.width,
  17611. y: C.height
  17612. });
  17613. for (b = 0; b < e; ++b) switch (c = I[b], c.type) {
  17614. case a.CommandEnum.Menu:
  17615. c.x = f.x - c.size;
  17616. c.y = .1;
  17617. break;
  17618. case a.CommandEnum.Close:
  17619. c.x = f.x - c.size;
  17620. c.y = .1;
  17621. break;
  17622. case a.CommandEnum.Home:
  17623. aa === a.LayoutOrientationEnum.Landscape ? (c.x = f.x - c.size, c.y = .1 + 2 * c.size) : (c.x = f.x - 3 * c.size, c.y = .1);
  17624. break;
  17625. case a.CommandEnum.GoBack:
  17626. aa === a.LayoutOrientationEnum.Landscape ? (c.x = f.x - c.size, c.y = .1 + c.size) : (c.x = f.x - 2 * c.size, c.y = .1);
  17627. break;
  17628. case a.CommandEnum.Refresh:
  17629. aa === a.LayoutOrientationEnum.Landscape ?
  17630. (c.x = f.x - c.size, c.y = .1 + 3 * c.size) : (c.x = f.x - 4 * c.size, c.y = .1);
  17631. break;
  17632. case a.CommandEnum.NextLevel:
  17633. c.x = f.x / 2 + 1.2;
  17634. c.y = f.y / 2 + 1.5;
  17635. break;
  17636. case a.CommandEnum.Share:
  17637. c.x = f.x / 2 - .75;
  17638. c.y = f.y / 2 + 1.25;
  17639. break;
  17640. case a.CommandEnum.ReplayLevel:
  17641. c.x = f.x / 2 + 1.2;
  17642. c.y = f.y / 2 + 1.5;
  17643. break;
  17644. case a.CommandEnum.QuitLevel:
  17645. c.x = f.x / 2 - 3.2, c.y = f.y / 2 + 1.5
  17646. }
  17647. }
  17648. }
  17649. function u() {
  17650. if (d) {
  17651. var c, b, e = I.length;
  17652. a.screenToHud({
  17653. x: C.width,
  17654. y: C.height
  17655. });
  17656. for (b = 0; b < e; ++b) switch (c = I[b], c.type) {
  17657. case a.CommandEnum.Menu:
  17658. c.enabled = B !== a.GameStateEnum.GameWon && B !== a.GameStateEnum.GameLost &&
  17659. d.mode !== a.GameSceneModeEnum.Shop && d.mode !== a.GameSceneModeEnum.Achievements && d.mode !== a.GameSceneModeEnum.Credits && d.mode !== a.GameSceneModeEnum.Leaderboards ? !0 : !1;
  17660. break;
  17661. case a.CommandEnum.Close:
  17662. c.enabled = d.mode === a.GameSceneModeEnum.Credits || d.mode === a.GameSceneModeEnum.Shop || d.mode === a.GameSceneModeEnum.Achievements || d.mode === a.GameSceneModeEnum.Leaderboards ? !0 : !1;
  17663. break;
  17664. case a.CommandEnum.Home:
  17665. c.enabled = d.menuExpanded || 0 < d.menuTime ? !0 : !1;
  17666. break;
  17667. case a.CommandEnum.GoBack:
  17668. c.enabled = d.menuExpanded ||
  17669. 0 < d.menuTime ? !0 : !1;
  17670. break;
  17671. case a.CommandEnum.ReplayLevel:
  17672. c.enabled = .5 > L && (B === a.GameStateEnum.GameLost || B === a.GameStateEnum.GameWon) ? !0 : !1;
  17673. break;
  17674. case a.CommandEnum.QuitLevel:
  17675. c.enabled = .5 > L && (B === a.GameStateEnum.GameLost || B === a.GameStateEnum.GameWon) ? !0 : !1;
  17676. break;
  17677. case a.CommandEnum.Share:
  17678. c.enabled = !1;
  17679. break;
  17680. case a.CommandEnum.NextLevel:
  17681. c.enabled = !d.isChallenge && .5 > L && B === a.GameStateEnum.GameWon ? !0 : !1;
  17682. break;
  17683. case a.CommandEnum.Refresh:
  17684. c.enabled = d.mode === a.GameSceneModeEnum.LevelPlay && (d.menuExpanded || 0 <
  17685. d.menuTime) ? !0 : !1;
  17686. break;
  17687. case a.CommandEnum.PreviousPage:
  17688. case a.CommandEnum.NextPage:
  17689. c.enabled = !1 === d.menuExpanded && d.mode !== a.GameSceneModeEnum.LevelPlay && d.mode !== a.GameSceneModeEnum.Credits ? !0 : !1
  17690. }
  17691. }
  17692. }
  17693. function z(c, f) {
  17694. var g, m, R;
  17695. if (!oa) {
  17696. g = 0;
  17697. for (m = S.length; g < m; g += 1) R = S[g], 0 === R.direction && R.time <= R.maxTime ? (R.time = Math.min(R.time + c * R.speed1, R.maxTime), R.time === R.maxTime && (R.direction = 1)) : 1 === R.direction && 0 <= R.time && (R.time = Math.max(R.time - c * R.speed2, 0), 0 === R.time && (R.direction = 0));
  17698. 0 < ba && (ba -= c, 0 > ba &&
  17699. (ba = 0));
  17700. 0 < ea && (ea -= c, 0 > ea && (ea = 0));
  17701. 0 < fa && (fa -= c, 0 >= fa && (fa = 0, B = a.GameStateEnum.GameLoading));
  17702. 0 < L && (L -= c, 0 > L && (L = 0));
  17703. 0 < ka && (ka -= c, 0 > ka && (ka = 0));
  17704. if (sa)
  17705. if (B === a.GameStateEnum.GameLoading) B = ta ? a.GameStateEnum.GameIntro : a.GameStateEnum.GameMenu, ta || (X = 0, k()), a.playSound("wee"), setTimeout(function() {
  17706. a.playSound("music1")
  17707. }, 500), a.showBannerAd();
  17708. else if (B === a.GameStateEnum.GameIntro) 0 < X && (X -= f, 0 >= X && (B = a.GameStateEnum.GameMenu, X = 0, k()));
  17709. else if (B === a.GameStateEnum.GameMenu) ma && (ma = !1, a.playSound("music1")),
  17710. la && clearTimeout(la), la = setTimeout(e, 500), x(f);
  17711. else if (B === a.GameStateEnum.GameRun || B === a.GameStateEnum.GameLost || B === a.GameStateEnum.GameWon) ma && (ma = !1, a.playSound("music1")), la && clearTimeout(la), la = setTimeout(e, 500), d.update(c, ca), N(c), B === a.GameStateEnum.GameRun ? b(c) : B === a.GameStateEnum.GameLost ? l(c) : B === a.GameStateEnum.GameWon && h(c), u(), r(c, f, K)
  17712. }
  17713. }
  17714. function x(c) {
  17715. var b, d, e = a.screenToHud({
  17716. x: a.getCanvasWidth(),
  17717. y: a.getCanvasHeight()
  17718. });
  17719. for (b = 0; b < Z.length;) d = Z[b], d.update(c), 0 === d.selfDestroyTime ? Z.splice(b,
  17720. 1) : b += 1;
  17721. 0 < E.menuTime && (E.menuTime -= c, 0 > E.menuTime && (E.menuTime = 0));
  17722. 0 > E.offsetY && (E.velocityY += 9.78 * c, E.offsetY += 2 * c * E.velocityY, 0 < E.offsetY && (E.offsetY = 0, .5 < E.velocityY ? (E.velocityY = .3 * -E.velocityY, E.offsetY += c * E.velocityY, E.showButtons || (E.showButtons = !0)) : E.velocityY = 0));
  17723. for (b = 0; b < E.bubbleTimes.length; ++b) E.bubbleTimes[b].current -= c, 0 >= E.bubbleTimes[b].current && (E.bubbleTimes[b].current = E.bubbleTimes[b].max, 0 === b ? Z.push(new a.BubbleEffect(e.x / 2 - 1.2, e.y, .15)) : 1 === b ? Z.push(new a.BubbleEffect(e.x /
  17724. 2 + .1, e.y, .15)) : 2 === b && Z.push(new a.BubbleEffect(e.x / 2 + 1.2, e.y, .15)));
  17725. if (E.showButtons)
  17726. for (b = 0; b < E.buttons.length; b++) d = E.buttons[b], d.time -= c, 0 > d.time && (d.time = 0), d.x > d.tx ? (d.vx += 9.78 * c, d.x -= d.vx * c, d.x <= d.tx && (d.x = d.tx, d.vx = 0)) : d.x < d.tx && (d.vx += 9.78 * c, d.x += d.vx * c, d.x >= d.tx && (d.x = d.tx, d.vx = 0)), d.y > d.ty ? (d.vy += 9.78 * c, d.y -= d.vy * c, d.y <= d.ty && (d.y = d.ty, d.vy = 0)) : d.y < d.ty && (d.vy += 9.78 * c, d.y += d.vy * c, d.y >= d.ty && (d.y = d.ty, d.vy = 0));
  17727. E.rotationAngle += 1.3 * Math.PI * c % (2 * Math.PI)
  17728. }
  17729. function N(c) {
  17730. var b, e, f, g, h = [];
  17731. for (b =
  17732. 0; b < d.effects.length;) {
  17733. f = d.effects[b];
  17734. if (f.type === a.EffectTypeEnum.ProjectileEffect) {
  17735. g = f.target;
  17736. var k = !1;
  17737. for (e = 0; e < d.objects.length; ++e)
  17738. if (d.objects[e] === g) {
  17739. k = !0;
  17740. break
  17741. }
  17742. k ? (0 < f.cooldown ? (e = f.randomTarget.x, k = f.randomTarget.y) : (e = g.x, k = g.y), g = a.distance(f.x, f.y, e, k), g > f.radius || 0 < f.cooldown ? (f.vx = (e - f.x) / g * 10, f.vy = (k - f.y) / g * 10) : !1 === f.reachedTarget && (f.reachedTarget = !0, f.selfDestroyTime = .5)) : !1 === f.reachedTarget && (f.reachedTarget = !0, f.selfDestroyTime = 0)
  17743. }
  17744. f.update(c);
  17745. 0 === f.selfDestroyTime ? d.effects.splice(b,
  17746. 1) : b += 1
  17747. }
  17748. for (b = 0; b < h.length; ++b) d.effects.push(h[b])
  17749. }
  17750. function c() {
  17751. var c, b = 1,
  17752. f = 1;
  17753. c = new a.Camera;
  17754. var e = d.maxY - d.minY,
  17755. g = d.maxX - d.minX;
  17756. c.multiply(Q);
  17757. c = c.screenToCamera(C.width, C.height);
  17758. switch (aa) {
  17759. case a.LayoutOrientationEnum.Landscape:
  17760. f = c.y / (e + .1);
  17761. b = c.x / (g + 5);
  17762. break;
  17763. case a.LayoutOrientationEnum.Portrait:
  17764. f = c.y / (e + 5), b = c.x / (g + .1)
  17765. }
  17766. return {
  17767. x: d.minX + .5 * g,
  17768. y: d.minY + .5 * e,
  17769. zoom: Math.min(b, f)
  17770. }
  17771. }
  17772. function b(b) {
  17773. var f;
  17774. f = c();
  17775. V = 0;
  17776. G = f.zoom;
  17777. K = {
  17778. x: f.x,
  17779. y: f.y
  17780. };
  17781. switch (d.mode) {
  17782. case a.GameSceneModeEnum.Credits:
  17783. case a.GameSceneModeEnum.Achievements:
  17784. case a.GameSceneModeEnum.Leaderboards:
  17785. case a.GameSceneModeEnum.Shop:
  17786. case a.GameSceneModeEnum.WorldSelection:
  17787. if (0 ===
  17788. S[6].time) {
  17789. var e = d.minX + 2,
  17790. h = d.maxY + 3;
  17791. for (f = 0; 3 > f; ++f) {
  17792. var k = .5 < Math.random() ? -2 : 2,
  17793. l = .5 < Math.random() ? -2 : 2,
  17794. k = new a.BubbleEffect(e + .2 * Math.random() * k, h + .2 * Math.random() * l, 2, .8 * Math.random() + .3);
  17795. d.effects.push(k)
  17796. }
  17797. }
  17798. if (0 === S[7].time)
  17799. for (e = d.maxX - 3, h = d.maxY + 3, f = 0; 3 > f; ++f) k = .5 < Math.random() ? -2 : 2, l = .5 < Math.random() ? -2 : 2, k = new a.BubbleEffect(e + .2 * Math.random() * k, h + .2 * Math.random() * l, 2, .8 * Math.random() + .3), d.effects.push(k);
  17800. break;
  17801. case a.GameSceneModeEnum.LevelPlay:
  17802. if (0 === S[6].time)
  17803. for (e = d.minX + 2, h = d.maxY + 3,
  17804. f = 0; 3 > f; ++f) k = .5 < Math.random() ? -1 : 1, l = .5 < Math.random() ? -1 : 1, k = new a.BubbleEffect(e + .2 * Math.random() * k, h + .2 * Math.random() * l, 2, .8 * Math.random()), d.effects.push(k);
  17805. if (0 === S[7].time)
  17806. for (e = d.maxX - 2, h = d.maxY + 3, f = 0; 3 > f; ++f) k = .5 < Math.random() ? -1 : 1, l = .5 < Math.random() ? -1 : 1, k = new a.BubbleEffect(e + .2 * Math.random() * k, h + .2 * Math.random() * l, 2, .8 * Math.random()), d.effects.push(k);
  17807. g(b);
  17808. a.userData.levels[d.currentLevel] || a.createUserLeveldata(d.currentLevel);
  17809. f = !0;
  17810. if (d.isChallenge) {
  17811. b = !1;
  17812. for (e = d.objects.length - 1; 0 <= e; --e) h =
  17813. d.objects[e], h.type === a.ObjectTypeEnum.Object1 && 0 < h.path.length && (b = !0);
  17814. f = b || 0 !== d.moveCount ? !1 : !0;
  17815. a.updateAchievements(!0)
  17816. } else
  17817. for (b = !1, e = d.objects.length - 1; 0 <= e; --e) h = d.objects[e], h.type !== a.ObjectTypeEnum.Object3 && h.type !== a.ObjectTypeEnum.Object4 || 0 !== h.destroyTime || h.isDead || (f = !1), h.type === a.ObjectTypeEnum.Object1 && 0 < h.path.length && (b = !0);
  17818. f && (L = 1.7, B = a.GameStateEnum.GameWon, a.playSound("wee"));
  17819. B !== a.GameStateEnum.GameWon && (f = !0, 0 !== d.activeObject.destroyTime || d.activeObject.isDead || (f = !1),
  17820. f && (d.isChallenge ? (L = 1.7, B = a.GameStateEnum.GameWon, a.playSound("wee")) : (d.busted = !0, L = 1.7, B = a.GameStateEnum.GameLost)), f || b || 0 !== d.moveCount || (d.busted = !1, L = 1.7, B = a.GameStateEnum.GameLost))
  17821. }
  17822. }
  17823. function g(c) {
  17824. var b, f, e, g, h;
  17825. if (d.isChallenge) {
  17826. f = 0;
  17827. for (b = d.objects.length - 1; 0 <= b; --b) g = d.objects[b], g.type === a.ObjectTypeEnum.Object3 && f++;
  17828. for (; 5 > f;) b = 10 + 10 * Math.floor(4 * Math.random()), g = (d.maxX - d.minX - 4) * Math.random(), h = (d.maxY - d.minY - 4) * Math.random(), g = new a.ObjectEntity(a.ObjectTypeEnum.Object3, d.minX + 2 + g, d.minY +
  17829. 2 + h, 7, 1, a.DirectionEnum.Left, b, [], !1, !1), d.objects.push(g), f++
  17830. }
  17831. for (b = d.objects.length - 1; 0 <= b; --b) {
  17832. g = d.objects[b];
  17833. g.update(c);
  17834. g.target && (g.path = [], g.path.push({
  17835. x: g.target.x,
  17836. y: g.target.y
  17837. }), g.tx = g.x, g.ty = g.y);
  17838. h = g.speedBooster ? 1.5 * g.speed : 0;
  17839. g.tx === g.x && g.ty === g.y && 0 < g.path.length && (g.tx = g.path[0].x, g.ty = g.path[0].y, g.path.splice(0, 1), 0 === g.path.length && (!1 === g.loop ? (g.referencePath = [], g.speedBooster = !1, g.shieldBooster = !1, g.shadowBooster = !1) : g.path = g.referencePath.slice(0)));
  17840. for (var k = c; 0 < k && (g.tx !== g.x ||
  17841. g.ty !== g.y);) {
  17842. e = a.distance(g.x, g.y, g.tx, g.ty);
  17843. g.vx = (g.tx - g.x) / e * (g.speed + h);
  17844. g.vy = (g.ty - g.y) / e * (g.speed + h);
  17845. g.x += g.vx * k;
  17846. g.y += g.vy * k;
  17847. if (0 === g.bubbleTime)
  17848. for (g.bubbleTime = 1 / g.speed + .2 * Math.random(), f = 0; 1 > f; ++f) {
  17849. var l = .5 < Math.random() ? -1 : 1,
  17850. m = .5 < Math.random() ? -1 : 1,
  17851. l = new a.BubbleEffect(g.x + .2 * Math.random() * l, g.y + .2 * Math.random() * m, 2, .2 + .3 * Math.random());
  17852. l.selfDestroyTime = 1;
  17853. l.startFadeTime = .5;
  17854. d.effects.push(l)
  17855. }!0 === g.speedBooster && 0 === g.speedTime && (g.speedTime = .1, l = new a.SpeedEffect(g.x, g.y, g), d.effects.push(l));
  17856. a.distance(g.x, g.y, g.tx, g.ty) > e ? (k -= e / (g.speed + h), g.x = g.tx, g.y = g.ty, 0 < g.path.length && (g.tx = g.path[0].x, g.ty = g.path[0].y, g.path.splice(0, 1), 0 === g.path.length && (!1 === g.loop ? (g.referencePath = [], g.speedBooster = !1, g.shieldBooster = !1, g.shadowBooster = !1) : g.path = g.referencePath.slice(0)))) : k = 0
  17857. }
  17858. if (B === a.GameStateEnum.GameRun && g.type === a.ObjectTypeEnum.Object1 && 0 === g.destroyTime && !1 === g.isDead)
  17859. for (f = d.objects.length - 1; 0 <= f; --f)
  17860. if (h = d.objects[f], h !== g && 0 === h.destroyTime && !1 === h.isDead)
  17861. if (!1 === g.shieldBooster &
  17862. h.type === a.ObjectTypeEnum.Object5) {
  17863. if (0 === h.heartBeats[0].direction || h.continuous)
  17864. if (l = a.distance(g.x, g.y, h.x, h.y), m = a.distance(g.x, g.y, h.x2, h.y2), e = a.distance(h.x, h.y, h.x2, h.y2), l < e && m < e && a.circleLineIntersect(h.x, h.y, h.x2, h.y2, g.x, g.y, g.radius)) {
  17865. g.destroyTime = .6;
  17866. g.scaleFactorTime = .3;
  17867. g.path = [];
  17868. l = new a.PangEffect(g.x, g.y, 2, 1);
  17869. l.scaleTime = 1;
  17870. l.scaleSpeed = 2;
  17871. l.scaleFactor = 3.7;
  17872. l.selfDestroyTime = .6;
  17873. l.startFadeTime = .5;
  17874. d.effects.push(l);
  17875. l = new a.PangEffect(h.x, h.y, 2, .7);
  17876. l.selfDestroyTime = .5;
  17877. l.startFadeTime =
  17878. .4;
  17879. d.effects.push(l);
  17880. for (e = d.objects.length - 1; 0 <= e; --e) d.objects[e].target === g && (d.objects[e].target = null);
  17881. a.playSound("fail1");
  17882. break
  17883. }
  17884. } else if (l = h.radius + g.radius, e = a.distance(g.x, g.y, h.x, h.y), e < l)
  17885. if (h.type === a.ObjectTypeEnum.Object3 || h.type === a.ObjectTypeEnum.Object4) {
  17886. h.destroyTime = .5;
  17887. h.scaleFactorTime = .3;
  17888. h.loop = !1;
  17889. h.referencePath = [];
  17890. h.path = [];
  17891. h.path.push({
  17892. x: h.x,
  17893. y: -200
  17894. });
  17895. h.tx = h.x;
  17896. h.ty = -200;
  17897. g.scaleFactorTime = .3;
  17898. d.bonusTime = 3;
  17899. d.bonusFactor += 1;
  17900. 10 < d.bonusFactor && (d.bonusFactor = 10);
  17901. d.pickUp = d.pickUp ?
  17902. !1 : !0;
  17903. d.pickUp ? (a.playSound("pickup1"), a.playSound("yippee1")) : (a.playSound("pickup2"), a.playSound("yippee2"));
  17904. for (e = m = 0; e < d.bonusFactor - 1; ++e) l = new a.NumberEffect(h.x, h.y + m, h.points, 2, !1), d.effects.push(l), m -= .7;
  17905. l = new a.NumberEffect(h.x + .7, h.y + .7, d.bonusFactor - 1, 0, !0);
  17906. d.effects.push(l);
  17907. for (e = 0; 5 > e; ++e) l = .5 < Math.random() ? -1 : 1, m = .5 < Math.random() ? -1 : 1, l = new a.StarEffect(g.x + .2 * Math.random() * l, g.y + .2 * Math.random() * m, 1, .7 * Math.random(), .5 < Math.random() ? 0 : 1), d.effects.push(l);
  17908. d.currentScore += h.points *
  17909. d.bonusFactor;
  17910. d.scoreTime = .4
  17911. } else if (h.type === a.ObjectTypeEnum.Object2 && (!g.speedBooster || !0 === h.chaser)) {
  17912. g.destroyTime = .6;
  17913. g.scaleFactorTime = .3;
  17914. g.path = [];
  17915. l = new a.PangEffect(g.x, g.y, 2, 1);
  17916. l.scaleTime = 1;
  17917. l.scaleSpeed = 2;
  17918. l.scaleFactor = 3.7;
  17919. l.selfDestroyTime = .6;
  17920. l.startFadeTime = .5;
  17921. d.effects.push(l);
  17922. l = new a.PangEffect(h.x, h.y, 2, .7);
  17923. l.selfDestroyTime = .5;
  17924. l.startFadeTime = .4;
  17925. d.effects.push(l);
  17926. for (e = d.objects.length - 1; 0 <= e; --e) d.objects[e].target === g && (d.objects[e].target = null);
  17927. a.playSound("fail1");
  17928. a.playSound("cop");
  17929. break
  17930. }
  17931. }
  17932. for (b = 0; b < d.objects.length; b++)
  17933. if (g = d.objects[b], g.y < d.minY) {
  17934. d.objects.splice(b, 1);
  17935. break
  17936. }
  17937. for (b = 0; b < d.objects.length; b++)
  17938. if (g = d.objects[b], !0 === g.isDead) {
  17939. for (e = d.objects.length - 1; 0 <= e; --e) d.objects[e].target === g && (d.objects[e].target = null);
  17940. g.type === a.ObjectTypeEnum.Object1 && (g.path = [], g.path.push({
  17941. x: g.y,
  17942. y: 200
  17943. }))
  17944. }
  17945. for (b = d.cells.length - 1; 0 <= b; --b) g = d.cells[b], g.update(c), g.tx = d.minX + .5 + g.column + 1, g.ty = d.minY + .5 + g.row + 1, g.x = d.minX + .5 + 2 * g.column + 1, g.y = d.minY + .5 + 2 * g.row + 1
  17946. }
  17947. function checkForSound() {
  17948. if(AquaThiefGame.isMusicEnabled)
  17949. {
  17950. AquaThiefGame.stopAllSounds();
  17951. musicFlag = true;
  17952. }else{
  17953. musicFlag = false;
  17954. }
  17955. console.log('Sound checked')
  17956. }
  17957. function h(b) {
  17958. var e, f = c(),
  17959. h, k = a.screenToHud({
  17960. x: C.width,
  17961. y: C.height
  17962. });
  17963. for (e = 0; e < I.length; ++e)
  17964. if (h = I[e], h.type === a.CommandEnum.ReplayLevel) {
  17965. d.isChallenge ? (h.x = k.x / 2 + 1.25, h.y = k.y / 2 + 1.5) : (h.x = k.x / 2 - .75, h.y = k.y / 2 + 1.75);
  17966. break
  17967. }
  17968. g(b);
  17969. 0 === d.drawScoreTime && (d.drawScoreTime = .05, d.drawScore += 1 + Math.ceil(.02 * d.currentScore), d.drawScore >= d.currentScore && (d.drawScore = d.currentScore));
  17970. !1 === d.dataSaved && (d.dataSaved = !0, a.userData.currencyCount = d.currencyCount, d.tutorialStep++, a.userData.levels[d.currentLevel + 1] || a.createUserLeveldata(d.currentLevel +
  17971. 1), d.moveCount === d.grid.maxMoves - 1 ? (a.awardGold && 3 !== a.userData.levels[d.currentLevel].stars && (a.userData.currencyCount += 10), a.userData.levels[d.currentLevel].stars = Math.max(a.userData.levels[d.currentLevel].stars, 3), d.currentStars = 3) : d.moveCount === d.grid.maxMoves - 2 ? (a.userData.levels[d.currentLevel].stars = Math.max(a.userData.levels[d.currentLevel].stars, 2), d.currentStars = 2) : d.moveCount === d.grid.maxMoves - 3 ? (a.userData.levels[d.currentLevel].stars = Math.max(a.userData.levels[d.currentLevel].stars, 1),
  17972. d.currentStars = 1) : (a.userData.levels[d.currentLevel].stars = Math.max(a.userData.levels[d.currentLevel].stars, 0), d.currentStars = 0), d.currentBest < d.currentScore && (a.userData.levels[d.currentLevel].bestScore = d.currentScore, d.newBest = !0, d.currentBest = d.currentScore), 11 === d.currentLevel && (a.userData.challenge = 1), a.updateAchievements(), checkForSound(), SG_Hooks.levelUp(d.currentLevel, d.currentScore, function() { if(musicFlag) AquaThiefGame.playSound('music1'); }), a.saveUserData());
  17973. for (e = 0; e < d.wonObjects.length; ++e) h = d.wonObjects[e], h.update(b), 0 === h.x && (h.y = .5 * k.y + 1), h.x = .5 * k.x, 0 < h.vy &&
  17974. (h.vy -= h.gravity * b, 0 > h.vy && (h.vy = 0)), 0 === h.vy && (h.y += h.gravity * b), h.y -= h.vy * b, h.angle = 3 < h.vy ? h.angle + 5 * Math.PI * b : 0, h.scaleFactor = 1 - .07 * h.vy, h.y >= .5 * k.y + 1 && (h.y = .5 * k.y + 1, h.vy = 7, h.angle = 0);.6 < L && .8 > L ? (G = 1.1 * f.zoom, K = {
  17975. x: f.x,
  17976. y: f.y - 1
  17977. }) : .6 >= L && (G = .85 * f.zoom, K = {
  17978. x: f.x,
  17979. y: f.y + 2
  17980. })
  17981. }
  17982. function l(b) {
  17983. var e, f = c(),
  17984. h, k = a.screenToHud({
  17985. x: C.width,
  17986. y: C.height
  17987. });
  17988. for (e = 0; e < I.length; ++e)
  17989. if (h = I[e], h.type === a.CommandEnum.ReplayLevel) {
  17990. h.x = k.x / 2 + 1.25;
  17991. h.y = k.y / 2 + 1.5;
  17992. break
  17993. }
  17994. g(b);
  17995. !1 === d.dataSaved && (d.dataSaved = !0, d.lostObjects[0].heartBeats[4].time =
  17996. .3, d.lostObjects[0].heartBeats[4].direction = 0, d.tutorialStep++, a.userData.currencyCount = d.currencyCount, checkForSound(), SG_Hooks.gameOver(d.currentLevel, 0, function() { if(musicFlag) AquaThiefGame.playSound('music1'); }), a.saveUserData());
  17997. for (e = 0; e < d.lostObjects.length; ++e) h = d.lostObjects[e], h.update(b), 0 === h.x && (h.y = .5 * k.y + 1), 1 === e ? (h.x = .5 * k.x, h.angle = .2 < L ? h.angle + 7 * Math.PI * b : .2 > h.heartBeats[4].time ? h.heartBeats[4].time : 0, 0 === L && (h.altface = !0), h.scaleFactor = Math.max(0, .8 - L)) : 0 === e && (h.x = .5 * k.x - 2, 0 < h.vy && (h.vy -= h.gravity * b, 0 > h.vy && (h.vy = 0)), 0 === h.vy && (h.y += h.gravity * b), h.y -= h.vy *
  17998. b, h.angle = .2 < L && 3 < h.vy ? h.angle + 5 * Math.PI * b : 0, h.scaleFactor = Math.max(0, .8 - L), h.y >= .5 * k.y + 1 && (h.y = .5 * k.y + 1, h.vy = 6, h.angle = 0));.6 < L && .8 > L ? (G = 1.1 * f.zoom, K = {
  17999. x: f.x,
  18000. y: f.y - 1
  18001. }) : .6 >= L && (G = .85 * f.zoom, K = {
  18002. x: f.x,
  18003. y: f.y + 2
  18004. });.5 >= L && !1 === d.playedFailSound && (d.playedFailSound = !0, a.playSound("fail2"))
  18005. }
  18006. function r(c, b, d) {
  18007. var e = H.x,
  18008. g = H.y;
  18009. H.x = 0;
  18010. H.y = 0;
  18011. H.update();
  18012. var f = new a.Camera;
  18013. f.multiply(Q);
  18014. f = f.screenToCamera(C.width, C.height);
  18015. H.tx = f.x / 2 - d.x;
  18016. H.ty = f.y / 2 - d.y;
  18017. d = a.distance(e, g, H.tx, H.ty);
  18018. if (.001 < Math.abs(d)) var h = (H.ty - g) /
  18019. d,
  18020. e = e + (H.tx - e) / d * d * 7 * c,
  18021. g = g + c * d * 7 * h;
  18022. else e = H.tx, g = H.ty;
  18023. H.x = e;
  18024. H.y = g;
  18025. y.x = f.x / 2 - e;
  18026. y.y = f.y / 2 - g;
  18027. c = .7;
  18028. 0 < ea && (G *= .7, c = .3);
  18029. y.sx > G && (y.sx -= c * b, y.sx < G && (y.sx = G));
  18030. y.sx < G && (y.sx += c * b, y.sx > G && (y.sx = G));
  18031. y.sy = y.sx;
  18032. 0 === ba && (y.angle > V ? (y.angle -= 5.3 * Math.PI * b, y.angle < V && (y.angle = V)) : y.angle < V && (y.angle += 5.3 * Math.PI * b, y.angle > V && (y.angle = V)));
  18033. 0 < ba && (y.angle = va === a.DirectionEnum.Right ? -.05 + .25 * S[0].time : .05 - .25 * S[0].time);
  18034. H.update();
  18035. y.update();
  18036. ga.update()
  18037. }
  18038. function m(c) {
  18039. var b, e, g;
  18040. e = !1;
  18041. if (!wa) {
  18042. ca = !0;
  18043. Y = !1;
  18044. b = c.pageX;
  18045. var f =
  18046. c.pageY;
  18047. c = a.screenToHud({
  18048. x: C.width,
  18049. y: C.height
  18050. });
  18051. g = a.screenToScene({
  18052. x: b / ha,
  18053. y: f / ia
  18054. });
  18055. f = a.screenToHud({
  18056. x: b / ha,
  18057. y: f / ia
  18058. });
  18059. (B === a.GameStateEnum.GameLogo || B === a.GameStateEnum.GameLoading) && a.pointInRect(f.x, f.y, c.x / 2 - 2.5, c.y / 2 - 1 - .5, c.x / 2 + 2.5, c.y / 2 - 1 - .5 + 2) && SG.redirectToPortal(); //window.open("http://m.softgames.de", "_top");
  18060. if (B === a.GameStateEnum.GameIntro) B = a.GameStateEnum.GameMenu, X = Math.min(1, X), k();
  18061. else if (B === a.GameStateEnum.GameMenu)
  18062. if (a.shopAvailable && a.pointInRect(f.x, f.y, 0, 0, 2.3, 1.7)) w(a.GameSceneModeEnum.Shop);
  18063. else if (a.pointInRect(f.x,
  18064. f.y, c.x - 2.5, 0, c.x - .9, 2.7)) SG.redirectToPortal(); //window.open("http://m.softgames.de", "_top");
  18065. else {
  18066. if (E.showButtons)
  18067. for (b = 0; b < E.buttons.length; b++) {
  18068. g = E.buttons[b];
  18069. if (g.type !== a.CommandEnum.Leaderboards && g.type !== a.CommandEnum.Achievements) {
  18070. if (a.pointInRect(f.x, f.y, c.x / 2 + g.x, c.y / 2 + g.y, c.x / 2 + g.x + 2, c.y / 2 + g.y + 2)) switch (g.type) {
  18071. case a.CommandEnum.Play:
  18072. w(a.GameSceneModeEnum.WorldSelection);
  18073. e = !0;
  18074. break;
  18075. case a.CommandEnum.PlayChallenge:
  18076. a.userData.challenge && (w(a.GameSceneModeEnum.LevelPlay), d.currentLevelPage = 3, d.currentLevel = d.challengeLevelIndex,
  18077. ja(!0));
  18078. e = !0;
  18079. break;
  18080. case a.CommandEnum.Credits:
  18081. w(a.GameSceneModeEnum.Credits);
  18082. e = !0;
  18083. break;
  18084. case a.CommandEnum.Settings:
  18085. na = !na;
  18086. for (e = 0; e < E.buttons.length; e++)
  18087. if (E.buttons[e].type === a.CommandEnum.Sound || E.buttons[e].type === a.CommandEnum.Music) E.buttons[e].time = .3;
  18088. e = !0;
  18089. break;
  18090. case a.CommandEnum.Sound:
  18091. a.getShowSettings() && (a.enableSound(!a.isSoundEnabled), e = !0);
  18092. break;
  18093. case a.CommandEnum.Music:
  18094. a.getShowSettings() && (a.enableMusic(!a.isMusicEnabled), e = !0)
  18095. }
  18096. } else if (a.pointInRect(f.x, f.y, c.x - g.x, c.y - g.y, c.x - g.x +
  18097. 2, c.y - g.y + 2)) switch (g.type) {
  18098. case a.CommandEnum.Leaderboards:
  18099. w(a.GameSceneModeEnum.Leaderboards);
  18100. e = !0;
  18101. break;
  18102. case a.CommandEnum.Achievements:
  18103. w(a.GameSceneModeEnum.Achievements), e = !0
  18104. }
  18105. if (e) {
  18106. a.playSound("click");
  18107. break
  18108. }
  18109. }
  18110. } else if (B === a.GameStateEnum.GameRun) {
  18111. var h = !1;
  18112. !0 === a.showHouseAds ? (a.pointInRect(f.x, f.y, c.x / 2 + 1.5, c.y / 2 - 2.5, c.x / 2 + 2.5, c.y / 2 - 1.5) ? (a.showHouseAds = !1, e = !0) : a.pointInRect(f.x, f.y, c.x / 2 - 2.5, c.y / 2 - 2.5, c.x / 2 + 2.5, c.y / 2 + 2.5) && (a.showHouseAds = !1, e = !0, a.launchAdUrl(a.showHouseAdsType)), h = !0) : d.showReviewTip ?
  18113. (a.pointInRect(g.x, g.y, d.minX + (d.maxX - d.minX) / 2 + 3.5, d.minY + (d.maxY - d.minY) / 2 - 1.5, d.minX + (d.maxX - d.minX) / 2 + 5, d.minY + (d.maxY - d.minY) / 2) ? (d.showReviewTip = !1, e = !0) : a.pointInRect(g.x, g.y, d.minX + (d.maxX - d.minX) / 2 - 5, d.minY + (d.maxY - d.minY) / 2 - 1.5, d.minX + (d.maxX - d.minX) / 2 + 5, d.minY + (d.maxY - d.minY) / 2 + 1.5) && (d.showReviewTip = !1, a.rateGame(), a.userData.review = 2, e = !0), h = !0) : d.mode === a.GameSceneModeEnum.LevelPlay ? a.getLayoutOrientation() === a.LayoutOrientationEnum.Landscape ? a.pointInRect(f.x, f.y, 0, 2.6, 2, 3.9) && (Y = !0) :
  18114. a.pointInRect(f.x, f.y, 4.2, .1, 6.2, 1.3) && (Y = !0) : d.mode === a.GameSceneModeEnum.WorldSelection && a.pointInRect(f.x, f.y, 0, 0, 2.3, 2) && (Y = !0);
  18115. if (!e && !h)
  18116. for (b = 0; b < I.length; b += 1)
  18117. if (I[b].enabled && a.pointInRect(f.x, f.y, I[b].x, I[b].y, I[b].x + I[b].size, I[b].y + I[b].size)) switch (I[b].type) {
  18118. case a.CommandEnum.Menu:
  18119. d.menuExpanded = !d.menuExpanded;
  18120. d.menuTime = 0 < d.menuTime ? Math.min(d.menuTime, .2) : .2;
  18121. e = !0;
  18122. break;
  18123. case a.CommandEnum.Home:
  18124. J(!0);
  18125. e = !0;
  18126. break;
  18127. case a.CommandEnum.Refresh:
  18128. D();
  18129. ja(!0);
  18130. e = !0;
  18131. break;
  18132. case a.CommandEnum.Close:
  18133. case a.CommandEnum.GoBack:
  18134. D(),
  18135. F(), e = !0
  18136. }
  18137. if (!e && !h) {
  18138. d.mode === a.GameSceneModeEnum.LevelPlay && (d.tutorialStepChangeTime && (e = !0), a.isDemo && 60 < d.currentLevel && !d.isChallenge && (e = !0));
  18139. !e && (e = a.isModalTip()) && (d.activeObjectChangedTime = .3, d.tutorialStepChangeTime = .5, d.tutorialStep++);
  18140. if (!e && d.activeObject)
  18141. if (a.getLayoutOrientation() === a.LayoutOrientationEnum.Landscape)
  18142. for (b = h = 0; b < d.boosters.length; ++b) {
  18143. var l = d.currencyCount >= d.boosters[b].value ? !0 : !1;
  18144. if (a.pointInRect(f.x, f.y, c.x - 1.5, 2.8 + h, c.x - 1.5 + 1.5, 2.8 + h + 1.5)) {
  18145. if (d.boosters[b].active) switch (d.boosters[b].type) {
  18146. case a.BoosterTypeEnum.Speed:
  18147. !1 ===
  18148. d.activeObject.speedBooster ? l ? (d.activeObject.speedBooster = !0, d.currencyCount -= d.boosters[b].value, e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type), d.effects.push(e), d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) : (d.activeObject.speedBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"));
  18149. break;
  18150. case a.BoosterTypeEnum.Shield:
  18151. !1 === d.activeObject.shieldBooster ? l ? (d.activeObject.shieldBooster = !0, d.currencyCount -= d.boosters[b].value,
  18152. e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type), d.effects.push(e), d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) : (d.activeObject.shieldBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"));
  18153. break;
  18154. case a.BoosterTypeEnum.Shadow:
  18155. !1 === d.activeObject.shadowBooster ? l ? (d.activeObject.shadowBooster = !0, d.currencyCount -= d.boosters[b].value, e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type), d.effects.push(e),
  18156. d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) : (d.activeObject.shadowBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"))
  18157. }
  18158. e = !0;
  18159. break
  18160. }
  18161. h += 1.5
  18162. } else
  18163. for (b = h = 0; b < d.boosters.length; ++b) {
  18164. l = d.currencyCount >= d.boosters[b].value ? !0 : !1;
  18165. if (a.pointInRect(f.x, f.y, 2 + h, c.y - 1.5, 2 + h + 1.5, c.y - 1.5 + 1.5)) {
  18166. if (d.boosters[b].active) switch (d.boosters[b].type) {
  18167. case a.BoosterTypeEnum.Speed:
  18168. !1 === d.activeObject.speedBooster ? l ? (d.activeObject.speedBooster = !0, d.currencyCount -=
  18169. d.boosters[b].value, e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type), d.effects.push(e), d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) : (d.activeObject.speedBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"));
  18170. break;
  18171. case a.BoosterTypeEnum.Shield:
  18172. !1 === d.activeObject.shieldBooster ? l ? (d.activeObject.shieldBooster = !0, d.currencyCount -= d.boosters[b].value, e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type),
  18173. d.effects.push(e), d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) : (d.activeObject.shieldBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"));
  18174. break;
  18175. case a.BoosterTypeEnum.Shadow:
  18176. !1 === d.activeObject.shadowBooster ? l ? (d.activeObject.shadowBooster = !0, d.currencyCount -= d.boosters[b].value, e = new a.BoosterEffect(d.activeObject.x, d.activeObject.y - .5, d.boosters[b].type), d.effects.push(e), d.activeObject.scaleFactorTime = .3, a.playSound("pickup1")) : (W(), a.playSound("click")) :
  18177. (d.activeObject.shadowBooster = !1, d.currencyCount += d.boosters[b].value, a.playSound("pop"))
  18178. }
  18179. e = !0;
  18180. break
  18181. }
  18182. h += 1.5
  18183. }
  18184. e || (O = {
  18185. x: g.x,
  18186. y: g.y
  18187. }, T = {
  18188. x: g.x,
  18189. y: g.y
  18190. }, d.canForcePageChange = !0, d.canChangeMode = !0, d.canDrawPath = !1, d.activeObject && (c = d.activeObject, 0 === c.path.length && a.distance(g.x, g.y, c.x, c.y) < 2 * c.radius && (d.canDrawPath = !0, 3 === d.currentLevel && d.tutorialStep++)))
  18191. }
  18192. e && (ca = !1, a.playSound("click"))
  18193. } else if (B === a.GameStateEnum.GameLost || B === a.GameStateEnum.GameWon) {
  18194. for (b = 0; b < I.length; b += 1)
  18195. if (I[b].enabled && a.pointInRect(f.x,
  18196. f.y, I[b].x, I[b].y, I[b].x + I[b].size, I[b].y + I[b].size)) switch (I[b].type) {
  18197. case a.CommandEnum.QuitLevel:
  18198. F();
  18199. e = !0;
  18200. break;
  18201. case a.CommandEnum.ReplayLevel:
  18202. D();
  18203. ja(!0);
  18204. e = !0;
  18205. break;
  18206. case a.CommandEnum.NextLevel:
  18207. d.currentLevel < a.levelData.length - 1 && (d.currentLevel++, 20 === d.currentLevel || 40 === d.currentLevel ? (F(), pa(!0, !0)) : 60 === d.currentLevel ? a.userData.challenge && (w(a.GameSceneModeEnum.LevelPlay), d.currentLevelPage = 3, d.currentLevel = d.challengeLevelIndex, ja(!0)) : ja(!0)), e = !0
  18208. }!e && a.shopAvailable && a.pointInRect(f.x,
  18209. f.y, 0, 0, 2.3, 1.7) && (F(), W(), e = !0);
  18210. e && (ca = !1, a.playSound("click"))
  18211. }
  18212. }
  18213. }
  18214. function n(c) {
  18215. var b = 0,
  18216. b = c.pageX,
  18217. e = c.pageY;
  18218. c = a.screenToScene({
  18219. x: b / ha,
  18220. y: e / ia
  18221. });
  18222. e = a.screenToHud({
  18223. x: b / ha,
  18224. y: e / ia
  18225. });
  18226. a.screenToHud({
  18227. x: C.width,
  18228. y: C.height
  18229. });
  18230. ca && B === a.GameStateEnum.GameRun && (T = {
  18231. x: c.x,
  18232. y: c.y
  18233. }, O && T && (b = Math.abs(O.x - T.x), Y && (d.mode === a.GameSceneModeEnum.LevelPlay ? a.getLayoutOrientation() === a.LayoutOrientationEnum.Landscape ? a.pointInRect(e.x, e.y, 0, 2.6, 2, 3.9) || (Y = !1, O = {
  18234. x: c.x,
  18235. y: c.y
  18236. }) : a.pointInRect(e.x, e.y, 4.2, .1, 6.2, 1.3) || (Y = !1, O = {
  18237. x: c.x,
  18238. y: c.y
  18239. }) : d.mode !== a.GameSceneModeEnum.WorldSelection || a.pointInRect(e.x, e.y, 0, 0, 2.3, 2) || (Y = !1, O = {
  18240. x: c.x,
  18241. y: c.y
  18242. })), d.mode === a.GameSceneModeEnum.Credits || d.mode === a.GameSceneModeEnum.WorldSelection || d.mode === a.GameSceneModeEnum.Shop || d.mode === a.GameSceneModeEnum.Leaderboards ? 3 < b ? (O.x < T.x ? pa(!1, d.canForcePageChange) : pa(!0, d.canForcePageChange), d.canForcePageChange = !1, O = {
  18243. x: c.x,
  18244. y: c.y
  18245. }) : d.pageOffsetX = .3 * -(O.x - T.x) : d.mode === a.GameSceneModeEnum.LevelPlay && d.activeObject && (c = T.x, b = T.y, c < d.minX + 1 && (c = d.minX +
  18246. 1), c > d.maxX - 1 && (c = d.maxX - 1), b < d.minY + 2 && (b = d.minY + 2), b > d.maxY - 1 && (b = d.maxY - 1), d.canDrawPath && 100 > d.activeObject.referencePath.length && 1 < a.distance(O.x, O.y, c, b) && (O = {
  18247. x: c,
  18248. y: b
  18249. }, T = {
  18250. x: c,
  18251. y: b
  18252. }, d.activeObject.referencePath.push({
  18253. x: c,
  18254. y: b
  18255. })))))
  18256. }
  18257. function A(c) {
  18258. var b, e, f, g, h, k;
  18259. b = !1;
  18260. e = c.pageX;
  18261. f = c.pageY;
  18262. c = a.screenToScene({
  18263. x: e / ha,
  18264. y: f / ia
  18265. });
  18266. h = a.screenToHud({
  18267. x: e / ha,
  18268. y: f / ia
  18269. });
  18270. a.screenToHud({
  18271. x: C.width,
  18272. y: C.height
  18273. });
  18274. if (ca) {
  18275. if (B === a.GameStateEnum.GameRun) {
  18276. !b && a.shopAvailable && Y && (d.mode === a.GameSceneModeEnum.LevelPlay ? a.getLayoutOrientation() ===
  18277. a.LayoutOrientationEnum.Landscape ? a.pointInRect(h.x, h.y, 0, 2.6, 2, 3.9) && (b = !0, W(), a.playSound("click")) : a.pointInRect(h.x, h.y, 4.2, .1, 6.2, 1.3) && (b = !0, W(), a.playSound("click")) : d.mode === a.GameSceneModeEnum.WorldSelection && a.pointInRect(h.x, h.y, 0, 0, 2.3, 1.7) && (b = !0, W(), a.playSound("click"), D()));
  18278. if (!b && (d.pageOffsetX = 0, h = d.maxX - d.minX, k = d.maxY - d.minY, O && T))
  18279. if (d.mode === a.GameSceneModeEnum.WorldSelection) {
  18280. if (D(), b = a.distance(O.x, O.y, T.x, T.y), d.canChangeMode && .5 > b) {
  18281. h = d.maxX - d.minX;
  18282. k = d.maxY - d.minY;
  18283. g = 20 * d.currentLevelPage;
  18284. var l = 1,
  18285. m = 0;
  18286. for (b = g; b < Math.min(g + 20, a.levelData.length - 1); ++b) {
  18287. e = d.minX + h / 5 * m;
  18288. f = d.minY + k / 5 * l;
  18289. if ((a.devMode || a.userData.levels[b] && 1 === a.userData.levels[b].unlocked) && a.pointInRect(c.x, c.y, e, f, e + h / 5, f + k / 5)) {
  18290. d.currentLevel = b;
  18291. ja(!0);
  18292. a.playSound("click");
  18293. break
  18294. }
  18295. m++;
  18296. 5 === m && (m = 0, l++)
  18297. }
  18298. }
  18299. } else if (d.mode === a.GameSceneModeEnum.Shop) {
  18300. if (D(), b = a.distance(O.x, O.y, T.x, T.y), d.canChangeMode && .5 > b)
  18301. for (l = !1, m = 4 * d.currentShopPage, b = 0; 2 > b; b++) {
  18302. for (e = 0; 2 > e; e++)
  18303. if (f = d.minX + e * h / 2, g = d.minY + b * k / 2, a.pointInRect(c.x, c.y, f, g,
  18304. f + h / 2, g + k / 2) && (a.playSound("click"), a.buyShopItem(m), l = !0), m++, l || m === a.shopItems.length) {
  18305. l = !0;
  18306. break
  18307. }
  18308. if (l) break
  18309. }
  18310. } else if (d.mode === a.GameSceneModeEnum.Credits) D();
  18311. else if (d.mode === a.GameSceneModeEnum.Achievements) D();
  18312. else if (d.mode === a.GameSceneModeEnum.Leaderboards) D();
  18313. else if (d.mode === a.GameSceneModeEnum.LevelPlay) {
  18314. if (d.activeObject && 0 < d.activeObject.referencePath.length && 0 === d.activeObject.path.length) {
  18315. d.activeObject.path = d.activeObject.referencePath.slice(0);
  18316. if (!1 === d.activeObject.shadowBooster)
  18317. for (b =
  18318. d.objects.length - 1; 0 <= b; --b) c = d.objects[b], c.type === a.ObjectTypeEnum.Object2 && c.chaser && null === c.target && (c.target = d.activeObject);
  18319. d.moveCount--;
  18320. 0 > d.moveCount && (d.moveCount = 0);
  18321. 0 === d.currentLevel && 1 === d.tutorialStep && d.tutorialStep++;
  18322. 1 === d.currentLevel && 1 === d.tutorialStep && d.tutorialStep++
  18323. }
  18324. D()
  18325. }
  18326. d.canChangeMode = !1;
  18327. d.canForcePageChange = !1;
  18328. d.canDrawPath = !1
  18329. }
  18330. T = O = null;
  18331. ca = !1
  18332. }
  18333. }
  18334. function D() {
  18335. d && d.menuExpanded && (d.menuExpanded = !d.menuExpanded, d.menuTime = 0 < d.menuTime ? Math.min(d.menuTime, .2) : .2)
  18336. }
  18337. function pa(c, b) {
  18338. var e;
  18339. D();
  18340. !b && 0 < d.pageAnimTime || (d.canChangeMode = !1, d.pageAnimTime = .3, c ? (d.mode === a.GameSceneModeEnum.WorldSelection ? (d.currentLevelPage++, 20 * d.currentLevelPage >= a.levelData.length - 1 && (d.currentLevelPage = 0)) : d.mode === a.GameSceneModeEnum.Shop ? (d.currentShopPage++, e = Math.floor(a.shopItems.length / 4), e += a.shopItems.length % 4 ? 1 : 0, d.currentShopPage >= e && (d.currentShopPage = 0)) : d.mode === a.GameSceneModeEnum.Leaderboards && (d.currentLeaderboardsPage++, e = Math.floor(a.leaderBoardItems.length / 4), e += a.leaderBoardItems.length %
  18341. 4 ? 1 : 0, d.currentLeaderboardsPage >= e && (d.currentLeaderboardsPage = 0)), d.pageAnimDirection = a.DirectionEnum.Left) : (d.mode === a.GameSceneModeEnum.WorldSelection ? (d.currentLevelPage--, 0 > 20 * d.currentLevelPage && (d.currentLevelPage = parseInt((a.levelData.length - 1) / 20) - 1)) : d.mode === a.GameSceneModeEnum.Shop ? (d.currentShopPage--, e = Math.floor(a.shopItems.length / 4), e += a.shopItems.length % 4 ? 1 : 0, 0 > d.currentShopPage && (d.currentShopPage = e - 1)) : d.mode === a.GameSceneModeEnum.Leaderboards && (d.currentLeaderboardsPage--, e = Math.floor(a.leaderBoardItems.length /
  18342. 4), e += a.leaderBoardItems.length % 4 ? 1 : 0, 0 > d.currentLeaderboardsPage && (d.currentLeaderboardsPage = e - 1)), d.pageAnimDirection = a.DirectionEnum.Right), d.mode === a.GameSceneModeEnum.Shop ? a.playSound("coin") : a.playSound("slide"))
  18343. }
  18344. function F() {
  18345. switch (d.mode) {
  18346. case a.GameSceneModeEnum.WorldSelection:
  18347. J(!0);
  18348. break;
  18349. case a.GameSceneModeEnum.LevelPlay:
  18350. d.isChallenge ? J(!0) : qa();
  18351. break;
  18352. case a.GameSceneModeEnum.Leaderboards:
  18353. case a.GameSceneModeEnum.Achievements:
  18354. case a.GameSceneModeEnum.Shop:
  18355. case a.GameSceneModeEnum.Credits:
  18356. switch (d.previousMode) {
  18357. case a.GameSceneModeEnum.WorldSelection:
  18358. qa();
  18359. break;
  18360. case a.GameSceneModeEnum.LevelPlay:
  18361. ja(!1);
  18362. break;
  18363. default:
  18364. J(!1)
  18365. }
  18366. }
  18367. }
  18368. function J(c) {
  18369. B = a.GameStateEnum.GameMenu;
  18370. c && k();
  18371. I = [];
  18372. na = !1;
  18373. a.showBannerAd()
  18374. }
  18375. function qa() {
  18376. var b;
  18377. V = 0;
  18378. K = {
  18379. x: d.minX + (d.maxX - d.minX) / 2,
  18380. y: d.maxY - 13.7
  18381. };
  18382. G = 1.5 * c().zoom;
  18383. b = new a.Camera;
  18384. b.multiply(Q);
  18385. b = b.screenToCamera(C.width, C.height);
  18386. H.x = b.x / 2 - K.x;
  18387. H.y = b.y / 2 - K.y;
  18388. y.angle = 0;
  18389. y.sx = G;
  18390. y.sy = G;
  18391. B = a.GameStateEnum.GameRun;
  18392. d.previousMode = d.mode;
  18393. d.resetPage();
  18394. d.pageBounce = !1;
  18395. d.maxX = d.minX + 15;
  18396. d.maxY = d.minY + 15;
  18397. d.mode = a.GameSceneModeEnum.WorldSelection;
  18398. a.hideBannerAd()
  18399. }
  18400. function ja(b) {
  18401. b ? (SG_Hooks.start(), d.loadLevel(), V = 0, K = {
  18402. x: (d.maxX - d.minX) / 2,
  18403. y: (d.maxY - d.minY) / 2
  18404. }, G = 1.7 * c().zoom, b = new a.Camera, b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 - K.y, y.angle = 2 * Math.PI, y.sx = G, y.sy = G, d.previousMode = d.mode, d.resetPage(), B = a.GameStateEnum.GameRun, S[5].time = 0, S[5].direction = 0) : (V = 0, K = {
  18405. x: (d.maxX - d.minX) / 2,
  18406. y: (d.maxY - d.minY) / 2
  18407. }, G = 1.3 * c().zoom, b = new a.Camera, b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 -
  18408. K.y, y.angle = .5 * Math.PI, y.sx = G, y.sy = G);
  18409. d.mode = a.GameSceneModeEnum.LevelPlay;
  18410. setTimeout(function() {
  18411. a.hideBannerAd()
  18412. }, 200);
  18413. a.playSound("levelintro")
  18414. }
  18415. function W() {
  18416. var b;
  18417. d.mode !== a.GameSceneModeEnum.Shop && (a.playSound("coin"), 1 === a.userData.ads && (d.shopMessageTime = 3), V = 0, K = {
  18418. x: d.minX + (d.maxX - d.minX) / 2,
  18419. y: d.maxY - 13.7
  18420. }, G = 1.5 * c().zoom, b = new a.Camera, b.multiply(Q), b = b.screenToCamera(C.width, C.height), H.x = b.x / 2 - K.x, H.y = b.y / 2 - K.y, y.angle = 0, y.sx = G, y.sy = G, d.previousMode = d.mode, d.resetPage(), d.pageBounce = !0, d.currentShopPage =
  18421. 0, d.mode = a.GameSceneModeEnum.Shop, a.hideBannerAd())
  18422. }
  18423. var da, M, aa, ha, ia, C, P, oa, B, ua, d, Q, H, y, ga, K, G, V, ea, ba, va, ta, sa, fa, X, ra, E, Z, ka, L, Y, na, ca, wa, O, T, ma = !1,
  18424. la = 0,
  18425. I, S = [{
  18426. time: 0,
  18427. direction: 0,
  18428. maxTime: .2,
  18429. speed1: 2,
  18430. speed2: 2
  18431. }, {
  18432. time: 0,
  18433. direction: 0,
  18434. maxTime: .5,
  18435. speed1: .5,
  18436. speed2: .25
  18437. }, {
  18438. time: 0,
  18439. direction: 0,
  18440. maxTime: .5,
  18441. speed1: 1,
  18442. speed2: .5
  18443. }, {
  18444. time: 0,
  18445. direction: 0,
  18446. maxTime: 1,
  18447. speed1: 1,
  18448. speed2: 1
  18449. }, {
  18450. time: 0,
  18451. direction: 0,
  18452. maxTime: 3,
  18453. speed1: 1,
  18454. speed2: 15
  18455. }, {
  18456. time: 0,
  18457. direction: 0,
  18458. maxTime: 1,
  18459. speed1: 1,
  18460. speed2: 1
  18461. }, {
  18462. time: 0,
  18463. direction: 0,
  18464. maxTime: 2,
  18465. speed1: 1,
  18466. speed2: 1
  18467. }, {
  18468. time: 0,
  18469. direction: 0,
  18470. maxTime: .5,
  18471. speed1: .25,
  18472. speed2: 10
  18473. }, {
  18474. time: 0,
  18475. direction: 0,
  18476. maxTime: .25,
  18477. speed1: 1,
  18478. speed2: 1
  18479. }];
  18480. a.getScaleUnit = function() {
  18481. return da
  18482. };
  18483. a.getCurrentGameState = function() {
  18484. return B
  18485. };
  18486. a.getCanvasWidth = function() {
  18487. return C.width
  18488. };
  18489. a.getCanvasHeight = function() {
  18490. return C.height
  18491. };
  18492. a.getLogoTime = function() {
  18493. return fa
  18494. };
  18495. a.getIntroTime = function() {
  18496. return X
  18497. };
  18498. a.getGameLoadingData = function() {
  18499. return ra
  18500. };
  18501. a.getGameMenuData = function() {
  18502. return E
  18503. };
  18504. a.getGameMenuEffects = function() {
  18505. return Z
  18506. };
  18507. a.getTitleHeartbeat1 =
  18508. function() {
  18509. return S[1]
  18510. };
  18511. a.getTitleHeartbeat2 = function() {
  18512. return S[2]
  18513. };
  18514. a.getTitleHeartbeat3 = function() {
  18515. return S[3]
  18516. };
  18517. a.getTitleHeartbeat4 = function() {
  18518. return S[4]
  18519. };
  18520. a.getTitleHeartbeat5 = function() {
  18521. return S[5]
  18522. };
  18523. a.getTitleHeartbeat6 = function() {
  18524. return S[6]
  18525. };
  18526. a.getTitleHeartbeat7 = function() {
  18527. return S[7]
  18528. };
  18529. a.getTitleHeartbeat8 = function() {
  18530. return S[8]
  18531. };
  18532. a.getSceneHudItems = function() {
  18533. return I
  18534. };
  18535. a.getPointerStartPos = function() {
  18536. return O
  18537. };
  18538. a.getPointerEndPos = function() {
  18539. return T
  18540. };
  18541. a.getLayoutOrientation = function() {
  18542. return aa
  18543. };
  18544. a.setPaused = function(a) {
  18545. oa = a
  18546. };
  18547. a.getGamePlayEndTime = function() {
  18548. return L
  18549. };
  18550. a.getShowSettings = function() {
  18551. return na
  18552. };
  18553. a.getGameAdsTime = function() {
  18554. return ka
  18555. };
  18556. a.isModalTip = function() {
  18557. var b = !1;
  18558. if (d.mode === a.GameSceneModeEnum.LevelPlay)
  18559. if (0 === d.currentLevel) switch (d.tutorialStep) {
  18560. case 0:
  18561. b = !0
  18562. } else if (1 === d.currentLevel) switch (d.tutorialStep) {
  18563. case 0:
  18564. b = !0
  18565. } else if (2 === d.currentLevel) switch (d.tutorialStep) {
  18566. case 0:
  18567. b = !0
  18568. } else if (3 === d.currentLevel) switch (d.tutorialStep) {
  18569. case 0:
  18570. b = !0
  18571. } else if (9 === d.currentLevel) switch (d.tutorialStep) {
  18572. case 0:
  18573. b = !0
  18574. } else if (11 === d.currentLevel) switch (d.tutorialStep) {
  18575. case 0:
  18576. b = !0
  18577. } else if (20 === d.currentLevel) switch (d.tutorialStep) {
  18578. case 0:
  18579. b = !0
  18580. } else if (21 === d.currentLevel) switch (d.tutorialStep) {
  18581. case 0:
  18582. b = !0
  18583. } else if (!0 === d.isChallenge) switch (d.tutorialStep) {
  18584. case 0:
  18585. b = !0
  18586. }
  18587. return b
  18588. };
  18589. a.applyHudCameras = function() {
  18590. P.setTransform.apply(P, Q.matrix);
  18591. P.transform.apply(P, ga.matrix)
  18592. };
  18593. a.applySceneCameras = function() {
  18594. P.setTransform.apply(P, Q.matrix);
  18595. P.transform.apply(P, H.matrix);
  18596. P.transform.apply(P, y.matrix)
  18597. };
  18598. a.applyVeryFarParallaxCameras =
  18599. function() {
  18600. P.translate(.15 * -y.x, .15 * -y.y)
  18601. };
  18602. a.applyFarParallaxCameras = function() {
  18603. P.translate(.3 * -y.x, .3 * -y.y)
  18604. };
  18605. a.applyNearParallaxCameras = function() {
  18606. P.translate(.5 * -y.x, .5 * -y.y)
  18607. };
  18608. a.applyVeryNearParallaxCameras = function() {
  18609. P.translate(.75 * -y.x, .75 * -y.y)
  18610. };
  18611. a.applyHereParallaxCameras = function() {
  18612. P.translate(-y.x, -y.y)
  18613. };
  18614. a.screenToHud = function(b) {
  18615. var c = new a.Camera;
  18616. c.multiply(Q);
  18617. c.multiply(ga);
  18618. return c.screenToCamera(b.x, b.y)
  18619. };
  18620. a.screenToScene = function(b) {
  18621. var c = new a.Camera;
  18622. c.multiply(Q);
  18623. c.multiply(H);
  18624. c.multiply(y);
  18625. c.translate(-y.x, -y.y);
  18626. return c.screenToCamera(b.x, b.y)
  18627. };
  18628. a.getAssetResolution = function() {
  18629. return a.AssetResolutionEnum.ResolutionA
  18630. };
  18631. a.initialize = function() {
  18632. a.initializeSystem();
  18633. a.initializeLevels();
  18634. ba = ea = 0;
  18635. va = a.DirectionEnum.Left;
  18636. wa = ca = sa = oa = !1;
  18637. X = 11;
  18638. fa = 3;
  18639. ra = {
  18640. current: 0,
  18641. total: 0
  18642. };
  18643. ta = !1;
  18644. Z = [];
  18645. L = 0;
  18646. na = Y = !1;
  18647. var b = Math.max($(window).width(), $(window).height()),
  18648. c = a.AssetResolutionEnum.ResolutionB;
  18649. 400 > b ? c = a.AssetResolutionEnum.ResolutionE : 500 > b ? c = a.AssetResolutionEnum.ResolutionD : 1300 > b && (c = a.AssetResolutionEnum.ResolutionC);
  18650. /* switch (c) {
  18651. case a.AssetResolutionEnum.ResolutionB:
  18652. da = .02;
  18653. M = "650";
  18654. break;
  18655. case a.AssetResolutionEnum.ResolutionC:
  18656. da = .02;
  18657. M = "500";
  18658. break;
  18659. case a.AssetResolutionEnum.ResolutionD:
  18660. da = 1 / 38;
  18661. M = "380";
  18662. break;
  18663. case a.AssetResolutionEnum.ResolutionE:
  18664. da = 1 / 30, M = "300"
  18665. }*/
  18666. da = .02;
  18667. M = 500;
  18668. a.loadUserData();
  18669. a.setupTileOffsets();
  18670. C = document.getElementById("canvas");
  18671. P = C.getContext("2d");
  18672. $(document).bind("vmousedown", m);
  18673. $(document).bind("vmouseup", A);
  18674. $(document).bind("vmousemove", n);
  18675. Q = new a.Camera;
  18676. H = new a.Camera;
  18677. y = new a.Camera;
  18678. ga = new a.Camera;
  18679. ga.sx =
  18680. 1;
  18681. ga.sy = 1;
  18682. ga.update();
  18683. a.resetDisplay();
  18684. a.Resources.loadingScreenImage = new Image;
  18685. a.Resources.loadingScreenImage.onload = f;
  18686. a.Resources.loadingScreenImage.src = "assets/img/" + M + "/loadingscreen.png";
  18687. B = a.GameStateEnum.GamePreLoading;
  18688. a.hideBannerAd();
  18689. t()
  18690. };
  18691. a.resetDisplay = function() {
  18692. var b = 1 / da;
  18693. aa = $(window).width() >= $(window).height() ? a.LayoutOrientationEnum.Landscape : a.LayoutOrientationEnum.Portrait;
  18694. C.width = aa === a.LayoutOrientationEnum.Landscape ? 14 * b : 8 * b;
  18695. C.height = aa === a.LayoutOrientationEnum.Landscape ? 14 * b *
  18696. $(window).height() / $(window).width() : 8 * b * $(window).height() / $(window).width();
  18697. ha = $(window).width() / C.width;
  18698. ia = $(window).height() / C.height;
  18699. C.style.width = $(window).width() + "px";
  18700. C.style.height = $(window).height() + "px";
  18701. Q && (Q.sx = 1 / da, Q.sy = 1 / da, Q.update());
  18702. v()
  18703. };
  18704. a.updateAchievements = function(b) {
  18705. if (!b) {
  18706. for (b = a.threeStarsLevels = 0; b < a.userData.levels.length; ++b) a.userData.levels[b] && 3 === a.userData.levels[b].stars && a.threeStarsLevels++;
  18707. if (a.userData.threeStarsLevels < a.threeStarsLevels)
  18708. for (a.userData.threeStarsLevels =
  18709. a.threeStarsLevels, b = 0; b < a.achievementItems.length; ++b)
  18710. if (1 === a.achievementItems[b].type && a.achievementItems[b].value === a.threeStarsLevels) {
  18711. d && (d.titleNotificationTime = 3, a.playSound("levelintro"));
  18712. break
  18713. }
  18714. }
  18715. if (d && a.userData.levels[d.challengeLevelIndex] && d.currentScore > a.userData.levels[d.challengeLevelIndex].bestScore)
  18716. for (b = 0; b < a.achievementItems.length; ++b)
  18717. if (0 === a.achievementItems[b].type && a.achievementItems[b].value <= d.currentScore && d.badgeNotification < a.achievementItems[b].value) {
  18718. d.badgeNotification =
  18719. a.achievementItems[b].value;
  18720. d.badgeNotificationTime = 3;
  18721. a.playSound("levelintro");
  18722. break
  18723. }
  18724. };
  18725. a.navigateBack = function() {
  18726. if (B !== a.GameStateEnum.GameRun && B !== a.GameStateEnum.GameLost && B !== a.GameStateEnum.GameWon) return "exit";
  18727. d && (F(), a.playSound("click"));
  18728. return "stay"
  18729. }
  18730. })(window.AquaThiefGame = window.AquaThiefGame || {});