var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.objectCreate=$jscomp.ASSUME_ES5||"function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b};$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return b.__proto__=a,b.a}catch(c){}return!1}; $jscomp.setPrototypeOf="function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null; $jscomp.inherits=function(a,b){a.prototype=$jscomp.objectCreate(b.prototype);a.prototype.constructor=a;if($jscomp.setPrototypeOf){var c=$jscomp.setPrototypeOf;c(a,b)}else for(c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype};var dev_str="",Load=function(){return Phaser.Scene.call(this,"load")||this};$jscomp.inherits(Load,Phaser.Scene); Load.prototype.preload=function(){var a=this;this.add.sprite(config.width/2,config.height/2,"bg_menu");this.add.sprite(360,392,"game_title");this.add.text(360,1200,dev_str,{fontFamily:"vanilla",fontSize:20,align:"center",color:"#FFFFFF"}).setOrigin(.5);var b=this.add.rectangle(config.width/2,900,600,20);b.setStrokeStyle(4,16777215);b.alpha=.7;var c=this.add.rectangle(config.width/2,900,590,10,16777215);c.alpha=.8;this.load.on("progress",function(a){c.width=590*a});this.load.on("complete",function(){b.destroy(); c.destroy();var d=draw_button(360,900,"start",a);a.tweens.add({targets:d,alpha:.5,yoyo:!0,duration:300,loop:-1})},this);this.input.on("gameobjectdown",function(){a.scene.start("menu")},this);this.load.image("bg_game","img/bg_game.png");this.load.image("score_bar","img/score_bar.png");this.load.image("best_bar","img/best_bar.png");this.load.image("best_bar_large","img/best_bar_large.png");this.load.image("header","img/header.png");this.load.image("progress","img/progress.png");this.load.image("timer_bar", "img/timer_bar.png");this.load.image("timer_icon","img/timer_icon.png");this.load.image("popup_gameover","img/popup_gameover.png");this.load.image("popup_pause","img/popup_pause.png");this.load.image("popup_completed","img/popup_completed.png");this.load.image("txt_pause","img/txt_pause.png");this.load.image("txt_gameover","img/txt_gameover.png");this.load.image("txt_completed","img/txt_completed.png");this.load.image("btn_sound_on","img/btn_sound_on.png");this.load.image("btn_sound_off","img/btn_sound_off.png"); this.load.image("btn_menu","img/btn_menu.png");this.load.image("btn_resume","img/btn_resume.png");this.load.image("btn_restart","img/btn_restart.png");this.load.image("btn_pause","img/btn_pause.png");this.load.image("btn_play","img/btn_play.png");this.load.image("btn_close","img/btn_close.png");this.load.image("btn_next","img/btn_next.png");this.load.spritesheet("tiles","img/tiles.png",{frameWidth:128,frameHeight:128});this.load.audio("click","audio/click.mp3");this.load.audio("gameover","audio/gameover.mp3"); this.load.audio("tile","audio/tile.mp3");this.load.audio("match","audio/match.mp3");this.load.audio("completed","audio/completed.mp3")};Load.prototype.create=function(){};