var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)};$jscomp.arrayFromIterator=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c};
$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.objectCreate=$jscomp.ASSUME_ES5||"function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b};
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b){var c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]};
$jscomp.polyfill=function(a,b,c,d){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,d):$jscomp.polyfillUnisolated(a,b,c,d))};$jscomp.polyfillUnisolated=function(a,b,c,d){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})};
$jscomp.polyfillIsolated=function(a,b,c,d){var e=a.split(".");a=1===e.length;d=e[0];d=!a&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<e.length-1;f++){var g=e[f];g in d||(d[g]={});d=d[g]}e=e[e.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?d[e]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,e,{configurable:!0,writable:!0,value:b}):b!==c&&($jscomp.propertyToPolyfillSymbol[e]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(e):$jscomp.POLYFILL_PREFIX+e,e=$jscomp.propertyToPolyfillSymbol[e],
$jscomp.defineProperty(d,e,{configurable:!0,writable:!0,value:b})))};$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return b.__proto__=a,b.a}catch(c){}return!1};$jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"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};$jscomp.polyfill("Math.log10",function(a){return a?a:function(a){return Math.log(a)/Math.LN10}},"es6","es3");
window.onload=function(){var a={type:Phaser.AUTO,scale:{mode:Phaser.Scale.FIT,parent:"thegame",width:750,height:1334},physics:{default:"arcade",arcade:{gravity:{y:0}}},scene:{preload:function(){window.mySoundPlayer=new SoundPlayer;window.translator=new Translator;window.newsReader=new NewsReader;window.newsReader.readNews();var a=window.innerWidth,b=this.add.graphics(),e=this.add.graphics();e.fillStyle(2236962,.8);e.fillRect(.1*a,270,.8*a,50);this.load.on("progress",function(c){b.clear();b.fillStyle(16777215,
1);b.fillRect(.15*a,280,.7*a*c,30)});this.load.on("fileprogress",function(a){});this.load.on("complete",function(){b.destroy();e.destroy()});window.mySoundPlayer.preloadSoundsFromGame(this);this.load.atlas({key:"allGraphics",textureURL:"art/art.png",atlasURL:"art/art.json"});this.load.atlas({key:"allGraphics2",textureURL:"art/art2.png?"+Date.now(),atlasURL:"art/art2.json?"+Date.now()});this.load.atlas({key:"addGraphics",textureURL:"art/artAdd.png?"+Date.now(),atlasURL:"art/artAdd.json?"+Date.now()})},
create:function(){var a=new BottleScreen(this);a.init();b.bottleScreen=a;this.input.on("pointerdown",a.downCallBack,a);this.input.on("pointerup",a.upCallBack,a);this.input.on("pointermove",a.moveCallBack,a);this.input.on("gameout",a.outCallBack,a);this.input.keyboard.on("keydown",a.keyDownCallBack,a);b.resize(window.innerWidth,window.innerHeight)},update:function(a,b){window.bottleScreen&&window.bottleScreen.update(a,b)},resize:function(){}},title:"Babel Tower by Airapport",version:"1.1.0",enableDebug:!1},
b=new Phaser.Game(a);b.resize=function(c,d){void 0===c&&(c=a.width);void 0===d&&(d=a.height);var e=750,f=1334;this.bottleScreen&&(e=this.bottleScreen.w0,f=this.bottleScreen.h0);if(50<=c&&50<=d){var g=d/c;if(g>f/e){var h=e;e*=g;b.scale.setGameSize(h,e);b.scale.displaySize.resize(c,c*g)}else h=f/g,e=f,b.scale.setGameSize(f/g,f),b.scale.displaySize.resize(d/g,d);window.bottleScreen&&window.bottleScreen.react2NewSize(h,e)}};b.clearBeforeRender=!1;window.game=b;window.addEventListener("resize",function(a){b&&
b.resize(window.innerWidth,window.innerHeight)},!1);window.portalWrapper=new PortalInteractionWrapper;window.portalWrapper.onInit();window.manualSizeChecker={lastW:0,lastH:window.innerHeight,timer:setInterval(function(){window.innerWidth==window.manualSizeChecker.lastW&&window.innerHeight==window.manualSizeChecker.lastH||!window.bottleScreen||(window.game.resize(window.innerWidth,window.innerHeight),window.manualSizeChecker.lastW=window.innerWidth,window.manualSizeChecker.lastH=window.innerHeight)},
100)}};var PortalInteractionWrapper=function(){this.hasPreloadedRewarded=this.hasPreloadedInterstitial=!1;this.preparedReward=null;this.lastAdsShowMoment=0;this.minTimeBetweenAds=12E4;this.lastPreloadAdsMoment=0};PortalInteractionWrapper.prototype.onInit=function(a){this.preloadInterstitial();this.preloadRewarded()};PortalInteractionWrapper.prototype.onLevelComplete=function(a){};PortalInteractionWrapper.prototype.preloadInterstitial=function(){};
PortalInteractionWrapper.prototype.preloadRewarded=function(){this.hasPreloadedRewarded||"undefined"===gdsdk||"undefined"===gdsdk.preloadAd||(this.lastPreloadAdsMoment=Date.now(),gdsdk.preloadAd("rewarded").then(function(a){window.portalWrapper.hasPreloadedRewarded=!0}).catch(function(a){}))};
PortalInteractionWrapper.prototype.isRewardedAdReady=function(){if("undefined"!==gdsdk&&"undefined"!==gdsdk.showAd&&Date.now()-this.lastAdsShowMoment>=this.minTimeBetweenAds){if(this.hasPreloadedRewarded)return!0;12E4<=Date.now()-this.lastPreloadAdsMoment&&this.preloadRewarded()}return!1};PortalInteractionWrapper.prototype.isInterstitialAdReady=function(){return!0};
PortalInteractionWrapper.prototype.showInterstitial=function(a){if("undefined"!==typeof gdsdk&&"undefined"!==gdsdk.showAd){gdsdk.showAd();this.hasPreloadedInterstitial=!1;this.preloadInterstitial();this.lastAdsShowMoment=Date.now();var b="none";a&&a.hasOwnProperty("statsCode")&&(b=a.statsCode);window.bottleScreen.statsWrapper.sendEvent("interstitial_view_gd",b,1)}};
PortalInteractionWrapper.prototype.showRewarded=function(a,b){"undefined"!==typeof gdsdk&&"undefined"!==gdsdk.showAd&&(gdsdk.showAd("rewarded"),this.preparedReward=b,window.bottleScreen.showAdSpinner(),this.hasPreloadedRewarded=!1,this.preloadRewarded(),this.lastAdsShowMoment=Date.now(),b="none",a&&a.hasOwnProperty("statsCode")&&(b=a.statsCode),window.bottleScreen.statsWrapper.sendEvent("rewarded_view_gd",b,1),setTimeout(this.givePreparedReward.bind(this),5E3))};
PortalInteractionWrapper.prototype.givePreparedReward=function(){window.bottleScreen.world.giveReward(this.preparedReward)};BottleScreen=function(a,b){this.config={mustClearSave:!1,completeStoreyQuickly:!1,cheapBricks:!1,hideAllUpgradeButtons:!1,tradeArtfactsForBricks:!0};window.bottleScreen=this;window.addEventListener("blur",this.onDeactivate,!1);window.addEventListener("beforeunload",this.onJustClose,!1);window.lastDeactivationMoment=0;this.utils=new Utils;this.game=a;this.scene=b;this.grp=this.bgd=null;this.grps=[];this.hudGrp=null;this.gameHeight=this.gameWidth=this.h0=this.w0=1200;this.topMargin=this.leftMargin=
0;this.screenZeroX=this.w0/2;this.screenZeroY=this.h0/2;this.screenVisHalfW=this.w0/2;this.screenVisHalfH=this.h0/2;this.guiController=new GUIController(this);this.lastUpdateMoment=0};
BottleScreen.prototype={init:function(){this.statsWrapper=new StatsWrapper;this.bgd=this.game.add.image(0,0,"allGraphics2","w000_tmpSquare4new0000");this.bgd.tint=6737151;this.grp=this.game.add.container();this.bgd.displayWidth=this.w0;this.bgd.displayHeight=this.h0;this.bgd.x=this.bgd.displayWidth/2;this.bgd.y=this.bgd.displayHeight/2;this.grp.add(this.bgd);var a=this.game.add.image(0,0,"allGraphics2","w000_smallScreenButtons4new0000");this.grp.add(a);a=this.game.add.image(this.w0,0,"allGraphics2",
"w000_smallScreenButtons4new0000");this.grp.add(a);a=this.game.add.image(0,this.h0,"allGraphics2","w000_smallScreenButtons4new0000");this.grp.add(a);a=this.game.add.image(this.w0,this.h0,"allGraphics2","w000_smallScreenButtons4new0000");this.grp.add(a);this.grps.push(this.grp);for(a=0;2>a;a++){var b=this.game.add.container();this.grps.push(b)}this.hudGrp=this.game.add.container();this.world=new BabelWorld(this,BabelHUD,BabelBallanser,BabelPurchaser);this.world.hud.showStartScreen();this.worldTime4Control=
0;this.isWaiting4ActualUpdateEvent=!0;this.reserveInterval=1E4;setInterval(this.checkWorldUpdate,this.reserveInterval);setInterval(this.doOncePerMinute,6E4);this.adsSpinner=new AdsSpinner(this,this.game,this.hudGrp)},checkWorldUpdate:function(){var a=window.bottleScreen;a.lastUpdateMoment>a.worldTime4Control+.5*a.reserveInterval||a.update(a.worldTime4Control+a.reserveInterval,a.reserveInterval);a.worldTime4Control=a.lastUpdateMoment},doOncePerMinute:function(){window.bottleScreen.saveCurrentWorld()},
saveCurrentWorld:function(){this.world&&this.world.doSaving()},update:function(a,b){0!=this.lastUpdateMoment&&(b=a-this.lastUpdateMoment,0>b&&(b=0));this.lastUpdateMoment=a;this.isWaiting4ActualUpdateEvent&&(this.worldTime4Control=this.lastUpdateMoment,this.isWaiting4ActualUpdateEvent=!1);this.world&&(3E4<b&&(this.world.fixAwayTime(b),b=16),this.world.update(a,b))},outCallBack:function(a){this.world.outCallBack()},downCallBack:function(a){this.adsSpinner.visible||this.world.downCallBack(a.x,a.y,a.x-
this.grp.x,a.y-this.grp.y)},upCallBack:function(a){this.adsSpinner.visible||this.world.upCallBack(a.x,a.y,a.x-this.grp.x,a.y-this.grp.y)},moveCallBack:function(a){this.adsSpinner.visible||this.world.movCallBack(a.x,a.y,a.x-this.grp.x,a.y-this.grp.y,a.isDown)},keyDownCallBack:function(a){this.world&&this.world.keyDownCallBack(a)},react2NewSize:function(a,b){this.gameWidth=a;this.gameHeight=b;this.leftMargin=(this.gameWidth-this.w0)/2;this.topMargin=(this.gameHeight-this.h0)/2;for(a=0;a<this.grps.length;a++)this.grps[a].x=
this.leftMargin,this.grps[a].y=this.topMargin;this.bgd.displayWidth=this.gameWidth+10;this.bgd.displayHeight=this.gameHeight+10;this.world&&(this.world.updateUnmovableBGDs(),this.world.updateHUD());this.adsSpinner&&this.adsSpinner.updateSizes()},showAdSpinner:function(){this.adsSpinner.show()},pauseGame:function(){},resumeGame:function(){},onJustClose:function(a){window.bottleScreen.saveCurrentWorld()},onDeactivate:function(a){a=Date.now();1E3<a-window.lastDeactivationMoment&&(window.lastDeactivationMoment=
a,window.bottleScreen.saveCurrentWorld())},openLinkAndTrack:function(a,b){window.open(a);b&&window.bottleScreen.statsWrapper.sendEvent("click_link",b,1)}};var GUIController=function(a){this.myBottleScreen=a;this.buttonsList=[]};GUIController.prototype.registerButton=function(a){this.buttonsList.push(a)};var Utils=function(){this.bigNumbersEndings="K M B T Qa Qi Sx Sp Oc N D".split(" ");this.alphabet="abcdefghijklmnopqrstuvwxyz";this.bigAlphabet=" 0123456789.,;:!?/_+-=~#$^&*()[]{}<>%@|'\u00bf\u00a1AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"};
Utils.prototype.showTimeAsText=function(a,b){b&&(a*=1E3);if(1E3>a){for(b=""+Math.floor(a%1E3);3>b.length;)b="0"+b;return""+Math.floor(a/1E3)+"."+b+"s"}if(6E4>a)return""+Math.floor(a/1E3)+"s";a=Math.round(a);b=[];for(var c=[1E3,60,60,24,7,4.35,12],d="ms;s;m;h; days; weeks; months; years".split(";"),e=0;e<c.length;){var f=c[e];b.push(a%f);a=Math.floor(a/f);e++;if(0==a)break}0<a&&(b.push(a),e++);return 1<e?b[e-1]+d[e-1]+" "+b[e-2]+d[e-2]:"0"};
Utils.prototype.showNumberAsText=function(a){if(0>a)return"-"+this.showNumberAsText(-a);if(1>a).0049999999>a?a="0":(a=(Math.round(100*a)/100).toString(),4<a.length&&(a=a.substr(0,4)));else if(1E3>a)a=this.convertSmallNumber2String(a);else{var b=Math.floor(Math.log10(a)/3);a=this.convertSmallNumber2String(a/Math.pow(10,3*b));a=b<=this.bigNumbersEndings.length?a+this.bigNumbersEndings[b-1]:a+("e"+3*b)}return a};
Utils.prototype.convertSmallNumber2String=function(a){a=(Math.round(100*a)/100).toString();4<a.length&&(a=a.substr(0,4));"."==a[a.length-1]&&(a=a.substr(0,a.length-1));return a};Utils.prototype.saveString2Ar=function(a,b,c){if(c&&""!=c){a[b+0]=c.length;b++;for(var d=0;d<c.length;d++){var e=c.charAt(d);e=this.bigAlphabet.indexOf(e);a[b+0]=e;b++}return b}a[b+0]=0;return b+1};
Utils.prototype.loadStringFromAr=function(a,b){var c={id:b,str:""},d=a[b+0];c.str="";b++;for(var e=0;e<d;e++){var f=a[b];f=-1==f?" ":this.bigAlphabet.charAt(f);c.str+=f;b++}c.id=b;return c};Utils.prototype.saveNumAr2Ar=function(a,b,c){var d=c.length;a[b+0]=d;b++;for(var e=0;e<d;e++)a[b+0]=c[e],b++;return b};Utils.prototype.loadNumArFromAr=function(a,b,c){c.length=0;var d=a[b+0];b++;for(var e=0;e<d;e++)c.push(a[b+0]),b++;return b};
Utils.prototype.loadLocalNumber=function(a,b,c){var d=localStorage.getItem(a);"null"!=d&&null!=d&&""!=d?b=eval(d):c&&localStorage.setItem(a,b);return b};Utils.prototype.getDistBetweenPoints=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)};Utils.prototype.getIdOfArOfWeights=function(a){for(var b=0,c=0;c<a.length;c++)b+=a[c];b*=Math.random();for(c=0;b>a[c];)if(b-=a[c],c++,c>=a.length){c=a.length-1;break}return c};
Utils.prototype.sendEmailWithCaptionAndText=function(a,b){window.open("mailto:general@cardswars.com?subject="+a+"&body="+b)};Utils.prototype.openLink=function(a){window.open(a)};
var SoundPlayer=function(){this.isSoundEnabled=!0;this.isTemporarilyMuted=!1;this.soundsList=[{code:"buttonDown",num:2,config:{volume:1}},{code:"buttonUp",num:2,config:{volume:1}},{code:"coinDrop",num:5,config:{volume:1}},{code:"hammerHit",num:5,config:{volume:1}},{code:"knockWood",num:5,config:{volume:1}},{code:"oreLoad",num:4,config:{volume:.5}},{code:"pumpSound",num:5,config:{volume:1}},{code:"chopSound",num:5,config:{volume:.25}},{code:"drum",num:4,config:{volume:1}},{code:"winchLong",num:4,config:{volume:1}},
{code:"winchShort",num:7,config:{volume:1}},{code:"waterFlush",num:3,config:{volume:.5}},{code:"thunderbolt",num:1,config:{volume:1}},{code:"hoseWater",num:5,config:{volume:.25}},{code:"rain",num:4,config:{volume:1}},{code:"windmillMechanism",num:4,config:{volume:1}},{code:"saw",num:7,config:{volume:.25}},{code:"woodSaw",num:7,config:{volume:1}},{code:"cogTick",num:4,config:{volume:1}},{code:"cannon",num:4,config:{volume:.25}}];this.createdSounds={};this.myGame=null;this.numsOfCodes={};this.configsOfCodes=
{};for(var a=0;a<this.soundsList.length;a++)this.numsOfCodes[this.soundsList[a].code]=this.soundsList[a].num,this.configsOfCodes[this.soundsList[a].code]=this.soundsList[a].config};SoundPlayer.prototype.preloadSoundsFromGame=function(a){this.myGame=a;for(var b=0;b<this.soundsList.length;b++){var c=this.soundsList[b],d=c.code;c=c.num;for(var e=0;e<c;e++)a.load.audio(d+e,["sounds/snd_"+d+"_"+e+".mp3","sounds/snd_"+d+"_"+e+".ogg"])}this.isSoundEnabled="true"==localStorage.getItem("soundOn")};
SoundPlayer.prototype.playSound=function(a){if(this.isSoundEnabled&&!this.isTemporarilyMuted){var b=this.numsOfCodes[a];if(0!=b&&!isNaN(b)&&null!=b){b=a+Math.floor(Math.random()*b);var c=this.createdSounds[b];c||(c=window.game.sound.add(b),this.createdSounds[b]=c);c.play(this.configsOfCodes[a])}}};SoundPlayer.prototype.switchSound=function(a){this.isSoundEnabled=a;localStorage.setItem("soundOn",this.isSoundEnabled?"true":"false")};
SoundPlayer.prototype.setTemporarilyMute=function(a){this.isTemporarilyMuted=a};
var Translator=function(){this.lettersInTextCode="QWERTYUIOPASDFGHJKLZXCVBNM_0123456789";this.availableLangs="en ru uk de es fr pl tr it cs pt ms".split(" ");this.allPhrases={};this.allPhrases.TXID_CAP_LOADINGADS={en:"Loading ads...",ru:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b...",uk:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0438...",de:"Anzeigen laden ..."};this.allPhrases.TXID_CAP_NOADS=
{en:"Currently there is no ad available, please try again later",ru:"\u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0435\u0442 \u0440\u0435\u043a\u043b\u0430\u043c\u044b \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0437\u0436\u0435",uk:"\u0417\u0430\u0440\u0430\u0437\u0440\u0435\u043a\u043b\u0430\u043c\u0438 \u043d\u0435\u043c\u0430 \u0432 \u043d\u0430\u044f\u0432\u043d\u043e\u0441\u0442\u0456, \u0441\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0456\u0437\u043d\u0456\u0448\u0435",
de:"Derzeit ist keine Anzeige verf\u00fcgbar. Bitte versuchen Sie es sp\u00e4ter erneut"};this.allPhrases.TXID_AFT_DESC_ADSSKIPS={en:"42 skips of ads",ru:"42 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430 \u0440\u0435\u043a\u043b\u0430\u043c",uk:"42 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c",de:"42 Spr\u00fcnge von Anzeigen",es:"42 saltos de anuncios",fr:"42 annonces de skips",pl:"42 przeskakuje reklam",tr:"reklamlar\u0131n 42 atlama",it:"42 salti di annunci",
cs:"42 p\u0159esko\u010den\u00ed reklam",pt:"42 saltos de an\u00fancios",ms:"42 Langkauan Iklan"};this.allPhrases.TXID_AFT_DESC_BEAKER={en:"5x science generation",ru:"5\u0445 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0430\u0443\u043a\u0438",uk:"5\u0445 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u044f \u043d\u0430\u0443\u043a\u0438",de:"5x Wissenschaft Generation",es:"generaci\u00f3n de la ciencia 5x",fr:"5x g\u00e9n\u00e9ration de la science",pl:"5x generacja nauka",tr:"5x bilim nesil",
it:"generazione scienza 5x",cs:"5x generace science",pt:"gera\u00e7\u00e3o de ci\u00eancia 5x",ms:"Generasi Sains 5x"};this.allPhrases.TXID_AFT_DESC_GBUCKET={en:"5x Water effects",ru:"5\u0445 \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0412\u043e\u0434\u044b",uk:"5\u0445 \u0414\u0456\u0457 \u0412\u043e\u0434\u0438",de:"5x Wassereffekte",es:"x5 efectos de agua",fr:"5x effets d'eau",pl:"Efekty 5x wodne",tr:"5x Su etkileri",it:"effetti 5x acqua",cs:"\u00fa\u010dinky 5x Vodn\u00ed",pt:"efeitos 5x \u00c1gua",
ms:"Kesan Air 5x "};this.allPhrases.TXID_AFT_DESC_GCOIN={en:"5x Market prices",ru:"5\u0445 \u0426\u0435\u043d\u044b \u043d\u0430 \u0440\u044b\u043d\u043a\u0435",uk:"5\u0445 \u0426\u0456\u043d\u0438 \u043d\u0430 \u0440\u0438\u043d\u043a\u0443",de:"5x Marktpreise",es:"x5 precios de mercado",fr:"5x prix du march\u00e9",pl:"5x ceny rynkowe",tr:"5x Piyasa fiyatlar\u0131",it:"i prezzi di mercato 5x",cs:"Ceny 5x Tr\u017en\u00ed",pt:"pre\u00e7os 5x Mercado",ms:"Harga Pasar 5x "};this.allPhrases.TXID_AFT_DESC_GPICKAXE=
{en:"5x Stone mining",ru:"5x \u0414\u043e\u0431\u044b\u0447\u0438 \u043a\u0430\u043c\u043d\u044f",uk:"5x \u0412\u0438\u0434\u043e\u0431\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u0430\u043c\u0435\u043d\u044e",de:"5x Bergbau",es:"la miner\u00eda x5 Piedra",fr:"5x Extraction de pierre",pl:"5x wydobycie kamienia",tr:"5x Ta\u015f madencilik",it:"mineraria 5x Pietra",cs:"t\u011b\u017eba kamene 5x",pt:"minera\u00e7\u00e3o 5x Pedra",ms:"Perlombongan Batu 5x "};this.allPhrases.TXID_AFT_DESC_GTREE={en:"5x Forest Growth",
ru:"5\u0445 \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u043e\u0441\u0442\u0430 \u043b\u0435\u0441\u0430",uk:"5\u0445 \u0428\u0432\u0438\u0434\u043a\u043e\u0441\u0442\u0456 \u0440\u043e\u0441\u0442\u0443 \u043b\u0456\u0441\u0443",de:"5x Waldwachstum",es:"Crecimiento Forestal x5",fr:"5x croissance For\u00eat",pl:"5x Las Growth",tr:"5x Orman B\u00fcy\u00fcme",it:"5x crescita delle foreste",cs:"5x Forest Growth",pt:"Crescimento Floresta 5x",ms:"Pertumbuhan Hutan 5x"};this.allPhrases.TXID_AFT_DESC_GTROWEL=
{en:"2x Tower construction",ru:"2\u0445 \u0421\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0431\u0430\u0448\u043d\u0438",uk:"2\u0445 \u0411\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u0430 \u0432\u0435\u0436\u0456",de:"2x Turmbau",es:"x2 construcci\u00f3n de la torre",fr:"2x construction de la Tour",pl:"Konstrukcja wie\u017cy 2x",tr:"2x Kule in\u015faat\u0131",it:"costruzione 2x Torre",cs:"2x v\u011b\u017e konstrukce",pt:"constru\u00e7\u00e3o 2x Torre",ms:"Pembinaan Bangunan 2x "};
this.allPhrases.TXID_AFT_DESC_GWHEELBARROW={en:"5x Transport capacity",ru:"5\u0445 \u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438",uk:"5\u0445 \u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",de:"5x Transportkapazit\u00e4t",es:"la capacidad de transporte de x5",fr:"5x capacit\u00e9 de transport",pl:"5x pojemno\u015b\u0107 transportowa",tr:"5x Ta\u015f\u0131ma kapasitesi",it:"Capacit\u00e0 5x Trasporto",cs:"kapacita 5x Transport",
pt:"capacidade de 5x Transporte",ms:"Kapasiti Pengangkutan 5x"};this.allPhrases.TXID_AFT_DESC_LIGHTNING={en:"Golden Bricks +50%",ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0435 \u043a\u0438\u0440\u043f\u0438\u0447\u0438 + 50%",uk:"\u0417\u043e\u043b\u043e\u0442\u0456 \u0446\u0435\u0433\u043b\u0438\u043d\u0438 + 50%",de:"Goldene Bricks + 50%",es:"Ladrillos de oro + 50%",fr:"Briques d'or + 50%",pl:"Z\u0142ote cegie\u0142 + 50%",tr:"Alt\u0131n Tu\u011fla +% 50",it:"Mattoni d'oro + 50%",cs:"Zlat\u00e9 cihly + 50%",
pt:"Tijolos dourados + 50%",ms:"Batu Bata Emas  + 50%"};this.allPhrases.TXID_AFT_NAME_ADSSKIPS={en:"Ads skips",ru:"\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u044b",uk:"\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u0438",de:"Anzeigen \u00fcberspringen",es:"Anuncios saltos",fr:"annonces skips",pl:"og\u0142oszenia przeskakuje",tr:"Reklamlar atlama",it:"salta annunci",cs:"reklamy p\u0159eskakuje",pt:"Adicionar salta",
ms:"Langkauan Iklan"};this.allPhrases.TXID_AFT_NAME_BEAKER={en:"Golden beaker",ru:"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u043a\u043e\u043b\u0431\u0430",uk:"\u0417\u043e\u043b\u043e\u0442\u0430 \u043a\u043e\u043b\u0431\u0430",de:"Goldener Becher",es:"vaso de precipitados de oro",fr:"gobelet d'or",pl:"z\u0142oty puchar",tr:"Alt\u0131n beher",it:"coppa d'oro",cs:"Zlat\u00fd poh\u00e1r",pt:"ta\u00e7a de ouro",ms:"Bikar Emas"};this.allPhrases.TXID_AFT_NAME_GBUCKET={en:"Golden Bucket",ru:"\u0417\u043e\u043b\u043e\u0442\u043e\u0435 \u0432\u0435\u0434\u0440\u043e",
uk:"\u0417\u043e\u043b\u043e\u0442\u0435 \u0432\u0456\u0434\u0440\u043e",de:"Goldener Eimer",es:"Cubo de oro",fr:"godet d'or",pl:"Z\u0142ota \u0141y\u017cka",tr:"Alt\u0131n Kep\u00e7e",it:"oro benna",cs:"Golden Bucket",pt:"Balde de ouro",ms:"Bucket Emas"};this.allPhrases.TXID_AFT_NAME_GCOIN={en:"Golden Coin",ru:"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u043c\u043e\u043d\u0435\u0442\u0430",uk:"\u0437\u043e\u043b\u043e\u0442\u0430 \u043c\u043e\u043d\u0435\u0442\u0430",de:"Goldene M\u00fcnze",es:"Moneda de oro",
fr:"Pi\u00e8ce en or",pl:"Z\u0142ota moneta",tr:"Alt\u0131n para",it:"moneta dorata",cs:"zlat\u00e9 mince",pt:"Moeda dourada",ms:"Syiling Emas"};this.allPhrases.TXID_AFT_NAME_GPICKAXE={en:"Golden Pickaxe",ru:"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u043a\u0438\u0440\u043a\u0430",uk:"\u0417\u043e\u043b\u043e\u0442\u0430 \u043a\u0438\u0440\u043a\u0430",de:"Goldene Spitzhacke",es:"Pico de oro",fr:"or Pioche",pl:"Z\u0142oty Kilof",tr:"Alt\u0131n kazma",it:"oro Piccone",cs:"Zlat\u00fd krump\u00e1\u010d",
pt:"Picareta de ouro",ms:"Beliung Emas"};this.allPhrases.TXID_AFT_NAME_GTREE={en:"Golden Tree",ru:"\u0417\u043e\u043b\u043e\u0442\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e",uk:"\u0417\u043e\u043b\u043e\u0442\u0435 \u0434\u0435\u0440\u0435\u0432\u043e",de:"Goldener Baum",es:"\u00c1rbol de oro",fr:"golden Tree",pl:"golden Tree",tr:"Alt\u0131n a\u011fac\u0131",it:"golden Tree",cs:"Golden Tree",pt:"\u00c1rvore dourada",ms:"Kereta Sorong Emas"};this.allPhrases.TXID_AFT_NAME_GTROWEL={en:"Golden Trowel",
ru:"\u0417\u043e\u043b\u043e\u0442\u043e\u0439 \u043c\u0430\u0441\u0442\u0435\u0440\u043e\u043a",uk:"\u0417\u043e\u043b\u043e\u0442\u0430 \u043a\u0435\u043b\u044c\u043c\u0430",de:"Goldene Maurerkelle",es:"Paleta de oro",fr:"or Truelle",pl:"Z\u0142ota Kielnia",tr:"Alt\u0131n Mala",it:"oro Cazzuola",cs:"Golden L\u017e\u00edce",pt:"ouro Esp\u00e1tula",ms:"Penyedok Emas"};this.allPhrases.TXID_AFT_NAME_GWHEELBARROW={en:"Golden Wheelbarrow",ru:"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u0442\u0430\u0447\u043a\u0430",
uk:"\u0417\u043e\u043b\u043e\u0442\u0430 \u0442\u0430\u0447\u043a\u0430",de:"Goldene Schubkarre",es:"Carretilla de oro",fr:"or Brouette",pl:"Z\u0142oty Taczka",tr:"Alt\u0131n El Arabas\u0131",it:"oro Carriola",cs:"Golden Traka\u0159",pt:"ouro carrinho de m\u00e3o",ms:"Pokok Emas"};this.allPhrases.TXID_AFT_NAME_LIGHTNING={en:"Golden lightning",ru:"\u0417\u043e\u043b\u043e\u0442\u0430\u044f \u043c\u043e\u043b\u043d\u0438\u044f",uk:"\u0417\u043e\u043b\u043e\u0442\u0430 \u0431\u043b\u0438\u0441\u043a\u0430\u0432\u043a\u0430",
de:"Goldener Blitz",es:"un rayo de oro",fr:"la foudre d'or",pl:"Z\u0142oty piorun",tr:"Alt\u0131n y\u0131ld\u0131r\u0131m",it:"lampo d'oro",cs:"Golden blesk",pt:"rel\u00e2mpago de ouro",ms:"Petir Emas"};this.allPhrases.TXID_ANS_GET={en:"GET!",ru:"\u041f\u041e\u041b\u0423\u0427\u0418\u0422\u042c!",uk:"\u041e\u0422\u0420\u0418\u041c\u0410\u0422\u0418!",de:"BEKOMMEN!",es:"\u00a1OBTENER!",fr:"AVOIR!",pl:"OTRZYMA\u0106!",tr:"ALMAK!",it:"OTTENERE!",cs:"DOSTAT!",pt:"PEGUE!",ms:"DAPAT!"};this.allPhrases.TXID_BOOSTACTIVE=
{en:"WORK!",ru:"\u0420\u0410\u0411\u041e\u0422\u0410\u0419!",uk:"\u041f\u0420\u0410\u0426\u042e\u0419!",de:"ARBEIT!",es:"\u00a1TRABAJO!",fr:"TRAVAIL!",pl:"PRACA!",tr:"\u0130\u015e!",it:"LAVORO!",cs:"PR\u00c1CE!",pt:"TRABALHOS!",ms:"KERJA!"};this.allPhrases.TXID_BOOSTREADY={en:"Getting ready...",ru:"\u0413\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f...",uk:"\u0413\u043e\u0442\u0443\u0454\u0442\u044c\u0441\u044f...",de:"Fertig werden...",es:"Prepar\u00e1ndose ...",fr:"Se pr\u00e9parer...",pl:"Przygotowywanie si\u0119...",
tr:"Haz\u0131r olmak...",it:"Prepararsi...",cs:"P\u0159ipravovat se...",pt:"Preparando-se...",ms:"Bersiap sedia..."};this.allPhrases.TXID_BOOSTREQ={en:"needed",ru:"\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e",uk:"\u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e",de:"erforderlich",es:"necesario",fr:"n\u00e9cessaire",pl:"potrzebne",tr:"gerekli",it:"necessaria",cs:"pot\u0159eboval",pt:"necess\u00e1rio",ms:"diperlukan"};this.allPhrases.TXID_CAP_ACCEPT={en:"Accept & Start!",ru:"\u041f\u0440\u0438\u043d\u044f\u0442\u044c \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c",
uk:"\u041f\u0440\u0438\u0439\u043d\u044f\u0442\u0438 \u0442\u0430 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438",de:"Akzeptieren & Start!",es:"Aceptar & Start!",fr:"Accepter & Start!",pl:"Zebrane & Start!",tr:"Kabul Et ve Ba\u015flang\u0131\u00e7!",it:"Accetta & Start!",cs:"P\u0159ijmout & Start!",pt:"Aceitar & Come\u00e7ar!",ms:"Terima & Mula!"};this.allPhrases.TXID_CAP_AIRAPPORT={en:"by Airapport",ru:"by Airapport",uk:"by Airapport",de:"by Airapport",es:"by Airapport",fr:"par Airapport",
pl:"przez Airapport",tr:"Airapport taraf\u0131ndan",it:"by Airapport",cs:"by Airapport",pt:"por Airapport",ms:"Oleh Airapport"};this.allPhrases.TXID_CAP_ARTIFACTS={en:"ARTIFACTS",ru:"\u0410\u0420\u0422\u0415\u0424\u0410\u041a\u0422\u042b",uk:"\u0410\u0420\u0422\u0415\u0424\u0410\u041a\u0422\u0418",de:"ARTEFAKTE",es:"ARTEFACTOS",fr:"ARTEFACTS",pl:"ARTIFACTS",tr:"ESERLER",it:"ARTEFATTI",cs:"ARTEFAKTY",pt:"ARTIFACTS",ms:"ARTIFAK"};this.allPhrases.TXID_CAP_BOOSTS={en:"BOOSTS",ru:"\u0411\u041e\u041d\u0423\u0421\u042b",
uk:"\u0411\u041e\u041d\u0423\u0421\u0418",de:"VORTEILE",es:"BOOSTS",fr:"RENFORCE",pl:"zwi\u0119ksza",tr:"art\u0131r\u0131yor",it:"aumenta",cs:"posiluje",pt:"aumenta",ms:"meningkatkan"};this.allPhrases.TXID_CAP_BREAKCODE={en:"Guess the code to get your weekly gift",ru:"\u0423\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u043a\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0436\u0435\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u0430\u0440\u043e\u043a",
uk:"\u0412\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u043a\u043e\u0434, \u0449\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0449\u043e\u0442\u0438\u0436\u043d\u0435\u0432\u0438\u0439 \u043f\u043e\u0434\u0430\u0440\u0443\u043d\u043e\u043a",de:"Raten Sie den Code Ihr w\u00f6chentliches Geschenk zu erhalten",es:"Adivinar el c\u00f3digo para obtener su regalo semanal",fr:"Devinez le code pour obtenir votre cadeau hebdomadaire",pl:"Zgadnij kod, aby uzyska\u0107 tygodniowy prezent",tr:"Haftal\u0131k hediye almak i\u00e7in kod Tahmin",
it:"Indovina il codice per ottenere il vostro regalo settimanale",cs:"Uhodnout k\u00f3d, aby si sv\u00e9 t\u00fddenn\u00ed d\u00e1rek",pt:"Adivinhar o c\u00f3digo para obter o seu dom semanal",ms:"Meneka kod untuk mendapatkan hadiah mingguan anda"};this.allPhrases.TXID_CAP_CARAWANSETTINGS={en:"Caravan autosell resources",ru:"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0440\u043e\u0434\u0430\u0436\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432",
uk:"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u043f\u0440\u043e\u0434\u0430\u0436 \u0440\u0435\u0441\u0443\u0440\u0441\u0456\u0432",de:"Caravan autosell Ressourcen",es:"recursos autoventa caravanas",fr:"ressources autosell Caravan",pl:"Caravan zasoby autosell",tr:"Kamp autosell kaynaklar\u0131",it:"risorse autosell Caravan",cs:"Caravan autosell zdroje",pt:"recursos autosell caravana",ms:"sumber autosell Caravan"};this.allPhrases.TXID_CAP_CREDITS={en:"CREDITS",ru:"\u0410\u0412\u0422\u041e\u0420\u042b",
uk:"\u0410\u0412\u0422\u041e\u0420\u0418",de:"CREDITS",es:"CR\u00c9DITOS",fr:"CR\u00c9DITS",pl:"KREDYTY",tr:"KRED\u0130",it:"CREDITI",cs:"\u00daV\u011aRY",pt:"CR\u00c9DITOS",ms:"KREDIT"};this.allPhrases.TXID_CAP_DAILYBONUS={en:"DAILY BONUS",ru:"\u0415\u0416\u0415\u0414\u041d\u0415\u0412\u041d\u042b\u0419 \u0411\u041e\u041d\u0423\u0421",uk:"\u0429\u041e\u0414\u0415\u041d\u041d\u0418\u0419 \u0411\u041e\u041d\u0423\u0421",de:"T\u00c4GLICHER BONUS",es:"BONUS DIARIO",fr:"BONUS QUOTIDIEN",pl:"BONUS DZIENNY",
tr:"G\u00dcNL\u00dcK BONUS",it:"BONUS GIORNALIERO",cs:"DENN\u00cd BONUS",pt:"B\u00d4NUS DI\u00c1RIO",ms:"BONUS HARIAN"};this.allPhrases.TXID_CAP_DOYOULIKEGAME={en:"Do you like the game?",ru:"\u0412\u0430\u043c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0438\u0433\u0440\u0430?",uk:"\u0412\u0430\u043c \u043f\u043e\u0434\u043e\u0431\u0430\u0454\u0442\u044c\u0441\u044f \u0433\u0440\u0430?",de:"M\u00f6gen Sie das Spiel?",es:"\u00bfTe gusta el juego?",fr:"Est-ce que vous aimez le jeu?",pl:"Lubisz gry?",
tr:"Oyunu sevdiniz mi?",it:"Ti piace il gioco?",cs:"L\u00edb\u00ed se v\u00e1m hra?",pt:"Voc\u00ea gosta do jogo?",ms:"Adakah anda suka permainan ini?"};this.allPhrases.TXID_CAP_ENTERCODE={en:"ENTER CODE",ru:"\u0412\u0412\u0415\u0414\u0418\u0422\u0415 \u041a\u041e\u0414",uk:"\u0412\u0412\u0415\u0414\u0406\u0422\u042c \u041a\u041e\u0414",de:"CODE EINGEBEN",es:"INTRODUZCA EL C\u00d3DIGO",fr:"ENTREZ LE CODE",pl:"WPROWAD\u0179 KOD",tr:"KODU G\u0130R\u0130N",it:"INSERISCI IL CODICE",cs:"ZADEJTE K\u00d3D",
pt:"COLOQUE O C\u00d3DIGO",ms:"MASUKKAN KOD"};this.allPhrases.TXID_CAP_FINDHINTS={en:"Find the hints inside the game or...",ru:"\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u0433\u0440\u044b \u0438\u043b\u0438 ...",uk:"\u0417\u043d\u0430\u0439\u0442\u0438 \u043f\u0456\u0434\u043a\u0430\u0437\u043a\u0438 \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456 \u0433\u0440\u0438 \u0430\u0431\u043e ...",de:"Finden Sie die Hinweise im Spiel oder ...",
es:"Encuentra las pistas dentro del juego o ...",fr:"Trouver les conseils \u00e0 l'int\u00e9rieur du jeu ou ...",pl:"Znale\u017a\u0107 wskaz\u00f3wki w grze lub ...",tr:"Oyunun veya i\u00e7inde ipu\u00e7lar\u0131 bulun ...",it:"Trova i suggerimenti all'interno del gioco o ...",cs:"Nal\u00e9zt n\u00e1znaky uvnit\u0159 hry nebo ...",pt:"Encontrar as dicas dentro do jogo ou ...",ms:"Mencari petunjuk dalam permainan atau ..."};this.allPhrases.TXID_CAP_FREE={en:"FREE",ru:"\u0411\u0415\u0421\u041f\u041b\u0410\u0422\u041d\u041e",
uk:"\u0411\u0415\u0417\u041a\u041e\u0428\u0422\u041e\u0412\u041d\u041e",de:"KOSTENLOS",es:"GRATIS",fr:"LIBRE",pl:"WOLNY",tr:"BEDAVA",it:"GRATUITO",cs:"VOLN\u00dd, UVOLNIT",pt:"LIVRE",ms:"PERCUMA"};this.allPhrases.TXID_CAP_GETBIGGERBONUS={en:"BIGGER BONUS",ru:"\u0411\u041e\u041b\u042c\u0428\u0415 \u0411\u041e\u041d\u0423\u0421",uk:"\u0411\u0406\u041b\u042c\u0428\u0418\u0419 \u0411\u041e\u041d\u0423\u0421",de:"MEHR BONUS",es:"mayor prima",fr:"BONUS PLUS GRAND",pl:"WI\u0118KSZY BONUS",tr:"B\u00dcY\u00dcK \u0130KRAM\u0130YE",
it:"GRANDE BONUS",cs:"v\u011bt\u0161\u00ed bonus",pt:"maior b\u00f4nus",ms:"BONUS BESAR"};this.allPhrases.TXID_CAP_GETMORECODESINDISCORD={en:"Get more codes in our Discord",ru:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u0434\u043e\u0432 \u0432 \u043d\u0430\u0448\u0435\u043c \u0414\u0438\u0441\u043a\u043e\u0440\u0434\u0435",uk:"\u041e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 \u043a\u043e\u0434\u0456\u0432 \u0432 \u043d\u0430\u0448\u043e\u043c\u0443 \u0414\u0438\u0441\u043a\u043e\u0440\u0434\u0456",
de:"Erfahren Sie mehr Codes in unserem Discord",es:"Obtener m\u00e1s c\u00f3digos en nuestra Discord",fr:"Plus de codes dans notre Discord",pl:"Uzyskaj wi\u0119cej kod\u00f3w w naszej Niezgody",tr:"Bizim Discord daha kodlar\u0131 alma",it:"Chiedere i codici nella nostra discordia",cs:"Z\u00edskejte v\u00edce k\u00f3d\u016f v na\u0161\u00ed sv\u00e1ru",pt:"Obter mais c\u00f3digos em nossa Disc\u00f3rdia",ms:"Mendapatkan lebih banyak kod dalam perpecahan kami"};this.allPhrases.TXID_CAP_INDISCORD={en:"in Discord",
ru:"\u0432 Discord",uk:"\u0443 Discord",de:"in Discord",es:"en Discord",fr:"en Discord",pl:"w Niezgody",tr:"Discord i\u00e7inde",it:"in discordia",cs:"v sv\u00e1ru",pt:"em disc\u00f3rdia",ms:"dalam perpecahan"};this.allPhrases.TXID_CAP_INF_LEVEL={en:"level",ru:"\u0443\u0440\u043e\u0432\u0435\u043d\u044c",uk:"\u0440\u0456\u0432\u0435\u043d\u044c",de:"Ebene",es:"nivel",fr:"niveau",pl:"poziom",tr:"seviye",it:"livello",cs:"\u00farove\u0148",pt:"n\u00edvel",ms:"tahap"};this.allPhrases.TXID_CAP_INF_MONEY=
{en:"Coins",ru:"\u041c\u043e\u043d\u0435\u0442\u044b",uk:"\u041c\u043e\u043d\u0435\u0442\u0438",de:"M\u00fcnzen",es:"Dinero",fr:"Monnaie",pl:"monety",tr:"madeni para",it:"Monete",cs:"mince",pt:"Moedas",ms:"syiling"};this.allPhrases.TXID_CAP_INF_NOTENOGHMONEY={en:"Not enough money",ru:"\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0435\u043d\u0435\u0433",uk:"\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043d\u044c\u043e \u043a\u043e\u0448\u0442\u0456\u0432",de:"Nicht genug Geld",
es:"Dinero insuficiente",fr:"Pas assez d'argent",pl:"Nie do\u015b\u0107 pieni\u0119dzy",tr:"yetersiz para",it:"Non abbastanza soldi",cs:"Nedostatek pen\u011bz",pt:"Dinheiro insuficiente",ms:"Tidak cukup duit"};this.allPhrases.TXID_CAP_INF_NOTENOUGHRES={en:"Not enough resources",ru:"\u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432",uk:"\u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043d\u044c\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0456\u0432",
de:"nicht genug Resourcen",es:"No hay suficientes recursos",fr:"Pas assez de ressources",pl:"Niewystarczaj\u0105ce zasoby",tr:"Yeterli kaynak yok",it:"non abbastanza risorse",cs:"nedostatek zdroj\u016f",pt:"recursos n\u00e3o \u00e9 suficiente",ms:"sumber tidak cukup"};this.allPhrases.TXID_CAP_INF_PURCHPRICE={en:"PURCHASE PRICE",ru:"\u0426\u0415\u041d\u0410 \u041f\u041e\u041a\u0423\u041f\u041a\u0418",uk:"\u0426\u0406\u041d\u0410 \u041f\u041e\u041a\u0423\u041f\u041a\u0418",de:"KAUFPREIS",es:"PRECIO DE COMPRA",
fr:"PRIX D'ACHAT",pl:"CENA ZAKUPU",tr:"ALI\u015e F\u0130YATI",it:"PREZZO D'ACQUISTO",cs:"KUPN\u00cd CENA",pt:"PRE\u00c7O DE COMPRA",ms:"HARGA PEMBELIAN"};this.allPhrases.TXID_CAP_INF_SCIENCE={en:"Science",ru:"\u041d\u0430\u0443\u043a\u0430",uk:"\u043d\u0430\u0443\u043a\u0430",de:"Wissenschaft",es:"Ciencia",fr:"Science",pl:"Nauka",tr:"Bilim",it:"Scienza",cs:"V\u011bda",pt:"Ci\u00eancia",ms:"Sains"};this.allPhrases.TXID_CAP_INF_USEMARKET_BEG={en:"Consider selling some resources at the",ru:"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u0440\u043e\u0434\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043d\u0430",
uk:"\u0421\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u0440\u043e\u0434\u0430\u0442\u0438 \u0434\u0435\u044f\u043a\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043d\u0430",de:"\u00dcberlege dir einige Ressourcen auf",es:"Considera vender algunos recursos en el",fr:"Envisager de vendre certaines ressources au",pl:"Rozwa\u017cy\u0107 sprzeda\u017c niekt\u00f3rych \u015brodk\u00f3w na",tr:"baz\u0131 kaynaklar satan d\u00fc\u015f\u00fcn\u00fcn",it:"Prendere in considerazione la vendita di alcune risorse alla",
cs:"Uva\u017eovat o prodeji n\u011bkter\u00fdch zdroj\u016f u",pt:"Considerar vender alguns recursos no",ms:"Mempertimbangkan untuk menjual beberapa sumber di"};this.allPhrases.TXID_CAP_INF_USEMARKET_END={en:"to get more money",ru:"\u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u043d\u0435\u0433",uk:"\u0449\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 \u0433\u0440\u043e\u0448\u0435\u0439",
de:"zu verkaufen um mehr Geld zu bekommen",es:"para conseguir m\u00e1s dinero",fr:"pour obtenir plus d'argent",pl:"aby uzyska\u0107 wi\u0119cej pieni\u0119dzy",tr:"Daha fazla para almak i\u00e7in",it:"per ottenere pi\u00f9 soldi",cs:"aby dostali v\u00edc pen\u011bz",pt:"para conseguir mais dinheiro",ms:"untuk mendapatkan lebih banyak wang"};this.allPhrases.TXID_CAP_INF_USEMARKET_MID={en:"Market",ru:"\u0420\u044b\u043d\u043a\u0435",uk:"\u0440\u0438\u043d\u043a\u0443",de:"dem Markt",es:"Mercado",fr:"March\u00e9",
pl:"Rynek",tr:"Market",it:"Mercato",cs:"Trh",pt:"Mercado",ms:"pasaran"};this.allPhrases.TXID_CAP_MARKET={en:"MARKET",ru:"\u0420\u042b\u041d\u041e\u041a",uk:"\u0420\u0418\u041d\u041e\u041a",de:"MARKT",es:"MERCADO",fr:"MARCH\u00c9",pl:"RYNEK",tr:"MARKET",it:"MERCATO",cs:"TRH",pt:"MERCADO",ms:"MARKET"};this.allPhrases.TXID_CAP_MOREGAMES={en:"MORE GAMES",ru:"\u041d\u0410\u0428\u0418 \u0418\u0413\u0420\u042b",uk:"\u041d\u0410\u0428\u0406 \u0406\u0413\u0420\u0418",de:"MEHR SPIELE",es:"M\u00c1S JUEGOS",
fr:"PLUS DE JEUX",pl:"WI\u0118CEJ GIER",tr:"DAHA FAZLA OYUN",it:"PI\u00d9 GIOCHI",cs:"V\u00cdCE HER",pt:"MAIS JOGOS",ms:"LEBIH BANYAK PERMAINAN"};this.allPhrases.TXID_CAP_NEWS={en:"NEWS",ru:"\u041d\u041e\u0412\u041e\u0421\u0422\u0418",uk:"\u041d\u041e\u0412\u0418\u041d\u0418",de:"NACHRICHTEN",es:"NOTICIAS",fr:"NOUVELLES",pl:"AKTUALNO\u015aCI",tr:"HABERLER",it:"NOTIZIA",cs:"ZPR\u00c1VY",pt:"NOT\u00cdCIA",ms:"BERITA"};this.allPhrases.TXID_CAP_NEXTBONUSIN={en:"Time till the next bonus",ru:"\u0412\u0440\u0435\u043c\u044f \u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0431\u043e\u043d\u0443\u0441\u0430",
uk:"\u0427\u0430\u0441 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0431\u043e\u043d\u0443\u0441\u0443",de:"Zeit bis zum n\u00e4chsten Bonus",es:"Tiempo hasta la pr\u00f3xima bonificaci\u00f3n",fr:"Le temps jusqu'\u00e0 ce que le prochain bonus",pl:"Czas do nast\u0119pnego premii",tr:"Bir sonraki ikramiye kadar Zaman",it:"Tempo fino al prossimo bonus",cs:"Doba do dal\u0161\u00edho bonusu",pt:"Tempo at\u00e9 o pr\u00f3ximo b\u00f4nus",ms:"Masa sehingga bonus seterusnya"};
this.allPhrases.TXID_CAP_NOWCURRENCIES={en:"You have",ru:"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c",uk:"\u0423 \u0432\u0430\u0441 \u0454",de:"Du hast",es:"Tienes",fr:"Tu as",pl:"Ty masz",tr:"Var",it:"Hai",cs:"Ty m\u00e1\u0161",pt:"Voc\u00ea tem",ms:"Kamu ada"};this.allPhrases.TXID_CAP_POLICY={en:"Privacy policy",ru:"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430s \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438",uk:"\u041f\u043e\u043b\u0456\u0442\u0438\u043a\u0430 \u043a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u043e\u0441\u0442\u0456",
de:"Datenschutz-Bestimmungen",es:"Pol\u00edtica de privacidad",fr:"Politique de confidentialit\u00e9",pl:"Polityka prywatno\u015bci",tr:"Gizlilik Politikas\u0131",it:"Politica sulla riservatezza",cs:"Z\u00e1sady ochrany osobn\u00edch \u00fadaj\u016f",pt:"Pol\u00edtica de Privacidade",ms:"dasar privasi"};this.allPhrases.TXID_CAP_PURCHASE={en:"PURCHASE",ru:"\u041a\u0423\u041f\u0418\u0422\u042c",uk:"\u041a\u0423\u041f\u0418\u0422\u0418",de:"KAUF",es:"COMPRAR",fr:"ACHAT",pl:"ZAKUP",tr:"SATIN ALMA",it:"ACQUISTA",
cs:"N\u00c1KUP",pt:"COMPRA",ms:"PEMBELIAN"};this.allPhrases.TXID_CAP_PURCHASE_DISCOUNT={en:"DISCOUNT",ru:"\u0421\u041a\u0418\u0414\u041a\u0410",uk:"\u0417\u041d\u0418\u0416\u041a\u0410",de:"RABATT",es:"DESCUENTO",fr:"REMISE",pl:"ZNI\u017bKA",tr:"\u0130ND\u0130R\u0130M",it:"SCONTO",cs:"SLEVA",pt:"DESCONTO",ms:"DISKAUN"};this.allPhrases.TXID_CAP_RATEGAME={en:"Could you, please, leave a public review to let more people find the game?",ru:"\u0412\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0437\u044b\u0432 \u043e\u0431 \u0438\u0433\u0440\u0435, \u0447\u0442\u043e\u0431\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0435\u0451 \u0443\u0432\u0438\u0434\u0435\u043b\u0438?",
uk:"\u0412\u0438 \u043c\u043e\u0433\u043b\u0438 \u0431 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u0432\u0456\u0434\u0433\u0443\u043a \u043f\u0440\u043e \u0433\u0440\u0443, \u0449\u043e\u0431 \u0431\u0456\u043b\u044c\u0448\u0435 \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u0457\u0457 \u043f\u043e\u0431\u0430\u0447\u0438\u043b\u0438?",de:"K\u00f6nnten Sie, lassen Sie bitte eine \u00f6ffentliche Kritik mehr Leute das Spiel finden zu lassen?",es:"\u00bfPodr\u00eda, por favor, dejar un comentario p\u00fablico para permitir que m\u00e1s personas encuentran el juego?",
fr:"Pourriez-vous, s'il vous pla\u00eet, laissez un examen public de laisser plus de gens trouvent le jeu?",pl:"Czy m\u00f3g\u0142by\u015b, prosz\u0119, zostaw opini\u0119 publiczn\u0105 aby wi\u0119cej ludzi znale\u017a\u0107 gry?",tr:"E\u011fer, daha fazla insan oyun bulmas\u0131n\u0131 sa\u011flamak i\u00e7in bir kamu inceleme b\u0131rak\u0131n l\u00fctfen?",it:"Potresti, per favore, lasciare un commento pubblico per lasciare pi\u00f9 persone a trovare il gioco?",cs:"Mohl byste, pros\u00edm, nechte ve\u0159ejn\u00fd p\u0159ezkum, aby v\u00edce lid\u00ed naj\u00edt hru?",
pt:"Voc\u00ea poderia, por favor, deixe um coment\u00e1rio p\u00fablico para permitir que mais pessoas encontrar o jogo?",ms:"Bolehkah anda, sila, meninggalkan tinjauan umum untuk membolehkan lebih ramai orang mencari permainan?"};this.allPhrases.TXID_CAP_RESTART={en:"RESTART",ru:"\u041f\u0415\u0420\u0415\u0417\u0410\u041f\u0423\u0421\u041a",uk:"\u041f\u0415\u0420\u0415\u0417\u0410\u041f\u0423\u0421\u041a",de:"NEUSTART",es:"REINICIAR",fr:"RED\u00c9MARRER",pl:"RESTART",tr:"TEKRAR BA\u015eLAT",it:"RICOMINCIA",
cs:"RESTART",pt:"REINICIAR",ms:"MULA SEMULA"};this.allPhrases.TXID_CAP_SCIENCEUPGRADES={en:"Science upgrades",ru:"\u041d\u0430\u0443\u0447\u043d\u044b\u0435 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f",uk:"\u043d\u0430\u0443\u043a\u043e\u0432\u0456 \u043f\u043e\u043b\u0456\u043f\u0448\u0435\u043d\u043d\u044f",de:"Wissenschaft Upgrades",es:"mejoras de ciencia",fr:"mises \u00e0 jour scientifiques",pl:"modernizacje Nauka",tr:"Bilim y\u00fckseltmeleri",it:"aggiornamenti Scienza",cs:"upgrady V\u011bda",
pt:"upgrades de Ci\u00eancia",ms:"naik taraf sains"};this.allPhrases.TXID_CAP_SMALLQUESTION={en:"I want to ask you one small question...",ru:"\u0425\u043e\u0447\u0443 \u0437\u0430\u0434\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0432\u043e\u043f\u0440\u043e\u0441...",uk:"\u0425\u043e\u0447\u0443 \u0437\u0430\u0434\u0430\u0442\u0438 \u043e\u0434\u043d\u0435 \u043f\u0438\u0442\u0430\u043d\u043d\u044f ...",de:"Ich m\u00f6chte Ihnen eine kleine Frage stellen ...",es:"Quiero pedirte un peque\u00f1o pregunta ...",
fr:"Je veux vous poser une petite question ...",pl:"Chc\u0119 zada\u0107 jedno ma\u0142e pytanie ...",tr:"Sana bir k\u00fc\u00e7\u00fck soru sormak istiyorum ...",it:"Voglio chiederti una piccola domanda ...",cs:"Chci se t\u011b zeptat jednu malou ot\u00e1zku ...",pt:"Eu quero fazer-lhe uma pequena pergunta ...",ms:"Saya ingin bertanya kepada anda satu soalan kecil ..."};this.allPhrases.TXID_CAP_SORRY={en:"Sorry for that...",ru:"\u041c\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0436\u0430\u043b\u044c...",
uk:"\u041c\u0435\u043d\u0456 \u0434\u0443\u0436\u0435 \u0448\u043a\u043e\u0434\u0430...",de:"Das tut mir leid...",es:"Lo siento por eso...",fr:"D\u00e9sol\u00e9...",pl:"Przepraszam za to...",tr:"Bunun i\u00e7in \u00f6z\u00fcr dilerim...",it:"Scusa per quello...",cs:"Omlouv\u00e1m se za to...",pt:"Desculpe por isso...",ms:"Maaf untuk itu..."};this.allPhrases.TXID_CAP_START={en:"START",ru:"\u0421\u0422\u0410\u0420\u0422",uk:"\u0421\u0422\u0410\u0420\u0422",de:"START",es:"COMIENZAR",fr:"D\u00c9BUT",
pl:"POCZ\u0104TEK",tr:"BA\u015eLAT",it:"INIZIO",cs:"START",pt:"COME\u00c7AR",ms:"START"};this.allPhrases.TXID_CAP_TELLWHY={en:"Would you, please, suggest some ways how to make it enjoyable?",ru:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442\u0435, \u043a\u0430\u043a \u0435\u0451 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c?",uk:"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438, \u043f\u043e\u0440\u0430\u0434\u0438\u0442\u0435, \u044f\u043a \u0457\u0457 \u043f\u043e\u043b\u0456\u043f\u0448\u0438\u0442\u0438?",
de:"W\u00fcrden Sie empfehlen bitte, einige M\u00f6glichkeiten, wie es angenehm wie m\u00f6glich zu machen?",es:"\u00bfPodr\u00eda usted, por favor, sugerir algunas maneras de c\u00f3mo para que sea agradable?",fr:"Voulez-vous, s'il vous pla\u00eet, sugg\u00e9rer des fa\u00e7ons comment le rendre agr\u00e9able?",pl:"Chcesz, prosz\u0119 zaproponowa\u0107 kilka sposob\u00f3w, jak zrobi\u0107 to przyjemne?",tr:"E\u011fer, nas\u0131l keyifli hale getirmek i\u00e7in baz\u0131 y\u00f6ntemler \u00f6nermek misiniz?",
it:"Ti, per favore, suggerire alcuni modi per rendere pi\u00f9 piacevole?",cs:"Cht\u011bli byste, pros\u00edm, nazna\u010duj\u00ed n\u011bkter\u00e9 zp\u016fsoby, jak d\u011blat to p\u0159\u00edjemn\u00e9?",pt:"Voc\u00ea, por favor, sugerir algumas maneiras de como torn\u00e1-lo agrad\u00e1vel?",ms:"Adakah anda, sila, mencadangkan beberapa cara bagaimana untuk membuat ia menyeronokkan?"};this.allPhrases.TXID_CAP_THANKYOU={en:"Thank you so much!",ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435!",
uk:"\u0414\u0443\u0436\u0435 \u0434\u044f\u043a\u0443\u044e!",de:"Ich danke dir sehr!",es:"Muchas gracias!",fr:"Merci beaucoup!",pl:"Dzi\u0119kuj\u0119 bardzo!",tr:"\u00c7ok te\u015fekk\u00fcr ederim!",it:"Grazie mille!",cs:"D\u011bkuji mnohokr\u00e1t!",pt:"Muito obrigado!",ms:"Terima kasih banyak-banyak!"};this.allPhrases.TXID_CAP_UPGRADE={en:"UPGRADE",ru:"\u0410\u041f\u0413\u0420\u0415\u0419\u0414",uk:"\u0410\u041f\u0413\u0420\u0415\u0419\u0414",de:"UPGRADE",es:"MEJORAR",fr:"AM\u00c9LIORER",pl:"AKTUALIZACJA",
tr:"Y\u00dcKSELT",it:"UPGRADE",cs:"VYLEP\u0160IT",pt:"MELHORIA",ms:"NAIK TARAF"};this.allPhrases.TXID_CAP_UPGRADEPRICE={en:"UPGRADE PRICE",ru:"\u0426\u0415\u041d\u0410 \u0410\u041f\u0413\u0420\u0415\u0419\u0414\u0410",uk:"\u0426\u0406\u041d\u0410 \u0410\u041f\u0413\u0420\u0415\u0419\u0414\u0410",de:"UPGRADE PREIS",es:"precio de mejora",fr:"PRIX UPGRADE",pl:"UPGRADE CENA",tr:"Y\u00dcKSELTME F\u0130YAT",it:"PREZZO UPGRADE",cs:"UPGRADE PRICE",pt:"pre\u00e7o de atualiza\u00e7\u00e3o",ms:"HARGA UPGRADE"};
this.allPhrases.TXID_CAP_WEEKLYBONUS={en:"WEEKLY GIFTS",ru:"\u0415\u0436\u0435\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u041f\u041e\u0414\u0410\u0420\u041a\u0418",uk:"\u0449\u043e\u0442\u0438\u0436\u043d\u0435\u0432\u0456 \u041f\u041e\u0414\u0410\u0420\u0423\u041d\u041a\u0418",de:"WOCHEN GESCHENKE",es:"REGALOS SEMANALES",fr:"CADEAUX PAR SEMAINE",pl:"TYGODNIOWE PREZENTY",tr:"HAFTALIK HED\u0130YELER",it:"REGALI SETTIMANALI",cs:"T\u00ddDENN\u00cd D\u00c1RKY",pt:"PRESENTES DE SEMANA",ms:"HADIAH MINGGUAN"};
this.allPhrases.TXID_CODE_CODE={en:"CODE",ru:"\u041a\u041e\u0414",uk:"\u041a\u041e\u0414",de:"CODE",es:"C\u00d3DIGO",fr:"CODE",pl:"KOD",tr:"KOD",it:"CODICE",cs:"K\u00d3D",pt:"C\u00d3DIGO",ms:"KOD"};this.allPhrases.TXID_CODE_FOREVERYONE={en:"for everyone",ru:"\u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e",uk:"\u0434\u043b\u044f \u0432\u0441\u0456\u0445",de:"f\u00fcr jeden",es:"para todo el mundo",fr:"pour tout le monde",pl:"dla wszystkich",tr:"herkes i\u00e7in",it:"per tutti",cs:"pro ka\u017ed\u00e9ho",
pt:"para todos",ms:"untuk semua orang"};this.allPhrases.TXID_CODE_FORPLAYER={en:"for the player",ru:"\u0434\u043b\u044f \u0438\u0433\u0440\u043e\u043a\u0430",uk:"\u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u044f",de:"f\u00fcr den Spieler",es:"para el jugador",fr:"pour le joueur",pl:"dla gracza",tr:"oyuncu i\u00e7in",it:"per il giocatore",cs:"pro hr\u00e1\u010de",pt:"para o jogador",ms:"untuk pemain"};this.allPhrases.TXID_CODE_TILL={en:"till",ru:"\u0434\u043e",uk:"\u0434\u043e",de:"bis",es:"hasta que",
fr:"jusqu'\u00e0 ce que",pl:"do",tr:"kadar",it:"fino",cs:"a\u017e do",pt:"at\u00e9",ms:"hingga"};this.allPhrases.TXID_CODE_VALIDFROM={en:"valid from",ru:"\u0414\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441",uk:"\u0434\u0456\u0454 \u0437",de:"g\u00fcltig ab",es:"v\u00e1lida desde",fr:"Valide \u00e0 partir de",pl:"obowi\u0105zuje od",tr:"kadar ge\u00e7erli",it:"valido dal",cs:"Platnost od",pt:"v\u00e1lido de",ms:"sah dari"};this.allPhrases.TXID_CODE_VALIDINF={en:"valid always",ru:"\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d \u0432\u0441\u0435\u0433\u0434\u0430",
uk:"\u0434\u0456\u0454 \u0437\u0430\u0432\u0436\u0434\u0438",de:"g\u00fcltig immer",es:"v\u00e1lida siempre",fr:"toujours valide",pl:"obowi\u0105zuje zawsze",tr:"ge\u00e7erli hep",it:"valida sempre",cs:"plat\u00ed v\u017edy",pt:"v\u00e1lida sempre",ms:"sah sentiasa"};this.allPhrases.TXID_CODE_WORLD={en:"for the world",ru:"\u0434\u043b\u044f \u043c\u0438\u0440\u0430",uk:"\u0434\u043b\u044f \u0441\u0432\u0456\u0442\u0443",de:"F\u00fcr die Welt",es:"por el mundo",fr:"pour le monde",pl:"dla \u015bwiata",
tr:"D\u00fcnya i\u00e7in",it:"Per il mondo",cs:"pro sv\u011bt",pt:"para o mundo",ms:"untuk dunia"};this.allPhrases.TXID_CODEERR_ALREADYUSED={en:"You have already used this code",ru:"\u0412\u044b \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434",uk:"\u0412\u0438 \u0432\u0436\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u043b\u0438 \u0446\u0435\u0439 \u043a\u043e\u0434",de:"Sie haben bereits diesen Code verwendet",
es:"Ya ha utilizado este c\u00f3digo",fr:"Vous avez d\u00e9j\u00e0 utilis\u00e9 ce code",pl:"Je\u015bli korzysta\u0142e\u015b ju\u017c z tego kodu",tr:"Zaten bu kodu kullanm\u0131\u015f",it:"Hai gi\u00e0 utilizzato questo codice",cs:"Ji\u017e jste pou\u017eil tento k\u00f3d",pt:"Voc\u00ea j\u00e1 usou este c\u00f3digo",ms:"Anda telah pun digunakan kod ini"};this.allPhrases.TXID_CODEERR_EXPIRED={en:"This code has expired or not yet active",ru:"\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0443\u0436\u0435 \u0438\u0441\u0442\u0435\u043a \u0438\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442",
uk:"\u0426\u0435\u0439 \u043a\u043e\u0434 \u0432\u0436\u0435 \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u0432\u0441\u044f \u0430\u0431\u043e \u0449\u0435 \u043d\u0435 \u0456\u0441\u043d\u0443\u0454",de:"Dieser Code ist abgelaufen oder noch nicht aktiv",es:"Este c\u00f3digo ha caducado o a\u00fan no est\u00e1 activo",fr:"Ce code a expir\u00e9 ou non encore actif",pl:"Kod ten wygas\u0142 lub nie jest jeszcze aktywna",tr:"Bu kod s\u00fcresi dolmu\u015f veya hen\u00fcz aktif de\u011fil",it:"Questo codice \u00e8 scaduto o non ancora attive",
cs:"Tento k\u00f3d vypr\u0161ela nebo je\u0161t\u011b nen\u00ed aktivn\u00ed",pt:"Este c\u00f3digo expirou ou ainda n\u00e3o est\u00e1 ativo",ms:"Kod ini telah tamat atau belum aktif"};this.allPhrases.TXID_CODEERR_NOEFFECT={en:"At the current game state the code will not have any effect. Please, try again later",ru:"\u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0438\u0433\u0440\u044b \u043a\u043e\u0434\u044b \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0437\u0436\u0435",
uk:"\u0423 \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u043c\u0443 \u0441\u0442\u0430\u043d\u0456 \u0433\u0440\u0438 \u043a\u043e\u0434\u0438 \u043d\u0435 \u043c\u0430\u0442\u0438\u043c\u0443\u0442\u044c \u043d\u0456\u044f\u043a\u043e\u0433\u043e \u0435\u0444\u0435\u043a\u0442\u0443. \u0411\u0443\u0434\u044c-\u043b\u0430\u0441\u043a\u0430 \u0441\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u0456\u0437\u043d\u0456\u0448\u0435",de:"Auf dem aktuellen Spielzustand wird der Code keine Auswirkungen haben. Bitte versuchen Sie es sp\u00e4ter noch einmal",
es:"En el estado actual del juego el c\u00f3digo no tendr\u00e1 ning\u00fan efecto. Por favor, int\u00e9ntelo de nuevo m\u00e1s tarde",fr:"Dans l'\u00e9tat actuel du jeu le code n'aura aucun effet. Veuillez r\u00e9essayer plus tard",pl:"Przy obecnym stanie gry kod nie b\u0119dzie mia\u0142 \u017cadnego wp\u0142ywu. Spr\u00f3buj ponownie p\u00f3\u017aniej",tr:"Ge\u00e7erli oyun durumuna At kodu herhangi bir etkisi olmayacakt\u0131r. L\u00fctfen daha sonra tekrar deneyiniz",it:"Allo stato corrente del gioco il codice non avr\u00e0 alcun effetto. Per favore riprova pi\u00f9 tardi",
cs:"P\u0159i sou\u010dasn\u00e9m hern\u00edm stavu k\u00f3d nebude m\u00edt \u017e\u00e1dn\u00fd vliv. Pros\u00edm zkuste to znovu pozd\u011bji",pt:"No estado do jogo atual o c\u00f3digo n\u00e3o ter\u00e1 qualquer efeito. Por favor, tente novamente mais tarde",ms:"Pada keadaan permainan semasa kod itu tidak akan mempunyai apa-apa kesan. Sila cuba sebentar lagi"};this.allPhrases.TXID_CODEERR_ONLYNUMBERS={en:"Code must have only numbers and latin letters",ru:"\u041a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u044b \u0438 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b",
uk:"\u041a\u043e\u0434 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0430\u0442\u0438 \u0442\u0456\u043b\u044c\u043a\u0438 \u0446\u0438\u0444\u0440\u0438 \u0456 \u043b\u0430\u0442\u0438\u043d\u0441\u044c\u043a\u0456 \u0431\u0443\u043a\u0432\u0438",de:"Code muss nur Zahlen und lateinische Buchstaben haben",es:"C\u00f3digo debe tener s\u00f3lo n\u00fameros y letras latinas",fr:"Le code doit avoir uniquement des chiffres et des lettres latines",pl:"Kod musi mie\u0107 tylko cyfr i liter \u0142aci\u0144skich",
tr:"Kod yaln\u0131zca say\u0131lar\u0131 ve latin harfleri olmal\u0131d\u0131r",it:"Codice deve avere solo numeri e lettere latine",cs:"K\u00f3d mus\u00ed m\u00edt pouze \u010d\u00edsla a p\u00edsmena latinky",pt:"C\u00f3digo deve ter apenas n\u00fameros e letras latinas",ms:"Kod mesti mempunyai hanya nombor dan huruf latin"};this.allPhrases.TXID_CODEERR_WRONGPLAYER={en:"This gift is for another player",ru:"\u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0430\u0440\u043e\u043a \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0438\u0433\u0440\u043e\u043a\u0430",
uk:"\u0426\u0435\u0439 \u043f\u043e\u0434\u0430\u0440\u0443\u043d\u043e\u043a \u0434\u043b\u044f \u0456\u043d\u0448\u043e\u0433\u043e \u0433\u0440\u0430\u0432\u0446\u044f",de:"Dieses Geschenk ist f\u00fcr einen anderen Spieler",es:"Este regalo es para otro jugador",fr:"Ce don est pour un autre joueur",pl:"Ten dar jest dla innego gracza",tr:"Bu hediye ba\u015fka bir oyuncu i\u00e7indir",it:"Questo dono \u00e8 per un altro giocatore",cs:"Tento dar je pro jin\u00e9ho hr\u00e1\u010de",pt:"Este presente \u00e9 para outro jogador",
ms:"Hadiah ini adalah untuk pemain lain"};this.allPhrases.TXID_CODEERR_WRONGVERSION={en:"This code is for newer game version. Please, update the game",ru:"\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438\u0433\u0440\u044b. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0438\u0433\u0440\u0443",uk:"\u0426\u0435\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0457 \u0432\u0435\u0440\u0441\u0456\u0457 \u0433\u0440\u0438. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u043e\u043d\u043e\u0432\u0456\u0442\u044c \u0433\u0440\u0443",
de:"Dieser Code ist f\u00fcr neuere Spielversion. Bitte aktualisieren Sie das Spiel",es:"Este c\u00f3digo es para la versi\u00f3n m\u00e1s reciente del juego. Por favor, actualice el juego",fr:"Ce code est pour une version plus r\u00e9cente du jeu. S'il vous pla\u00eet, mettez \u00e0 jour le jeu",pl:"Kod ten jest nowsz\u0105 wersj\u0105 gry. Prosz\u0119 zaktualizowa\u0107 gr\u0119",tr:"Bu kod yeni oyun s\u00fcr\u00fcm\u00fc i\u00e7indir. Oyunu g\u00fcncelleyin",it:"Questo codice \u00e8 per la versione pi\u00f9 recente del gioco. Si prega, aggiornare il gioco",
cs:"Tento k\u00f3d je pro nov\u011bj\u0161\u00ed verzi hry. Pros\u00edm aktualizujte hru",pt:"Este c\u00f3digo \u00e9 para a vers\u00e3o mais recente jogo. Por favor, atualize o jogo",ms:"kod ini adalah untuk versi permainan yang lebih baru. Sila, mengemaskini permainan"};this.allPhrases.TXID_CODEERR_WRONGWORLD={en:"This code is for another game world (maybe)",ru:"\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043c\u0438\u0440\u0430 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e)",
uk:"\u0426\u0435\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u0456\u043d\u0448\u043e\u0433\u043e \u0456\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u0441\u0432\u0456\u0442\u0443 (\u043c\u043e\u0436\u043b\u0438\u0432\u043e)",de:"Dieser Code ist f\u00fcr eine andere Spielwelt (vielleicht)",es:"Este c\u00f3digo es para otro mundo del juego (tal vez)",fr:"Ce code est pour un autre monde du jeu (peut-\u00eatre)",pl:"Ten kod jest na innym \u015bwiecie gry (by\u0107 mo\u017ce)",tr:"Bu kod bir ba\u015fka oyun d\u00fcnyas\u0131 i\u00e7in (belki)",
it:"Questo codice \u00e8 per un altro mondo di gioco (forse)",cs:"Tento k\u00f3d je ur\u010den pro jinou hern\u00ed sv\u011bt (mo\u017en\u00e1)",pt:"Este c\u00f3digo \u00e9 para um outro mundo de jogo (talvez)",ms:"kod ini adalah untuk dunia permainan lain (mungkin)"};this.allPhrases.TXID_CURR_DESC_ADSSKIPS={en:"you can skip ads view and still receive a bonus",ru:"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u0438 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043d\u0443\u0441",
uk:"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u0456 \u0432\u0441\u0435 \u043e\u0434\u043d\u043e \u043e\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u0442\u0438 \u0431\u043e\u043d\u0443\u0441",de:"Sie k\u00f6nnen Anzeigen sehen \u00fcberspringen und noch einen Bonus erhalten",es:"puede saltarse los anuncios ver y a\u00fan as\u00ed recibir un bono",fr:"vous pouvez sauter voir annonces et continuer \u00e0 recevoir un bonus",
pl:"mo\u017cna pomin\u0105\u0107 wy\u015bwietlenia reklamy i nadal otrzymywa\u0107 premi\u0119",tr:"Reklamlar\u0131n g\u00f6r\u00fcnt\u00fclemek atlay\u0131p hala bonus alabilir",it:"si pu\u00f2 saltare visualizzare gli annunci e continuare a ricevere un bonus",cs:"m\u016f\u017eete p\u0159esko\u010dit reklamy zobrazovat a je\u0161t\u011b bonus",pt:"voc\u00ea pode pular os an\u00fancios visualizar e ainda receber um b\u00f4nus",ms:"anda boleh melangkau melihat iklan dan masih menerima bonus"};this.allPhrases.TXID_CURR_DESC_GEMS=
{en:"Can be used for powerful boosts",ru:"\u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u043c\u043e\u0449\u043d\u044b\u0445 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0439",uk:"\u041c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u0442\u0443\u0436\u043d\u0438\u0445 \u043f\u0456\u0434\u0432\u0438\u0449\u0435\u043d\u044c",
de:"Kann f\u00fcr leistungsstarke Boosts verwendet werden",es:"Puede ser utilizado para aumentos de gran alcance",fr:"Peut \u00eatre utilis\u00e9 pour boosts puissants",pl:"Mo\u017ce by\u0107 stosowany do pot\u0119\u017cnych zwi\u0119ksza",tr:"G\u00fc\u00e7l\u00fc art\u0131r\u0131r i\u00e7in kullan\u0131labilir",it:"Pu\u00f2 essere usato per spinte potenti",cs:"M\u016f\u017ee b\u00fdt pou\u017eit pro mocn\u00e9 vzedmut\u00ed",pt:"Pode ser usado para impulsos poderosos",ms:"Boleh digunakan untuk meningkatkan berkuasa"};
this.allPhrases.TXID_CURR_NAME_ADSSKIPS={en:"ads skips",ru:"\u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c",uk:"\u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c",de:"Anzeigen \u00fcberspringen",es:"anuncios de saltos",fr:"annonces skips",pl:"og\u0142oszenia przeskakuje",tr:"reklamlar atlama",it:"annunci salta",cs:"reklamy p\u0159eskakuje",pt:"An\u00fancios salta",ms:"Langkauan Iklan"};this.allPhrases.TXID_CURR_NAME_GEMS={en:"Rubies",
ru:"\u0420\u0443\u0431\u0438\u043d\u044b",uk:"\u0440\u0443\u0431\u0456\u043d\u0438",de:"Rubies",es:"rub\u00edes",fr:"Rubies",pl:"rubiny",tr:"yakut",it:"rubini",cs:"rub\u00edny",pt:"Rubis",ms:"Delima"};this.allPhrases.TXID_ELEVATORENGINEPOWER={en:"Engine power",ru:"\u041c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f",uk:"\u041f\u043e\u0442\u0443\u0436\u043d\u0456\u0441\u0442\u044c \u0434\u0432\u0438\u0433\u0443\u043d\u0430",de:"Motorleistung",es:"Potencia del motor",
fr:"Puissance du moteur",pl:"Moc silnika",tr:"Motor g\u00fcc\u00fc",it:"Potenza del motore",cs:"V\u00fdkon motoru",pt:"Poder do motor",ms:"Kuasa enjin "};this.allPhrases.TXID_FORESTWOODGAIN={en:"Wood restored",ru:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430",uk:"\u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0435\u0440\u0435\u0432\u0430",de:"Holz restauriert",es:"madera restaurada",fr:"bois restaur\u00e9",
pl:"drewno przywr\u00f3cony",tr:"Ah\u015fap restore",it:"legno restaurato",cs:"Wood obnoven",pt:"madeira restaurado",ms:"Kayu Dipulihkan"};this.allPhrases.TXID_FORESTWOODGAINSELF={en:"Self restoration",ru:"\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0440\u043e\u0441\u0442",uk:"\u0421\u043b\u0430\u0441\u043d\u0435 \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f",de:"Selbstwiederherstellung",es:"restauraci\u00f3n auto",fr:"auto restauration",pl:"przywr\u00f3cenie W\u0142asna",
tr:"Kendinden restorasyon",it:"il restauro di auto",cs:"Self restaurov\u00e1n\u00ed",pt:"restaura\u00e7\u00e3o auto",ms:"pemulihan sendiri"};this.allPhrases.TXID_FORESTWOODGAINWATER={en:"From gained water",ru:"\u041e\u0442 \u043f\u043e\u043b\u0438\u0432\u0430",uk:"\u0432\u0456\u0434 \u043f\u043e\u043b\u0438\u0432\u0443",de:"Von gewonnen Wasser",es:"De agua obtenida",fr:"De l'eau gagn\u00e9",pl:"Z uzyskanych wody",tr:"kazan\u0131lan suyundan",it:"Dall'acqua guadagnato",cs:"Ze z\u00edskan\u00fdch vody",
pt:"De \u00e1gua ganhou",ms:"Daripada air mendapat"};this.allPhrases.TXID_FORESTWOODINSIDE={en:"Wood inside",ru:"\u0414\u0435\u0440\u0435\u0432\u0430 \u0438\u043c\u0435\u0435\u0442\u0441\u044f",uk:"\u0434\u0435\u0440\u0435\u0432\u0430 \u0454",de:"Holz innen",es:"dentro de la madera",fr:"\u00e0 l'int\u00e9rieur du bois",pl:"drewno wewn\u0105trz",tr:"Ah\u015fap i\u00e7",it:"all'interno di legno",cs:"d\u0159evo uvnit\u0159",pt:"interior em madeira",ms:"kayu di dalam"};this.allPhrases.TXID_FORESTWOODSPEND=
{en:"Wood chopped",ru:"\u0414\u043e\u0431\u044b\u0447\u0430 \u0434\u0435\u0440\u0435\u0432\u0430",uk:"\u0432\u0438\u0434\u043e\u0431\u0443\u0442\u043e\u043a \u0434\u0435\u0440\u0435\u0432\u0430",de:"Holz gehackt",es:"madera cortada",fr:"bois coup\u00e9",pl:"drewno posiekane",tr:"Ah\u015fap do\u011franm\u0131\u015f",it:"legna tagliata",cs:"d\u0159evo nasekan\u00e9",pt:"madeira cortada",ms:"kayu dicincang"};this.allPhrases.TXID_GAMEDESC_20KCOGS={en:"Underwater exploration",ru:"\u041f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f",
uk:"\u041f\u0434\u0432\u043e\u0434\u043d\u0456 \u0434\u043e\u0441\u043b\u0456\u0434\u0436\u0435\u043d\u043d\u044f",de:"Unterwasser-Erkundung",es:"La exploraci\u00f3n submarina",fr:"exploration sous-marine",pl:"podwodna eksploracja",tr:"sualt\u0131 ke\u015fif",it:"esplorazione subacquea",cs:"podvodn\u00ed pr\u016fzkum",pt:"explora\u00e7\u00e3o subaqu\u00e1tica",ms:"penerokaan air"};this.allPhrases.TXID_GAMEDESC_BOTTLE={en:"Most popular flash-mob of 2019",ru:"\u0421\u0430\u043c\u044b\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0444\u043b\u044d\u0448-\u043c\u043e\u0431 2019",
uk:"\u041d\u0430\u0439\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0456\u0448\u0438\u0439 \u0444\u043b\u0435\u0448-\u043c\u043e\u0431 2019",de:"Die beliebtesten Flash-Mob von 2019",es:"M\u00e1s popular de flash-mob de 2019",fr:"La plupart des flash-mob populaire de 2019",pl:"Najbardziej popularne flash mob z 2019 roku",tr:"2019 y\u0131l\u0131n\u0131n en pop\u00fcler flash mob",it:"I pi\u00f9 popolari flash mob del 2019",cs:"Nejpopul\u00e1rn\u011bj\u0161\u00ed Flash-mob z roku 2019",pt:"Mais popular flash-mob de 2019",
ms:"Paling popular flash-mob 2019"};this.allPhrases.TXID_GAMEDESC_CHICKENFARM={en:"Chicken farm tycoon",ru:"\u041c\u0430\u0433\u043d\u0430\u0442 \u043a\u0443\u0440\u0438\u043d\u043d\u043e\u0439 \u0444\u0435\u0440\u043c\u044b",uk:"\u041c\u0430\u0433\u043d\u0430\u0442 \u043f\u0442\u0430\u0445\u043e\u0444\u0435\u0440\u043c\u0438",de:"H\u00fchnerfarm Tycoon",es:"Pollo magnate de la granja",fr:"Poulet de la ferme tycoon",pl:"Chicken farm tycoon",tr:"Tavuk \u00e7iftli\u011fi kral\u0131",it:"Chicken farm tycoon",
cs:"Ku\u0159ec\u00ed farma magn\u00e1t",pt:"Frango magnata fazenda",ms:"Ayam hartawan ladang"};this.allPhrases.TXID_GAMEDESC_ENGINEER={en:"Money making factory",ru:"\u0417\u0430\u0432\u043e\u0434 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0434\u0435\u043d\u0435\u0433",uk:"\u0417\u0430\u0432\u043e\u0434 \u0437 \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u0430 \u0433\u0440\u043e\u0448\u0435\u0439",de:"Geld, das Fabrik bildet",es:"La fabricaci\u00f3n del dinero de la f\u00e1brica",
fr:"usine de fabrication de l'argent",pl:"Fabryka Zarabianie",tr:"Para yapma fabrikas\u0131",it:"Fare soldi fabbrica",cs:"Vyd\u011bl\u00e1v\u00e1n\u00ed pen\u011bz z tov\u00e1rny",pt:"fazer dinheiro f\u00e1brica",ms:"kilang membuat wang"};this.allPhrases.TXID_GAMEDESC_IDLEEATERS={en:"Feed'em all!",ru:"\u041d\u0430\u043a\u043e\u0440\u043c\u0438 \u0438\u0445 \u0432\u0441\u0435\u0445",uk:"\u041d\u0430\u0433\u043e\u0434\u0443\u0442\u0435 \u0457\u0445 \u0432\u0441\u0456\u0445",de:"Feed'em alle!",es:"Feed'em todo!",
fr:"Feed'em tous!",pl:"Feed'em wszystko!",tr:"T\u00fcm Feed'em!",it:"Feed'em tutti!",cs:"Feed'em all!",pt:"Feed'em tudo!",ms:"Feed'em semua!"};this.allPhrases.TXID_GAMEDESC_IDLETOWERBUILDER={en:"Build the tower to the sky and beyond!",ru:"\u041f\u043e\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u0448\u043d\u044e \u0434\u043e \u043d\u0435\u0431\u0430 \u0438 \u0432\u044b\u0448\u0435!",uk:"\u041f\u043e\u0431\u0443\u0434\u0443\u0439\u0442\u0435 \u0432\u0435\u0434\u0443 \u0434\u043e \u043d\u0435\u0431\u0430 \u0432\u0438\u0449\u0435!",
de:"Bauen Sie den Turm in den Himmel und dar\u00fcber hinaus!",es:"Construir la torre hacia el cielo y m\u00e1s all\u00e1!",fr:"Construire la tour vers le ciel et au-del\u00e0!",pl:"Zbudowa\u0107 wie\u017c\u0119 do nieba i poza ni\u0105!",tr:"g\u00f6ky\u00fcz\u00fc ve \u00f6telere kule in\u015fa!",it:"Costruire la torre verso il cielo e oltre!",cs:"Stav\u011bt v\u011b\u017ee k nebi a je\u0161t\u011b d\u00e1l!",pt:"Construir a torre para o c\u00e9u e al\u00e9m!",ms:"Membina menara ke langit dan seterusnya!"};
this.allPhrases.TXID_GAMEDESC_STEAMPUNK={en:"Incredible machines and steampunk contraptions",ru:"\u041d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0438 \u0441\u0442\u0438\u043c\u043f\u0430\u043d\u043a\u043e\u0432\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b",uk:"\u041d\u0435\u0439\u043c\u043e\u0432\u0456\u0440\u043d\u0456 \u043c\u0430\u0448\u0438\u043d\u0438 \u0442\u0430 \u0441\u0442\u0438\u043c\u043f\u0430\u043d\u043a\u043e\u0432\u0456 \u043c\u0435\u0445\u0430\u043d\u0456\u0437\u043c\u0438",
de:"Unglaubliche Maschinen und Steampunk contraptions",es:"incre\u00edbles m\u00e1quinas y artilugios steampunk",fr:"machines incroyables et bidules steampunk",pl:"Niesamowite maszyny i steampunk contraptions.Moneta",tr:"\u0130nan\u0131lmaz makineleri ve steampunk contraptions",it:"macchine incredibili e aggeggi steampunk",cs:"Neuv\u011b\u0159iteln\u00e9 stroje a steampunk chytrost\u00ed",pt:"m\u00e1quinas incr\u00edveis e engenhocas steampunk",ms:"mesin yang luar biasa dan contraptions steampunk"};
this.allPhrases.TXID_GAMEDESC_TRANSMUTATION={en:"Idle alchemy and world creation",ru:"\u0430\u043b\u0445\u0438\u043c\u0438\u044f \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043c\u0438\u0440\u0430",uk:"\u0430\u043b\u0445\u0456\u043c\u0456\u044f \u0456 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0441\u0432\u0456\u0442\u0443",de:"Idle Alchemie und Weltsch\u00f6pfung",es:"alquimia inactivo y la creaci\u00f3n del mundo",fr:"l'alchimie au ralenti et la cr\u00e9ation du monde",
pl:"Idle alchemia i stworzenie \u015bwiata",tr:"Bo\u015fta simya ve d\u00fcnya yaratma",it:"l'alchimia stand-by e la creazione del mondo",cs:"Idle alchymie a tvorba sv\u011bt",pt:"alquimia ocioso e cria\u00e7\u00e3o do mundo",ms:"alkimia terbiar dan penciptaan dunia"};this.allPhrases.TXID_GAMEDESC_TVADS={en:"Make people watch ads",ru:"\u0417\u0430\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043b\u044e\u0434\u0435\u0439 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u0443",
uk:"\u041f\u0440\u0438\u043c\u0443\u0441\u044c\u0442\u0435 \u043b\u044e\u0434\u0435\u0439 \u0434\u0438\u0432\u0438\u0442\u0438\u0441\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0443",de:"Machen die Leute zu beobachten Anzeigen",es:"La gente hace ver anuncios",fr:"Faire des gens regardent les annonces",pl:"Ludzie pope\u0142niaj\u0105 ogl\u0105danie reklam",tr:"Yap insanlar reklamlar\u0131 izlemek",it:"Rendere le persone guardano gli annunci",cs:"Aby lid\u00e9 sledovat reklamy",pt:"Fazer as pessoas assistir an\u00fancios",
ms:"orang make menonton iklan"};this.allPhrases.TXID_GAMENAME_20KCOGS={en:"20 000 Cogs under the sea"};this.allPhrases.TXID_GAMENAME_BOTTLE={en:"Bottle Cap Challenge"};this.allPhrases.TXID_GAMENAME_CHICKENFARM={en:"Eggs factory"};this.allPhrases.TXID_GAMENAME_ENGINEER={en:"Engineer Millionaire"};this.allPhrases.TXID_GAMENAME_IDLEEATERS={en:"Idle Eaters"};this.allPhrases.TXID_GAMENAME_IDLETOWERBUILDER={en:"Idle Tower Builder"};this.allPhrases.TXID_GAMENAME_STEAMPUNK={en:"Steampunk Idle Spinner"};this.allPhrases.TXID_GAMENAME_TRANSMUTATION=
{en:"Transmutation"};this.allPhrases.TXID_GAMENAME_TVADS={en:"TV Ads factory"};this.allPhrases.TXID_GDPR_CAP={en:"Ready to start!",ru:"\u0413\u043e\u0442\u043e\u0432\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c",uk:"\u041d\u043e\u0442\u043e\u0432\u0456 \u043f\u043e\u0447\u0438\u043d\u0430\u0442\u0438",de:"Bereit zum Start!",es:"\u00a1Listo para empezar!",fr:"Pr\u00eat \u00e0 commencer!",pl:"Gotowy do startu!",tr:"Ba\u015flamaya haz\u0131r!",it:"Pronto per iniziare!",cs:"P\u0159ipraven za\u010d\u00edt!",
pt:"Pronto para come\u00e7ar!",ms:"Bersedia untuk memulakan!"};this.allPhrases.TXID_GDPR_EXPLANATION={en:"The game uses the players data (ads cookies and usage statistics) to enhance the gameplay and serve relevant ads to stay free. Please, accept our terms of use and privacy policy (or let your legal guardian agree if you are below the age of consent)",ru:"\u0418\u0433\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 (\u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b cookie \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f), \u0447\u0442\u043e\u0431\u044b \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u0443\u044e \u0440\u0435\u043a\u043b\u0430\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u043d\u0430\u0448\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 (\u0438\u043b\u0438 \u043f\u0443\u0441\u0442\u044c \u0432\u0430\u0448 \u0437\u0430\u043a\u043e\u043d\u043d\u044b\u0439 \u0432\u0437\u0440\u043e\u0441\u043b\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u044c \u043f\u0440\u0438\u043c\u0435\u0442, \u0435\u0441\u043b\u0438 \u0432\u044b \u043c\u043e\u043b\u043e\u0436\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f)",
uk:"\u0423 \u0433\u0440\u0456 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u0456 \u0433\u0440\u0430\u0432\u0446\u0456\u0432 (\u0440\u0435\u043a\u043b\u0430\u043c\u043d\u0456 \u0444\u0430\u0439\u043b\u0438 cookie \u0442\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f) \u0434\u043b\u044f \u043f\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u044f \u0456\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0443 \u0442\u0430 \u043f\u043e\u0434\u0430\u043d\u043d\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0445 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u044c, \u0449\u043e\u0431 \u0437\u0430\u043b\u0438\u0448\u0430\u0442\u0438\u0441\u044f \u0432\u0456\u043b\u044c\u043d\u0438\u043c\u0438. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0440\u0438\u0439\u043c\u0456\u0442\u044c \u043d\u0430\u0448\u0456 \u0443\u043c\u043e\u0432\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0442\u0430 \u043f\u043e\u043b\u0456\u0442\u0438\u043a\u0443 \u043a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u043e\u0441\u0442\u0456 (\u0430\u0431\u043e \u043d\u0435\u0437\u0430\u0439 \u0432\u0430\u0448 \u0430\u043a\u043e\u043d\u043d\u0438\u0439 \u0434\u043e\u0440\u043e\u0441\u043b\u0438\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a \u043f\u0440\u0438\u0439\u043c\u0435, \u044f\u043a\u0449\u043e \u0432\u0438 \u043d\u0435 \u0434\u043e\u0441\u044f\u0433\u043b\u0438 \u0432\u0456\u043a\u0443 \u0437\u0433\u043e\u0434\u0438)",
de:"Das Spiel nutzt die Spieler Daten (Anzeigen Cookies und Nutzungsstatistiken), um das Gameplay zu verbessern und relevante Anzeigen schalten frei zu bleiben. Bitte akzeptieren Sie unsere Nutzungsbedingungen und Datenschutzbestimmungen (oder lassen Sie Ihre Erziehungsberechtigten zustimmen, wenn Sie unter dem M\u00fcndigkeitsalter sind)",es:"El juego utiliza los datos de los jugadores (anuncios de galletas y estad\u00edsticas de uso) para mejorar la jugabilidad y publicar anuncios relevantes para mantenerse libre. Por favor, acepte nuestras condiciones de uso y pol\u00edtica de privacidad (o deje que su tutor legal de acuerdo si est\u00e1 por debajo de la edad de consentimiento)",
fr:"Le jeu utilise pour am\u00e9liorer le gameplay et diffuser des annonces pertinentes pour rester libre les donn\u00e9es des joueurs (cookies annonces et statistiques d'utilisation). S'il vous pla\u00eet, acceptez nos conditions d'utilisation et politique de confidentialit\u00e9 (ou laissez votre tuteur l\u00e9gal si vous \u00eates d'accord ci-dessous l'\u00e2ge du consentement)",pl:"Gra wykorzystuje dane graczy (og\u0142oszenia ciasteczka i statystyki u\u017cytkowania), aby poprawi\u0107 rozgrywk\u0119 i trafne reklamy pozosta\u0107 wolne. Prosz\u0119 przyj\u0105\u0107 nasze warunki u\u017cytkowania oraz polityk\u0119 prywatno\u015bci (albo niech tw\u00f3j opiekun prawny zgadza si\u0119, je\u015bli jeste\u015b poni\u017cej wieku przyzwolenia)",
tr:"Oyun oyun geli\u015ftirmek ve serbest kalmak alakal\u0131 reklamlar sunmak oyuncular\u0131n verilerini (reklamlar kurabiye ve kullan\u0131m istatistiklerini) kullan\u0131r. , Kullan\u0131m ve gizlilik ilkelerimizi \u015fartlar\u0131n\u0131 kabul (veya r\u0131za ya\u015f\u0131n\u0131n alt\u0131nda ise yasal vasi raz\u0131 olal\u0131m) L\u00fctfen",it:"Il gioco utilizza i dati dei giocatori (annunci biscotti e le statistiche di utilizzo) per migliorare il gameplay e pubblicare annunci pertinenti per rimanere libero. Si prega di accettare le nostre condizioni di utilizzo e l'informativa sulla privacy (o lasciate che il vostro tutore legale d'accordo se si \u00e8 sotto l'et\u00e0 del consenso)",
cs:"Hra vyu\u017e\u00edv\u00e1 data p\u0159ehr\u00e1va\u010de (reklamy su\u0161enky a statistiky pou\u017e\u00edv\u00e1n\u00ed) za \u00fa\u010delem pos\u00edlen\u00ed gameplay a zobrazovat relevantn\u00ed reklamy maj\u00ed pobyt zdarma. Pros\u00edm, p\u0159ijm\u011bte na\u0161e smluvn\u00ed podm\u00ednky a z\u00e1sady ochrany osobn\u00edch \u00fadaj\u016f (nebo nechat v\u00e1\u0161 z\u00e1konn\u00fd z\u00e1stupce souhlas\u00ed s t\u00edm, pokud jste mlad\u0161\u00ed souhlasu)",pt:"O jogo utiliza os dados de jogadores (an\u00fancios biscoitos e estat\u00edsticas de uso) para melhorar a jogabilidade e veicular an\u00fancios relevantes para ficar livre. Por favor, aceite nossos termos de uso ea pol\u00edtica de privacidade (ou deixe o seu respons\u00e1vel legal concordar se voc\u00ea estiver abaixo da idade de consentimento)",
ms:"Permainan ini menggunakan data pemain (iklan cookies dan statistik penggunaan) untuk meningkatkan permainan dan menyiarkan iklan yang berkaitan untuk tinggal percuma. Sila, menerima terma laman dan dasar privasi (atau biarkan penjaga sah anda bersetuju jika anda adalah di bawah usia dewasa)"};this.allPhrases.TXID_GOODS_BRICKS={en:"bricks",ru:"\u043a\u0438\u0440\u043f\u0438\u0447\u0438",uk:"\u0446\u0435\u0433\u043b\u0430",de:"Ziegel",es:"ladrillos",fr:"briques",pl:"ceg\u0142y",tr:"tu\u011fla",
it:"mattoni",cs:"cihly",pt:"tijolos",ms:"batu bata"};this.allPhrases.TXID_GOODS_GUNPOWDER={en:"Gunpowder",ru:"\u041f\u043e\u0440\u043e\u0445",uk:"\u043f\u043e\u0440\u043e\u0445",de:"Schie\u00dfpulver",es:"P\u00f3lvora",fr:"Poudre \u00e0 canon",pl:"Proch strzelniczy",tr:"Barut",it:"Polvere da sparo",cs:"St\u0159eln\u00fd prach",pt:"P\u00f3lvora",ms:"Gunpowder"};this.allPhrases.TXID_GOODS_HAY={en:"hay",ru:"\u0441\u0435\u043d\u043e",uk:"\u0441\u0456\u043d\u043e",de:"Heu",es:"heno",fr:"foins",pl:"siano",
tr:"saman",it:"fieno",cs:"seno",pt:"feno",ms:"hay"};this.allPhrases.TXID_GOODS_PLANKS={en:"planks",ru:"\u0434\u043e\u0441\u043a\u0438",uk:"\u0434\u043e\u0448\u043a\u0438",de:"Bretter",es:"tablones",fr:"planches",pl:"deski",tr:"plakalar",it:"tavole",cs:"prkna",pt:"pranchas",ms:"papan"};this.allPhrases.TXID_GOODS_STONE={en:"stone",ru:"\u043a\u0430\u043c\u0435\u043d\u044c",uk:"\u043a\u0430\u043c\u0456\u043d\u044c",de:"Stein",es:"Piedra",fr:"calcul",pl:"z\u0142\u00f3g",tr:"ta\u015f",it:"calcolo",cs:"k\u00e1men",
pt:"pedra",ms:"batu"};this.allPhrases.TXID_GOODS_WATER={en:"water",ru:"\u0432\u043e\u0434\u0430",uk:"\u0432\u043e\u0434\u0430",de:"Wasser",es:"agua",fr:"l'eau",pl:"woda",tr:"Su",it:"acqua",cs:"voda",pt:"\u00e1gua",ms:"air"};this.allPhrases.TXID_GOODS_WOOD={en:"wood",ru:"\u0434\u0435\u0440\u0435\u0432\u043e",uk:"\u0434\u0435\u0440\u0435\u0432\u043e",de:"Holz",es:"madera",fr:"bois",pl:"drewno",tr:"Odun",it:"legna",cs:"d\u0159evo",pt:"madeira",ms:"kayu"};this.allPhrases.TXID_INF_GB={en:"Golden Bricks",
ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",uk:"\u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u0446\u0435\u0433\u043b\u0438\u043d",de:"goldene Ziegel",es:"Ladrillos de oro",fr:"Briques d'or",pl:"Z\u0142ote Ceg\u0142y",tr:"Alt\u0131n Tu\u011fla",it:"mattoni d'oro",cs:"zlat\u00e9 cihly",pt:"Tijolos dourados",ms:"Bricks Golden"};this.allPhrases.TXID_KEEPWORKING={en:"Keep working",ru:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0439\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c",
uk:"\u041f\u0440\u0430\u0446\u044e\u0439\u0442\u0435 \u0434\u0430\u043b\u0456",de:"weiter arbeiten",es:"Sigue trabajando",fr:"Continue de travailler",pl:"Pracuj dalej",tr:"\u00c7al\u0131\u015fmaya devam et",it:"Continuare a lavorare",cs:"Pokra\u010duj v pr\u00e1ci",pt:"Continue trabalhando",ms:"Teruskan bekerja"};this.allPhrases.TXID_LANGNAME={en:"English",ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",uk:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",de:"Deutsch",es:"Espa\u00f1ol",
fr:"Fran\u00e7ais",pl:"Polski",tr:"T\u00fcrk\u00e7e",it:"Italiano",cs:"\u010ce\u0161tina",pt:"Portugu\u00eas",ms:"Bahasa Melayu"};this.allPhrases.TXID_LANGSEL={en:"LANGUAGE SELECTION",ru:"\u0412\u042b\u0411\u041e\u0420 \u042f\u0417\u042b\u041a\u0410",uk:"\u0412\u0418\u0411\u0406\u0420 \u041c\u041e\u0412\u0418",de:"SPRACHAUSWAHL",es:"SELECCI\u00d3N DE IDIOMA",fr:"S\u00c9LECTION DE LA LANGUE",pl:"WYB\u00d3R J\u0118ZYKA",tr:"D\u0130L SE\u00c7\u0130M\u0130",it:"SELEZIONE DELLA LINGUA",cs:"V\u00ddB\u011aR JAZYKA",
pt:"SELE\u00c7\u00c3O DE IDIOMA",ms:"BAHASA PILIHAN"};this.allPhrases.TXID_LANGTRANSTHANKS={en:"",de:"Fielen Dank an MoonlightShadowz aus ArmorGames!",es:"Muchas gracias por la traducci\u00f3n a Roy Clark aka Blokus52 desde ArmorGames",fr:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",pl:"Wielkie podzi\u0119kowania dla \u0141ukasza Gazdy za t\u0142umaczenie na j\u0119zyk polski",tr:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",
it:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",cs:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",pt:"Muito obrigado a Andr\u00e9 Caldeira para a vers\u00e3o em Portugu\u00eas!",ms:"Terima kasih banyak kepada Fortnesslily0707 atas terjemahannya"};this.allPhrases.TXID_LASTLOADATTEMPT={en:"Last time there was an error",ru:"\u0412 \u043f\u0440\u043e\u0448\u043b\u0456 \u0440\u0430\u0437 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430",
uk:"\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e \u0440\u0430\u0437\u0443 \u0431\u0443\u043b\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430",de:"Zuletzt ein Fehler aufgetreten",es:"La \u00faltima vez hubo un error",fr:"La derni\u00e8re fois qu'il y avait une erreur",pl:"Ostatni raz wyst\u0105pi\u0142 b\u0142\u0105d",tr:"bir hata son kez",it:"L'ultima volta che c'\u00e8 stato un errore",cs:"Naposledy do\u0161lo k chyb\u011b",pt:"A \u00faltima vez que houve um erro",ms:"Kali terakhir terdapat ralat"};
this.allPhrases.TXID_MACH_DESC_BABELTOWER={en:"The main object here",ru:"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0437\u0434\u0430\u043d\u0438\u0435",uk:"\u041e\u0441\u043d\u043e\u0432\u043d\u0430 \u0431\u0443\u0434\u0456\u0432\u043b\u044f",de:"Das Hauptziel hier",es:"El objeto principal de aqu\u00ed",fr:"L'objet principal ici",pl:"G\u0142\u00f3wnym celem tutaj",tr:"Burada ana nesne",it:"L'oggetto principale qui",cs:"Hlavn\u00edm c\u00edlem zde",pt:"O objeto principal aqui",ms:"Objektif utama di sini"};
this.allPhrases.TXID_MACH_DESC_BERTH={en:"Attracts tourists on flying machines and earns money",ru:"\u041f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0442\u0443\u0440\u0438\u0441\u0442\u043e\u0432 \u043d\u0430 \u043b\u0435\u0442\u0430\u044e\u0449\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445 \u0438 \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0434\u0435\u043d\u044c\u0433\u0438",uk:"\u041f\u0440\u0438\u0432\u0430\u0431\u043b\u044e\u0454 \u0442\u0443\u0440\u0438\u0441\u0442\u0456\u0432 \u043d\u0430 \u043b\u0456\u0442\u0430\u044e\u0447\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445 \u0456 \u0437\u0430\u0440\u043e\u0431\u043b\u044f\u0454 \u0433\u0440\u043e\u0448\u0456",
de:"Zieht Touristen auf Flugmaschinen an und verdient Geld",es:"Atrae a turistas en m\u00e1quinas de vuelo y gana dinero",fr:"Attire touristes sur des machines volantes et gagne de l'argent",pl:"Przyci\u0105ga turyst\u00f3w na maszynach lataj\u0105cych i zarabia",tr:"u\u00e7an makineler \u00fczerinde turist \u00e7ekiyor ve para kazan\u0131r",it:"Attira turisti sulle macchine volanti e guadagna soldi",cs:"L\u00e1k\u00e1 turisty na l\u00e9taj\u00edc\u00edch stroj\u00edch a vyd\u011bl\u00e1v\u00e1",
pt:"Atrai turistas em m\u00e1quinas voadoras e ganha dinheiro",ms:"Menarik pelancong pada mesin terbang dan memperoleh wang"};this.allPhrases.TXID_MACH_DESC_BRICKSSTORAGE={en:"Stores Bricks. Bricks can be sold from it",ru:"\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439. \u041e\u0442\u0441\u044e\u0434\u0430 \u043a\u0438\u0440\u043f\u0438\u0447\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c",uk:"\u0421\u0445\u043e\u0432\u0438\u0449\u0435 \u0446\u0435\u0433\u043b\u0438. \u0417\u0432\u0456\u0434\u0441\u0438 \u0446\u0435\u0433\u043b\u0438\u043d\u0438 \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u0438",
de:"Bewahrt Ziegel auf. Ziegel k\u00f6nnen hiervon verkauft werden",es:"Almacena ladrillos. Los ladrillos se pueden vender de ella",fr:"Briques Magasins. Les briques peuvent \u00eatre vendus de celui-ci",pl:"Sklepy ceg\u0142y. Ceg\u0142y mog\u0105 by\u0107 sprzedawane z nim",tr:"Ma\u011fazalar Tu\u011flalar. Tu\u011flalar ondan sat\u0131labilir",it:"Negozi mattoni. I mattoni possono essere venduti da esso",cs:"Obchody cihly. Cihly mohou b\u00fdt prod\u00e1ny z n\u011bj",pt:"Lojas tijolos. Tijolos podem ser vendidos a partir dele",
ms:"Kedai bata. Bricks boleh dijual daripadanya"};this.allPhrases.TXID_MACH_DESC_BUNGEEJUMPER={en:"Collects money from the windows",ru:"\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0434\u0435\u043d\u044c\u0433\u0438 \u0438\u0437 \u043e\u043a\u043e\u043d",uk:"\u0417\u0431\u0438\u0440\u0430\u0454 \u0433\u0440\u043e\u0448\u0456 \u0437 \u0432\u0456\u043a\u043e\u043d",de:"Sammelt Geld aus den Fenstern",es:"Recoge el dinero de las ventanas",fr:"Recueille argent des fen\u00eatres",pl:"Zbiera pieni\u0105dze z okien",
tr:"pencerelerden para toplar",it:"Raccoglie i soldi dalle finestre",cs:"Shroma\u017e\u010fuje pen\u00edze z oken",pt:"Recolhe o dinheiro das janelas",ms:"Mengumpul wang dari tingkap"};this.allPhrases.TXID_MACH_DESC_CAMEL={en:"Collects goods to purchase",ru:"\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0442\u043e\u0432\u0430\u0440\u044b \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0436\u0443",uk:"\u0417\u0431\u0438\u0440\u0430\u0454 \u0442\u043e\u0432\u0430\u0440\u0438 \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0436",
de:"Sammelt Waren zu kaufen",es:"Recoge los bienes que compra",fr:"Recueille biens \u00e0 l'achat",pl:"Zbiera towar\u00f3w do zakupu",tr:"Sat\u0131n alma mal toplar",it:"Raccoglie merci all'acquisto",cs:"Sb\u00edr\u00e1 zbo\u017e\u00ed do n\u00e1kupu",pt:"Recolhe bens para compra",ms:"Mengumpul barang-barang untuk pembelian"};this.allPhrases.TXID_MACH_DESC_CANNON={en:"Shoots bricks to the upper floors of the Tower",ru:"\u0417\u0430\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043a\u0438\u0440\u043f\u0438\u0447\u0438 \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0438\u0435 \u044d\u0442\u0430\u0436\u0438 \u0431\u0430\u0448\u043d\u0438",
uk:"\u0417\u0430\u043a\u0438\u0434\u0430\u0454 \u0446\u0435\u0433\u043b\u0438\u043d\u0438 \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0456 \u043f\u043e\u0432\u0435\u0440\u0445\u0438 \u0432\u0435\u0436\u0456",de:"Shoots Ziegel zu den oberen Etagen des Turms",es:"Los brotes ladrillos a los pisos superiores de la Torre",fr:"Shoots briques aux \u00e9tages sup\u00e9rieurs de la Tour",pl:"P\u0119dy ceg\u0142y g\u00f3rnych pi\u0119trach wie\u017cy",tr:"Kulenin \u00fcst katlara \u00e7eker tu\u011fla",it:"Germogli mattoni per i piani superiori della Torre",
cs:"V\u00fdhonky cihly horn\u00edch pater v\u011b\u017ee",pt:"Shoots tijolos para os andares superiores da torre",ms:"Pucuk batu bata untuk tingkat atas Menara"};this.allPhrases.TXID_MACH_DESC_CARAWANSARAI={en:"Buys your goods at good price",ru:"\u041f\u043e\u043a\u0443\u043f\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0442\u043e\u0432\u0430\u0440\u044b \u043f\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0446\u0435\u043d\u0435",uk:"\u041a\u0443\u043f\u0443\u0454 \u0432\u0430\u0448\u0456 \u0442\u043e\u0432\u0430\u0440\u0438 \u0437\u0430 \u0445\u043e\u0440\u043e\u0448\u043e\u044e \u0446\u0456\u043d\u043e\u044e",
de:"Kauft Ihre Waren zu einem guten Preis",es:"Compra su mercanc\u00eda a buen precio",fr:"Ach\u00e8te vos produits au bon prix",pl:"Kupuje swoje towary w dobrej cenie",tr:"\u0130yi fiyata mal sat\u0131n",it:"Acquista la merce a buon prezzo",cs:"Koup\u00ed si zbo\u017e\u00ed za dobrou cenu",pt:"Compra seus produtos a bom pre\u00e7o",ms:"Membeli barang-barang anda pada harga yang baik"};this.allPhrases.TXID_MACH_DESC_CLOCK={en:"Boosts time speeding",ru:"\u0423\u0441\u0438\u043b\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438",
uk:"\u041f\u0456\u0434\u0441\u0438\u043b\u044e\u0454 \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0435\u043d\u043d\u044f \u0447\u0430\u0441\u0443",de:"Verst\u00e4rkt die Zeitbeschleunigung",es:"Aumenta el tiempo de exceso de velocidad",fr:"Booste la vitesse de temps",pl:"Zwi\u0119ksza czas biegn\u0105cy",tr:"Art\u0131r\u0131r zaman h\u0131z",it:"Aumenta il tempo d'accelerazione",cs:"Posiluje \u010das p\u0159ekro\u010den\u00ed povolen\u00e9 rychlosti",pt:"Aumenta acelerando o tempo",ms:"Meningkatkan memandu laju masa"};
this.allPhrases.TXID_MACH_DESC_CLOUD={en:"Waters ground below",ru:"\u041f\u043e\u043b\u0438\u0432\u0430\u0435\u0442 \u0437\u0435\u043c\u043b\u044e \u043f\u043e\u0434 \u043d\u0438\u043c",uk:"\u041f\u043e\u043b\u0438\u0432\u0430\u0454 \u0437\u0435\u043c\u043b\u044e \u043f\u0456\u0434 \u043d\u0438\u043c",de:"W\u00e4ssert den Boden",es:"Las aguas subterr\u00e1neas",fr:"Eaux souterraines ci-dessous",pl:"W\u00f3d gruntowych poni\u017cej",tr:"Sular alt\u0131nda topra\u011fa",it:"Waters terreno sottostante",
cs:"Waters zem n\u00ed\u017ee",pt:"\u00c1guas subterr\u00e2neas abaixo",ms:"Waters tanah di bawah"};this.allPhrases.TXID_MACH_DESC_CONNECTION={en:"Connects objects",ru:"\u0421\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b",uk:"\u043f\u043e\u0454\u0434\u043d\u0443\u0454 \u043e\u0431'\u0454\u043a\u0442\u0438",de:"Verbindet Objekte",es:"Conecta objetos",fr:"Relie objets",pl:"\u0142\u0105czy obiekty",tr:"Ba\u011flan\u0131yor nesneleri",it:"Connette oggetti",
cs:"p\u0159ipojuje se objekty",pt:"Conecta objetos",ms:"menghubungkan objek"};this.allPhrases.TXID_MACH_DESC_CRANE={en:"Brings bricks to the higher levels of the Tower",ru:"\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u043a\u0438\u0440\u043f\u0438\u0447\u0438 \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u0431\u0430\u0448\u043d\u0438",uk:"\u041f\u0456\u0434\u043d\u0456\u043c\u0430\u0454 \u0446\u0435\u0433\u043b\u0438\u043d\u0438 \u043d\u0430 \u0431\u0456\u043b\u044c\u0448 \u0432\u0438\u0441\u043e\u043a\u0456 \u0440\u0456\u0432\u043d\u0456 \u0432\u0435\u0436\u0456",
de:"Bringt Ziegel zu den h\u00f6heren Ebenen des Turms",es:"Trae ladrillos a los niveles superiores de la Torre",fr:"Apporte briques aux niveaux plus \u00e9lev\u00e9s de la Tour",pl:"Przynosi ceg\u0142y do \u200b\u200bwy\u017cszych poziom\u00f3w wie\u017cy",tr:"Kulenin y\u00fcksek seviyelere tu\u011fla Getiriyor",it:"Porta mattoni per i livelli pi\u00f9 alti della Torre",cs:"P\u0159in\u00e1\u0161\u00ed cihly na vy\u0161\u0161\u00edch \u00farovn\u00edch v\u011b\u017ee",pt:"Traz tijolos para os n\u00edveis mais altos da Torre",
ms:"Membawa batu bata untuk tahap yang lebih tinggi daripada Menara"};this.allPhrases.TXID_MACH_DESC_DRUMMER={en:"Creates the rhythm for the faster work of the transporter",ru:"\u0421\u043e\u0437\u0434\u0430\u0451\u0442 \u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432",uk:"\u0421\u0442\u0432\u043e\u0440\u044e\u0454 \u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0448\u0432\u0438\u0434\u0448\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u043b\u044c\u043d\u0438\u043a\u0456\u0432",
de:"Erzeugt den Rhythmus f\u00fcr die schnellere Arbeit des Transporters",es:"Crea un ritmo para hacer el tranportador mas r\u00e1pido",fr:"Cr\u00e9e le rythme pour le plus rapide travail du transporteur",pl:"Tworzy rytm dla szybszej pracy transportera",tr:"nakliyecinin daha h\u0131zl\u0131 \u00e7al\u0131\u015fma i\u00e7in ritim olu\u015fturur",it:"Crea il ritmo per il lavoro pi\u00f9 veloce del trasportatore",cs:"Vytvo\u0159\u00ed rytmus pro rychlej\u0161\u00ed pr\u00e1ci transport\u00e9ru",pt:"Cria o ritmo para o trabalho mais r\u00e1pido do transportador",
ms:"Mewujudkan irama untuk kerja-kerja yang lebih cepat pengangkut"};this.allPhrases.TXID_MACH_DESC_ELEPHANT={en:"Transports much more stone than human",ru:"\u041f\u0435\u0440\u0435\u0432\u043e\u0437\u0438\u0442 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u0430\u043c\u043d\u044f, \u0447\u0435\u043c \u0447\u0435\u043b\u043e\u0432\u0435\u043a",uk:"\u041f\u0435\u0440\u0435\u0432\u043e\u0437\u0438\u0442\u044c \u043d\u0430\u0431\u0430\u0433\u0430\u0442\u043e \u0431\u0456\u043b\u044c\u0448\u0435 \u043a\u0430\u043c\u0435\u043d\u044e, \u043d\u0456\u0436 \u043b\u044e\u0434\u0438\u043d\u0430",
de:"Transport viel mehr Stein als ein Mensch",es:"transporta mucha m\u00e1s madera que el hombre",fr:"Transports beaucoup plus humain que la pierre",pl:"Transporty znacznie wi\u0119cej kamienia ni\u017c cz\u0142owiek",tr:"insandan ta\u015f\u0131malar\u0131 \u00e7ok daha ta\u015f",it:"Trasporti molto pi\u00f9 pietra che umano",cs:"Transporty mnohem k\u00e1men ne\u017e \u010dlov\u011bk",pt:"Transportes muito mais pedra do que humano",ms:"Transports lebih batu daripada manusia"};this.allPhrases.TXID_MACH_DESC_FIELD=
{en:"Grows grass to feed the elephant",ru:"\u0420\u0430\u0441\u0442\u0438\u0442 \u0442\u0440\u0430\u0432\u0443 \u0434\u043b\u044f \u0441\u043b\u043e\u043d\u0430",uk:"\u0420\u043e\u0441\u0442\u0438\u0442\u044c \u0442\u0440\u0430\u0432\u0443 \u0434\u043b\u044f \u0441\u043b\u043e\u043d\u0430",de:"Produziert Gras, um den Elefanten zu f\u00fcttern",es:"Crece la hierba para alimentar el elefante",fr:"Pousse l'herbe pour nourrir l'\u00e9l\u00e9phant",pl:"Ro\u015bnie trawa nakarmi\u0107 s\u0142onia",tr:"\u00c7im fil beslemek i\u00e7in b\u00fcy\u00fcd\u00fck\u00e7e",
it:"Cresce l'erba per alimentare l'elefante",cs:"Roste tr\u00e1va krmen\u00ed slona",pt:"Cresce grama para alimentar o elefante",ms:"Tumbuh rumput untuk memberi makan kepada gajah"};this.allPhrases.TXID_MACH_DESC_FOREST={en:"Source of Wood. Can be depleted. Grows slowly, faster if gets water",ru:"\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0434\u0440\u0435\u0432\u0435\u0441\u0438\u043d\u044b. \u041c\u043e\u0436\u0435\u0442 \u0438\u0441\u0442\u043e\u0449\u0430\u0442\u044c\u0441\u044f. \u0420\u0430\u0441\u0442\u0435\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0432\u043e\u0434\u0443",
uk:"\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0434\u0435\u0440\u0435\u0432\u0438\u043d\u0438. \u041c\u043e\u0436\u0435 \u0432\u0438\u0441\u043d\u0430\u0436\u0443\u0432\u0430\u0442\u0438\u0441\u044f. \u0417\u0440\u043e\u0441\u0442\u0430\u0454 \u043f\u043e\u0432\u0456\u043b\u044c\u043d\u043e, \u0430\u043b\u0435 \u0448\u0432\u0438\u0434\u0448\u0435, \u044f\u043a\u0449\u043e \u043e\u0442\u0440\u0438\u043c\u0443\u0454 \u0432\u043e\u0434\u0443",de:"Quelle von Holz. Kann ersch\u00f6pfen. W\u00e4chst langsam, w\u00e4chst schneller, wenn es bew\u00e4ssert wird",
es:"Fuente de madera. Se puede agotar. Crece lentamente, m\u00e1s r\u00e1pido si recibe agua",fr:"Source du bois. Peut \u00eatre \u00e9puis\u00e9. Se d\u00e9veloppe lentement, plus vite si l'eau devient",pl:"\u0179r\u00f3d\u0142o drewna. Mog\u0105 by\u0107 wyczerpane. Ro\u015bnie powoli, szybciej, je\u015bli robi si\u0119 wod\u0119",tr:"Wood Kayna\u011f\u0131. t\u00fckenmi\u015f olabilir. su al\u0131rsa daha h\u0131zl\u0131, yava\u015f yava\u015f b\u00fcy\u00fcr",it:"Fonte di legno. Pu\u00f2 essere impoverito. Cresce lentamente, pi\u00f9 veloce se prende l'acqua",
cs:"Zdroj d\u0159eva. Mohou b\u00fdt vy\u010derp\u00e1ny. Roste pomalu, rychleji, pokud dostane vodu",pt:"Fonte de madeira. Pode ser esgotado. Cresce lentamente, mais r\u00e1pido se obt\u00e9m \u00e1gua",ms:"Sumber Wood. Boleh habis. Tumbuh perlahan-lahan, lebih cepat jika mendapat air"};this.allPhrases.TXID_MACH_DESC_GALILEO={en:"Drops apples from the balcony, looks how they fall and generates Science",ru:"\u0411\u0440\u043e\u0441\u0430\u0435\u0442 \u044f\u0431\u043b\u043e\u043a\u0438 \u0441 \u0431\u0430\u043b\u043a\u043e\u043d\u0430, \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442 \u0437\u0430 \u0438\u0445 \u043f\u0430\u0434\u0435\u043d\u0438\u0435\u043c \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0443\u043a\u0443",
uk:"\u041a\u0438\u0434\u0430\u0454 \u044f\u0431\u043b\u0443\u043a\u0430 \u0437 \u0431\u0430\u043b\u043a\u043e\u043d\u0430, \u0441\u043f\u043e\u0441\u0442\u0435\u0440\u0456\u0433\u0430\u0454 \u0437\u0430 \u0457\u0445 \u043f\u0430\u0434\u0456\u043d\u043d\u044f\u043c \u0456 \u0433\u0435\u043d\u0435\u0440\u0443\u0454 \u043d\u0430\u0443\u043a\u0443",de:"Drops \u00c4pfel vom Balkon sieht, wie sie fallen und erzeugt Wissenschaft",es:"suelta manzanas desde el balc\u00f3n, ve c\u00f3mo caen y genera Ciencia",
fr:"Gouttes pommes du balcon, regarde comment ils tombent et engendre des connaissances scientifiques",pl:"Drops jab\u0142ka z balkonu, wygl\u0105da jak upadn\u0105 i generuje Science",tr:"Balkondan elma Damlas\u0131, onlar d\u00fc\u015fmek nas\u0131l bakar ve bilimi \u00fcretir",it:"Gocce mele dal balcone, guarda come cadono e genera Scienza",cs:"Kapky jablka z balkonu, vypad\u00e1 jak oni padaj\u00ed a generuje Science",pt:"Drops ma\u00e7\u00e3s a partir da varanda, olha como eles caem e gera Ci\u00eancia",
ms:"Jatuh epal dari balkoni, kelihatan bagaimana mereka jatuh dan menjana Sains"};this.allPhrases.TXID_MACH_DESC_GEMSLAB={en:"Explore underground and looks for valuable gems",ru:"\u0418\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u0434\u0437\u0435\u043c\u0435\u043b\u044c\u0435 \u0438 \u0438\u0449\u0435\u0442 \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438",uk:"\u0414\u043e\u0441\u043b\u0456\u0434\u0436\u0443\u0454 \u043f\u0456\u0434\u0437\u0435\u043c\u0435\u043b\u043b\u044f \u0442\u0430 \u0448\u0443\u043a\u0430\u0454 \u0434\u043e\u0440\u043e\u0433\u043e\u0446\u0456\u043d\u043d\u0456 \u043a\u0430\u043c\u0435\u043d\u0456",
de:"Entdecken U-Bahn und sieht f\u00fcr wertvolle Edelsteine",es:"Explora y miradas subterr\u00e1neas para gemas valiosas",fr:"Explorez souterrain et recherche pierres pr\u00e9cieuses",pl:"Generuje nauki i zwi\u0119ksza generacj\u0119 nauki",tr:"de\u011ferli ta\u015flar i\u00e7in yeralt\u0131 ve g\u00f6r\u00fcn\u00fcm ke\u015ffedin",it:"Esplora sotterranei e cerca gemme preziose",cs:"Prozkoumat podzemn\u00ed a hled\u00e1 cenn\u00e9 drahokamy",pt:"Gera ci\u00eancia e aumenta a gera\u00e7\u00e3o de ci\u00eancia",
ms:"Jelajahi bawah tanah dan kelihatan untuk permata berharga"};this.allPhrases.TXID_MACH_DESC_GOODUFO={en:"Transports stone using the most advanced technology",ru:"\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043a\u0430\u043c\u0435\u043d\u044c \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0430\u043c\u044b\u0445 \u043f\u0435\u0440\u0435\u0434\u043e\u0432\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439",
uk:"\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0454 \u043a\u0430\u043c\u0456\u043d\u044c \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c \u0441\u0430\u043c\u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u043e\u0432\u0438\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0456\u0439",de:"Transporte Stein die modernste Technologie",es:"Transportes piedra utilizando la tecnolog\u00eda m\u00e1s avanzada",fr:"Transports pierre en utilisant la technologie la plus avanc\u00e9e",
pl:"Transporty kamienia przy u\u017cyciu najbardziej zaawansowanych technologii",tr:"en ileri teknoloji kullan\u0131larak nakil ta\u015f",it:"Trasporti in pietra utilizzando la tecnologia pi\u00f9 avanzata",cs:"Transportuje k\u00e1men s vyu\u017eit\u00edm nejmodern\u011bj\u0161\u00edch technologi\u00ed",pt:"Transportes pedra usando a tecnologia mais avan\u00e7ada",ms:"batu Transports menggunakan teknologi yang paling maju"};this.allPhrases.TXID_MACH_DESC_GUNPOWDERLAB={en:"Produces gunpowder from planks",
ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043f\u043e\u0440\u043e\u0445 \u0438\u0437 \u0434\u043e\u0441\u043e\u043a",uk:"\u0412\u0438\u0440\u043e\u0431\u043b\u044f\u0454 \u043f\u043e\u0440\u043e\u0445 \u0437 \u0434\u043e\u0449\u043e\u043a",de:"Produziert Schie\u00dfpulver von Bohlen",es:"Produce la p\u00f3lvora de los tablones",fr:"Produit de la poudre \u00e0 partir de planches",pl:"Produkuje prochu z desek",tr:"tahtalar\u0131ndan barut \u00fcretir",it:"Produce polvere da sparo da tavole",
cs:"Produkuje st\u0159eln\u00fd prach z prken",pt:"Produz p\u00f3lvora das pranchas",ms:"Menghasilkan ubat bedil dari papan"};this.allPhrases.TXID_MACH_DESC_GUNPOWDERSTORAGE={en:"Stores gunpowder",ru:"\u0425\u0440\u0430\u043d\u0438\u0442 \u043f\u043e\u0440\u043e\u0445",uk:"\u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043f\u043e\u0440\u043e\u0445",de:"Shops Schie\u00dfpulver",es:"tiendas de p\u00f3lvora",fr:"magasins poudre",pl:"Sklepy proch",tr:"Ma\u011fazalar barut",it:"negozi polvere da sparo",
cs:"Obchody st\u0159eln\u00fd prach",pt:"lojas de p\u00f3lvora",ms:"kedai ubat bedil"};this.allPhrases.TXID_MACH_DESC_HAYSTACK={en:"Contains hay for the elephant",ru:"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0435\u043d\u043e \u0434\u043b\u044f \u0441\u043b\u043e\u043d\u0430",uk:"\u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0441\u0456\u043d\u043e \u0434\u043b\u044f \u0441\u043b\u043e\u043d\u0430",de:"Enth\u00e4lt Heu f\u00fcr den Elefanten",es:"Contiene paja para el elefante",fr:"Contient du foin pour l'\u00e9l\u00e9phant",
pl:"Zawiera siano dla s\u0142onia",tr:"Fil i\u00e7in saman i\u00e7erir",it:"Contiene il fieno per l'elefante",cs:"Obsahuje seno pro slony",pt:"Cont\u00e9m feno para o elefante",ms:"Mengandungi rumput kering untuk gajah"};this.allPhrases.TXID_MACH_DESC_HELICOPTER={en:"Explodes the rock to mine more stone",ru:"\u0412\u0437\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043c\u043d\u0438 \u0432 \u043a\u0430\u043c\u0435\u043d\u043e\u043b\u043e\u043c\u043d\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0434\u043e\u0431\u044b\u0447\u0443",
uk:"\u041f\u0456\u0434\u0440\u0438\u0432\u0430\u0454 \u043a\u0430\u043c\u0435\u043d\u0456 \u0432 \u043a\u0430\u043c\u0435\u043d\u043e\u043b\u043e\u043c\u043d\u0456, \u0449\u043e\u0431 \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0438\u0442\u0438 \u0432\u0438\u0434\u043e\u0431\u0443\u0442\u043e\u043a",de:"Sprengt den Stein zu Stein Mine mehr",es:"Explota la roca de la mina para m\u00e1s piedra",fr:"Explose la roche \u00e0 la mine plus pierre",pl:"Rozsadza ska\u0142\u0119 kopalni wi\u0119cej kamienia",
tr:"may\u0131n daha ta\u015f kayay\u0131 patlar",it:"Esplode la roccia al mio pi\u00f9 pietra",cs:"Exploduje rock t\u011b\u017eit v\u00edce kamene",pt:"Explode a rocha do meu mais pedra",ms:"Meletup batu untuk saya lebih batu"};this.allPhrases.TXID_MACH_DESC_HELICOPTERBALCONY={en:"Place to refuel and reload the helicopter",ru:"\u041c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u0434\u043e\u0437\u0430\u043f\u0440\u0430\u0432\u043a\u0438 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0435\u0440\u0442\u043e\u043b\u0435\u0442\u0430",
uk:"\u041c\u0456\u0441\u0446\u0435 \u0434\u043b\u044f \u0434\u043e\u0437\u0430\u043f\u0440\u0430\u0432\u043a\u0438 \u0456 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0432\u0435\u0440\u0442\u043e\u043b\u044c\u043e\u0442\u0430",de:"Platz, um zu tanken und die Hubschrauber nachladen",es:"Lugar para repostar y volver a cargar el helic\u00f3ptero",fr:"La place pour faire le plein et de recharger l'h\u00e9licopt\u00e8re",pl:"Miejsce do tankowania \u015bmig\u0142owca i prze\u0142adowa\u0107",
tr:"yak\u0131t ikmali ve helikopter yeniden Yeri",it:"Posto per fare rifornimento e ricaricare l'elicottero",cs:"M\u00edsto natankovat a znovu vrtuln\u00edk",pt:"Lugar para reabastecer e recarregar o helic\u00f3ptero",ms:"Tempat untuk mengisi minyak dan tambah nilai helikopter"};this.allPhrases.TXID_MACH_DESC_IRRIGATOR={en:"Boosts grass production from the Field",ru:"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u0431\u043e\u0440 \u0442\u0440\u0430\u0432\u044b \u0441 \u043f\u043e\u043b\u044f",
uk:"\u0417\u0431\u0456\u043b\u044c\u0448\u0443\u0454 \u0437\u0431\u0456\u0440 \u0442\u0440\u0430\u0432\u0438 \u0437 \u043f\u043e\u043b\u044f",de:"Verst\u00e4rkt Gras Produktion aus dem Feld",es:"Aumenta la producci\u00f3n de hierba del campo",fr:"Stimule la production d'herbe du terrain",pl:"produkcja zwi\u0119ksza trawy z pola",tr:"Field gelen art\u0131r\u0131r \u00e7im \u00fcretimi",it:"la produzione aumenta l'erba dal campo",cs:"V\u00fdroba posiluje tr\u00e1va z pole",pt:"produ\u00e7\u00e3o aumenta grama do campo",
ms:"pengeluaran meningkatkan rumput dari Field"};this.allPhrases.TXID_MACH_DESC_LAB={en:"Place for Science upgrades",ru:"\u041c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0439",uk:"\u041c\u0456\u0441\u0446\u0435 \u0434\u043b\u044f \u043d\u0430\u0443\u043a\u043e\u0432\u0438\u0445 \u043f\u043e\u043b\u0456\u043f\u0448\u0435\u043d\u044c",de:"Platz f\u00fcr Wissenschaft Upgrades",es:"Lugar para las mejoras de la ciencia",
fr:"La place pour les mises \u00e0 niveau des sciences",pl:"Miejsce na rozbudow\u0119 Science",tr:"Bilim y\u00fckseltmeleri i\u00e7in yer",it:"Posto per gli aggiornamenti Scienza",cs:"M\u00edsto pro upgrade v\u011bdy",pt:"Lugar para upgrades Ci\u00eancia",ms:"Tempat untuk naik taraf Sains"};this.allPhrases.TXID_MACH_DESC_LIFTENGINE={en:"Increases the elevator speed",ru:"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u044a\u0451\u043c\u043d\u0438\u043a\u0430",
uk:"\u0417\u0431\u0456\u043b\u044c\u0448\u0443\u0454 \u0448\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u043f\u0456\u0434\u0439\u043e\u043c\u043d\u0438\u043a\u0430",de:"Erh\u00f6ht die Aufzugsgeschwindigkeit",es:"Aumenta la velocidad del ascensor",fr:"Augmente la vitesse de l'ascenseur",pl:"Zwi\u0119ksza pr\u0119dko\u015b\u0107 windy",tr:"Asans\u00f6r h\u0131z\u0131n\u0131 artt\u0131r\u0131r",it:"Aumenta la velocit\u00e0 di ascensore",cs:"Zvy\u0161uje rychlost v\u00fdtahu",pt:"Aumenta a velocidade do elevador",
ms:"Meningkatkan kelajuan lif"};this.allPhrases.TXID_MACH_DESC_LUMBERMILL={en:"Converts Wood into Planks",ru:"\u041f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0414\u0435\u0440\u0435\u0432\u043e \u0432 \u0414\u043e\u0441\u043a\u0438",uk:"\u041f\u0435\u0440\u0435\u0442\u0432\u043e\u0440\u044e\u0454 \u0414\u0435\u0440\u0435\u0432\u043e \u0432 \u0414\u043e\u0448\u043a\u0438",de:"Wandelt Holz in Bretter um",es:"Convierte en tablones la madera",fr:"Le bois en planches convertis",pl:"Nawr\u00f3ceni Drewno na deski",
tr:"Kalas\u0131 \u00e7evirir Ah\u015fap",it:"Converte in tavole di legno",cs:"P\u0159ev\u00e1d\u00ed d\u0159eva na prkna",pt:"Converte madeira em pranchas",ms:"Saudara Wood ke Planks"};this.allPhrases.TXID_MACH_DESC_MOON={en:"Source of special building material",ru:"\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430",
uk:"\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0431\u0443\u0434\u0456\u0432\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0443",de:"Quelle besonderen Baustoff",es:"Fuente de material de construcci\u00f3n especial",fr:"Source des mat\u00e9riaux de construction sp\u00e9ciaux",pl:"\u0179r\u00f3d\u0142o specjalnego materia\u0142u budowlanego",tr:"\u00f6zel yap\u0131 malzemesi Kaynak",
it:"Fonte di materiale da costruzione speciali",cs:"Zdroj speci\u00e1ln\u00edho stavebn\u00edho materi\u00e1lu",pt:"Fonte de material de constru\u00e7\u00e3o especial",ms:"Sumber bahan bangunan khas"};this.allPhrases.TXID_MACH_DESC_MOONSTAIRS={en:"Way to reach to Moon",ru:"\u041f\u0443\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u041b\u0443\u043d\u044b",uk:"\u0428\u043b\u044f\u0445, \u0449\u043e\u0431 \u0434\u0456\u0441\u0442\u0430\u0442\u0438\u0441\u044f \u0434\u043e \u041c\u0456\u0441\u044f\u0446\u044f",
de:"Weg zum Mond zu erreichen",es:"Manera de llegar a la luna",fr:"Way pour atteindre Moon",pl:"Spos\u00f3b na dotarcie do Ksi\u0119\u017cyca",tr:"Ay'a ula\u015fmaya Yolu",it:"Modo per raggiungere Luna",cs:"Zp\u016fsob, jak dos\u00e1hnout na M\u011bs\u00edci",pt:"Caminho para chegar \u00e0 Lua",ms:"Cara untuk sampai ke Bulan"};this.allPhrases.TXID_MACH_DESC_MOONSTONETOWER={en:"Creates additional bricks if it is higher than the building level",ru:"\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u0438\u0440\u043f\u0438\u0447\u0438, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0432\u044b\u0448\u0435, \u0447\u0435\u043c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430",
uk:"\u0421\u0442\u0432\u043e\u0440\u044e\u0454 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0446\u0435\u0433\u043b\u0438\u043d\u0438, \u044f\u043a\u0449\u043e \u0432\u043e\u043d\u0430 \u0432\u0438\u0449\u0435, \u043d\u0456\u0436 \u0440\u0456\u0432\u0435\u043d\u044c \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u0430",de:"Schafft zus\u00e4tzliche Steine, wenn sie h\u00f6her als die Geb\u00e4udeebene ist",es:"Crea ladrillos adicionales si es m\u00e1s alto que el nivel del edificio",
fr:"Cr\u00e9e des briques suppl\u00e9mentaires si elle est sup\u00e9rieure au niveau du b\u00e2timent",pl:"Stwarza dodatkowe ceg\u0142y je\u015bli jest ona wy\u017csza ni\u017c poziom budynku",tr:"yap\u0131 kat\u0131na y\u00fcksek ise ek tu\u011flalar\u0131 olu\u015fturur",it:"Crea mattoni supplementari se \u00e8 superiore al livello dell'edificio",cs:"Vytv\u00e1\u0159\u00ed dal\u0161\u00ed cihly, je-li vy\u0161\u0161\u00ed ne\u017e \u00farove\u0148 budovy",pt:"Cria tijolos adicionais se for maior do que o n\u00edvel do edif\u00edcio",
ms:"Mewujudkan bata tambahan jika ia adalah lebih tinggi daripada tahap bangunan"};this.allPhrases.TXID_MACH_DESC_PLANKSSTORAGE={en:"Stores Planks. Planks can be sold from it",ru:"\u0421\u043a\u043b\u0430\u0434 \u0414\u043e\u0441\u043e\u043a. \u0421 \u043d\u0435\u0433\u043e \u0414\u043e\u0441\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c",uk:"\u0421\u043a\u043b\u0430\u0434 \u0414\u043e\u0449\u043e\u043a. \u0417 \u043d\u044c\u043e\u0433\u043e \u0414\u043e\u0448\u043a\u0438 \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u0438",
de:"Bewahrt Bretter auf. Bretter k\u00f6nnen hiervon verkauft werden",es:"Almacena tablones. Los tablones se pueden vender de ella",fr:"Magasins planches. Madriers peuvent \u00eatre vendus de celui-ci",pl:"Sklepy desek. Deski mog\u0105 by\u0107 sprzedawane z nim",tr:"Ma\u011fazalar kalas. Kalas ondan sat\u0131labilir",it:"Negozi tavole. Plance possono essere venduti da esso",cs:"Obchody prken. Prkna mohou b\u00fdt prod\u00e1ny z n\u011bj",pt:"Lojas t\u00e1buas. Pranchas podem ser vendidos a partir dele",
ms:"Kedai Planks. Papan boleh dijual daripadanya"};this.allPhrases.TXID_MACH_DESC_PROPAGANDA={en:"Inspires workers to work more efficiently while active. Requires various resources to operate",ru:"\u0412\u0434\u043e\u0445\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435, \u043a\u043e\u0433\u0434\u0430 \u043a\u043b\u044e\u0447\u0435\u043d\u0430. \u0422\u0440\u0435\u0431\u0443\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b",
uk:"\u041d\u0430\u0434\u0438\u0445\u0430\u0454 \u043f\u0440\u0430\u0446\u0456\u0432\u043d\u0438\u043a\u0456\u0432 \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0456\u0448\u0435, \u043a\u043e\u043b\u0438 \u0443\u0432\u0456\u043c\u043a\u043d\u0435\u043d\u0430. \u041f\u043e\u0442\u0440\u0435\u0431\u0443\u0454 \u0440\u0456\u0437\u043d\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438",de:"Inspires Arbeiter mehr arbeiten effizient, solange er aktiv. verschiedene Ressourcen erfordert f\u00fcr den Betrieb",
es:"Inspira a los trabajadores a trabajar m\u00e1s eficientemente mientras est\u00e1 activo. Requiere varios recursos para operar",fr:"les travailleurs de travailler plus pousse \u00e0 efficacement tout actif. N\u00e9cessite diverses ressources pour fonctionner",pl:"Inspiruje pracownik\u00f3w wok bardziej efektywnie, gdy aktywny. Wymaga r\u00f3\u017cnych \u015brodk\u00f3w, aby dzia\u0142a\u0107",tr:"\u0130lham verir i\u015f\u00e7iler daha verimli etkin iken \u00e7al\u0131\u015fmak. i\u015fletmek i\u00e7in \u00e7e\u015fitli kaynaklar gerektirir",
it:"Ispira i lavoratori a lavorare in modo pi\u00f9 efficiente, mentre attiva. Richiede varie risorse per operare",cs:"Inspiruje pracovn\u00edk\u016fm pracovat efektivn\u011bji a z\u00e1rove\u0148 aktivn\u00ed. Vy\u017eaduje r\u016fzn\u00e9 zdroje pro provoz",pt:"Inspira trabalhadores wok com mais efici\u00eancia enquanto ativo. Requer v\u00e1rios recursos para operar",ms:"Memberi inspirasi pekerja untuk bekerja dengan lebih cekap semasa aktif. Memerlukan pelbagai sumber untuk beroperasi"};this.allPhrases.TXID_MACH_DESC_PUMP=
{en:"Pumps water from the Well automatically",ru:"\u041a\u0430\u0447\u0430\u0435\u0442 \u0432\u043e\u0434\u0443 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u0446\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438",uk:"\u041a\u0430\u0447\u0430\u0454 \u0432\u043e\u0434\u0443 \u0437 \u043a\u043e\u043b\u043e\u0434\u044f\u0437\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e",de:"Pumpt Wasser automatisch aus dem Brunnen",es:"mueve el agua del Pozo de forma autom\u00e1tica",
fr:"Les pompes l'eau du puits automatiquement",pl:"Pompy wody ze studni automatycznie",tr:"otomatik Well su pompalar\u0131",it:"A pompare l'acqua dal pozzo automaticamente",cs:"\u010cerp\u00e1 vodu automaticky ze studny",pt:"Bombas de \u00e1gua do Po\u00e7o automaticamente",ms:"Pam air dari telaga secara automatik"};this.allPhrases.TXID_MACH_DESC_QUARRY={en:"Source of Stone",ru:"\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043a\u0430\u043c\u043d\u044f",uk:"\u0434\u0436\u0435\u0440\u0435\u043b\u043e \u043a\u0430\u043c\u0435\u043d\u044e",
de:"Steinquelle",es:"Fuente de Piedra",fr:"Source de Pierre",pl:"\u0179r\u00f3d\u0142o Kamienia",tr:"Ta\u015f Kayna\u011f\u0131",it:"Fonte di Pietra",cs:"Zdroj kamene",pt:"Fonte da Pedra",ms:"Sumber Stone"};this.allPhrases.TXID_MACH_DESC_QUARRYSTORAGE={en:"Stores Stone. Stone can be sold from it",ru:"\u0421\u043a\u043b\u0430\u0434 \u041a\u0430\u043c\u043d\u044f. \u0421 \u043d\u0435\u0433\u043e \u041a\u0430\u043c\u0435\u043d\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c",
uk:"\u0421\u043a\u043b\u0430\u0434 \u041a\u0430\u043c\u0435\u043d\u044f. \u0417 \u043d\u044c\u043e\u0433\u043e \u041a\u0430\u043c\u0456\u043d\u044c \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u0438",de:"Bewahrt Steine auf. Steine k\u00f6nnen hiervon verkauft werden",es:"almacena piedra. Piedra se puede vender de ella",fr:"Magasins Stone. Pierre peut \u00eatre vendu de celui-ci",pl:"Sklepy kamienia. Kamie\u0144 mo\u017ce by\u0107 sprzedane z niego",tr:"Ma\u011fazalar Ta\u015f. Ta\u015f ondan sat\u0131labilir",
it:"Negozi di pietra. Pietra pu\u00f2 essere venduto da esso",cs:"Stores k\u00e1men. K\u00e1men m\u016f\u017ee b\u00fdt prod\u00e1n z n\u011bj",pt:"Lojas Stone. Pedra pode ser vendido a partir dele",ms:"Stores Stone. Batu boleh dijual daripadanya"};this.allPhrases.TXID_MACH_DESC_SAW={en:"Converts Stone into Bricks",ru:"\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u041a\u0430\u043c\u0435\u043d\u044c \u0432 \u041a\u0438\u0440\u043f\u0438\u0447\u0438",uk:"\u041f\u0435\u0440\u0435\u0442\u0432\u043e\u0440\u044e\u044d \u041a\u0430\u043c\u0456\u043d\u044c \u043d\u0430 \u0426\u0435\u0433\u043b\u0443",
de:"Wandelt Stein in Ziegel um",es:"Convierte en ladrillos la piedra",fr:"Pierre en briques convertis",pl:"Kamie\u0144 konwertuje do Ceg\u0142y",tr:"Bricks \u00e7evirir Ta\u015f",it:"Converte in pietra in mattoni",cs:"P\u0159ev\u00e1d\u00ed k\u00e1men do cihly",pt:"Convertidos pedra em tijolos",ms:"Saudara Stone ke Bricks"};this.allPhrases.TXID_MACH_DESC_SLOT={en:"Slot for the next object",ru:"\u0421\u043b\u043e\u0442 \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430",
uk:"\u0421\u043b\u043e\u0442 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043e\u0431'\u0454\u043a\u0442\u0430",de:"Platz f\u00fcr das n\u00e4chste Objekt",es:"espacio para el siguiente objeto",fr:"Emplacement pour l'objet suivant",pl:"Gniazdo dla nast\u0119pnego obiektu",tr:"Bir sonraki nesne i\u00e7in Yuvas\u0131",it:"Slot per l'oggetto successivo",cs:"Slot pro dal\u0161\u00ed objekt",pt:"Slot para o pr\u00f3ximo objeto",ms:"Slot untuk objek seterusnya"};this.allPhrases.TXID_MACH_DESC_SMOKEMACHINE=
{en:"Creates clouds",ru:"\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u043b\u0430\u043a\u0430",uk:"\u0441\u0442\u0432\u043e\u0440\u044e\u0454 \u0445\u043c\u0430\u0440\u0438",de:"erzeugt Wolken",es:"crea nubes",fr:"cr\u00e9e des nuages",pl:"tworzy chmur\u0119",tr:"bulutlar olu\u015fturur",it:"crea nuvole",cs:"vytvo\u0159\u00ed mraky",pt:"cria nuvens",ms:"mewujudkan awan"};this.allPhrases.TXID_MACH_DESC_SPUTNIK={en:"Generates science as the sattelite rotates around the planet",ru:"\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0443\u043a\u0443, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044f \u0441\u043f\u0443\u0442\u043d\u0438\u043a \u043d\u0430 \u043e\u0440\u0431\u0438\u0442\u0443",
uk:"\u0413\u0435\u043d\u0435\u0440\u0443\u0454 \u043d\u0430\u0443\u043a\u0443, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0447\u0438 \u0441\u0443\u043f\u0443\u0442\u043d\u0438\u043a \u043d\u0430 \u043e\u0440\u0431\u0456\u0442\u0443",de:"Erzeugt die Wissenschaft als der Satelliten dreht sich um den Planeten",es:"Genera la ciencia al girar el sat\u00e9lite alrededor del planeta",fr:"La science comme G\u00e9n\u00e8re tourne sattelite autour de la plan\u00e8te",pl:"Generuje nauk\u0119 jako satelita obraca si\u0119 wok\u00f3\u0142 planety",
tr:"gezegenin etraf\u0131nda uydu d\u00f6nd\u00fck\u00e7e bilim \u00fcretir",it:"Genera scienza come la rotazione satellitare in tutto il pianeta",cs:"Generuje v\u011bdu jako satelitn\u00edho ot\u00e1\u010d\u00ed kolem planety",pt:"Gera a ci\u00eancia como a rota\u00e7\u00e3o sat\u00e9lites ao redor do planeta",ms:"Menjana sains sebagai berputar sattelite seluruh planet ini"};this.allPhrases.TXID_MACH_DESC_STARS={en:"Not just dots in the sky",ru:"\u041d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e\u0447\u043a\u0438 \u0432 \u043d\u0435\u0431\u0435",
uk:"\u041d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e\u0447\u043a\u0438 \u0432 \u043d\u0435\u0431\u0456",de:"Keine Punkte nur in den Himmel",es:"No s\u00f3lo puntos en el cielo",fr:"Pas seulement points dans le ciel",pl:"Nie tylko kropki na niebie",tr:"Sadece g\u00f6ky\u00fcz\u00fcnde noktalar",it:"Non solo puntini nel cielo",cs:"Nen\u00ed to jen te\u010dky na obloze",pt:"N\u00e3o apenas pontos no c\u00e9u",ms:"Bukan sahaja Titik di langit"};this.allPhrases.TXID_MACH_DESC_TELESCOPE={en:"Looks at the stars and generates Science",
ru:"\u0421\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 \u0437\u0432\u0435\u0437\u0434\u044b \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0443\u043a\u0443",uk:"\u0414\u0438\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0437\u0456\u0440\u043a\u0438 \u0456 \u0433\u0435\u043d\u0435\u0440\u0443\u0454 \u043d\u0430\u0443\u043a\u0443",de:"Schaut zu den Sternen und erzeugt Wissenschaft",es:"Mira a las estrellas y genera Ciencia",fr:"Regarde les \u00e9toiles et g\u00e9n\u00e8re la science",
pl:"Wygl\u0105da na gwiazdy i generuje Science",tr:"y\u0131ld\u0131zlara bakar ve Bilim \u00fcretir",it:"Guarda le stelle e genera Scienza",cs:"D\u00edv\u00e1 se na hv\u011bzdy a vytv\u00e1\u0159\u00ed Science",pt:"Olha para as estrelas e gera Ci\u00eancia",ms:"Melihat bintang-bintang dan menjana Sains"};this.allPhrases.TXID_MACH_DESC_TRANSPORTER={en:"Transports goods",ru:"\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u0432\u0430\u0440\u044b",uk:"\u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0454 \u0442\u043e\u0432\u0430\u0440\u0438",
de:"Transportiert Waren",es:"Transporta bienes",fr:"Transports de marchandises",pl:"towary Transports",tr:"Ula\u015ft\u0131rma mallar",it:"trasporti merci",cs:"p\u0159epravuje zbo\u017e\u00ed",pt:"bens de Transportes",ms:"pengangkutan barang"};this.allPhrases.TXID_MACH_DESC_UFOBASE={en:"Recharges the UFO to get it ready for the next flight faster",ru:"\u041f\u043e\u0434\u0437\u0430\u0440\u044f\u0434\u043a\u0430 \u041d\u041b\u041e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u043e\u043b\u0435\u0442\u0443 \u0431\u044b\u0441\u0442\u0440\u0435\u0435",
uk:"\u041f\u0456\u0434\u0437\u0430\u0440\u044f\u0434\u043a\u0430 \u041d\u041b\u041e, \u0449\u043e\u0431 \u043f\u0456\u0434\u0433\u043e\u0442\u0443\u0432\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u043e\u0442\u0443 \u0448\u0432\u0438\u0434\u0448\u0435",de:"L\u00e4dt das UFO, um es bereit f\u00fcr den n\u00e4chsten Flug schneller",es:"Se recarga el OVNI para que est\u00e9 listo para el siguiente vuelo m\u00e1s r\u00e1pido",
fr:"Recharges l'OVNI pour qu'elle soit pr\u00eate pour le prochain vol plus rapide",pl:"Do\u0142adowuje UFO, aby by\u0142 on gotowy do nast\u0119pnego lotu szybszego",tr:"UFO \u015farj eder daha h\u0131zl\u0131 bir sonraki u\u00e7u\u015f i\u00e7in haz\u0131r olmak i\u00e7in",it:"Si ricarica l'UFO per arrivare pronto per il prossimo volo veloce",cs:"Dob\u00edj\u00ed UFO, aby si to p\u0159ipraven na dal\u0161\u00ed let rychlej\u0161\u00ed",pt:"Recarrega o UFO para obt\u00ea-lo pronto para o pr\u00f3ximo v\u00f4o mais r\u00e1pido",
ms:"Recharges UFO untuk mendapatkan ia bersedia untuk penerbangan seterusnya lebih cepat"};this.allPhrases.TXID_MACH_DESC_UNDERGROUNDWATER={en:"Huge source of water",ru:"\u041e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432\u043e\u0434\u044b",uk:"\u0412\u0435\u043b\u0438\u0447\u0435\u0437\u043d\u0435 \u0434\u0436\u0435\u0440\u0435\u043b\u043e \u0432\u043e\u0434\u0438",de:"Riesige Wasserquelle",es:"Enorme fuente de agua",fr:"source d'eau \u00e9norme",
pl:"Ogromne \u017ar\u00f3d\u0142o wody",tr:"Suyun b\u00fcy\u00fck bir kaynak",it:"Fonte enorme di acqua",cs:"Obrovsk\u00fd zdroj vody",pt:"fonte enorme de \u00e1gua",ms:"sumber air yang besar"};this.allPhrases.TXID_MACH_DESC_WATEREXTRACTOR={en:"Extracts water from underground",ru:"\u0414\u043e\u0431\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0434\u0443 \u0438\u0437-\u043f\u043e\u0434 \u0437\u0435\u043c\u043b\u0438",uk:"\u0412\u0438\u0434\u043e\u0431\u0443\u0432\u0430\u0454 \u0432\u043e\u0434\u0443 \u0437-\u043f\u0456\u0434 \u0437\u0435\u043c\u043b\u0456",
de:"Extrakte Wasser aus dem Untergrund",es:"Extrae agua del subsuelo",fr:"Extraits de l'eau du sous-sol",pl:"Ekstrakty z wody podziemne",tr:"yeralt\u0131ndan ekstreler su",it:"Estratti di acqua dal sottosuolo",cs:"Extrakty voda z podzem\u00ed",pt:"Extractos de \u00e1gua subterr\u00e2nea",ms:"air ekstrak dari bawah tanah"};this.allPhrases.TXID_MACH_DESC_WATERSTORAGE={en:"Stores water",ru:"\u0425\u0440\u0430\u043d\u0438\u0442 \u0437\u0430\u043f\u0430\u0441 \u0432\u043e\u0434\u0443",uk:"\u0417\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u0437\u0430\u043f\u0430\u0441 \u0432\u043e\u0434\u0438",
de:"Shops Wasser",es:"almacena agua",fr:"l'eau Stocke",pl:"Sklepy woda",tr:"Ma\u011fazalar su",it:"negozi d'acqua",cs:"Obchody voda",pt:"armazena \u00e1gua",ms:"kedai air"};this.allPhrases.TXID_MACH_DESC_WATERWELL={en:"Contains Water. Can be depleted. Restores water inside by itself (faster when it's raining)",ru:"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u043e\u0434\u0443. \u041c\u043e\u0436\u0435\u0442 \u0438\u0441\u0441\u044f\u043a\u0430\u0442\u044c. \u041f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f (\u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u043a\u043e\u0433\u0434\u0430 \u0438\u0434\u0435\u0442 \u0434\u043e\u0436\u0434\u044c)",
uk:"\u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u043e\u0434\u0443. \u041c\u043e\u0436\u0435 \u0432\u0438\u0447\u0435\u0440\u043f\u0443\u0432\u0430\u0442\u0438\u0441\u044f. \u041f\u043e\u0441\u0442\u0443\u043f\u043e\u0432\u043e \u0437\u0430\u043f\u043e\u0432\u043d\u044e\u0454\u0442\u044c\u0441\u044f (\u0448\u0432\u0438\u0434\u0448\u0435, \u043a\u043e\u043b\u0438 \u0439\u0434\u0435 \u0434\u043e\u0449)",de:"Enth\u00e4lt Wasser. Kann ersch\u00f6pfen. Stellt langsam Wasser her (schneller, wenn es regnet)",
es:"Contiene agua. Se puede agotar. se llena poco a poco automaticamente (m\u00e1s r\u00e1pido cuando est\u00e1 lloviendo)",fr:"Contient de l'eau. Peut \u00eatre \u00e9puis\u00e9. Restaure eau \u00e0 l'int\u00e9rieur de lui-m\u00eame (plus rapide quand il pleut)",pl:"Zawiera wod\u0119. Mog\u0105 by\u0107 wyczerpane. Przywraca woda wewn\u0105trz sam (szybciej, gdy pada deszcz)",tr:"Su i\u00e7erir. t\u00fckenmi\u015f olabilir. kendisi taraf\u0131ndan geri y\u00fckler su i\u00e7ine (daha h\u0131zl\u0131 Ya\u011f\u0131yor zaman)",
it:"Contiene acqua. Pu\u00f2 essere impoverito. Ripristini l'acqua in profondit\u00e0 di s\u00e9 (pi\u00f9 veloce quando piove)",cs:"Obsahuje vodu. Mohou b\u00fdt vy\u010derp\u00e1ny. Obnov\u00ed voda uvnit\u0159 sama (rychleji, kdy\u017e pr\u0161\u00ed)",pt:"Cont\u00e9m \u00e1gua. Pode ser esgotado. dentro restaura\u00e7\u00f5es \u00e1gua por si s\u00f3 (mais r\u00e1pido quando est\u00e1 chovendo)",ms:"Mengandungi Air. Boleh habis. Mengembalikan air dalam dengan sendirinya (lebih cepat ketika hujan)"};
this.allPhrases.TXID_MACH_DESC_WOODSTORAGE={en:"Stores Wood. Wood can be sold from it",ru:"\u0421\u043a\u043b\u0430\u0434 \u0434\u0440\u0435\u0432\u0435\u0441\u0438\u043d\u044b. \u0414\u0440\u0435\u0432\u0435\u0441\u0438\u043d\u0443 \u0441 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c",uk:"\u0421\u043a\u043b\u0430\u0434 \u0434\u0435\u0440\u0435\u0432\u0438\u043d\u0438. \u0414\u0435\u0440\u0435\u0432\u0438\u043d\u0443 \u0437 \u043d\u044c\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u0438",
de:"Bewahrt Holz auf. Holz kann hiervon verkauft werden",es:"almacena madera. La madera puede ser vendida de ella",fr:"Magasins en bois. Le bois peut \u00eatre vendu de celui-ci",pl:"Sklepy Wood. Drewno mo\u017ce by\u0107 sprzedane z niego",tr:"Ma\u011fazalar Ah\u015fap. Ah\u015fap ondan sat\u0131labilir",it:"Negozi Wood. Il legno pu\u00f2 essere venduto da esso",cs:"Stores Wood. D\u0159evo m\u016f\u017ee b\u00fdt prod\u00e1v\u00e1ny z n\u011bj",pt:"Lojas Wood. A madeira pode ser vendido a partir dele",
ms:"Stores Wood. Kayu boleh dijual daripadanya"};this.allPhrases.TXID_MACH_DESC_ZEPPELIN={en:"Travels from faraway to see your magnificent tower",ru:"\u041f\u0440\u0438\u043b\u0435\u0442\u0430\u0435\u0442 \u0438\u0437 \u0434\u0430\u043b\u044c\u043d\u0438\u0445 \u0441\u0442\u0440\u0430\u043d, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0430\u0448\u0443 \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u0443\u044e \u0431\u0430\u0448\u043d\u044e",uk:"\u041f\u0440\u0438\u043b\u0456\u0442\u0430\u0454 \u0437 \u0434\u0430\u043b\u0435\u043a\u0438\u0445 \u043a\u0440\u0430\u0457\u043d, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0430\u0448\u0443 \u0447\u0443\u0434\u043e\u0432\u0443 \u0432\u0435\u0436\u0443",
de:"Reisen aus dem Fernen um Ihren pr\u00e4chtigen Turm zu sehen",es:"Viaja desde lejos para ver tu magn\u00edfica torre",fr:"Voyages de loin de voir votre magnifique tour",pl:"Podr\u00f3\u017ce z dalekiej, aby zobaczy\u0107 swoj\u0105 wspania\u0142\u0105 wie\u017c\u0119",tr:"Uzaklardan gelen seyahatler sizin muhte\u015fem kuleyi g\u00f6rmek i\u00e7in",it:"Viaggi da lontano per vedere la vostra magnifica torre",cs:"Cestuje z d\u00e1lky vid\u011bt sv\u016fj velkolep\u00fd v\u011b\u017e",pt:"Viaja de longe para ver a sua magn\u00edfica torre",
ms:"Travels dari jauh untuk melihat menara indah anda"};this.allPhrases.TXID_MACH_NAME_BABELTOWER={en:"Babel tower",ru:"\u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u0430\u044f \u0431\u0430\u0448\u043d\u044f",uk:"\u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u044c\u043a\u0430 \u0432\u0435\u0436\u0430",de:"Turm zu Babel",es:"torre de babel",fr:"tour de Babel",pl:"wie\u017ca Babel",tr:"Babel kule",it:"torre di Babele",cs:"Babel tower",pt:"torre de Babel",ms:"menara Babel"};this.allPhrases.TXID_MACH_NAME_BERTH=
{en:"Berth",ru:"\u041f\u0440\u0438\u0447\u0430\u043b",uk:"\u043f\u0440\u0438\u0447\u0430\u043b",de:"Liegeplatz",es:"Berth",fr:"Couchette",pl:"Kuszetka",tr:"ranza",it:"cuccetta",cs:"Kotvi\u0161t\u011b",pt:"Atracar",ms:"Berth"};this.allPhrases.TXID_MACH_NAME_BRICKSSTORAGE={en:"Brick Storage",ru:"\u0421\u043a\u043b\u0430\u0434 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",uk:"\u0441\u043a\u043b\u0430\u0434 \u0446\u0435\u0433\u043b\u0438",de:"Ziegellager",es:"Almacenamiento de ladrillo",fr:"brique de stockage",
pl:"ceg\u0142a baga\u017cu",tr:"Tu\u011fla Depolama",it:"Brick bagagli",cs:"Brick Storage",pt:"Armazenamento tijolo",ms:"Brick Storage"};this.allPhrases.TXID_MACH_NAME_BUNGEEJUMPER={en:"Bungee jumper",ru:"\u041f\u0440\u044b\u0433\u0443\u043d \u043d\u0430 \u0440\u0435\u0437\u0438\u043d\u043a\u0435",uk:"\u0421\u0442\u0440\u0438\u0431\u0443\u043d \u043d\u0430 \u0433\u0443\u043c\u0446\u0456",de:"Bungee-Jumper",es:"puenting",fr:"cavalier Bungee",pl:"bungee skoczek",tr:"Bungee atlamac\u0131",it:"bungee Jumper",
cs:"bungee jumper",pt:"bungee jumper de",ms:"bungee jumper"};this.allPhrases.TXID_MACH_NAME_CAMEL={en:"Camel",ru:"\u0432\u0435\u0440\u0431\u043b\u044e\u0434",uk:"\u0432\u0435\u0440\u0431\u043b\u044e\u0434",de:"Kamel",es:"Camello",fr:"chameau",pl:"Wielb\u0142\u0105d",tr:"Deve",it:"Cammello",cs:"Velbloud",pt:"Camelo",ms:"Camel"};this.allPhrases.TXID_MACH_NAME_CANNON={en:"Cannon",ru:"\u043f\u0443\u0448\u043a\u0430",uk:"\u0433\u0430\u0440\u043c\u0430\u0442\u0430",de:"Kanone",es:"Ca\u00f1\u00f3n",fr:"Canon",
pl:"Armata",tr:"top",it:"Cannone",cs:"D\u011blo",pt:"Canh\u00e3o",ms:"Cannon"};this.allPhrases.TXID_MACH_NAME_CARAWANSARAI={en:"Caravanserai",ru:"\u043a\u0430\u0440\u0430\u0432\u0430\u043d-\u0441\u0430\u0440\u0430\u0439",uk:"\u043a\u0430\u0440\u0430\u0432\u0430\u043d-\u0441\u0430\u0440\u0430\u0439",de:"Karawanserei",es:"Caravasar",fr:"Caravans\u00e9rail",pl:"Karawanseraj",tr:"Kervansaray",it:"Caravanserraglio",cs:"karavann\u00ed stanice",pt:"hospedaria para caravanas",ms:"Caravanserai"};this.allPhrases.TXID_MACH_NAME_CLOCK=
{en:"Clock",ru:"\u0427\u0430\u0441\u044b",uk:"\u0413\u043e\u0434\u0438\u043d\u043d\u0438\u043a",de:"Uhr",es:"Reloj",fr:"L'horloge",pl:"Zegar",tr:"Saat",it:"Orologio",cs:"Hodiny",pt:"Rel\u00f3gio",ms:"jam"};this.allPhrases.TXID_MACH_NAME_CLOUD={en:"Cloud",ru:"\u041e\u0431\u043b\u0430\u043a\u043e",uk:"\u0445\u043c\u0430\u0440\u0430",de:"Wolke",es:"Nube",fr:"Nuage",pl:"Chmura",tr:"Bulut",it:"Nube",cs:"Mrak",pt:"Nuvem",ms:"Cloud"};this.allPhrases.TXID_MACH_NAME_CONNECTION={en:"Connection",ru:"\u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435",
uk:"\u0437'\u0454\u0434\u043d\u0430\u043d\u043d\u044f",de:"Verbindung",es:"Conexi\u00f3n",fr:"Lien",pl:"Po\u0142\u0105czenie",tr:"Ba\u011f",it:"Connessione",cs:"Spojen\u00ed",pt:"Conex\u00e3o",ms:"sambungan"};this.allPhrases.TXID_MACH_NAME_CRANE={en:"Crane",ru:"\u041f\u043e\u0434\u044a\u0435\u043c\u043d\u0438\u043a",uk:"\u043f\u0456\u0434\u0439\u043e\u043c\u043d\u0438\u043a",de:"Kran",es:"Gr\u00faa",fr:"Grue",pl:"D\u017awig",tr:"Vin\u00e7",it:"Gru",cs:"Je\u0159\u00e1b",pt:"Guindaste",ms:"Crane"};
this.allPhrases.TXID_MACH_NAME_DRUMMER={en:"Drummer",ru:"\u0411\u0430\u0440\u0430\u0431\u0430\u043d",uk:"\u0431\u0430\u0440\u0430\u0431\u0430\u043d",de:"Schlagzeuger",es:"tocador de tambor",fr:"Le batteur",pl:"Perkusista",tr:"davulcu",it:"Drummer",cs:"Buben\u00edk",pt:"Baterista",ms:"Drummer"};this.allPhrases.TXID_MACH_NAME_ELEPHANT={en:"Elephant",ru:"\u0421\u043b\u043e\u043d",uk:"\u0441\u043b\u043e\u043d",de:"Elefant",es:"Elefante",fr:"l'\u00e9l\u00e9phant",pl:"S\u0142o\u0144",tr:"Fil",it:"Elefante",
cs:"Slon",pt:"Elefante",ms:"gajah"};this.allPhrases.TXID_MACH_NAME_FIELD={en:"Field",ru:"\u041f\u043e\u043b\u0435",uk:"\u043f\u043e\u043b\u0435",de:"Feld",es:"Campo",fr:"Champ",pl:"Pole",tr:"Alan",it:"Campo",cs:"Pole",pt:"Campo",ms:"Field"};this.allPhrases.TXID_MACH_NAME_FOREST={en:"Forest",ru:"\u041b\u0435\u0441",uk:"\u043b\u0456\u0441",de:"Wald",es:"Bosque",fr:"For\u00eat",pl:"Las",tr:"Orman",it:"foresta",cs:"Les",pt:"Floresta",ms:"hutan"};this.allPhrases.TXID_MACH_NAME_GALILEO={en:"Galileo",ru:"\u0413\u0430\u043b\u0438\u043b\u0435\u0439",
uk:"\u0413\u0430\u043b\u0456\u043b\u0435\u0439",de:"Galileo",es:"Galileo",fr:"Galileo",pl:"Galileo",tr:"Galileo",it:"Galileo",cs:"Galileo",pt:"Galileo",ms:"Galileo"};this.allPhrases.TXID_MACH_NAME_GEMSLAB={en:"Lab of gems",ru:"\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u044f \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439",uk:"\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0456\u044f \u0434\u043e\u0440\u043e\u0433\u043e\u0446\u0456\u043d\u043d\u0438\u0445 \u043a\u0430\u043c\u0435\u043d\u0456\u0432",
de:"Lab von Edelsteinen",es:"Laboratorio de las gemas",fr:"Laboratoire de pierres pr\u00e9cieuses",pl:"Gems laboratorium",tr:"ta\u015flar Laboratuar",it:"Laboratorio di gemme",cs:"Lab drahokam\u016f",pt:"Laborat\u00f3rio de pesquisa",ms:"Makmal permata"};this.allPhrases.TXID_MACH_NAME_GOODUFO={en:"UFO",ru:"\u041d\u041b\u041e",uk:"\u041d\u041b\u041e",de:"UFO",es:"OVNI",fr:"OVNI",pl:"UFO",tr:"UFO",it:"ufo",cs:"UFO",pt:"UFO",ms:"UFO"};this.allPhrases.TXID_MACH_NAME_GUNPOWDERLAB={en:"Gunpowder workshop",
ru:"\u041f\u043e\u0440\u043e\u0445\u043e\u0432\u0430\u044f \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u043a\u0430\u044f",uk:"\u041f\u043e\u0440\u043e\u0445\u043e\u0432\u0430 \u043c\u0430\u0439\u0441\u0442\u0435\u0440\u043d\u044f",de:"Gunpowder Werkstatt",es:"taller de p\u00f3lvora",fr:"Atelier Gunpowder",pl:"warsztaty proch",tr:"barut at\u00f6lyesi",it:"laboratorio di polvere da sparo",cs:"st\u0159eln\u00fd prach workshop",pt:"oficina de p\u00f3lvora",ms:"bengkel Gunpowder"};this.allPhrases.TXID_MACH_NAME_GUNPOWDERSTORAGE=
{en:"Gunpowder storage",ru:"\u0421\u043a\u043b\u0430\u0434 \u043f\u043e\u0440\u043e\u0445\u0430",uk:"\u0441\u043a\u043b\u0430\u0434 \u043f\u043e\u0440\u043e\u0445\u0443",de:"Gunpowder Speicher",es:"almacenamiento de la p\u00f3lvora",fr:"stockage Gunpowder",pl:"magazynowania prochu",tr:"barut depolama",it:"polveriera",cs:"storage st\u0159eln\u00fd prach",pt:"armazenamento de p\u00f3lvora",ms:"simpanan serbuk letupan"};this.allPhrases.TXID_MACH_NAME_HAYSTACK={en:"Haystack",ru:"\u0421\u0442\u043e\u0433",
uk:"\u0441\u0442\u0456\u0433",de:"Heuhaufen",es:"bala de paja",fr:"Meule de foin",pl:"St\u00f3g siana",tr:"kuru ot y\u0131\u011f\u0131n\u0131",it:"Pagliaio",cs:"Kupka sena",pt:"Palheiro",ms:"Haystack"};this.allPhrases.TXID_MACH_NAME_HELICOPTER={en:"Helicopter",ru:"\u0412\u0435\u0440\u0442\u043e\u043b\u0435\u0442",uk:"\u0412\u0435\u0440\u0442\u043e\u043b\u044c\u043e\u0442",de:"Hubschrauber",es:"Helic\u00f3ptero",fr:"H\u00e9licopt\u00e8re",pl:"\u015amig\u0142owiec",tr:"Helikopter",it:"Elicottero",cs:"Helikopt\u00e9ra",
pt:"Helic\u00f3ptero",ms:"helikopter"};this.allPhrases.TXID_MACH_NAME_HELICOPTERBALCONY={en:"Helicopter Balcony",ru:"\u0411\u0430\u0437\u0430 \u0412\u0435\u0440\u0442\u043e\u043b\u0435\u0442\u044b",uk:"\u0431\u0430\u0437\u0430 \u0432\u0435\u0440\u0442\u043e\u043b\u044c\u043e\u0442\u0443",de:"Hubschrauber Balkon",es:"Balc\u00f3n del helic\u00f3ptero",fr:"Balcon h\u00e9licopt\u00e8re",pl:"\u015bmig\u0142owiec balkon",tr:"Helikopter Balkon",it:"Elicottero balcone",cs:"vrtuln\u00edk Balkon",pt:"Varanda helic\u00f3ptero",
ms:"helikopter Balkoni"};this.allPhrases.TXID_MACH_NAME_IRRIGATOR={en:"Fountain",ru:"\u0424\u043e\u043d\u0442\u0430\u043d",uk:"\u0412\u043e\u0434\u043e\u0433\u0440\u0430\u0439",de:"Brunnen",es:"Fuente",fr:"Fontaine",pl:"Fontanna",tr:"\u00c7e\u015fme",it:"Fontana",cs:"Ka\u0161na",pt:"Fonte",ms:"Fountain"};this.allPhrases.TXID_MACH_NAME_LAB={en:"Laboratory",ru:"\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u044f",uk:"\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0456\u044f",
de:"Labor",es:"Laboratorio",fr:"Laboratoire",pl:"Laboratorium",tr:"laboratuvar",it:"Laboratorio",cs:"Laborato\u0159",pt:"Laborat\u00f3rio",ms:"makmal"};this.allPhrases.TXID_MACH_NAME_LIFTENGINE={en:"Lift Engine",ru:"\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c \u0434\u043b\u044f \u041f\u043e\u0434\u044a\u0451\u043c\u043d\u0438\u043a\u0430",uk:"\u0414\u0432\u0438\u0433\u0443\u043d \u0434\u043b\u044f \u043f\u0456\u0434\u0439\u043e\u043c\u043d\u0438\u043a\u0456\u0432",de:"Auzugsmotor",es:"motor de elevaci\u00f3n",
fr:"Moteur de levage",pl:"wyci\u0105g Silnik",tr:"Kald\u0131rma Motoru",it:"ascensore Engine",cs:"Lift Engine",pt:"Motor elevador",ms:"Lif Engine"};this.allPhrases.TXID_MACH_NAME_LUMBERMILL={en:"Lumbermill",ru:"\u041b\u0435\u0441\u043e\u043f\u0438\u043b\u043a\u0430",uk:"\u041b\u0456\u0441\u043e\u043f\u0438\u043b\u043a\u0430",de:"S\u00e4gewerk",es:"Serrer\u00eda",fr:"Scierie",pl:"Tartak",tr:"Kereste fabrikas\u0131",it:"Segheria",cs:"Pila",pt:"Serraria",ms:"Lumbermill"};this.allPhrases.TXID_MACH_NAME_MOON=
{en:"Moon",ru:"\u041b\u0443\u043d\u0430",uk:"\u043c\u0456\u0441\u044f\u0446\u044c",de:"Mond",es:"Luna",fr:"Lune",pl:"Ksi\u0119\u017cyc",tr:"Ay",it:"Luna",cs:"M\u011bs\u00edc",pt:"Lua",ms:"Moon"};this.allPhrases.TXID_MACH_NAME_MOONSTAIRS={en:"Moon stairs",ru:"\u043b\u0435\u0441\u0442\u043d\u0438\u0446\u0430 \u043d\u0430 \u041b\u0443\u043d\u0443",uk:"\u0441\u0445\u043e\u0434\u0438 \u043d\u0430 \u041c\u0456\u0441\u044f\u0446\u044c",de:"Mond Treppe",es:"escaleras luna",fr:"escaliers lune",pl:"schody ksi\u0119\u017cyca",
tr:"Ay merdivenler",it:"scale Luna",cs:"Moon schody",pt:"escadas lua",ms:"tangga Moon"};this.allPhrases.TXID_MACH_NAME_MOONSTONETOWER={en:"Moonstone tower",ru:"\u0411\u0430\u0448\u043d\u044f \u0438\u0437 \u041b\u0443\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u043c\u043d\u044f",uk:"\u0412\u0435\u0436\u0430 \u0437 \u041c\u0456\u0441\u044f\u0447\u043d\u043e\u0433\u043e \u043a\u0430\u043c\u0435\u043d\u044f",de:"Mondstein-Turm",es:"torre de piedra de luna",fr:"tour Moonstone",pl:"wie\u017ca Moonstone",
tr:"Ayta\u015f\u0131 kule",it:"torre Moonstone",cs:"Moonstone v\u011b\u017e",pt:"torre Moonstone",ms:"menara Moonstone"};this.allPhrases.TXID_MACH_NAME_PLANKSSTORAGE={en:"Planks Storage",ru:"\u0421\u043a\u043b\u0430\u0434 \u0414\u043e\u0441\u043e\u043a",uk:"\u0441\u043a\u043b\u0430\u0434 \u0414\u043e\u0449\u043e\u043a",de:"Bretterlager",es:"almacenamiento de tablones",fr:"madriers de stockage",pl:"deski baga\u017cu",tr:"tahtalar Depolama",it:"Plance bagagli",cs:"prkna skladov\u00e1n\u00ed",pt:"Armazenamento pranchas",
ms:"papan Storage"};this.allPhrases.TXID_MACH_NAME_PROPAGANDA={en:"Neon lights ads",ru:"\u041d\u0435\u043e\u043d\u043e\u0432\u044b\u0435 \u043e\u0433\u043d\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u044b",uk:"\u041d\u0435\u043e\u043d\u043e\u0432\u0456 \u0432\u043e\u0433\u043d\u0456 \u0440\u0435\u043a\u043b\u0430\u043c\u0438",de:"Neonleuchten Anzeigen",es:"Luces de ne\u00f3n anuncios",fr:"Neon Lights annonces",pl:"Neony reklam",tr:"Neon reklamlar \u0131\u015f\u0131klar\u0131",it:"Neon Lights annunci",
cs:"Neonov\u00e1 sv\u011btla reklamy",pt:"Neon Lights an\u00fancios",ms:"Neon menyala iklan"};this.allPhrases.TXID_MACH_NAME_PUMP={en:"Water Pump",ru:"\u041d\u0430\u0441\u043e\u0441",uk:"\u043d\u0430\u0441\u043e\u0441",de:"Wasserpumpe",es:"Bomba de agua",fr:"Pompe \u00e0 eau",pl:"Pompa wodna",tr:"Su Pompas\u0131",it:"Pompa dell'acqua",cs:"Vodn\u00ed \u010derpadlo",pt:"Bomba de \u00e1gua",ms:"Pam air"};this.allPhrases.TXID_MACH_NAME_QUARRY={en:"Quarry",ru:"\u041a\u0430\u0440\u044c\u0435\u0440",uk:"\u043a\u0430\u0440'\u0454\u0440",
de:"Steinbruch",es:"Cantera",fr:"Carri\u00e8re",pl:"Kamienio\u0142om",tr:"ta\u015f oca\u011f\u0131",it:"Cava",cs:"Lom",pt:"Pedreira",ms:"Quarry"};this.allPhrases.TXID_MACH_NAME_QUARRYSTORAGE={en:"Stones Storage",ru:"\u0421\u043a\u043b\u0430\u0434 \u041a\u0430\u043c\u043d\u044f",uk:"\u0441\u043a\u043b\u0430\u0434 \u041a\u0430\u043c\u0435\u043d\u044f",de:"Steinlager",es:"almacenamiento de piedra",fr:"pierres de stockage",pl:"kamienie baga\u017cu",tr:"Ta\u015flar Depolama",it:"pietre bagagli",cs:"kameny Storage",
pt:"pedras de armazenamento",ms:"Stones Storage"};this.allPhrases.TXID_MACH_NAME_SAW={en:"Bricks Producer",ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",uk:"\u0412\u0438\u0440\u043e\u0431\u043d\u0438\u043a \u0446\u0435\u0433\u043b\u0438",de:"Ziegler",es:"productor de ladrillos",fr:"briques Producteur",pl:"Producent ceg\u0142y",tr:"Tu\u011fla \u00dcretici",it:"mattoni Produttore",cs:"cihly V\u00fdrobce",pt:"tijolos Produtor",
ms:"Bricks Pengeluar"};this.allPhrases.TXID_MACH_NAME_SLOT={en:"Purchase Slot",ru:"\u0421\u043b\u043e\u0442 \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438",uk:"\u0421\u043b\u043e\u0442 \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438",de:"Kaufplatz",es:"espacio de compra",fr:"Logement Achat",pl:"Zakup Slot",tr:"Sat\u0131n alma Yuvas\u0131",it:"Acquisto Slot",cs:"n\u00e1kup Slot",pt:"slot de compra",ms:"pembelian slot"};this.allPhrases.TXID_MACH_NAME_SMOKEMACHINE={en:"Smoke Machine",
ru:"\u0414\u044b\u043c\u043e\u0432\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430",uk:"\u0434\u0438\u043c\u043e\u0432\u0430 \u043c\u0430\u0448\u0438\u043d\u0430",de:"Nebelmaschine",es:"Maquina de humo",fr:"Machine \u00e0 fum\u00e9e",pl:"Maszyna do dymu",tr:"Duman makinesi",it:"Macchina del fumo",cs:"Kou\u0159ov\u00fd stroj",pt:"M\u00e1quina de fuma\u00e7a",ms:"Mesin asap"};this.allPhrases.TXID_MACH_NAME_SPUTNIK={en:"Satellite launcher",ru:"\u0421\u043f\u0443\u0442\u043d\u0438\u043a\u043e\u0432\u043e\u0435 \u043f\u0443\u0441\u043a\u043e\u0432\u0430\u044f",
uk:"\u0421\u0443\u043f\u0443\u0442\u043d\u0438\u043a\u043e\u0432\u0435 \u043f\u0443\u0441\u043a\u043e\u0432\u0430",de:"Satelliten-Tr\u00e4gerrakete",es:"lanzador de sat\u00e9lites",fr:"lanceur satellite",pl:"wyrzutnia satelitarna",tr:"Uydu ba\u015flat\u0131c\u0131s\u0131",it:"lanciatore satellitare",cs:"Satellite launcher",pt:"lan\u00e7ador de sat\u00e9lites",ms:"pelancar satelit"};this.allPhrases.TXID_MACH_NAME_STARS={en:"Star",ru:"\u0417\u0432\u0435\u0437\u0434\u044b",uk:"\u0437\u0456\u0440\u043a\u0438",
de:"Star",es:"Estrella",fr:"\u00c9toile",pl:"Gwiazda",tr:"Star",it:"Stella",cs:"Hv\u011bzda",pt:"Estrela",ms:"bintang"};this.allPhrases.TXID_MACH_NAME_TELESCOPE={en:"Telescope",ru:"\u0422\u0435\u043b\u0435\u0441\u043a\u043e\u043f",uk:"\u0442\u0435\u043b\u0435\u0441\u043a\u043e\u043f",de:"Teleskop",es:"Telescopio",fr:"T\u00e9lescope",pl:"Teleskop",tr:"Teleskop",it:"Telescopio",cs:"Dalekohled",pt:"Telesc\u00f3pio",ms:"teleskop"};this.allPhrases.TXID_MACH_NAME_TRANSPORTER={en:"Transporter",ru:"\u0422\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0449\u0438\u043a",
uk:"\u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u043b\u044c\u043d\u0438\u043a",de:"Transporter",es:"transportador",fr:"Transporteur",pl:"Transporter",tr:"Ta\u015f\u0131y\u0131c\u0131",it:"Trasportatore",cs:"P\u0159epravce",pt:"Transportador",ms:"Transporter"};this.allPhrases.TXID_MACH_NAME_UFOBASE={en:"UFO base",ru:"\u0431\u0430\u0437\u0430 \u041d\u041b\u041e",uk:"\u0431\u0430\u0437\u0430 \u041d\u041b\u041e",de:"UFO Basis",es:"base de UFO",fr:"base de UFO",pl:"baza UFO",
tr:"UFO \u00fcss\u00fc",it:"Base UFO",cs:"UFO base",pt:"base de UFO",ms:"pangkalan UFO"};this.allPhrases.TXID_MACH_NAME_UNDERGROUNDWATER={en:"Underground Water",ru:"\u041f\u043e\u0434\u0437\u0435\u043c\u043d\u044b\u0435 \u0432\u043e\u0434\u044b",uk:"\u041f\u0456\u0434\u0437\u0435\u043c\u043d\u0456 \u0432\u043e\u0434\u0438",de:"Grundwasser",es:"Agua subterr\u00e1nea",fr:"Eau souterraine",pl:"wody podziemne",tr:"Yeralt\u0131 Suyu",it:"Acqua sotterranea",cs:"Podzemn\u00ed voda",pt:"\u00c1gua subterr\u00e2nea",
ms:"Air bawah tanah"};this.allPhrases.TXID_MACH_NAME_WATEREXTRACTOR={en:"Water extractor",ru:"\u044d\u043a\u0441\u0442\u0440\u0430\u043a\u0442\u043e\u0440 \u0432\u043e\u0434\u044b",uk:"\u0435\u043a\u0441\u0442\u0440\u0430\u043a\u0442\u043e\u0440 \u0432\u043e\u0434\u0438",de:"Wasserextraktors",es:"extractor de agua",fr:"extracteur d'eau",pl:"wyci\u0105g wodny",tr:"Su \u00e7\u0131kar\u0131c\u0131",it:"estrattore d'acqua",cs:"vodn\u00ed extraktor",pt:"extractor de \u00e1gua",ms:"pemerah air"};this.allPhrases.TXID_MACH_NAME_WATERSTORAGE=
{en:"Water storage",ru:"\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0432\u043e\u0434\u044b",uk:"\u0441\u0445\u043e\u0432\u0438\u0449\u0435 \u0432\u043e\u0434\u0438",de:"Wasser Lager",es:"Almacenamiento de agua",fr:"R\u00e9serve d'eau",pl:"retencyjny",tr:"Su deposu",it:"Deposito d'acqua",cs:"akumulace vody",pt:"Armazenamento de \u00e1gua",ms:"simpanan air"};this.allPhrases.TXID_MACH_NAME_WATERWELL={en:"Water Well",ru:"\u041a\u043e\u043b\u043e\u0434\u0435\u0446",uk:"\u041a\u043e\u043b\u043e\u0434\u044f\u0437\u044c",
de:"Brunnen",es:"Pozo",fr:"Puits d'eau",pl:"Studnia",tr:"Su kuyusu",it:"Pozzo d'acqua",cs:"Studna",pt:"Po\u00e7o de \u00e1gua",ms:"Water Well"};this.allPhrases.TXID_MACH_NAME_WOODSTORAGE={en:"Wood Storage",ru:"\u0421\u043a\u043b\u0430\u0434 \u0414\u0440\u0435\u0432\u0435\u0441\u0438\u043d\u044b",uk:"\u0441\u043a\u043b\u0430\u0434 \u0414\u0435\u0440\u0435\u0432\u0438\u043d\u0438",de:"Holzlager",es:"Almacenamiento de madera",fr:"Bucher",pl:"drewno baga\u017cu",tr:"Ah\u015fap Depolama",it:"legnaia",
cs:"Wood Storage",pt:"Armazenamento de madeira",ms:"Wood Storage"};this.allPhrases.TXID_MACH_NAME_ZEPPELIN={en:"Zeppelin",ru:"\u0414\u0438\u0440\u0438\u0436\u0430\u0431\u043b\u044c",uk:"\u0434\u0438\u0440\u0438\u0436\u0430\u0431\u043b\u044c",de:"Zeppelin",es:"zepel\u00edn",fr:"Zeppelin",pl:"zepelin",tr:"zeplin",it:"Zeppelin",cs:"zepel\u00edn",pt:"zepelim",ms:"Zeppelin"};this.allPhrases.TXID_MSG_BRICKSBUYCONFIRMATION_BEG={en:"Do you really want to spend",ru:"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c",
uk:"\u0412\u0438 \u0434\u0456\u0439\u0441\u043d\u043e \u0431\u0430\u0436\u0430\u0454\u0442\u0435 \u0432\u0438\u0442\u0440\u0430\u0442\u0438\u0442\u0438",de:"M\u00f6chten Sie wirklich",es:"\u00bfDe verdad quiere gastar",fr:"Voulez-vous vraiment d\u00e9penser",pl:"Czy naprawd\u0119 chcesz wyda\u0107",tr:"Ger\u00e7ekten ge\u00e7irmek istiyorsun",it:"Vuoi davvero di spendere",cs:"Opravdu chcete str\u00e1vit",pt:"Voc\u00ea realmente quer gastar",ms:"Adakah anda benar-benar mahu untuk menghabiskan"};this.allPhrases.TXID_MSG_BRICKSBUYCONFIRMATION_END=
{de:"kaufen"};this.allPhrases.TXID_MSG_BRICKSBUYCONFIRMATION_MID={en:"Golden Bricks and buy",ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u0438 \u043a\u0443\u043f\u0438\u0442\u044c",uk:"\u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u0426\u0435\u0433\u043b\u0438\u043d \u0442\u0430 \u043a\u0443\u043f\u0438\u0442\u0438",de:"goldene Steine ausgeben und",es:"Ladrillos de oro y compra",fr:"Briques d'or et acheter",pl:"Z\u0142ote Ceg\u0142y i kupi\u0107",
tr:"Alt\u0131n Tu\u011fla ve sat\u0131n",it:"Mattoni d'oro e buy",cs:"Zlat\u00e9 cihly a koupit",pt:"Tijolos de ouro e comprar",ms:"Bata emas dan membeli"};this.allPhrases.TXID_MSG_BRICKSBUYCONFIRMATION_MIDALT={en:"science and buy",ru:"\u043d\u0430\u0443\u043a\u0438 \u0438 \u043a\u0443\u043f\u0438\u0442\u044c",uk:"\u043d\u0430\u0443\u043a\u0438 \u0442\u0430 \u043a\u0443\u043f\u0438\u0442\u0438",de:"Wissenschaft ausgeben und",es:"la ciencia y la compra",fr:"la science et acheter",pl:"Kup i nauka",
tr:"bilim ve sat\u0131n",it:"scienza e buy",cs:"v\u011bdu a koupit",pt:"ci\u00eancia e buy",ms:"sains dan membeli"};this.allPhrases.TXID_MSG_CAP_REWARD_READY={en:"Gift ready!",ru:"\u0413\u043e\u0442\u043e\u0432 \u043f\u043e\u0434\u0430\u0440\u043e\u043a",uk:"\u0413\u043e\u0442\u043e\u0432\u0438\u0439 \u043f\u043e\u0434\u0430\u0440\u0443\u043d\u043e\u043a",de:"Geschenk bereit!",es:"Regalo listo!",fr:"Cadeau pr\u00eat!",pl:"Prezent gotowy!",tr:"Hediye haz\u0131r!",it:"Regalo pronto!",cs:"Dar p\u0159ipraven!",
pt:"Dom pronto!",ms:"Hadiah bersedia!"};this.allPhrases.TXID_MSG_EMAILBODY={en:"(Please, write this email to general@cardswars.com)",ru:"(\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0435\u043c\u0435\u0439\u043b \u043d\u0430 general@cardswars.com)",uk:"(\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u0435\u043c\u0435\u0439\u043b \u043d\u0430 general@cardswars.com)",de:"(Bitte schreiben Sie diese E-Mail an general@cardswars.com)",
es:"(Por favor, escribir este correo electr\u00f3nico a general@cardswars.com)",fr:"(S'il vous pla\u00eet, \u00e9crivez ce courriel \u00e0 general@cardswars.com)",pl:"(Prosz\u0119 napisa\u0107 e-maila do general@cardswars.com)",tr:"(General@cardswars.com bu linkten ula\u015fabilirsiniz)",it:"(Si prega di scrivere questa email a general@cardswars.com)",cs:"(Pros\u00edm, napsat tento e-mail general@cardswars.com)",pt:"(Por favor, escreva este e-mail para general@cardswars.com)",ms:"(Sila, menulis e-mel ini kepada general@cardswars.com)"};
this.allPhrases.TXID_MSG_GAINMOREAFTERADS={en:"Would you like to gain more after watching ads (only gains, not spends, will be doubled)?",ru:"\u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f (\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u0431\u044b\u043b\u044c, \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b, \u0443\u0432\u0435\u043b\u0438\u0447\u0430\u0442\u0441\u044f \u0432 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430)?",
uk:"\u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f (\u0442\u0456\u043b\u044c\u043a\u0438 \u043f\u0440\u0438\u0431\u0443\u0442\u043e\u043a, \u043d\u0435 \u0432\u0438\u0442\u0440\u0430\u0442\u0438, \u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u044c\u0441\u044f \u0432\u0434\u0432\u0456\u0447\u0456)?",
de:"M\u00f6chten Sie mehr gewinnen, nachdem Anzeigen beobachten (nur Gewinne, aufwendet wird nicht verdoppelt werden)?",es:"\u00bfLe gustar\u00eda ganar m\u00e1s despu\u00e9s de ver anuncios (s\u00f3lo ganancias, no se gasta, se duplicar\u00e1)?",fr:"Voulez-vous gagner plus apr\u00e8s avoir vu des annonces (uniquement des gains, non d\u00e9pense, sera doubl\u00e9e)?",pl:"Chcia\u0142by\u015b uzyska\u0107 wi\u0119cej po obejrzeniu reklam (tylko zyski, nie sp\u0119dza, zostanie podwojona)?",tr:"Daha fazla reklam izledikten sonra (sadece kazan\u0131mlar, iki kat\u0131na edilecektir harcad\u0131\u011f\u0131 de\u011fil) kazanmak ister misiniz?",
it:"Volete guadagnare di pi\u00f9 dopo aver visto annunci (solo guadagni, non spende, sar\u00e0 raddoppiata)?",cs:"Cht\u011bli byste z\u00edskat v\u00edce po shl\u00e9dnut\u00ed reklamy (pouze zisky, ne tr\u00e1v\u00ed, se zdvojn\u00e1sob\u00ed)?",pt:"Voc\u00ea gostaria de ganhar mais depois de assistir a an\u00fancios (apenas ganhos, n\u00e3o gasta, ser\u00e1 duplicado)?",ms:"Adakah anda ingin untuk mendapatkan lebih banyak selepas menonton iklan (hanya keuntungan, tidak membelanjakan, akan dua kali ganda)?"};
this.allPhrases.TXID_MSG_GAINMORESKIPADS={en:"Would you like to gain more (without ads)?",ru:"\u0412\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 (\u0431\u0435\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u044b)?",uk:"\u0412\u0438 \u0445\u043e\u0442\u0456\u043b\u0438 \u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 (\u0431\u0435\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u0438)?",
de:"M\u00f6chten Sie mehr (ohne Werbung) gewinnen?",es:"\u00bfLe gustar\u00eda ganar m\u00e1s (sin anuncios)?",fr:"Voulez-vous gagner plus (sans publicit\u00e9)?",pl:"Chcia\u0142by\u015b uzyska\u0107 wi\u0119cej (bez reklam)?",tr:"E\u011fer kazanmak daha (reklamlar olmadan) ister misiniz?",it:"Volete guadagnare di pi\u00f9 (senza pubblicit\u00e0)?",cs:"Cht\u011bli byste v\u00edce (bez reklamy) z\u00edsk\u00e1vaj\u00ed?",pt:"Voc\u00ea gostaria de ganhar mais (sem an\u00fancios)?",ms:"Adakah anda ingin untuk mendapatkan lebih banyak (tanpa iklan)?"};
this.allPhrases.TXID_MSG_HOWTOIMPROVE={en:"Suggestions how to improve the game",ru:"\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438\u0433\u0440\u0443",uk:"\u041f\u0440\u043e\u043f\u043e\u0437\u0438\u0446\u0456\u0457 \u044f\u043a \u043f\u043e\u043a\u0440\u0430\u0449\u0438\u0442\u0438 \u0433\u0440\u0443",de:"Vorschl\u00e4ge, wie das Spiel zu verbessern",es:"Sugerencias de c\u00f3mo mejorar el juego",fr:"Suggestions comment am\u00e9liorer le jeu",
pl:"Sugestie, jak poprawi\u0107 gr\u0119",tr:"nas\u0131l oyun geli\u015ftirmek i\u00e7in \u00d6neriler",it:"Suggerimenti su come migliorare il gioco",cs:"N\u00e1vrhy, jak zlep\u0161it hru",pt:"Sugest\u00f5es sobre como melhorar o jogo",ms:"Cadangan bagaimana untuk meningkatkan permainan"};this.allPhrases.TXID_MSG_LEVEL_SPACE={en:"You have reached the Space!",ru:"\u0412\u044b \u0434\u043e\u0441\u0442\u0438\u0433\u043b\u0438 \u043a\u043e\u0441\u043c\u043e\u0441\u0430!",uk:"\u0412\u0438 \u0434\u043e\u0441\u044f\u0433\u043b\u0438 \u043a\u043e\u0441\u043c\u043e\u0441\u0443!",
de:"Sie haben den Kosmos erreicht!",es:"Ha llegado al espacio!",fr:"Vous avez atteint l'espace!",pl:"Osi\u0105gni\u0119to przestrzeni!",tr:"Sen Uzay ula\u015ft\u0131!",it:"Hai raggiunto lo Spazio!",cs:"Dos\u00e1hli jste Space!",pt:"Voc\u00ea alcan\u00e7ou o espa\u00e7o!",ms:"Anda telah mencapai Angkasa!"};this.allPhrases.TXID_MSG_LEVEL_SPACE_ACTION={en:"What machines would you like to see here? Tell us!",ru:"\u041a\u0430\u043a\u0438\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u0432\u0438\u0434\u0435\u0442\u044c \u0437\u0434\u0435\u0441\u044c? \u0421\u043a\u0430\u0436\u0438\u0442\u0435 \u043d\u0430\u043c!",
uk:"\u042f\u043a\u0456 \u043c\u0430\u0448\u0438\u043d\u0438 \u0432\u0438 \u0445\u043e\u0442\u0456\u043b\u0438 \u0431 \u0431\u0430\u0447\u0438\u0442\u0438 \u0442\u0443\u0442? \u0421\u043a\u0430\u0436\u0456\u0442\u044c \u043d\u0430\u043c!",de:"Welche Maschinen w\u00fcrden Sie gerne hier sehen? Erz\u00e4hl uns!",es:"que m\u00e1quinas le gustar\u00eda ver aqu\u00ed? \u00a1Dinos!",fr:"Quelles machines voulez-vous voir ici? Dites-nous!",pl:"Co maszyny chcia\u0142by\u015b zobaczy\u0107 tutaj? Powiedz nam!",
tr:"Ne makineleri burada g\u00f6rmek istersiniz? Bize s\u00f6yle!",it:"Cosa macchine vorresti vedere qui? Dicci!",cs:"Jak\u00fd stroje byste si p\u0159\u00e1l, aby tady? \u0158ekni n\u00e1m!",pt:"Que m\u00e1quinas que gostaria de ver aqui? Nos digam!",ms:"Apa mesin akan anda suka untuk melihat di sini? Beritahu kami!"};this.allPhrases.TXID_MSG_NOTENOUGHBRICKS={en:"Not enough Golden Bricks",ru:"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",
uk:"\u041d\u0435 \u0432\u0438\u0441\u0442\u0430\u0447\u0430\u0454 \u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u0426\u0435\u0433\u043b\u0438\u043d",de:"Nicht genug goldene Steine",es:"No hay suficientes ladrillos de oro",fr:"Pas assez de briques d'or",pl:"Nie ma wystarczaj\u0105cej liczby Z\u0142ote Ceg\u0142y",tr:"Yeterli Alt\u0131n Tu\u011fla",it:"Non sufficiente mattoni d'oro",cs:"Nedostatek Zlat\u00e9 cihly",pt:"N\u00e3o o suficiente tijolos dourados",ms:"Tidak cukup Bricks Golden"};this.allPhrases.TXID_MSG_NOTENOUGHSCIENCE=
{en:"Not enough Science",ru:"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0430\u0443\u043a\u0438",uk:"\u041d\u0435 \u0432\u0438\u0441\u0442\u0430\u0447\u0430\u0454 \u043d\u0430\u0443\u043a\u0438",de:"Nicht genug Wissenschaft",es:"No hay suficiente Ciencia",fr:"Pas assez scientifique",pl:"Nauka nie wystarczy",tr:"Yeterli Bilim",it:"Non abbastanza Scienza",cs:"Nesta\u010d\u00ed Science",pt:"N\u00e3o o suficiente Ci\u00eancia",ms:"Tidak cukup Sains"};this.allPhrases.TXID_MSG_RESOURCESGAINED=
{en:"You gained these resources",ru:"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u044d\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b",uk:"\u0412\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043b\u0438 \u0446\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438",de:"Sie gewannen diese Ressourcen",es:"Que gan\u00f3 estos recursos",fr:"Vous avez acquis ces ressources",pl:"Ty zyska\u0142 tych zasob\u00f3w",tr:"Sen bu kaynaklar\u0131 elde",it:"Avete guadagnato queste risorse",cs:"z\u00edskali jste tyto prost\u0159edky",
pt:"Voc\u00ea ganhou esses recursos",ms:"Anda mendapat sumber-sumber"};this.allPhrases.TXID_MSG_REWARD_READY={en:"You have received an unexpected gift! Check, what it is",ru:"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0430\u0440\u043e\u043a! \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043a\u0430\u043a\u043e\u0432 \u043e\u043d",uk:"\u0412\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043b\u0438 \u043d\u0435\u0441\u043f\u043e\u0434\u0456\u0432\u0430\u043d\u0438\u0439 \u043f\u043e\u0434\u0430\u0440\u0443\u043d\u043e\u043a! \u041f\u043e\u0434\u0438\u0432\u0456\u0442\u044c\u0441\u044f, \u044f\u043a\u0438\u0439 \u0432\u0456\u043d",
de:"Sie haben ein unerwartetes Geschenk erhalten! \u00dcberpr\u00fcfen Sie, was es ist,",es:"Ha recibido un regalo inesperado! Cheque, lo que es",fr:"Vous avez re\u00e7u un cadeau inattendu! V\u00e9rifiez, ce qu'il est",pl:"Wys\u0142ali\u015bmy nieoczekiwany prezent! Sprawdzi\u0107, co to jest",tr:"Beklenmedik bir hediye ald\u0131n\u0131z! Ne oldu\u011funu, Kontrol",it:"Hai ricevuto un regalo inaspettato! Controllare, di cosa si tratta",cs:"Obdr\u017eeli jste neo\u010dek\u00e1van\u00fd d\u00e1rek! Zkontrolovat, co to je",
pt:"Voc\u00ea recebeu um presente inesperado! Verifique, o que \u00e9",ms:"Anda telah menerima hadiah yang tidak dijangka! Memeriksa, apa yang ada"};this.allPhrases.TXID_MSG_REWRECEIVED={en:"Reward received",ru:"\u041d\u0430\u0433\u0440\u0430\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0430",uk:"\u041d\u0430\u0433\u043e\u0440\u043e\u0434\u0443 \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043e",de:"Belohnung erhalten",es:"recompensa recibida",fr:"r\u00e9compense re\u00e7ue",pl:"nagroda otrzymana",
tr:"\u00d6d\u00fcl alm\u0131\u015f",it:"ricompensa ricevuto",cs:"odm\u011bna obdr\u017eel",pt:"recompensa recebida",ms:"ganjaran yang diterima"};this.allPhrases.TXID_MSG_SELL={en:"Sell",ru:"\u041f\u0440\u043e\u0434\u0430\u0442\u044c",uk:"\u043f\u0440\u043e\u0434\u0430\u0442\u0438",de:"Verkaufen",es:"Vender",fr:"Vendre",pl:"Sprzeda\u0107",tr:"Satmak",it:"Vendere",cs:"Prodat",pt:"Vender",ms:"Jual"};this.allPhrases.TXID_MSG_SELLREING_BEG={en:"Sell",ru:"\u041f\u0440\u043e\u0434\u0430\u0442\u044c",uk:"\u043f\u0440\u043e\u0434\u0430\u0442\u0438",
de:"F\u00fcr",es:"Vender",fr:"Vendre",pl:"Sprzeda\u0107",tr:"Satmak",it:"Vendere",cs:"Prodat",pt:"Vender",ms:"Jual"};this.allPhrases.TXID_MSG_SELLREING_END={en:"coins",ru:"\u043c\u043e\u043d\u0435\u0442",uk:"\u043c\u043e\u043d\u0435\u0442",de:"M\u00fcnzen verkaufen",es:"monedas",fr:"pi\u00e8ces de monnaie",pl:"monety",tr:"madeni para",it:"monete",cs:"mince",pt:"moedas",ms:"syiling"};this.allPhrases.TXID_MSG_SELLREING_MID={en:"for",ru:"\u0437\u0430",uk:"\u0437\u0430",de:"f\u00fcr",es:"por",fr:"pour",
pl:"dla",tr:"i\u00e7in",it:"per",cs:"pro",pt:"para",ms:"untuk"};this.allPhrases.TXID_MSG_SKIPSREMAINING={en:"ads skips remaining",ru:"\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u0432 \u0440\u0435\u043a\u043b\u0430\u043c",uk:"\u0417\u0430\u043b\u0438\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0456\u0432 \u0440\u0435\u043a\u043b\u0430\u043c",de:"Anzeigen \u00fcberspringen Rest",es:"anuncios de saltos restantes",
fr:"annonces skips restantes",pl:"Pozosta\u0142e og\u0142oszenia przeskakuje",tr:"Geriye kalan reklamlar atlama",it:"annunci salta rimanenti",cs:"reklamy p\u0159esko\u010d\u00ed zb\u00fdvaj\u00edc\u00ed",pt:"An\u00fancios salta restantes",ms:"iklan langkauan selebihnya"};this.allPhrases.TXID_MSG_VIC={en:"I have completed the Babel Tower!",ru:"\u042f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u0443\u044e \u0431\u0430\u0448\u043d\u044e!",
uk:"\u042f \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u0432 \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u044c\u043a\u0443 \u0432\u0435\u0436\u0443!",de:"Ich habe den Turm zu Babel abgeschlossen!",es:"He completado la Torre de Babel!",fr:"J'ai termin\u00e9 la Tour de Babel!",pl:"Mam uko\u0144czone Wie\u017cy Babel!",tr:"Ben Babil Kulesi tamamlam\u0131\u015f!",it:"Ho completato la Torre di Babele!",cs:"Jsem dokon\u010dil Babel Tower!",pt:"Eu terminei a Torre de Babel!",ms:"Saya telah melengkapkan Menara Babel!"};
this.allPhrases.TXID_MSGANS_CONTACT={en:"CONTACT",ru:"\u041d\u0410\u041f\u0418\u0421\u0410\u0422\u042c",uk:"\u041d\u0410\u041f\u0418\u0421\u0410\u0422\u0418",de:"KONTAKT",es:"CONTACTO",fr:"CONTACT",pl:"KONTAKT",tr:"\u0130LET\u0130\u015e\u0130M",it:"CONTATTO",cs:"KONTAKT",pt:"CONTATO",ms:"HUBUNGI"};this.allPhrases.TXID_MSGANS_GETMORE={en:"GET MORE!",ru:"\u041f\u041e\u041b\u0423\u0427\u0418\u0422\u042c \u0411\u041e\u041b\u042c\u0428\u0415!",uk:"\u041e\u0422\u0420\u0418\u041c\u0410\u0422\u0418 \u0411\u0406\u041b\u042c\u0428!",
de:"MEHR BEKOMMEN!",es:"\u00a1OBTENER M\u00c1S!",fr:"AVOIR PLUS!",pl:"DOSTA\u0106 WI\u0118CEJ!",tr:"DAHA FAZLA AL!",it:"PRENDI DI PI\u00d9!",cs:"Z\u00cdSKAT V\u00cdCE!",pt:"PEGUE MAIS!",ms:"MENDAPATKAN LEBIH BANYAK!"};this.allPhrases.TXID_MSGANS_LATER={en:"Later",ru:"\u041f\u043e\u0437\u0436\u0435",uk:"\u043f\u0456\u0437\u043d\u0456\u0448\u0435",de:"Sp\u00e4ter",es:"Luego",fr:"Plus tard",pl:"P\u00f3\u017aniej",tr:"Sonra",it:"Dopo",cs:"Pozd\u011bji",pt:"Mais tarde",ms:"kemudian"};this.allPhrases.TXID_MSGANS_NO=
{en:"NO",ru:"\u041d\u0415\u0422",uk:"\u041d\u0406",de:"NEIN",es:"NO",fr:"NON",pl:"NIE",tr:"HAYIR",it:"NO",cs:"NE",pt:"N\u00c3O",ms:"NO"};this.allPhrases.TXID_MSGANS_OK={en:"OK",ru:"\u041e\u041a",uk:"\u041e\u041a",de:"OK",es:"OK",fr:"OK",pl:"ok",tr:"tamam",it:"ok",cs:"OK",pt:"Est\u00e1 bem",ms:"okey"};this.allPhrases.TXID_MSGANS_SEND={en:"Send",ru:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",uk:"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438",de:"Senden",es:"Enviar",fr:"Envoyer",
pl:"Wys\u0142a\u0107",tr:"G\u00f6nder",it:"Spedire",cs:"Poslat",pt:"Mandar",ms:"Hantar"};this.allPhrases.TXID_MSGANS_SUBMIT={en:"SUBMIT",ru:"\u041e\u0422\u041f\u0420\u0410\u0412\u0418\u0422\u042c",uk:"\u041d\u0410\u0414\u0406\u0421\u041b\u0410\u0422\u0418",de:"EINREICHEN",es:"ENVIAR",fr:"SOUMETTRE",pl:"ZATWIERD\u0179",tr:"SUNMAK",it:"INVIA",cs:"P\u0158EDLO\u017dIT",pt:"ENVIAR",ms:"SUBMIT"};this.allPhrases.TXID_MSGANS_WRITE={en:"Write",ru:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c",uk:"\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u0438",
de:"Schreiben",es:"Escribir",fr:"\u00c9crire",pl:"pisa\u0107",tr:"Yazmak",it:"Scrivi",cs:"Ps\u00e1t si",pt:"Escreva",ms:"Tulis"};this.allPhrases.TXID_MSGANS_YES={en:"YES",ru:"\u0414\u0410",uk:"\u0422\u0410\u041a",de:"JA",es:"SI",fr:"OUI",pl:"TAK",tr:"EVET",it:"S\u00cc",cs:"ANO",pt:"SIM",ms:"YES"};this.allPhrases.TXID_MSGCAP_BOOSTNAME_CLICK={en:"Click power",ru:"\u0421\u0438\u043b\u0430 \u043a\u043b\u0438\u043a\u0430",uk:"\u0441\u0438\u043b\u0430 \u043a\u043b\u0456\u043a\u0430",de:"Klickst\u00e4rke",
es:"Poder de click",fr:"Cliquez puissance",pl:"Kliknij moc",tr:"g\u00fc\u00e7 t\u0131klay\u0131n",it:"Clicca potere",cs:"klepn\u011bte na tla\u010d\u00edtko nap\u00e1jen\u00ed",pt:"Clique poder",ms:"klik kuasa"};this.allPhrases.TXID_MSGCAP_BOOSTNAME_PRICE={en:"Market prices",ru:"\u0426\u0435\u043d\u044b \u043d\u0430 \u0440\u044b\u043d\u043a\u0435",uk:"\u0426\u0456\u043d\u0438 \u043d\u0430 \u0440\u0438\u043d\u043a\u0443",de:"Marktpreise",es:"Precios de mercado",fr:"Les prix du march\u00e9",pl:"ceny rynkowe",
tr:"Market fiyatlar\u0131",it:"I prezzi di mercato",cs:"tr\u017en\u00ed ceny",pt:"Os pre\u00e7os de mercado",ms:"harga pasaran"};this.allPhrases.TXID_MSGCAP_BOOSTNAME_PROD={en:"Production",ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e",uk:"\u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u043e",de:"Produktion",es:"Producci\u00f3n",fr:"Production",pl:"Produkcja",tr:"\u00dcretim",it:"Produzione",cs:"V\u00fdroba",pt:"Produ\u00e7\u00e3o",ms:"pengeluaran"};this.allPhrases.TXID_MSGCAP_BUILDINHEIGHT_END=
{en:"tower",ru:"\u0443\u0440\u043e\u0432\u043d\u044f",uk:"\u0440\u0456\u0432\u043d\u044f",de:"des Turm gebaut",es:"torre",fr:"la tour",pl:"wie\u017ca",tr:"kule",it:"Torre",cs:"v\u011b\u017e",pt:"torre",ms:"menara"};this.allPhrases.TXID_MSGCAP_BUILDINHEIGHT_START={en:"You have built level",ru:"\u0412\u044b \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0431\u0430\u0448\u043d\u044e",uk:"\u0412\u0438 \u043f\u043e\u0431\u0443\u0434\u0443\u0432\u0430\u043b\u0438 \u0432\u0435\u0436\u0443",de:"Du hast Ebene",
es:"has construido una torre de nivel",fr:"Vous avez construit niveau",pl:"Zbudowali\u015bcie poziom",tr:"Sen seviyesini yerle\u015fik",it:"Avete costruito livello",cs:"Jste si vybudovali \u00farovn\u011b",pt:"Voc\u00ea construiu n\u00edvel",ms:"Anda telah membina tahap"};this.allPhrases.TXID_MSGCAP_CREDITSAUTHORS={en:"Game by Airapport team Alexey Izvalov & Nadiia Serbina \u00a9 2020 All rights reserved",ru:"\u0418\u0433\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Airapport \u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u0418\u0437\u0432\u0430\u043b\u043e\u0432 \u0438 \u041d\u0430\u0434\u0435\u0436\u0434\u0430 \u0421\u0435\u0440\u0431\u0438\u043d\u0430  \u00a9 2020 \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b",
uk:"\u0413\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Airapport \u041e\u043b\u0435\u043a\u0441\u0456\u0439 \u0406\u0437\u0432\u0430\u043b\u043e\u0432 \u0456 \u041d\u0430\u0434\u0456\u044f \u0421\u0435\u0440\u0431\u0456\u043d\u0430 \u00a9 2020 \u0412\u0441\u0456 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0445\u0438\u0449\u0435\u043d\u0456",de:"Ein Spiel von Airapport Team Alexey Izvalov & Nadiia Serbina \u00a9 2020 Alle Rechte vorbehalten",es:"Juego por el equipo Airapport Alexey Izvalov y Nadiia Serbina \u00a9 2020 Todos los derechos reservados",
fr:"Jeu par \u00e9quipe Airapport Alexey Izvalov & Nadiia Serbina \u00a9 2020 Tous droits r\u00e9serv\u00e9s",pl:"Gra przez zesp\u00f3\u0142 Airapport Alexey Izvalov & Nadiia Serbina \u00a9 2020 Wszelkie prawa zastrze\u017cone",tr:"2020 \u00a9 Airapport tak\u0131m\u0131 Alexey Izvalov & NADIIA Serbina taraf\u0131ndan Oyun T\u00fcm haklar\u0131 sakl\u0131d\u0131r",it:"Gioco dal team Airapport Alexey Izvalov & Nadiia Serbina \u00a9 2020 Tutti i diritti riservati",cs:"Hra by Airapport t\u00fdm Alexey Izvalov & Nadiia Serbina \u00a9 2020 V\u0161echna pr\u00e1va vyhrazena",
pt:"Jogo pela equipa Airapport Alexey Izvalov & Nadiia Serbina \u00a9 2020 Todos os direitos reservados",ms:"Permainan oleh pasukan Airapport Alexey Izvalov & Nadiia Serbina \u00a9 2020 Hak Cipta Terpelihara"};this.allPhrases.TXID_MSGCAP_CREDITSMORE={en:"Sound by Freesound.org users qubodup, samplediaries, deleted-user-7146007, pcwvdmark, lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",ru:"\u0417\u0432\u0443\u043a \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 freesound.org: qubodup, samplediaries, deleted-user-7146007, pcwvdmark, lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",
uk:"\u0417\u0432\u0443\u043a \u0432\u0456\u0434 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 freesound.org: qubodup, samplediaries, deleted-user-7146007, pcwvdmark, lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",de:"Sound von Freesound.org Benutzern qubodup, samplediaries, gel\u00f6scht-user-7146007, pcwvdmark, Lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, zu",es:"Sonido por los usuarios freesound.org qubodup, samplediaries, suprimido-user-7146007, pcwvdmark, Lucae, cj-Ascoli, inspectorj, robinhood76, spacejoe, hazure",
fr:"Son par les utilisateurs Freesound.org qubodup, samplediaries, supprim\u00e9 par l'utilisateur-7146007, pcwvdmark, Lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",pl:"D\u017awi\u0119k przez Freesound.org u\u017cytkownik\u00f3w qubodup, samplediaries, usuni\u0119te-user-7146007, pcwvdmark, lucae, CJ-Ascoli, inspectorj, robinhood76, spacejoe, hazure",tr:"Freesound.org kullan\u0131c\u0131lar\u0131 qubodup, samplediaries taraf\u0131ndan Ses silinen kullan\u0131c\u0131-7146007, pcwvdmark, Lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",
it:"Sound di Freesound.org utenti qubodup, samplediaries, cancellato-user-7.146.007, pcwvdmark, Lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure",cs:"Zvuk by Freesound.org u\u017eivatel\u00e9 qubodup, samplediaries, deleted-user-7146007, pcwvdmark, Lucae, cj-Ascoli, inspectorj, robinhood76, spacejoe, hazure",pt:"Som pelos usu\u00e1rios Freesound.org qubodup, samplediaries, deleted-user-7146007, pcwvdmark, Lucae, cj-Ascoli, inspectorj, robinhood76, spacejoe, hazure",ms:"Sound oleh pengguna-pengguna Freesound.org Qubodup, samplediaries, deleted-user-7146007, pcwvdmark, lucae, cj-ascoli, inspectorj, robinhood76, spacejoe, hazure"};
this.allPhrases.TXID_MSGCAP_CREDITSTHANKS={en:"Many thanks to Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva and Dmitry Novikov for testing and ideas! Many thanks to ArmorGames, r/incremental_games, r/WebGames communities for valuable suggestions!",ru:"\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0410\u043d\u0434\u0440\u0435\u044e \u0427\u0443\u043f\u0440\u0438\u043d\u0430 \u0412\u043b\u0430\u0434 \u041a\u043e\u0432\u0430\u043b\u0435\u043d\u043a\u043e, Dmitrijus Babicius, \u0414\u0438\u043c\u0430 Kucherenko, \u042f\u0440\u043e\u0441\u043b\u0430\u0432 \u0420\u044b\u0431\u0430\u0447\u0435\u043d\u043a\u043e, \u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041d\u043e\u0432\u0438\u043a\u043e\u0432, \u0423\u043b\u044c\u044f\u043d\u044b \u0410\u043d\u0434\u0440\u0435\u0435\u0432\u043e\u0439 \u0438 \u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041d\u043e\u0432\u0438\u043a\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0434\u0435\u0438! \u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e ArmorGames, \u0433 / incremental_games, \u0433 / Webgames \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0437\u0430 \u0446\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f!",
uk:"\u0412\u0435\u043b\u0438\u043a\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u0456 \u0410\u043d\u0434\u0440\u0456\u044e \u0427\u0443\u043f\u0440\u0438\u043d\u0430 \u0412\u043b\u0430\u0434 \u041a\u043e\u0432\u0430\u043b\u0435\u043d\u043a\u043e, Dmitrijus Babicius, \u0414\u0456\u043c\u0430 Kucherenko, \u042f\u0440\u043e\u0441\u043b\u0430\u0432 \u0420\u0438\u0431\u0430\u0447\u0435\u043d\u043a\u043e, \u0414\u043c\u0438\u0442\u0440\u043e \u041d\u043e\u0432\u0456\u043a\u043e\u0432, \u0423\u043b\u044f\u043d\u0438 \u0410\u043d\u0434\u0440\u0454\u0454\u0432\u043e\u0457 \u0456 \u0414\u043c\u0438\u0442\u0440\u043e \u041d\u043e\u0432\u0456\u043a\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0456 \u0456\u0434\u0435\u0457! \u0412\u0435\u043b\u0438\u043a\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u0456 ArmorGames, \u0433 / incremental_games, \u0433 / Webgames \u0441\u043f\u0456\u043b\u044c\u043d\u043e\u0442\u0438 \u0437\u0430 \u0446\u0456\u043d\u043d\u0456 \u043f\u0440\u043e\u043f\u043e\u0437\u0438\u0446\u0456\u0457!",
de:"Vielen Dank an Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Uljana Andreyeva und Dmitry Novikov zum Testen und Ideen! Vielen Dank an Armorgames, r / incremental_games, r / Webgames Gemeinden f\u00fcr wertvolle Anregungen!",es:"Muchas gracias a Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva y Dmitry Novikov para probar e ideas! Muchas gracias a ArmorGames, r / r /, incremental_games comunidades Webgames por sus valiosas sugerencias!",
fr:"Un grand merci \u00e0 Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Iaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva et Dmitry Novikov pour tester et id\u00e9es! Un grand merci aux communaut\u00e9s de Armorgames, r / incremental_games, r / suggestions pr\u00e9cieuses pour jeux sur le web!",pl:"Vielen Dank an Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Uljana Andreyeva und Dmitry Novikov zum Testen und Ideen! Vielen Dank an Armorgames, r / incremental_games, r / Webgames Gemeinden f\u00fcr wertvolle Anregungen!",
tr:"test ve fikirler Andrew Chupryna Vlad Kovalenko, Dmitrijus Babicius Dima Kucherenko, Yaroslav Rybachenko Dmitry Novikov, Ulyana Andreyeva ve Dmitry Novikov \u00e7ok te\u015fekk\u00fcr ederiz! de\u011ferli \u00f6nerileri i\u00e7in ArmorGames, r / incremental_games, r / WebGames topluluklara \u00e7ok te\u015fekk\u00fcr ederiz!",it:"Molte grazie a Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva e Dmitry Novikov per il collaudo e le idee! Molte grazie a armorgames, r / r / incremental_games, webgames comunit\u00e0 per preziosi suggerimenti!",
cs:"Mnohokr\u00e1t d\u011bkuji Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko Dmitrij Novikov, U\u013ejana Andreyeva a Dmitrij Novikov pro testov\u00e1n\u00ed a n\u00e1pady! Mnoh\u00e9 d\u00edky ArmorGames, r / incremental_games, R / WebGames komunit pro cenn\u00e9 podn\u011bty!",pt:"Muito obrigado a Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva e Dmitry Novikov para testes e id\u00e9ias! Muito obrigado a ArmorGames, r / incremental_games, r / comunidades webgames para sugest\u00f5es valiosas!",
ms:"Terima kasih kepada Andrew Chupryna, Vlad Kovalenko, Dmitrijus Babicius, Dima Kucherenko, Yaroslav Rybachenko, Dmitry Novikov, Ulyana Andreyeva dan Dmitry Novikov untuk menguji dan idea! Terima kasih kepada ArmorGames, r / incremental_games, r / WebGames masyarakat untuk cadangan yang berharga!"};this.allPhrases.TXID_MSGCAP_CREDITSTHANKS_MORE={en:"Many thanks to MoonlightShadowz from ArmorGames, Blokus52 from ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 for the translations.",
ru:"\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e MoonlightShadowz \u043e\u0442 ArmorGames, Blokus52 \u0438\u0437 ArmorGames, \u0410\u043d\u0434\u0440\u0435 \u041a\u0430\u043b\u0434\u0435\u0439\u0440\u044b, \u041b\u0443\u043a\u0430\u0448 \u0413\u0430\u0437\u0434\u0430, Fortnesslily0707 \u0437\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b.",uk:"\u0412\u0435\u043b\u0438\u043a\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u0456 MoonlightShadowz \u0432\u0456\u0434 ArmorGames, Blokus52 \u0437 ArmorGames, \u0410\u043d\u0434\u0440\u0435 \u041a\u0430\u043b\u0434\u0435\u0439\u0440\u0430, \u041b\u0443\u043a\u0430\u0448 \u0413\u0430\u0437\u0434\u0430, Fortnesslily0707 \u0437\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u0438.",
de:"Vielen Dank an MoonlightShadowz von Armorgames, Blokus52 von Armorgames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 f\u00fcr die \u00dcbersetzungen.",es:"Muchas gracias a MoonlightShadowz de ArmorGames, Blokus52 de ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 para las traducciones.",fr:"Un grand merci \u00e0 MoonlightShadowz de ArmorGames, Blokus52 de ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 pour les traductions.",pl:"Wiele dzi\u0119ki MoonlightShadowz od Armor Games, Blokus52 od Armor Games Andre Caldeira, \u0141ukasz Gazda, Fortnesslily0707 dla t\u0142umacze\u0144.",
tr:"ArmorGames gelen MoonlightShadowz i\u00e7in \u00e7ok te\u015fekk\u00fcrler, Blokus52 \u00e7evirileri ArmorGames Andr\u00e9 Caldeira \u0141ukasz Gazda, Fortnesslily0707 dan.",it:"Molte grazie a MoonlightShadowz da armorgames, Blokus52 da armorgames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 per le traduzioni.",cs:"Mnoh\u00e9 d\u00edky MoonlightShadowz z ArmorGames, Blokus52 od ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 pro p\u0159eklady.",pt:"Muito obrigado a MoonlightShadowz de ArmorGames, Blokus52 de ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 para as tradu\u00e7\u00f5es.",
ms:"Terima kasih kepada MoonlightShadowz dari ArmorGames, Blokus52 dari ArmorGames, Andr\u00e9 Caldeira, \u0141ukasz Gazda, Fortnesslily0707 untuk terjemahan."};this.allPhrases.TXID_MSGCAP_ERRORLOADING={en:"Error while loading file",ru:"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0444\u0430\u0439\u043b\u0430",uk:"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u0456 \u0444\u0430\u0439\u043b\u0443",
de:"Fehler beim Laden der Datei",es:"Error al cargar archivo",fr:"Erreur lors du chargement du fichier",pl:"B\u0142\u0105d podczas \u0142adowania plik\u00f3w",tr:"Y\u00fcklenirken hata dosyas\u0131",it:"Errore durante il caricamento del file",cs:"Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed souboru",pt:"Erro ao carregar arquivo",ms:"Ralat semasa memuatkan fail"};this.allPhrases.TXID_MSGCAP_FUTUREGB_END={en:"Golden Bricks",ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",
uk:"\u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u0426\u0435\u0433\u043b\u0438\u043d",de:"goldene Ziegel",es:"Ladrillos de oro",fr:"Briques d'or",pl:"Z\u0142ote Ceg\u0142y",tr:"Alt\u0131n Tu\u011fla",it:"mattoni d'oro",cs:"zlat\u00e9 cihly",pt:"Tijolos dourados",ms:"Bricks Golden"};this.allPhrases.TXID_MSGCAP_FUTUREGB_START={en:"If you restart now you'll get",ru:"\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435",
uk:"\u042f\u043a\u0449\u043e \u0432\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u043e \u0437\u0430\u0440\u0430\u0437, \u0432\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0454\u0442\u0435",de:"Wenn du jetzt neu startest bekommst du",es:"Si reinicia ahora conseguir\u00e1",fr:"Si vous red\u00e9marrez maintenant, vous obtiendrez",pl:"Je\u015bli restart teraz dostaniesz",tr:"\u015eimdi yeniden ba\u015flat\u0131rsan\u0131z elde edersiniz",
it:"Se si riavvia ora si otterr\u00e0",cs:"Pokud si nyn\u00ed restartovat dostanete",pt:"Se voc\u00ea reiniciar agora voc\u00ea vai ter",ms:"Jika anda memulakan semula sekarang anda akan mendapat"};this.allPhrases.TXID_MSGCAP_MENU={en:"MENU",ru:"\u041c\u0415\u041d\u042e",uk:"\u041c\u0415\u041d\u042e",de:"MEN\u00dc",es:"MEN\u00da",fr:"MENU",pl:"MENU",tr:"MEN\u00dc",it:"MEN\u00d9",cs:"J\u00cdDELN\u00cd L\u00cdSTEK",pt:"CARD\u00c1PIO",ms:"MENU"};this.allPhrases.TXID_MSGCAP_NEXTRUNBOOSTS={en:"On the next run you'll have such boosts",
ru:"\u041f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043a\u0438\u0435 \u0431\u043e\u043d\u0443\u0441\u044b",uk:"\u041f\u0440\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u043c\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442\u044c \u0442\u0430\u043a\u0456 \u0431\u043e\u043d\u0443\u0441\u0438",de:"Bei der n\u00e4chsten Runde hast du folgende Vorteile",
es:"En la pr\u00f3xima construccion tendr\u00e1 tales aumentos",fr:"Sur le prochain terme, vous aurez ces boosts",pl:"Na nast\u0119pnej perspektywie b\u0119dziesz mie\u0107 takie zwi\u0119ksza",tr:"Bir sonraki sald\u0131r\u0131 sitesinde b\u00f6yle art\u0131r\u0131r gerekecek",it:"Sulla prossima corsa avrete tali spinte",cs:"Na dal\u0161\u00edm b\u011bhu budete m\u00edt takov\u00e9 posiluje",pt:"Na pr\u00f3xima corrida voc\u00ea vai ter esses impulsos",ms:"Pada jangka masa akan datang anda akan mempunyai meningkatkan seperti"};
this.allPhrases.TXID_MSGCAP_NOTHING2SELL={en:"Nothing to sell",ru:"\u041d\u0435\u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0434\u0430\u0442\u044c",uk:"\u043d\u0456\u0447\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0430\u0442\u0438",de:"Nichts zu verkaufen",es:"Nada que vender",fr:"Rien \u00e0 vendre",pl:"Nic sprzeda\u0107",tr:"sat\u0131\u015f i\u00e7in hi\u00e7bir \u015fey",it:"Niente da vendere",cs:"Nic k prodeji",pt:"Nada para vender",ms:"Apa-apa untuk menjual"};this.allPhrases.TXID_MSGCAP_RESTART_BOOST_CAP=
{en:"You have the following boosts now:",ru:"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0431\u043e\u043d\u0443\u0441\u044b:",uk:"\u0423 \u0432\u0430\u0441 \u0454 \u0442\u0430\u043a\u0456 \u0431\u043e\u043d\u0443\u0441\u0438:",de:"Du hast jetzt folgende Vorteile:",es:"ahora tienes los siguientes aumentos:",fr:"Vous avez les boosts suivantes maintenant:",pl:"Dost\u0119pne s\u0105 nast\u0119puj\u0105ce zwi\u0119ksza teraz:",tr:"Art\u0131k a\u015fa\u011f\u0131daki art\u0131r\u0131r vard\u0131r:",
it:"Sono disponibili le seguenti aumenta ora:",cs:"M\u00e1te n\u00e1sleduj\u00edc\u00ed zvy\u0161uje te\u010f:",pt:"Voc\u00ea tem as seguintes aumenta agora:",ms:"Anda mempunyai meningkatkan berikut kini berada:"};this.allPhrases.TXID_MSGCAP_RESTART_INFORMATION={en:"Congratulations, you have restarted!",ru:"\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c, \u0432\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e!",
uk:"\u0412\u0456\u0442\u0430\u0454\u043c\u043e, \u0432\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u043e!",de:"Gratulation, du hast neu gestartet!",es:"Enhorabuena, has reiniciado!",fr:"F\u00e9licitations, vous avez red\u00e9marr\u00e9!",pl:"Gratulacje, wznowiona!",tr:"Tebrikler, yeniden ba\u015flatt\u0131ktan!",it:"Congratulazioni, hai riavviato!",cs:"Gratulujeme, jste restartov\u00e1n!",pt:"Parab\u00e9ns, voc\u00ea ter reiniciado!",
ms:"Tahniah, anda telah memulakan semula!"};this.allPhrases.TXID_MSGCAP_RESTART_QUESTION={en:"Do you really want to restart the building?",ru:"\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0439\u043a\u0443?",uk:"\u0412\u0438 \u0434\u0456\u0439\u0441\u043d\u043e \u0445\u043e\u0447\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u043e?",
de:"Willst du wirklich das Geb\u00e4ude neustarten?",es:"\u00bfestas seguro que deseas reiniciar el edificio?",fr:"Voulez-vous vraiment red\u00e9marrer le b\u00e2timent?",pl:"Czy na pewno chcesz, aby ponownie uruchomi\u0107 budynek?",tr:"E\u011fer ger\u00e7ekten binay\u0131 yeniden ba\u015flatmak istiyor musunuz?",it:"Vuoi davvero riavviare l'edificio?",cs:"Opravdu chcete restartovat budovu?",pt:"Voc\u00ea realmente deseja reiniciar o edif\u00edcio?",ms:"Adakah anda benar-benar mahu untuk memulakan semula bangunan?"};
this.allPhrases.TXID_MSGCAP_SELLRESOURCES={en:"SELL RESOURCES",ru:"\u041f\u0420\u041e\u0414\u0410\u0422\u042c \u0420\u0415\u0421\u0423\u0420\u0421\u042b",uk:"\u041f\u0420\u041e\u0414\u0410\u0422\u0418 \u0420\u0415\u0421\u0423\u0420\u0421\u0418",de:"RESSOURCEN VERKAUFEN",es:"VENDER RECURSOS",fr:"RESSOURCES VENDRE",pl:"SPRZEDAM RESOURCES",tr:"SAT KAYNAKLARI",it:"RISORSE VENDITA",cs:"PRODEJ RESOURCES",pt:"RECURSOS SELL",ms:"SUMBER SELL"};this.allPhrases.TXID_MSGCAP_TUT_AUTOTRANSFERSTONE={en:"Tap the Storage to start transferring the stone to the Saw",
ru:"\u0423\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 \u043c\u044b\u0448\u0438 \u043d\u0430 \u0441\u043a\u043b\u0430\u0434\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u0430\u043c\u0435\u043d\u044c \u043d\u0430 \u041f\u0438\u043b\u0443 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u041a\u0438\u0440\u043f\u0438\u0447\u0438",uk:"\u0423\u0442\u0440\u0438\u043c\u0443\u0439\u0442\u0435 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f \u043c\u0438\u0448\u0456 \u043d\u0430 \u0441\u043a\u043b\u0430\u0434\u0456, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u043a\u0430\u043c\u0456\u043d\u044c \u043d\u0430 \u041f\u0438\u043b\u0443 \u0456 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0426\u0435\u0433\u043b\u0443",
de:"Halte die Maus auf dem Lager gedr\u00fcckt um den Stein zum Ziegler zu transportieren",es:"Mantenga el rat\u00f3n pulsado en el almacenamiento para transferir la piedra a la sierra",fr:"Appuyez sur le stockage pour commencer \u00e0 transf\u00e9rer la pierre \u00e0 la scie",pl:"Dotknij Przechowywanie aby rozpocz\u0105\u0107 przesy\u0142anie kamie\u0144 do Pi\u0142y",tr:"Testere i\u00e7in ta\u015f devrine ba\u015flayacak Depolama dokunun",it:"Toccare l'archiviazione per iniziare a trasferire la pietra alla sega",
cs:"Klepn\u011bte na \u00falo\u017ei\u0161t\u011b a za\u010d\u00edt p\u0159en\u00e1\u0161et k\u00e1men na Saw",pt:"Toque no armazenamento para come\u00e7ar a transferir a pedra para a serra",ms:"Ketik Storan untuk mula memindahkan batu untuk Saw yang"};this.allPhrases.TXID_MSGCAP_TUT_AUTOTRANSFERWOOD={en:"Tap the Storage to start transferring the Wood to the Lumbermill",ru:"\u0423\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 \u043c\u044b\u0448\u0438 \u043d\u0430 \u0441\u043a\u043b\u0430\u0434\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0434\u0435\u0440\u0435\u0432\u043e \u043d\u0430 \u041b\u0435\u0441\u043e\u043f\u0438\u043b\u043a\u0443 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0414\u043e\u0441\u043a\u0438",
uk:"\u0423\u0442\u0440\u0438\u043c\u0443\u0439\u0442\u0435 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f \u043c\u0438\u0448\u0456 \u043d\u0430 \u0441\u043a\u043b\u0430\u0434\u0456, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0434\u0435\u0440\u0435\u0432\u043e \u043d\u0430 \u041b\u0456\u0441\u043e\u043f\u0438\u043b\u043a\u0443 \u0456 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0414\u043e\u0448\u043a\u0438",de:"Halte die Maus auf dem Lager gedr\u00fcckt um das Holz zur S\u00e4gem\u00fchle zu transportieren",
es:"Mantenga el rat\u00f3n pulsado en el almacenamiento para transferir la madera a la sierra y hacer tablones",fr:"Appuyez sur le stockage pour commencer \u00e0 transf\u00e9rer le bois \u00e0 la Scierie",pl:"Dotknij Przechowywanie aby rozpocz\u0105\u0107 przesy\u0142anie drewnie do Lumbermill",tr:"Odun i\u00e7in Wood aktarmaya ba\u015flamak i\u00e7in Depolama dokunun",it:"Toccare l'archiviazione per avviare il trasferimento del legno al Lumbermill",cs:"Klepn\u011bte na \u00falo\u017ei\u0161t\u011b na za\u010d\u00e1tek p\u0159enosu D\u0159evo na Pila",
pt:"Toque no armazenamento para iniciar a transfer\u00eancia a madeira para serraria",ms:"Ketik Storage untuk mula memindahkan Wood kepada Lumbermill"};this.allPhrases.TXID_MSGCAP_TUT_AWAYPHRASE={en:"You were away for",ru:"\u0412\u044b \u0431\u044b\u043b\u0438 \u0432\u043d\u0435 \u0438\u0433\u0440\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435",uk:"\u0412\u0438 \u0431\u0443\u043b\u0438 \u043f\u043e\u0437\u0430 \u0433\u0440\u043e\u044e \u043f\u0440\u043e\u0442\u044f\u0433\u043e\u043c",de:"Du warst weg f\u00fcr",
es:"no estabas durante:",fr:"Vous \u00e9tiez absent pour",pl:"By\u0142a\u015b z dala dla",tr:"Sen uzakta idi",it:"Tu eri via per",cs:"Byl jsi pry\u010d",pt:"Voc\u00ea foi embora para",ms:"Anda tiada untuk"};this.allPhrases.TXID_MSGCAP_TUT_BONUSTIMEEARN={en:"Time bonus received",ru:"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u0431\u043e\u043d\u0443\u0441\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f",uk:"\u041e\u0442\u0440\u0438\u043c\u0430\u043d\u043e \u0431\u043e\u043d\u0443\u0441\u043d\u0438\u0439 \u0447\u0430\u0441",
de:"Zeitbonus erhalten",es:"bono de tiempo recibido",fr:"bonus de temps re\u00e7u",pl:"premia otrzymana czas",tr:"Zaman Bonus al\u0131nan",it:"bonus di tempo ha ricevuto",cs:"Doba bonus obdr\u017eel",pt:"Tempo b\u00f4nus recebido",ms:"bonus masa menerima"};this.allPhrases.TXID_MSGCAP_TUT_CHOP={en:"Tap the Forest to chop wood. Chopping will go on automatically",ru:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u043b\u0435\u0441 \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0443\u0431\u0438\u0442\u044c \u0434\u0440\u043e\u0432\u0430. \u0420\u0443\u0431\u043a\u0430 \u043b\u0435\u0441\u0430 \u0438\u0434\u0451\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438",
uk:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043b\u0456\u0441 \u0449\u043e\u0431 \u043f\u043e\u0447\u0430\u0442\u0438 \u0440\u0443\u0431\u0430\u0442\u0438 \u0434\u0440\u043e\u0432\u0430. \u0420\u0443\u0431\u043a\u0430 \u043b\u0456\u0441\u0443 \u0439\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e",de:"Tippe auf den Wald um Holz zu hacken. Halte die Maustaste um dauerhaft zu hacken",es:"Toque en el bosque a cortar le\u00f1a, cortar contin\u00faa mientras que pulsas",
fr:"Appuyez sur la for\u00eat pour le bois de c\u00f4telette. Chopping sera automatiquement",pl:"Dotknij lasu do drewna sieczki. Siekanie trafi automatycznie",tr:"pirzola ah\u015faba Orman dokunun. K\u0131yma otomatik devam edecek",it:"Toccare la foresta a tagliare la legna. Tagliere andr\u00e0 avanti automaticamente",cs:"Klepn\u011bte na les pro sek\u00e1n\u00ed d\u0159eva. Sek\u00e1n\u00ed bude pokra\u010dovat automaticky",pt:"Toque da Floresta de madeira costeleta. Chopping vai continuar automaticamente",
ms:"Ketik Forest untuk kayu cop. Mencincang akan menyala secara automatik"};this.allPhrases.TXID_MSGCAP_TUT_CRANENEEDED={en:"We need a crane to build higher tower",ru:"\u041d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043a\u0440\u0430\u043d, \u0447\u0442\u043e\u0431\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0430\u0448\u043d\u044e \u0432\u044b\u0448\u0435",uk:"\u041d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u0435\u043d \u043a\u0440\u0430\u043d, \u0449\u043e\u0431 \u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u0432\u0435\u0436\u0443 \u0432\u0438\u0449\u0435",
de:"Wir brauchen einen Kran um einen h\u00f6heren Turm zu bauen",es:"Necesitamos una gr\u00faa para construir la torre m\u00e1s alta",fr:"Nous avons besoin d'une grue pour construire la tour la plus \u00e9lev\u00e9e",pl:"Musimy d\u017awigu zbudowa\u0107 wie\u017c\u0119 wy\u017csz\u0105",tr:"Biz y\u00fcksek kuleyi in\u015fa etmek i\u00e7in bir vin\u00e7 laz\u0131m",it:"Abbiamo bisogno di una gru per la costruzione pi\u00f9 alta torre",cs:"Mus\u00edme je\u0159\u00e1b stav\u011bt vy\u0161\u0161\u00ed v\u011b\u017e",
pt:"Precisamos de um guindaste para construir torre mais alta",ms:"Kita perlu kren untuk membina menara yang lebih tinggi"};this.allPhrases.TXID_MSGCAP_TUT_DRAGWATER={en:"Tap the Water Well to bring Water to the Forest to grow new trees",ru:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043b\u043e\u0434\u0435\u0446, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0432\u043e\u0434\u0443 \u0432 \u043b\u0435\u0441 \u0438 \u0432\u044b\u0440\u0430\u0449\u0438\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0434\u0435\u0440\u0435\u0432\u044c\u044f",
uk:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043a\u043e\u043b\u043e\u0434\u044f\u0437\u044c, \u0449\u043e\u0431 \u043f\u043e\u0447\u0430\u0442\u0438 \u043f\u043e\u043b\u0438\u0432\u0430\u0442\u0438 \u043b\u0456\u0441 \u0442\u0430 \u0432\u0438\u0440\u043e\u0441\u0442\u0438\u0442\u0438 \u043d\u043e\u0432\u0456 \u0434\u0435\u0440\u0435\u0432\u0430",de:"Ziehe Wasser zum Wald um neue B\u00e4ume wachsen zu lassen",es:"Arrastre de agua al bosque para crecer nuevos \u00e1rboles",
fr:"Appuyez sur le puits d'eau pour amener l'eau \u00e0 la for\u00eat de se d\u00e9velopper de nouveaux arbres",pl:"Dotknij wody studziennej aby doprowadzi\u0107 wod\u0119 do lasu, aby rozwija\u0107 nowe drzewa",tr:"Yeni a\u011fa\u00e7lar b\u00fcy\u00fcmeye Orman \u0130\u00e7in Su getirmek i\u00e7in Su Kuyusu dokunun",it:"Toccare l'acqua di pozzo per portare l'acqua alla Foresta di crescere nuovi alberi",cs:"Klepnut\u00edm na studna p\u0159iv\u00e9st vodu do lesa na r\u016fst nov\u00fdch strom\u016f",
pt:"Toque no po\u00e7o de \u00e1gua para trazer \u00e1gua para a Floresta para crescer novas \u00e1rvores",ms:"Ketik Well Water untuk membawa air ke hutan untuk menanam pokok baru"};this.allPhrases.TXID_MSGCAP_TUT_HIGHTOWERMOREBRICKS={en:"Higher tower stories need much more bricks",ru:"\u041d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u044d\u0442\u0430\u0436\u0438 \u0431\u0430\u0448\u043d\u0438 \u043d\u0443\u0436\u043d\u043e \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",
uk:"\u041d\u0430 \u0432\u0438\u0449\u0456 \u043f\u043e\u0432\u0435\u0440\u0445\u0438 \u0432\u0435\u0436\u0456 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u0431\u0430\u0433\u0430\u0442\u043e \u0431\u0456\u043b\u044c\u0448\u0435 \u0446\u0435\u0433\u043b\u0438",de:"H\u00f6here Turmebenen ben\u00f6tigen viel mehr Ziegel",es:"pisos m\u00e1s altos necesitan muchos m\u00e1s ladrillos",fr:"La hausse des histoires de la tour ont besoin de beaucoup plus de briques",pl:"Wy\u017csze historie wie\u017ca potrzeba znacznie wi\u0119cej cegie\u0142",
tr:"Daha y\u00fcksek kule hikayeleri \u00e7ok daha tu\u011fla ihtiya\u00e7",it:"storie torre pi\u00f9 alta hanno bisogno di molto pi\u00f9 mattoni",cs:"Vy\u0161\u0161\u00ed v\u011b\u017e p\u0159\u00edb\u011bhy pot\u0159ebuj\u00ed mnohem v\u00edce cihly",pt:"hist\u00f3rias torre mais elevadas precisa de muito mais tijolos",ms:"cerita menara yang lebih tinggi memerlukan lebih banyak batu-bata"};this.allPhrases.TXID_MSGCAP_TUT_LUMBERMILL={en:"Tap the lumbermill to produce desks quicker. Work will go on automatically",
ru:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u043b\u0435\u0441\u043e\u043f\u0438\u043b\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0434\u043e\u0441\u043a\u0438. \u0420\u0430\u0431\u043e\u0442\u0430 \u0438\u0434\u0451\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438",uk:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043b\u0456\u0441\u043e\u043f\u0438\u043b\u043a\u0443, \u0449\u043e\u0431 \u0448\u0432\u0438\u0434\u0448\u0435 \u0432\u0438\u0440\u043e\u0431\u043b\u044f\u0442\u0438 \u0434\u043e\u0448\u043a\u0438. \u0420\u043e\u0431\u043e\u0442\u0430 \u0439\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e",
de:"Tippe auf die S\u00e4gem\u00fchle um Bretter herzustellen. Halte die Maustaste um dauerhaft herzustellen",es:"Toque en el aserradero para producir m\u00e1s r\u00e1pido, trabajo contin\u00faa mientras que pulsas",fr:"Appuyez sur le bureau pour produire scierie plus rapide. Le travail sera automatiquement",pl:"Dotknij Lumbermill do produkcji biurek szybciej. Praca p\u00f3jdzie na bie\u017c\u0105co",tr:"\u00e7abuk masalar\u0131 \u00fcretmeye Odun dokunun. \u00c7al\u0131\u015fma otomatik olarak devam edecek",
it:"Toccare la segheria per la produzione di banchi pi\u00f9 veloce. Il lavoro andr\u00e0 avanti automaticamente",cs:"Klepnut\u00edm na Pila vyr\u00e1b\u011bt stoly rychleji. Pr\u00e1ce bude pokra\u010dovat automaticky",pt:"Toque na serraria para produzir mesas mais r\u00e1pido. Obra prosseguir\u00e1 automaticamente",ms:"Ketik lumbermill untuk menghasilkan meja lebih cepat. Kerja akan menyala secara automatik"};this.allPhrases.TXID_MSGCAP_TUT_MARKET={en:"You can sell resources at the market",ru:"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043d\u0430 \u0440\u044b\u043d\u043a\u0435",
uk:"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043d\u0430 \u0440\u0438\u043d\u043a\u0443",de:"Du kannst Ressourcen auf dem Markt verkaufen",es:"puedes vender recursos en el mercado",fr:"Vous pouvez vendre des ressources sur le march\u00e9",pl:"Mo\u017cna sprzeda\u0107 zasob\u00f3w na rynku",tr:"Sen pazarda kaynaklar\u0131 satabilirsiniz",it:"\u00c8 possibile vendere le risorse al mercato",cs:"M\u016f\u017eete prod\u00e1vat zdroje na trhu",
pt:"Voc\u00ea pode vender recursos no mercado",ms:"Anda boleh menjual sumber di pasaran"};this.allPhrases.TXID_MSGCAP_TUT_MINE={en:"Tap the Quarry to mine Stone. Mining will go on automatically",ru:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u041a\u0430\u0440\u044c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0434\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u041a\u0430\u043c\u0435\u043d\u044c. \u0414\u043e\u0431\u044b\u0447\u0430 \u0438\u0434\u0451\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438",
uk:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u041a\u0430\u0440'\u0454\u0440, \u0449\u043e\u0431 \u043f\u043e\u0447\u0430\u0442\u0438 \u0434\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u041a\u0430\u043c\u0456\u043d\u044c. \u0412\u0438\u0434\u043e\u0431\u0443\u0442\u043e\u043a \u0439\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e",de:"Tippe auf den Steinbruch um Steine abzubauen. Halte die Maustaste um dauerhaft abzubauen",es:"Toque en la cantera de piedra a la m\u00eda Miner\u00eda contin\u00faa mientras que el dedo se ha reducido",
fr:"Appuyez sur la carri\u00e8re \u00e0 la mine de pierre. Mines sera automatiquement",pl:"Dotknij kamienio\u0142omu do kopalni kamienia. Wydobywczy trafi automatycznie",tr:"May\u0131n Stone Quarry dokunun. Madencilik otomatik devam edecek",it:"Toccare la Cava di miniera di pietra. Mining andr\u00e0 avanti automaticamente",cs:"Poklep\u00e1n\u00edm lomu t\u011b\u017eit k\u00e1men. T\u011b\u017eba bude pokra\u010dovat automaticky",pt:"Toque na Pedreira de pedra meu. Mining vai continuar automaticamente",
ms:"Ketik Quarry Stone saya. Perlombongan akan menyala secara automatik"};this.allPhrases.TXID_MSGCAP_TUT_MINEMORE={en:"Mine more stone to continue the cycle",ru:"\u0414\u043e\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u043c\u0435\u043d\u044c \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0439\u0442\u0435 \u0446\u0438\u043a\u043b",uk:"\u0412\u0438\u0434\u043e\u0431\u0443\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u043c\u0456\u043d\u044c \u0442\u0430 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0443\u0439\u0442\u0435 \u0446\u0438\u043a\u043b",
de:"Mine mehr Stein den Zyklus fortzusetzen",es:"Mina de piedra m\u00e1s para continuar el ciclo",fr:"Mine plus pierre pour poursuivre le cycle",pl:"Kopalnia wi\u0119cej kamienia, aby kontynuowa\u0107 cykl",tr:"May\u0131n d\u00f6ng\u00fcy\u00fc devam etmek daha ta\u015f",it:"Miniera di pietra per continuare il ciclo",cs:"Mine v\u00edce k\u00e1men pro pokra\u010dov\u00e1n\u00ed cyklu",pt:"Mina mais pedra para continuar o ciclo",ms:"Saya lebih batu untuk meneruskan kitaran"};this.allPhrases.TXID_MSGCAP_TUT_PRODUCEBRICKS=
{en:"Tap the tent to produce bricks quicker. Work will go on automatically",ru:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u043f\u0430\u043b\u0430\u0442\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0438\u0440\u043f\u0438\u0447\u0438. \u0420\u0430\u0431\u043e\u0442\u0430 \u0438\u0434\u0451\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438",
uk:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043d\u0430\u043c\u0435\u0442, \u0449\u043e\u0431 \u0448\u0432\u0438\u0434\u0448\u0435 \u0432\u0438\u0440\u043e\u0431\u043b\u044f\u0442\u0438 \u0446\u0435\u0433\u043b\u0443. \u0420\u043e\u0431\u043e\u0442\u0430 \u0439\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e",de:"Tippe auf den Ziegler um Ziegel herzustellen. Halte die Maustaste um dauerhaft herzustellen",es:"Toque en la carpa para producir ladrillos m\u00e1s r\u00e1pido trabajo contin\u00faa mientras que el dedo se ha reducido",
fr:"Appuyez sur la tente pour produire des briques plus rapide. Le travail sera automatiquement",pl:"Dotknij namiot do produkcji ceg\u0142y szybciej. Praca p\u00f3jdzie na bie\u017c\u0105co",tr:"h\u0131zl\u0131 tu\u011fla \u00fcretmek i\u00e7in \u00e7ad\u0131r dokunun. \u00c7al\u0131\u015fma otomatik olarak devam edecek",it:"Toccare la tenda per la produzione di mattoni pi\u00f9 veloce. Il lavoro andr\u00e0 avanti automaticamente",cs:"Klepnut\u00edm na stan pro v\u00fdrobu cihly rychlej\u0161\u00ed. Pr\u00e1ce bude pokra\u010dovat automaticky",
pt:"Toque na tenda para produzir tijolos mais r\u00e1pido. Obra prosseguir\u00e1 automaticamente",ms:"Ketik khemah untuk menghasilkan batu bata lebih cepat. Kerja akan menyala secara automatik"};this.allPhrases.TXID_MSGCAP_TUT_RESTART={en:"Check which bonuses will you gain if you restart the building",ru:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043a\u0430\u043a\u0438\u0435 \u0431\u043e\u043d\u0443\u0441\u044b \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0439\u043a\u0443",
uk:"\u041f\u043e\u0434\u0438\u0432\u0456\u0442\u044c\u0441\u044f, \u044f\u043a\u0456 \u0431\u043e\u043d\u0443\u0441\u0438 \u0432\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0454\u0442\u0435, \u044f\u043a\u0449\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u043e",de:"\u00dcberpr\u00fcfe welche Vorteile du bekommst wenn du das Geb\u00e4ude neu startest",es:"Compruebe qu\u00e9 bonos va a ganar si reinicia el edificio",
fr:"V\u00e9rifiez quels sont les bonus que vous gagnerez si vous red\u00e9marrez le b\u00e2timent",pl:"Sprawdzi\u0107, jakie bonusy zyskasz po ponownym uruchomieniu budynku",tr:"Binaya yeniden e\u011fer kazanacakt\u0131r hangi ikramiye kontrol",it:"Verificare che i bonus si guadagna se si riavvia l'edificio",cs:"Zkontrolujte, kter\u00e9 bonusy z\u00edsk\u00e1te, pokud restartov\u00e1n\u00ed budovu",pt:"Verifique qual b\u00f4nus voc\u00ea vai ganhar se voc\u00ea reiniciar o edif\u00edcio",ms:"Menyemak bonus anda akan mendapat jika anda memulakan semula bangunan"};
this.allPhrases.TXID_MSGCAP_VICTORY={en:"Victory! You reached the highest designed level! You can keep building beyond this limit, or play other games by Airapport",ru:"\u041f\u043e\u0431\u0435\u0434\u0430! \u0412\u044b \u0434\u043e\u0441\u0442\u0438\u0433\u043b\u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0432 \u0438\u0433\u0440\u0435! \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u0432\u044b\u0448\u0435 \u0438\u043b\u0438 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u0433\u0440\u044b \u043d\u0430 Airapport",
uk:"\u041f\u0435\u0440\u0435\u043c\u043e\u0433\u0430! \u0412\u0438 \u0434\u043e\u0441\u044f\u0433\u043b\u0438 \u043d\u0430\u0439\u0432\u0438\u0449\u043e\u0433\u043e \u0440\u0456\u0432\u043d\u044f \u0432 \u0433\u0440\u0456! \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0443\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u0456 \u0432\u0438\u0449\u0435 \u0430\u0431\u043e \u043f\u043e\u0433\u0440\u0430\u0442\u0438 \u0432 \u0456\u043d\u0448\u0456 \u0456\u0433\u0440\u0438 \u043d\u0430 Airapport",
de:"Sieg! Sie erreichten das h\u00f6chste Niveau entworfen! Sie k\u00f6nnen Geb\u00e4ude \u00fcber diese Grenze hinaus halten, oder andere Spiele spielen, indem sie Airapport",es:"\u00a1Victoria! Has llegado a los niveles m\u00e1s altos dise\u00f1ados! Puede seguir construyendo m\u00e1s all\u00e1 de este l\u00edmite, o jugar a otros juegos de Airapport",fr:"La victoire! Vous avez atteint le niveau le plus \u00e9lev\u00e9 con\u00e7u! Vous pouvez continuer \u00e0 construire au-del\u00e0 de cette limite, ou jouer \u00e0 d'autres jeux de Airapport",
pl:"Zwyci\u0119stwo! Ty osi\u0105gn\u0105\u0142 najwy\u017cszy poziom zaprojektowane! Mo\u017cna zachowa\u0107 budynek poza ten limit, albo gra\u0107 w inne gry przez Airapport",tr:"Zafer! En y\u00fcksek tasarlanm\u0131\u015f seviyeye ula\u015ft\u0131! Bu s\u0131n\u0131r\u0131n \u00f6tesinde binay\u0131 tutabilir veya Airapport di\u011fer oyun oynayabilirsiniz",it:"Vittoria! Hai raggiunto il pi\u00f9 alto livello progettato! \u00c8 possibile continuare a costruire al di l\u00e0 di questo limite, o di giocare altri giochi da Airapport",
cs:"V\u00edt\u011bzstv\u00ed! Dos\u00e1hli jste nejvy\u0161\u0161\u00edho navr\u017eenou \u00farove\u0148! M\u016f\u017eete dr\u017eet budovu nad tento limit, nebo hr\u00e1t jin\u00e9 hry od Airapport",pt:"Vit\u00f3ria! Voc\u00ea atingiu o maior n\u00edvel projetado! Voc\u00ea pode manter edif\u00edcio para al\u00e9m deste limite, ou jogar outros jogos por Airapport",ms:"Kemenangan! Anda mencapai tahap direka tertinggi! Anda boleh menjaga bangunan yang melebihi had ini, atau bermain permainan lain oleh Airapport"};
this.allPhrases.TXID_MSGCAP_YOURECEIVED={en:"You received",ru:"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438",uk:"\u0412\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043b\u0438",de:"Du erhielst",es:"has recibido",fr:"Tu as re\u00e7u",pl:"Otrzyma\u0142e\u015b",tr:"al\u0131nan",it:"Hai ricevuto",cs:"Obdr\u017eel jste",pt:"Voc\u00ea recebeu",ms:"anda menerima"};this.allPhrases.TXID_OR={en:"Or",ru:"\u0418\u043b\u0438",uk:"\u0410\u0431\u043e",de:"Oder",es:"O",fr:"Ou",pl:"Lub",tr:"Veya",
it:"O",cs:"Nebo",pt:"Ou",ms:"atau"};this.allPhrases.TXID_PHRASE_ARTIFACTS_BEG={en:"You have",ru:"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c",uk:"\u0423 \u0432\u0430\u0441 \u0454",de:"Du hast",es:"Tienes",fr:"Tu as",pl:"Ty masz",tr:"Var",it:"Hai",cs:"Ty m\u00e1\u0161",pt:"Voc\u00ea tem",ms:"Kamu ada"};this.allPhrases.TXID_PHRASE_ARTIFACTS_END={en:"artifacts. Check if you can buy more",ru:"\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u043a\u0443\u043f\u0438\u0442\u044c \u0435\u0449\u0451",
uk:"\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0456\u0432 \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435, \u0447\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438 \u043a\u0443\u043f\u0438\u0442\u0438 \u0449\u0435",de:"Artefakte. \u00dcberpr\u00fcfe, ob du mehr kaufen kannst",es:"artefactos comprueba si puedes comprar m\u00e1s",fr:"artefacts. V\u00e9rifiez si vous pouvez acheter plus",pl:"artefakty. Sprawd\u017a, czy mo\u017cna kupi\u0107 wi\u0119cej",tr:"eserler. Daha sat\u0131n alabilirsiniz olmad\u0131\u011f\u0131n\u0131 kontrol edin",
it:"artefatti. Verificare se \u00e8 possibile comprare di pi\u00f9",cs:"artefakty. Zkontrolujte, zda si m\u016f\u017eete koupit v\u00edce",pt:"artefatos. Verifique se voc\u00ea pode comprar mais",ms:"artifak. Semak jika anda boleh membeli lebih banyak"};this.allPhrases.TXID_PHRASE_GB_BEG={en:"You have",ru:"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c",uk:"\u0423 \u0432\u0430\u0441 \u0454",de:"Du hast",es:"Tienes",fr:"Tu as",pl:"Ty masz",tr:"Var",it:"Hai",cs:"Ty m\u00e1\u0161",pt:"Voc\u00ea tem",
ms:"Kamu ada"};this.allPhrases.TXID_PHRASE_GB_END={en:"Golden Bricks",ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",uk:"\u0437\u043e\u043b\u043e\u0442\u0438\u0445 \u0446\u0435\u0433\u043b\u0438\u043d",de:"goldene Ziegel",es:"Ladrillos de oro",fr:"Briques d'or",pl:"Z\u0142ote Ceg\u0142y",tr:"Alt\u0131n Tu\u011fla",it:"mattoni d'oro",cs:"zlat\u00e9 cihly",pt:"Tijolos dourados",ms:"Bricks Golden"};this.allPhrases.TXID_PHRASE_OWNED={en:"Owned",ru:"\u0418\u043c\u0435\u0435\u0442\u0441\u044f",
uk:"\u041c\u0430\u0454\u043c\u043e",de:"Im Besitz",es:"comprado",fr:"appartenant",pl:"w\u0142asno\u015bci\u0105",tr:"Sahip olunan",it:"Di propriet\u00e0",cs:"vlastnila",pt:"Possu\u00eddo",ms:"milik"};this.allPhrases.TXID_PHRASE_RESTARTINFO_BEG={en:"You can receive",ru:"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c",uk:"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438",de:"Du kannst",es:"Puedes recibir",
fr:"Vous pouvez recevoir",pl:"mo\u017cna otrzyma\u0107",tr:"Sen alabilir",it:"\u00c8 possibile ricevere",cs:"M\u016f\u017eete obdr\u017eet",pt:"Voc\u00ea pode receber",ms:"Anda boleh menerima"};this.allPhrases.TXID_PHRASE_RESTARTINFO_END={en:"Golden Bricks if you restart now",ru:"\u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u0435\u0441\u043b\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0439\u043a\u0443",
uk:"\u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u0446\u0435\u0433\u043b\u0438\u043d \u044f\u043a\u0449\u043e \u0437\u0430\u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u043e",de:"goldene Ziegel erhalten wenn du jetzt neu startest",es:"Ladrillos de oro Si reinicias ahora",fr:"Briques d'or si vous red\u00e9marrez maintenant",pl:"Z\u0142ote Ceg\u0142y je\u015bli restart teraz",tr:"Alt\u0131n Tu\u011fla \u015eimdi yeniden e\u011fer",
it:"Mattoni d'oro se si riavvia ora",cs:"Zlat\u00e9 cihly, pokud si nyn\u00ed restartovat",pt:"Tijolos de ouro se voc\u00ea reiniciar agora",ms:"Golden Bricks jika anda memulakan semula sekarang"};this.allPhrases.TXID_PHRASE_RESTARTINFO_NEXT_BEG={en:"Or",ru:"\u0418\u043b\u0438",uk:"\u0410\u0431\u043e",de:"Oder",es:"O",fr:"Ou",pl:"Lub",tr:"Veya",it:"O",cs:"Nebo",pt:"Ou",ms:"atau"};this.allPhrases.TXID_PHRASE_RESTARTINFO_NEXT_END={en:"if you restart after you complete one more floor",ru:"\u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435, \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0432 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u044d\u0442\u0430\u0436",
uk:"\u044f\u043a\u0449\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435, \u043f\u043e\u0431\u0443\u0434\u0443\u0432\u0430\u0432\u0448\u0438 \u0449\u0435 \u043e\u0434\u0438\u043d \u043f\u043e\u0432\u0435\u0440\u0445",de:"wenn du nach der n\u00e4chsten Ebene neu startest",es:"si reinicias despu\u00e9s de completar un piso m\u00e1s",fr:"si vous red\u00e9marrez apr\u00e8s avoir termin\u00e9 un \u00e9tage de plus",pl:"Je\u015bli ponowne uruchomienie po zako\u0144czeniu jedno pi\u0119tro",
tr:"E\u011fer sonra yeniden e\u011fer bir daha kat tamamlamak",it:"se si riavvia dopo aver completato un altro piano",cs:"pokud provedete restart po dokon\u010den\u00ed je\u0161t\u011b jedno patro",pt:"se voc\u00ea reiniciar depois de completar mais um andar",ms:"jika anda memulakan semula selepas anda melengkapkan satu tingkat lebih"};this.allPhrases.TXID_PURCH_SUCCESS={en:"Purchase successful!",ru:"\u041f\u043e\u043a\u0443\u043f\u043a\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u0430!",uk:"\u041a\u0443\u043f\u0456\u0432\u043b\u044f \u0443\u0441\u043f\u0456\u0448\u043d\u0430!",
de:"Erwerben Sie erfolgreich!",es:"Compra con \u00e9xito!",fr:"Achat r\u00e9ussi!",pl:"Zakup udany!",tr:"Ba\u015far\u0131l\u0131 sat\u0131n!",it:"Acquisto di successo!",cs:"N\u00e1kup \u00fasp\u011b\u0161n\u00fd!",pt:"Compra bem sucedida!",ms:"Membeli berjaya!"};this.allPhrases.TXID_PURCHASEFAILED={en:"Purchase failed",ru:"\u041f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430",uk:"\u041f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u0446\u0456 \u0432\u0456\u0434\u0431\u0443\u043b\u0430\u0441\u044c \u043f\u043e\u043c\u0438\u043b\u043a\u0430",
de:"Kauf gescheitert",es:"La compra fall\u00f3",fr:"Achat rat\u00e9",pl:"Zakup zawiod\u0142y",tr:"Sat\u0131n alma ba\u015far\u0131s\u0131z oldu",it:"Acquisto fallito",cs:"Koup\u011b se nezda\u0159ila",pt:"A compra falhou",ms:"pembelian gagal"};this.allPhrases.TXID_PURCHASESRESTORED={en:"Purchases restored!",ru:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b",uk:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043e",
de:"K\u00e4ufe wieder hergestellt!",es:"Las compras restaurados!",fr:"Achats restaur\u00e9s!",pl:"Zakupy przywr\u00f3cone!",tr:"Al\u0131mlar\u0131 restore!",it:"Acquisti ripristinati!",cs:"N\u00e1kup obnoven!",pt:"Compras restaurado!",ms:"Pembelian dipulihkan!"};this.allPhrases.TXID_RESTOREFAILED={en:"Restore failed",ru:"\u041f\u0440\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430",
uk:"\u041f\u0440\u0438 \u0432\u0456\u0434\u043d\u043e\u043c\u043b\u0435\u043d\u043d\u0456 \u0432\u0456\u0434\u0431\u0443\u043b\u0430\u0441\u044c \u043f\u043e\u043c\u0438\u043b\u043a\u0430",de:"wiederherstellen fehlgeschlagen",es:"restaurar fallado",fr:"\u00e9chec de la restauration",pl:"Przywracanie nie powiod\u0142o si\u0119",tr:"Restore ba\u015far\u0131s\u0131z",it:"Ripristino fallito",cs:"obnoven\u00ed se nezda\u0159ilo",pt:"falha na restaura\u00e7\u00e3o",ms:"memulihkan gagal"};this.allPhrases.TXID_RESTOREPURCHASES=
{en:"Restore purchases",ru:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438",uk:"\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0438",de:"wiederherstellen Eink\u00e4ufe",es:"Restaurar las compras",fr:"restaurer les achats",pl:"Przywracanie zakup\u00f3w",tr:"al\u0131mlar\u0131n\u0131 Restore",it:"Ripristinare gli acquisti",cs:"Obnovit n\u00e1kupy",pt:"Restaurar compras",ms:"mengembalikan pembelian"};
this.allPhrases.TXID_REW_BONUSTIME={en:"Time bonus",ru:"\u0411\u043e\u043d\u0443\u0441\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f",uk:"\u0411\u043e\u043d\u0443\u0441\u043d\u0438\u0439 \u0447\u0430\u0441",de:"Zeit Bonus",es:"Tiempo extra",fr:"bonus de temps",pl:"premia czas",tr:"S\u00fcre bonusu",it:"bonus di tempo",cs:"doba bonus",pt:"b\u00f4nus de tempo",ms:"bonus masa"};this.allPhrases.TXID_REW_DISCPURCH={en:"Purchase with discount",ru:"\u041f\u043e\u043a\u0443\u043f\u043a\u0430 \u0441\u043e \u0441\u043a\u0438\u0434\u043a\u043e\u0439",
uk:"\u041f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0456 \u0437\u043d\u0438\u0436\u043a\u043e\u044e",de:"Kauf mit Rabatt",es:"Compra con descuento",fr:"Achat avec un rabais",pl:"Zakup ze zni\u017ck\u0105",tr:"indirim Sat\u0131n Alma",it:"Acquisto con lo sconto",cs:"N\u00e1kup se slevou",pt:"Compra com desconto",ms:"Beli dengan diskaun"};this.allPhrases.TXID_REW_FREEGB={en:"Free Golden Bricks",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u0417\u043e\u043b\u043e\u0442\u044b\u0435 \u043a\u0438\u0440\u043f\u0438\u0447\u0438",
uk:"\u0411\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0456 \u0417\u043e\u043b\u043e\u0442\u0456 \u0446\u0435\u0433\u043b\u0438\u043d\u0438",de:"goldene Ziegel Gratis",es:"Ladrillos de oro gratis",fr:"Briques d'Or gratuit",pl:"Z\u0142ote darmo Bricks",tr:"\u00dccretsiz Alt\u0131n Tu\u011fla",it:"Mattoni gratuita di Golden",cs:"Zdarma Zlat\u00e9 cihly",pt:"Tijolos Livre de Ouro",ms:"Bricks percuma Golden"};this.allPhrases.TXID_REW_FREEMON={en:"Free Coins",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043c\u043e\u043d\u0435\u0442\u044b",
uk:"\u0411\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0456 \u043c\u043e\u043d\u0435\u0442\u0438",de:"M\u00fcnzen Gratis",es:"Monedas gratis",fr:"Pi\u00e8ces gratuites",pl:"Darmowe monety",tr:"\u00dccretsiz paralar",it:"Monete gratis",cs:"mince zdarma",pt:"Moedas gr\u00e1tis",ms:"Duit syiling percuma"};this.allPhrases.TXID_REW_FREERES={en:"Free Resource",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0440\u0435\u0441\u0443\u0440\u0441",uk:"\u0411\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441",
de:"Ressourcen Gratis",es:"recursos gratis",fr:"ressource gratuite",pl:"Zas\u00f3b darmo",tr:"\u00dccretsiz Kaynak",it:"risorsa gratuita",cs:"Voln\u011b dostupn\u00fd zdroj",pt:"Resource livre",ms:"Sumber percuma"};this.allPhrases.TXID_REW_FREESCIENCE={en:"Free science",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u043d\u0430\u0443\u043a\u0430",uk:"\u0432\u0456\u043b\u044c\u043d\u0430 \u043d\u0430\u0443\u043a\u0430",de:"Freie Wissenschaft",es:"ciencia libre",fr:"science libre",
pl:"Bezp\u0142atne nauka",tr:"\u00dccretsiz bilim",it:"la scienza libera",cs:"Free science",pt:"ci\u00eancia livre",ms:"sains percuma"};this.allPhrases.TXID_REW_FREEUP={en:"Free upgrade",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0430\u043f\u0433\u0440\u0435\u0439\u0434",uk:"\u0411\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0438\u0439 \u0430\u043f\u0433\u0440\u0435\u0439\u0434",de:"Kostenloses Upgrade",es:"Actualizaci\u00f3n gratuita",fr:"Mise \u00e0 jour gratuite",
pl:"Darmowa aktualizacja",tr:"\u00dccretsiz y\u00fckseltme",it:"Aggiornamento gratuito",cs:"bezplatn\u00fd upgrade",pt:"Atualiza\u00e7\u00e3o gr\u00e1tis",ms:"naik taraf percuma"};this.allPhrases.TXID_REW_MULTMON={en:"Money multiplied",ru:"\u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u0435\u043d\u0435\u0433",uk:"\u041c\u043d\u043e\u0436\u0435\u043d\u043d\u044f \u0433\u0440\u043e\u0448\u0435\u0439",de:"Geld multipliziert",es:"El dinero se multiplica",fr:"L'argent multipli\u00e9",pl:"pieni\u0105dze mno\u017cone",
tr:"Para \u00e7arp\u0131l\u0131r",it:"denaro moltiplicato",cs:"pen\u00edze n\u00e1sob\u00ed",pt:"dinheiro multiplicado",ms:"wang didarab"};this.allPhrases.TXID_REW_MULTSCI={en:"Science multiplied",ru:"\u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0443\u043a\u0438",uk:"\u041c\u043d\u043e\u0436\u0435\u043d\u043d\u044f \u043d\u0430\u0443\u043a\u0438",de:"Wissenschaft multipliziert",es:"ciencia multiplica",fr:"sciences multipli\u00e9",pl:"Nauka mno\u017cone",tr:"Bilim \u00e7arp\u0131l\u0131r",
it:"Scienza moltiplicato",cs:"Science n\u00e1sob\u00ed",pt:"ci\u00eancia multiplicado",ms:"sains didarab"};this.allPhrases.TXID_REW_OFFLINEINC={en:"Offline earnings doubled!",ru:"Offline \u0434\u043e\u0445\u043e\u0434 \u0443\u0434\u0432\u043e\u0435\u043d!",uk:"Offline \u0434\u043e\u0445\u0456\u0434 \u043f\u043e\u0434\u0432\u043e\u0454\u043d\u043e!",de:"Offline-Ergebnis verdoppelt!",es:"las ganancias se duplicaron fuera de l\u00ednea!",fr:"b\u00e9n\u00e9fice hors ligne a doubl\u00e9!",pl:"Offline zarobki podwojona!",
tr:"\u00c7evrim kazan\u00e7 kat\u0131na!",it:"guadagni Offline raddoppiato!",cs:"Offline zisk zdvojn\u00e1sobil!",pt:"ganhos offline dobrou!",ms:"pendapatan Offline dua kali ganda!"};this.allPhrases.TXID_REW_RESMULT={en:"Resources Multiplied",ru:"\u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u0430",uk:"\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u0443",de:"Ressourcen Multiplizierte",es:"multiplicado recursos",
fr:"ressources multipli\u00e9",pl:"zasoby zwielokrotnion\u0105",tr:"Kaynaklar \u00c7o\u011falt\u0131lm\u0131\u015f",it:"risorse moltiplicato",cs:"zdroje n\u00e1sob\u00ed",pt:"recursos Multiplied",ms:"sumber Multiplied"};this.allPhrases.TXID_REW_STOREYCOMPL={en:"Tower Storey Completed",ru:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u044d\u0442\u0430\u0436\u0430 \u0411\u0430\u0448\u043d\u0438",uk:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u0431\u0443\u0434\u0456\u0432\u043d\u0438\u0446\u0442\u0432\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u0443 \u0412\u0435\u0436\u0456",
de:"Turm Ebene",es:"Torre Planta Completado",fr:"Tour Storey Termin\u00e9",pl:"Wie\u017ca Pi\u0119tro Zako\u0144czony",tr:"Kule Katl\u0131 Tamamland\u0131",it:"Torre Storey Completato",cs:"Tower Storey Dokon\u010deno",pt:"Torre Storey Conclu\u00eddo",ms:"Tower Storey Bidang"};this.allPhrases.TXID_REW_TIMEFORWARD={en:"Time forward",ru:"\u0412\u0440\u0435\u043c\u044f \u0432\u043f\u0435\u0440\u0435\u0434",uk:"\u0447\u0430\u0441 \u0432\u043f\u0435\u0440\u0435\u0434",de:"Zeit vorw\u00e4rts",es:"tiempo hacia adelante",
fr:"avant le temps",pl:"czas do przodu",tr:"Zaman ileri",it:"tempo in avanti",cs:"\u010das vp\u0159ed",pt:"frente tempo",ms:"masa hadapan"};this.allPhrases.TXID_SAVEDATA={en:"Appreciate your help! This is your save data. Please, select it all (long press -> select all), copy (long press -> copy) and send in email to the developer: general@cardswar.com",ru:"\u0426\u0435\u043d\u044e \u0432\u0430\u0448\u0443 \u043f\u043e\u043c\u043e\u0449\u044c! \u042d\u0442\u043e \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u044d\u0442\u043e (\u0434\u043e\u043b\u0433\u043e\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 -> \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435), \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 (\u0434\u043e\u043b\u0433\u043e\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 -> \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c) \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443: general@cardswar.com",
uk:"\u0426\u0456\u043d\u0443\u044e \u0432\u0430\u0448\u0443 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443! \u0426\u0435 \u0432\u0430\u0448\u0456 \u0434\u0430\u043d\u0456 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0432\u0441\u0435 \u0446\u0435 (\u0434\u043e\u0432\u0433\u0438\u0439 \u0433\u043d\u0456\u0437\u0434\u043e -> \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435), \u0441\u043a\u043e\u043f\u0456\u044e\u0439\u0442\u0435 (\u0434\u043e\u0432\u0433\u0438\u0439 \u0433\u043d\u0456\u0437\u0434\u043e -> \u0441\u043a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438) \u0456 \u043d\u0430\u0434\u0456\u0448\u043b\u0456\u0442\u044c \u043b\u0438\u0441\u0442\u0430 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u044e \u043f\u043e\u0448\u0442\u043e\u044e \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0443: general@cardswar.com",
de:"Sch\u00e4tze deine Hilfe! Das ist Ihre Daten speichern. Bitte w\u00e4hlen Sie alles (lang dr\u00fccken -> alles ausw\u00e4hlen), kopiert (lang dr\u00fccken -> kopieren) und in E-Mail an den Entwickler senden: general@cardswar.com",es:"\u00a1Aprecio tu ayuda! Esta es su guardar datos. Por favor, seleccione todo (pulsaci\u00f3n larga -> seleccionar todo), copiar (pulsaci\u00f3n larga -> copiar) y enviar correo electr\u00f3nico al desarrollador: general@cardswar.com",fr:"Appr\u00e9cier ton aide! Ceci est votre sauvegarde des donn\u00e9es. S'il vous pla\u00eet, s\u00e9lectionnez tout (appui long -> S\u00e9lectionner tout), copier (appui long -> copier) et envoyer par courrier \u00e9lectronique au d\u00e9veloppeur: general@cardswar.com",
pl:"Doceniam Twoj\u0105 pomoc! To jest Tw\u00f3j zapisa\u0107 dane. Prosz\u0119 wybra\u0107 to wszystko (d\u0142ugie naci\u015bni\u0119cie -> Zaznacz wszystko), skopiuj (d\u0142ugie naci\u015bni\u0119cie -> kopia) i wys\u0142a\u0107 e-mail do autora: general@cardswar.com",tr:"Yard\u0131m\u0131n\u0131za minnettar olurum! Bu verileri kaydetmek senin oldu\u011funu. Kopyalamak - t\u00fcm (> t\u00fcm\u00fcn\u00fc se\u00e7mek uzun bas\u0131n) onu se\u00e7iniz (uzun bas\u0131n - copy>) ve geli\u015ftirici e-posta g\u00f6ndermek: general@cardswar.com",
it:"Apprezzare il vostro aiuto! Questo \u00e8 il vostro salvataggio dei dati. Si prega di selezionare tutto (pressione lunga -> Seleziona tutto), copiare (premere a lungo -> copia) e inviare in email allo sviluppatore: general@cardswar.com",cs:"Oce\u0148uji tvoj\u00ed pomoc! Toto je va\u0161e save dat. Pros\u00edm, vyberte v\u0161echny (dlouh\u00fd stisk -> vybrat v\u0161e), kop\u00edrovat (dlouh\u00fd stisk -> kop\u00edrovat) a poslat e-mail pro v\u00fdvoj\u00e1\u0159e: general@cardswar.com",pt:"Agrade\u00e7o sua ajuda! Esta \u00e9 a sua poupan\u00e7a de dados. Por favor, selecione tudo (press\u00e3o longa -> Selecionar tudo), copiar (press\u00e3o longa -> copiar) e enviar e-mail para o desenvolvedor: general@cardswar.com",
ms:"Menghargai bantuan anda! Ini adalah anda save data. Sila, pilih semua (tekan lama -> pilih semua), menyalin (tekan lama -> salinan) dan hantar dalam e-mel kepada pemaju: general@cardswar.com"};this.allPhrases.TXID_SEND={en:"Looks like the game crashed last time. You can try loading this save again or send the data to the developer. We will look at it and fix as soon as possible. You can also completely restart the game if you don't want to wait",ru:"\u041f\u043e\u0445\u043e\u0436\u0435, \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u0438\u0433\u0440\u0430 \u0432\u044b\u043b\u0435\u0442\u0435\u043b\u0430. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437 \u0438\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443. \u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u0442\u043e \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u0440\u0435\u0435. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u0433\u0440\u0443, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0436\u0434\u0430\u0442\u044c",
uk:"\u0421\u0445\u043e\u0436\u0435, \u043e\u0441\u0442\u0430\u043d\u043d\u044c\u043e\u0433\u043e \u0440\u0430\u0437\u0443 \u0431\u0443\u0432 \u0437\u0431\u0456\u0439. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0446\u0435 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u0449\u0435 \u0440\u0430\u0437 \u0430\u0431\u043e \u043d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438 \u0434\u0430\u043d\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0443. \u041c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0446\u0435 \u0456 \u044f\u043a\u043d\u0430\u0439\u0448\u0432\u0438\u0434\u0448\u0435 \u0432\u0438\u043f\u0440\u0430\u0432\u0438\u043c\u043e. \u0412\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0433\u0440\u0443, \u044f\u043a\u0449\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0435 \u0447\u0435\u043a\u0430\u0442\u0438",
de:"Sieht aus wie das Spiel abgest\u00fcrzt beim letzten Mal. Sie k\u00f6nnen versuchen, diese wieder speichern Laden oder die Daten an den Entwickler senden. Wir werden so schnell wie m\u00f6glich an ihn und fix aussehen. Sie k\u00f6nnen auch das Spiel komplett neu starten, wenn Sie wollen nicht warten",es:"Parece que el juego se colgaba la \u00faltima vez. Usted puede intentar cargar este ahorro de nuevo o enviar los datos al desarrollador. Vamos a mirar y fijar tan pronto como sea posible. Tambi\u00e9n puede reiniciar por completo el juego si no quiere esperar",
fr:"On dirait que le jeu se sont \u00e9cras\u00e9s derni\u00e8re fois. Vous pouvez le charger \u00e0 nouveau cette sauvegarde ou envoyer les donn\u00e9es au d\u00e9veloppeur. Nous allons examiner et fixer le plus t\u00f4t possible. Vous pouvez \u00e9galement red\u00e9marrer compl\u00e8tement le jeu si vous ne voulez pas attendre",pl:"Wygl\u0105da gra rozbi\u0142 si\u0119 po raz ostatni. Mo\u017cna pr\u00f3bowa\u0107 \u0142adowania to zaoszcz\u0119dzi\u0107 ponownie lub wys\u0142a\u0107 dane do dewelopera. B\u0119dziemy patrze\u0107 na niego i naprawi\u0107 jak najszybciej. Mo\u017cna r\u00f3wnie\u017c ca\u0142kowicie ponownie uruchomi\u0107 gr\u0119, je\u015bli nie chcesz czeka\u0107",
tr:"oyun gibi g\u00f6r\u00fcn\u00fcyor son kez \u00e7\u00f6kt\u00fc. Yine tasarrufu bu y\u00fcklemeyi deneyin veya geli\u015ftirici veri g\u00f6nderebilir. Biz en k\u0131sa s\u00fcrede kendisine ve d\u00fczeltme bakaca\u011f\u0131z. Beklemek istemiyorsan\u0131z tamamen de oyunu yeniden ba\u015flatabilirsiniz",it:"Sembra che il gioco si \u00e8 bloccato l'ultima volta. Si pu\u00f2 provare a caricare questo salvataggio di nuovo o di inviare i dati allo sviluppatore. Prenderemo in esame e correzione al pi\u00f9 presto possibile. Potete anche completamente riavviare il gioco se non si vuole aspettare",
cs:"Vypad\u00e1 to, \u017ee hra se z\u0159\u00edtil minule. M\u016f\u017eete zkusit nahr\u00e1t tento z\u00e1krok znovu nebo odes\u00edl\u00e1n\u00ed dat pro v\u00fdvoj\u00e1\u0159e. Pod\u00edv\u00e1me se na to a opravit co nejd\u0159\u00edve. M\u016f\u017eete tak\u00e9 zcela restartovat hru, pokud nechcete \u010dekat,",pt:"Parece que o jogo caiu \u00faltima vez. Voc\u00ea pode tentar carregar este salvar novamente ou enviar os dados para o desenvolvedor. Vamos olhar para ele e corre\u00e7\u00e3o o mais r\u00e1pido poss\u00edvel. Voc\u00ea tamb\u00e9m pode reiniciar completamente o jogo, se voc\u00ea n\u00e3o quiser esperar",
ms:"Nampaknya permainan terhempas kali terakhir. Anda boleh cuba memuatkan ini jimat lagi atau menghantar data kepada pemaju. Kita akan melihat dan menetapkan secepat mungkin. Anda juga boleh sama sekali memulakan semula permainan jika anda tidak mahu menunggu"};this.allPhrases.TXID_SEND_BABELTOWERVICTORY={en:"We have completed the Babel Tower!",ru:"\u041c\u044b \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438 \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u0443\u044e \u0431\u0430\u0448\u043d\u044e!",
uk:"\u041c\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438 \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u044c\u043a\u0443 \u0432\u0435\u0436\u0443!",de:"Wir haben den Turm zu Babel abgeschlossen!",es:"Hemos completado la Torre de Babel!",fr:"Nous avons termin\u00e9 la Tour de Babel!",pl:"Zako\u0144czyli\u015bmy Wie\u017ca Babel!",tr:"Biz Babil Kulesi'ni tamamlad\u0131k!",it:"Abbiamo completato la Torre di Babele!",cs:"Dokon\u010dili jsme Babel Tower!",pt:"N\u00f3s completamos a Torre de Babel!",
ms:"Kami telah menyiapkan Menara Babel!"};this.allPhrases.TXID_SEND_SPACEMACHINESCAP={en:"Space machines for Babel Tower!",ru:"\u041a\u043e\u0441\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0434\u043b\u044f \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u043e\u0439 \u0411\u0430\u0448\u043d\u0438!",uk:"\u041a\u043e\u0441\u043c\u0456\u0447\u043d\u0456 \u043c\u0430\u0448\u0438\u043d\u0438 \u0434\u043b\u044f \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u044c\u043a\u043e\u0457 \u0432\u0435\u0436\u0456!",
de:"Weltraummaschinen f\u00fcr die Babel-Turm!",es:"M\u00e1quinas del espacio para Torre de Babel!",fr:"machines de l'espace pour la Tour de Babel!",pl:"Maszyny przestrze\u0144 do Wie\u017cy Babel!",tr:"Babel Kulesi i\u00e7in Uzay makineleri!",it:"macchine di spazio per Torre di Babele!",cs:"Space stroje pro Babel v\u011b\u017ee!",pt:"m\u00e1quinas de espa\u00e7o para a Torre de Babel!",ms:"Mesin ruang untuk Babel Tower!"};this.allPhrases.TXID_SEND_SPACEMACHINESTEXT={en:"My ideas for the next floors:",
ru:"\u041c\u043e\u0438 \u0438\u0434\u0435\u0438 \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u044d\u0442\u0430\u0436\u0435\u0439:",uk:"\u041c\u043e\u0457 \u0456\u0434\u0435\u0457 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u043f\u043e\u0432\u0435\u0440\u0445\u0456\u0432:",de:"Meine Ideen f\u00fcr die n\u00e4chsten Etagen:",es:"Mis ideas para las pr\u00f3ximas plantas:",fr:"Mes id\u00e9es pour les prochains \u00e9tages:",pl:"Moje pomys\u0142y na kolejne pi\u0119tra:",
tr:"Bir sonraki katlar i\u00e7in My fikirler:",it:"Le mie idee per i prossimi piani:",cs:"M\u00e9 my\u0161lenky pro p\u0159\u00ed\u0161t\u00ed podlahy:",pt:"Minhas id\u00e9ias para os pr\u00f3ximos pisos:",ms:"idea-idea saya untuk tingkat seterusnya:"};this.allPhrases.TXID_SENDREPORT={en:"Send report",ru:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0447\u0451\u0442",uk:"\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u0437\u0432\u0456\u0442",de:"Bericht senden",
es:"Enviar reportaje",fr:"Envoyer un rapport",pl:"Wy\u015blij raport",tr:"Rapor g\u00f6nder",it:"Spedisci il rapporto",cs:"Poslat zpr\u00e1vu",pt:"Enviar relat\u00f3rio",ms:"Hantar laporan"};this.allPhrases.TXID_SOMETHINGWRONG={en:"Something went wrong...",ru:"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a...",uk:"\u0429\u043e\u0441\u044c \u043f\u0456\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a...",de:"Etwas ist schief gelaufen...",es:"Algo sali\u00f3 mal...",
fr:"Quelque chose a mal tourn\u00e9 ...",pl:"Co\u015b posz\u0142o nie tak...",tr:"Bir \u015feyler yanl\u0131\u015f gitti...",it:"Qualcosa \u00e8 andato storto...",cs:"N\u011bco se pokazilo...",pt:"Algo deu errado ...",ms:"Ada sesuatu yang tidak kena ..."};this.allPhrases.TXID_STARTNEW={en:"Complete reset",ru:"\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441",uk:"\u041f\u043e\u0432\u043d\u0438\u0439 \u0437\u0431\u0440\u043e\u0441 \u0433\u0440\u0438",de:"Komplett-Reset",es:"reseteo completo",
fr:"compl\u00e8te remise \u00e0 z\u00e9ro",pl:"Kompletna zresetowane",tr:"Komple s\u0131f\u0131rlama",it:"reset completo",cs:"kompletn\u00ed resetov\u00e1n\u00ed",pt:"redefini\u00e7\u00e3o completa",ms:"reset lengkap"};this.allPhrases.TXID_SUCCESS={en:"Success!",ru:"\u0413\u043e\u0442\u043e\u0432\u043e!",uk:"\u0413\u043e\u0442\u043e\u0432\u043e!",de:"Erfolg!",es:"\u00a1\u00c9xito!",fr:"Succ\u00e8s!",pl:"Sukces!",tr:"Ba\u015far\u0131!",it:"Successo!",cs:"\u00dasp\u011bch!",pt:"Sucesso!",ms:"Kejayaan!"};
this.allPhrases.TXID_TIMEUNIT_DAY={en:"days",ru:"\u0434\u043d\u0435\u0439",uk:"\u0434\u043d\u0456\u0432",de:"Tage",es:"dias",fr:"journ\u00e9es",pl:"dni",tr:"g\u00fcnler",it:"giorni",cs:"dny",pt:"dias",ms:"hari"};this.allPhrases.TXID_TIMEUNIT_HOUR={en:"hour",ru:"\u0447\u0430\u0441",uk:"\u0433\u043e\u0434\u0438\u043d\u0443",de:"Stunde",es:"hora",fr:"heure",pl:"godzina",tr:"saat",it:"ora",cs:"hodina",pt:"hora",ms:"jam"};this.allPhrases.TXID_TIMEUNIT_MIN={en:"m",ru:"\u043c\u0438\u043d",uk:"\u0445\u0432",
de:"m",es:"metro",fr:"m",pl:"m",tr:"m",it:"m",cs:"m",pt:"m",ms:"m"};this.allPhrases.TXID_TIMEUNIT_MONTH={en:"month",ru:"\u043c\u0435\u0441\u044f\u0446",uk:"\u043c\u0456\u0441\u044f\u0446\u044c",de:"Monat",es:"mes",fr:"mois",pl:"miesi\u0105c",tr:"ay",it:"mese",cs:"M\u011bs\u00edc",pt:"m\u00eas",ms:"bulan"};this.allPhrases.TXID_TIMEUNIT_MS={en:"ms",ru:"\u043c\u0441",uk:"\u043c\u0441",de:"Frau",es:"em",fr:"SP",pl:"SM",tr:"Han\u0131m",it:"SM",cs:"sle\u010dna",pt:"em",ms:"Cik"};this.allPhrases.TXID_TIMEUNIT_SEC=
{en:"s",ru:"\u0441\u0435\u043a",uk:"\u0441\u0435\u043a",de:"s",es:"s",fr:"s",pl:"s",tr:"s",it:"S",cs:"s",pt:"s",ms:"s"};this.allPhrases.TXID_TIMEUNIT_WEEK={en:"week",ru:"\u043d\u0435\u0434\u0435\u043b\u044e",uk:"\u0442\u0438\u0436\u0434\u0435\u043d\u044c",de:"Woche",es:"semana",fr:"la semaine",pl:"tydzie\u0144",tr:"hafta",it:"settimana",cs:"t\u00fdden",pt:"semana",ms:"minggu"};this.allPhrases.TXID_TIMEUNIT_YEAR={en:"year",ru:"\u0433\u043e\u0434",uk:"\u0440\u0456\u043a",de:"Jahr",es:"a\u00f1o",fr:"an",
pl:"rok",tr:"y\u0131l",it:"anno",cs:"rok",pt:"ano",ms:"tahun"};this.allPhrases.TXID_TRANSLATORTHANKS={en:"",de:"Fielen Dank an MoonlightShadowz aus ArmorGames!",es:"Muchas gracias por la traducci\u00f3n a Roy Clark aka Blokus52 desde ArmorGames",fr:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",pl:"Wielkie podzi\u0119kowania dla \u0141ukasza Gazdy za t\u0142umaczenie na j\u0119zyk polski",tr:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",
it:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",cs:"Auto translated. If you'd like to help and improve it, please, email to general@cardswars.com We appreciate your help!",pt:"Muito obrigado a Andr\u00e9 Caldeira para a vers\u00e3o em Portugu\u00eas!",ms:"Terima kasih banyak kepada Fortnesslily0707 atas terjemahannya"};this.allPhrases.TXID_TRYAGAIN={en:"Please, try again later",ru:"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u043e\u0437\u0436\u0435",
uk:"\u0421\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0456\u0437\u043d\u0456\u0448\u0435",de:"Bitte versuchen Sie es sp\u00e4ter noch einmal",es:"Por favor, int\u00e9ntelo de nuevo m\u00e1s tarde",fr:"Veuillez r\u00e9essayer plus tard",pl:"Spr\u00f3buj ponownie p\u00f3\u017aniej",tr:"L\u00fctfen daha sonra tekrar deneyiniz",it:"Per favore riprova pi\u00f9 tardi",cs:"Pros\u00edm zkuste to znovu pozd\u011bji",pt:"Por favor, tente novamente mais tarde",
ms:"Sila cuba sebentar lagi"};this.allPhrases.TXID_TRYLOADAGAIN={en:"Load save",ru:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0435\u0439\u0432",uk:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0441\u0435\u0439\u0432",de:"Laden speichern",es:"Cargar guarda",fr:"Chargement de la sauvegarde",pl:"Za\u0142adowa\u0107 bezpiecznie",tr:"Y\u00fckle kaydet",it:"Carica Salva",cs:"zat\u00ed\u017een\u00ed save",pt:"carga save",ms:"beban jimat"};this.allPhrases.TXID_UNITS_COINSEACH=
{en:"coins/ea",ru:"\u043c\u043e\u043d\u0435\u0442\u044b / \u0448\u0442",uk:"\u043c\u043e\u043d\u0435\u0442\u0438 / \u0448\u0442",de:"M\u00fcnzen / st",es:"monedas / ea",fr:"pi\u00e8ces / ch",pl:"monety / ea",tr:"paralar / ea",it:"monete / ea",cs:"mince / ea",pt:"moedas / ea",ms:"syiling / ea"};this.allPhrases.TXID_UPGRNAME_BERTH={en:"Money from tourists",ru:"\u0414\u0435\u043d\u0435\u0433 \u0441 \u0442\u0443\u0440\u0438\u0441\u0442\u043e\u0432",uk:"\u0413\u0440\u043e\u0448\u0435\u0439 \u0437 \u0442\u0443\u0440\u0438\u0441\u0442\u0456\u0432",
de:"Geld von Touristen",es:"Dinero de turistas",fr:"L'argent des touristes",pl:"Pieni\u0105dze od turyst\u00f3w",tr:"turistlerden para",it:"Soldi da turisti",cs:"Pen\u00edze od turist\u016f",pt:"Dinheiro dos turistas",ms:"Wang daripada pelancong"};this.allPhrases.TXID_UPGRNAME_BRICKNUMBER={en:"Number of bricks created",ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439",uk:"\u0432\u0438\u0440\u043e\u0431\u043b\u044f\u0454 \u0446\u0435\u0433\u043b\u0438",
de:"Anzahl erstellter Steine",es:"N\u00famero de ladrillos creados",fr:"Nombre de briques cr\u00e9\u00e9",pl:"Ilo\u015b\u0107 cegie\u0142 stworzony",tr:"tu\u011fla say\u0131s\u0131 yaratt\u0131",it:"Numero di mattoni creato",cs:"Po\u010det cihel vytvo\u0159il",pt:"N\u00famero de tijolos criado",ms:"Beberapa batu bata dicipta"};this.allPhrases.TXID_UPGRNAME_BRICKTIME={en:"Brick processing time",ru:"\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043a\u0438\u0440\u043f\u0438\u0447\u0430",
uk:"\u0427\u0430\u0441 \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u0430 \u0446\u0435\u0433\u043b\u0438",de:"Ziegel Herstelldauer",es:"tiempo de procesamiento de ladrillo",fr:"temps de traitement brique",pl:"Czas przetwarzania ceg\u0142a",tr:"Tu\u011fla i\u015fleme s\u00fcresi",it:"Brick tempo di elaborazione",cs:"Doba zpracov\u00e1n\u00ed Brick",pt:"tempo de processamento tijolo",ms:"Brick masa pemprosesan"};this.allPhrases.TXID_UPGRNAME_BUNGEEMONEY={en:"Money in the window",ru:"\u0414\u0435\u043d\u044c\u0433\u0438 \u0432 \u043e\u043a\u043d\u0430\u0445",
uk:"\u0413\u0440\u043e\u0448\u0456 \u0432 \u0432\u0456\u043a\u043d\u0430\u0445",de:"Geld im Fenster",es:"Dinero en la ventana",fr:"L'argent dans la fen\u00eatre",pl:"Pieni\u0105dze w oknie",tr:"penceresinde Para",it:"Il denaro nella finestra",cs:"Pen\u00edze v okn\u011b",pt:"Dinheiro na janela",ms:"Wang dalam tetingkap"};this.allPhrases.TXID_UPGRNAME_BUNGEETIME={en:"Time between window opens",ru:"\u0412\u0440\u0435\u043c\u044f \u043c\u0435\u0436\u0434\u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f\u043c\u0438 \u043e\u043a\u043e\u043d",
uk:"\u0427\u0430\u0441 \u043c\u0456\u0436 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0442\u044f\u043c\u0438 \u0432\u0456\u043a\u043e\u043d",de:"Zeit zwischen Fenster ge\u00f6ffnet",es:"Tiempo entre la ventana se abre",fr:"Le temps entre la fen\u00eatre ouvre",pl:"Czas pomi\u0119dzy oknem otwiera",tr:"Pencerenin aras\u0131ndaki s\u00fcre a\u00e7\u0131l\u0131r",it:"Tempo tra finestra si apre",cs:"Doba mezi otev\u0159e okno",pt:"Tempo entre a janela abre",ms:"Masa antara tetingkap dibuka"};this.allPhrases.TXID_UPGRNAME_CARAWANPRICE=
{en:"Market prices increase",ru:"\u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0446\u0435\u043d \u043d\u0430 \u0440\u044b\u043d\u043a\u0435",uk:"\u0417\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0446\u0456\u043d \u043d\u0430 \u0440\u0438\u043d\u043a\u0443",de:"Die Marktpreise erh\u00f6hen",es:"Los precios de mercado aumentan",fr:"Les prix du march\u00e9 augmentation",pl:"Wzrost cen na rynku",tr:"Piyasa fiyatlar\u0131n\u0131n art\u0131\u015f",it:"aumento i prezzi di mercato",
cs:"Zv\u00fd\u0161en\u00ed ceny na trhu",pt:"aumento dos pre\u00e7os de mercado",ms:"harga pasaran peningkatan"};this.allPhrases.TXID_UPGRNAME_CHOPPERS={en:"Choppers",ru:"\u041b\u0435\u0441\u043e\u0440\u0443\u0431\u044b",uk:"\u043b\u0456\u0441\u043e\u0440\u0443\u0431\u0438",de:"Holzf\u00e4ller",es:"cortadores",fr:"Choppers",pl:"Choppers",tr:"Helikopterler",it:"Choppers",cs:"Choppers",pt:"Helic\u00f3pteros",ms:"Choppers"};this.allPhrases.TXID_UPGRNAME_CLOCKSPEED={en:"Time speed-up bonus",ru:"\u0411\u043e\u043d\u0443\u0441 \u043a \u0445\u043e\u0434\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438",
uk:"\u0411\u043e\u043d\u0443\u0441 \u0434\u043e \u0445\u043e\u0434\u0443 \u0447\u0430\u0441\u0443",de:"Zeitbeschleunigungs-Bonus",es:"Bonificaci\u00f3n de tiempo de aceleraci\u00f3n",fr:"Temps de bonus vitesse-up",pl:"Czas premia przy\u015bpieszenie",tr:"Zaman h\u0131z bonusu",it:"Tempo speed-up bonus",cs:"Doba zrychlen\u00ed bonus",pt:"Tempo b\u00f4nus de velocidade-up",ms:"Masa bonus kelajuan-up"};this.allPhrases.TXID_UPGRNAME_CLOUDPOWER={en:"Cloud growth speed",ru:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u043e\u0441\u0442\u0430 \u041e\u0431\u043b\u0430\u043a\u0430",
uk:"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f \u0425\u043c\u0430\u0440\u0438",de:"Wachstumsgeschwindigkeit der Wolke",es:"velocidad de crecimiento de la nube",fr:"la vitesse de croissance Cloud",pl:"Szybko\u015b\u0107 wzrostu chmura",tr:"Bulut b\u00fcy\u00fcme h\u0131z\u0131",it:"velocit\u00e0 di crescita nuvola",cs:"Cloud rychlost r\u016fstu",pt:"velocidade de crescimento Nuvem",ms:"kelajuan pertumbuhan awan"};this.allPhrases.TXID_UPGRNAME_DRUMPOWER=
{en:"Speed Increasing power",ru:"\u0421\u0438\u043b\u0430 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f",uk:"\u0441\u0438\u043b\u0430 \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0435\u043d\u043d\u044f",de:"Zunehmende Geschwindigkeit",es:"poder de incremento de velocidad",fr:"Vitesse Augmentation de puissance",pl:"Zwi\u0119kszenie pr\u0119dko\u015bci moc",tr:"H\u0131z Art\u0131rma g\u00fc\u00e7",it:"Velocit\u00e0 potere Aumentare",cs:"Zv\u00fd\u0161en\u00ed v\u00fdkonu rychlost",pt:"poder aumentar a velocidade",
ms:"Kelajuan Meningkatkan kuasa"};this.allPhrases.TXID_UPGRNAME_FIELD={en:"Grass from tap",ru:"\u0422\u0440\u0430\u0432\u044b \u0437\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0435",uk:"\u0422\u0440\u0430\u0432\u0438 \u0437\u0430 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f",de:"Grass pro Klick",es:"Hierba por toque",fr:"L'herbe du robinet",pl:"Trawy z kranu",tr:"musluktan \u00c7im",it:"Erba dal rubinetto",cs:"Grass z kohoutku",pt:"Grama da torneira",ms:"Rumput dari paip"};this.allPhrases.TXID_UPGRNAME_GALILEO=
{en:"Science generation",ru:"\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0430\u0443\u043a\u0438",uk:"\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u044f \u043d\u0430\u0443\u043a\u0438",de:"Wissenschaft Generation",es:"produccion de la ciencia",fr:"g\u00e9n\u00e9ration scientifique",pl:"generacja nauka",tr:"Bilim nesil",it:"generazione Scienza",cs:"Science generace",pt:"gera\u00e7\u00e3o de ci\u00eancia",ms:"generasi sains"};this.allPhrases.TXID_UPGRNAME_GEMSPROB={en:"Probability to find a ruby",
ru:"\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0440\u0443\u0431\u0438\u043d",uk:"\u0412\u0456\u0440\u043e\u0433\u0456\u0434\u043d\u0456\u0441\u0442\u044c \u0437\u043d\u0430\u0439\u0442\u0438 \u0440\u0443\u0431\u0456\u043d",de:"Wahrscheinlichkeit einen Rubin zu finden",es:"Probabilidad de encontrar un rub\u00ed",fr:"Probabilit\u00e9 de trouver un rubis",pl:"Prawdopodobie\u0144stwo znalezienia rubin",tr:"Olas\u0131l\u0131k bir yakut bulmak i\u00e7in",
it:"Probabilit\u00e0 di trovare un rubino",cs:"Pravd\u011bpodobnost naj\u00edt rub\u00edn",pt:"Probabilidade de encontrar um rubi",ms:"Kebarangkalian untuk mencari ruby"};this.allPhrases.TXID_UPGRNAME_GUNPOWDERPROD={en:"Gunpowder production",ru:"\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e\u0440\u043e\u0445\u0430",uk:"\u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u043e \u043f\u043e\u0440\u043e\u0445\u0443",de:"Gunpowder Produktion",es:"la producci\u00f3n de la p\u00f3lvora",
fr:"production Gunpowder",pl:"produkcja prochu",tr:"barut \u00fcretimi",it:"la produzione di polvere da sparo",cs:"v\u00fdroba st\u0159eln\u00fd prach",pt:"produ\u00e7\u00e3o de p\u00f3lvora",ms:"pengeluaran serbuk letupan"};this.allPhrases.TXID_UPGRNAME_GUNPOWDERSIMLOADS={en:"Number of simultaneous productions",ru:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432",
uk:"\u041a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043e\u0434\u043d\u043e\u0447\u0430\u0441\u043d\u0438\u0445 \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432",de:"Anzahl der gleichzeitigen Produktionen",es:"N\u00famero de producciones simult\u00e1neas",fr:"Nombre de productions simultan\u00e9es",pl:"Liczba jednoczesnych produkcjach",tr:"e\u015f zamanl\u0131 \u00fcretim say\u0131s\u0131",it:"Numero di produzioni simultanei",cs:"Po\u010det sou\u010dasn\u00fdch inscenac\u00ed",
pt:"N\u00famero de produ\u00e7\u00f5es simult\u00e2neas",ms:"Jumlah pengeluaran serentak"};this.allPhrases.TXID_UPGRNAME_HELIBOOMPOWER={en:"Explosion power",ru:"\u0421\u0438\u043b\u0430 \u0432\u0437\u0440\u044b\u0432\u0430",uk:"\u0441\u0438\u043b\u0430 \u0432\u0438\u0431\u0443\u0445\u0443",de:"Explosionsleistung",es:"fuerza de explosi\u00f3n",fr:"puissance d'explosion",pl:"moc eksplozji",tr:"Patlama g\u00fcc\u00fc",it:"esplosione di potenza",cs:"exploze energie",pt:"poder de explos\u00e3o",ms:"kuasa letupan"};
this.allPhrases.TXID_UPGRNAME_HELIBOOMS={en:"Number of explosions",ru:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0440\u044f\u0434\u043e\u0432",uk:"\u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u0440\u044f\u0434\u0456\u0432",de:"Anzahl der Explosionen",es:"N\u00famero de explosiones",fr:"Nombre d'explosions",pl:"Liczba wybuch\u00f3w",tr:"patlamalar\u0131n say\u0131s\u0131",it:"Numero di esplosioni",cs:"Po\u010det v\u00fdbuch\u016f",pt:"N\u00famero de explos\u00f5es",
ms:"Beberapa letupan"};this.allPhrases.TXID_UPGRNAME_IRRIGATORBOOST={en:"Grass production increase",ru:"\u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u0431\u043e\u0440\u0430 \u0442\u0440\u0430\u0432\u044b",uk:"\u0417\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0437\u0431\u043e\u0440\u0443 \u0442\u0440\u0430\u0432\u0438",de:"Grass Produktionssteigerung",es:"Aumento de la producci\u00f3n de hierba",fr:"L'herbe augmentation de la production",pl:"Trawa wzrost produkcji",
tr:"\u00c7im \u00fcretim art\u0131\u015f\u0131",it:"aumento la produzione di erba",cs:"Zv\u00fd\u0161en\u00ed produkce Grass",pt:"Grama aumento de produ\u00e7\u00e3o",ms:"Rumput peningkatan pengeluaran"};this.allPhrases.TXID_UPGRNAME_MINERS={en:"Miners",ru:"\u0428\u0430\u0445\u0442\u0435\u0440\u044b",uk:"\u0448\u0430\u0445\u0442\u0430\u0440\u0456",de:"Minenarbeiter",es:"mineros",fr:"mineurs",pl:"G\u00f3rniczy",tr:"Madenciler",it:"minatori",cs:"horn\u00edk\u016f",pt:"mineiros",ms:"Miners"};this.allPhrases.TXID_UPGRNAME_MOONSTAIRSPROD=
{en:"Moon stone production",ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u041b\u0443\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u043c\u043d\u044f",uk:"\u0412\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u043e \u041c\u0456\u0441\u044f\u0447\u043d\u043e\u0433\u043e \u043a\u0430\u043c\u0435\u043d\u044e",de:"Mond Steinproduktion",es:"producci\u00f3n de piedra de luna",fr:"la production de pierre de lune",pl:"Wydobycie kamienia ksi\u0119\u017cyc",tr:"Ay ta\u015f\u0131 \u00fcretimi",
it:"produzione di pietra di luna",cs:"V\u00fdroba Moon stone",pt:"produ\u00e7\u00e3o de pedra da lua",ms:"Moon pengeluaran batu"};this.allPhrases.TXID_UPGRNAME_MOWERS={en:"Mowers",ru:"\u041a\u043e\u0441\u0430\u0440\u0438",uk:"\u041a\u043e\u0441\u0430\u0440\u0456",de:"Bauern",es:"cortacespedes",fr:"tondeuses",pl:"Kosiarki",tr:"Bi\u00e7me Makineleri",it:"falciatrici",cs:"seka\u010dky",pt:"Cortadores",ms:"Pemotong rumput"};this.allPhrases.TXID_UPGRNAME_PLANKSTIME={en:"Number of planks created",ru:"\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0434\u043e\u0441\u043e\u043a",
uk:"\u0432\u0438\u0440\u043e\u0431\u043b\u044f\u0454 \u0434\u043e\u0449\u043e\u043a",de:"Anzahl erstellter Bretter",es:"N\u00famero de tablones creados",fr:"Nombre de planches cr\u00e9\u00e9",pl:"Ilo\u015b\u0107 desek stworzona",tr:"kalaslar\u0131n say\u0131s\u0131 yaratt\u0131",it:"Numero di assi creato",cs:"Po\u010det prken vytvo\u0159ena",pt:"N\u00famero de pranchas criado",ms:"Beberapa papan dicipta"};this.allPhrases.TXID_UPGRNAME_PROPAGANDA_POWER={en:"Production boost",ru:"\u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430",
uk:"\u0437\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u0430",de:"Produktionsschub",es:"impulsar la producci\u00f3n",fr:"coup de fouet \u00e0 la production",pl:"zwi\u0119kszenia produkcji",tr:"\u00dcretim art\u0131\u015f\u0131",it:"aumentare la produzione",cs:"produkce boost",pt:"aumentar a produ\u00e7\u00e3o",ms:"rangsangan pengeluaran"};this.allPhrases.TXID_UPGRNAME_PROPAGANDA_TIME={en:"Work time",ru:"\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u0432\u0440\u0435\u043c\u044f",
uk:"\u0420\u043e\u0431\u043e\u0447\u0438\u0439 \u0447\u0430\u0441",de:"Arbeitszeit",es:"Tiempo de trabajo",fr:"Temps de travail",pl:"Czas pracy",tr:"\u00c7al\u0131\u015fma zaman\u0131",it:"Tempo di lavoro",cs:"Pracovn\u00ed doba",pt:"Tempo de trabalho",ms:"Masa kerja"};this.allPhrases.TXID_UPGRNAME_PROPBOOSTCOEF={en:"Boost power",ru:"\u041f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u0438",uk:"\u043f\u0456\u0434\u0432\u0438\u0449\u0435\u043d\u043d\u044f \u043f\u043e\u0442\u0443\u0436\u043d\u043e\u0441\u0442\u0456",
de:"Boost-Leistung",es:"Refuerzo de potencia",fr:"puissance Boost",pl:"moc do\u0142adowania",tr:"Boost g\u00fc\u00e7",it:"Power Boost",cs:"boost v\u00fdkon",pt:"poder impulso",ms:"kuasa rangsangan"};this.allPhrases.TXID_UPGRNAME_PROPBOOSTTIME={en:"Boost duration",ru:"\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043d\u0438\u044f",uk:"\u0442\u0440\u0438\u0432\u0430\u043b\u0456\u0441\u0442\u044c \u043f\u0456\u0434\u0448\u0442\u043e\u0432\u0445\u0443\u0432\u0430\u043d\u043d\u044f",
de:"Boostdauer",es:"duraci\u00f3n de impulso",fr:"Dur\u00e9e Boost",pl:"czas trwania do\u0142adowania",tr:"Boost s\u00fcresi",it:"durata Boost",cs:"doba trv\u00e1n\u00ed boost",pt:"dura\u00e7\u00e3o impulso",ms:"tempoh Boost"};this.allPhrases.TXID_UPGRNAME_PUMPPOWER={en:"Water pumping power",ru:"\u041c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043a\u0430\u0447\u043a\u0438 \u0432\u043e\u0434\u044b",uk:"\u041f\u043e\u0442\u0443\u0436\u043d\u0456\u0441\u0442\u044c \u043d\u0430\u043a\u0430\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u043e\u0434\u0438",
de:"Wasserpumpleistung",es:"potencia de bombeo de agua",fr:"puissance de pompage de l'eau",pl:"Woda pompowana moc",tr:"Su pompalama g\u00fcc\u00fc",it:"Acqua potenza di pompaggio",cs:"\u010derpac\u00ed v\u00fdkon Voda",pt:"\u00c1gua pot\u00eancia de bombeamento",ms:"Air kuasa mengepam"};this.allPhrases.TXID_UPGRNAME_RESTARTFLOORS={en:"Floors after restart",ru:"\u042d\u0442\u0430\u0436\u0435\u0439 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430",uk:"\u041f\u043e\u0432\u0435\u0440\u0445\u0456\u0432 \u043f\u0456\u0441\u043b\u044f \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0443",
de:"Fu\u00dfboden nach einem Neustart",es:"Pisos despu\u00e9s de reinicio",fr:"\u00c9tages apr\u00e8s red\u00e9marrage",pl:"Pod\u0142oga po restarcie",tr:"yeniden ba\u015flat\u0131ld\u0131ktan sonra Katlar",it:"Pavimenti dopo il riavvio",cs:"Podlahy po restartu",pt:"Pisos ap\u00f3s a reinicializa\u00e7\u00e3o",ms:"Tingkat selepas restart"};this.allPhrases.TXID_UPGRNAME_RESTARTGB={en:"Additional Golden Bricks bonus after restart",ru:"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u043e\u043d\u0443\u0441 \u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u041a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430",
uk:"\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0431\u043e\u043d\u0443\u0441 \u0417\u043e\u043b\u043e\u0442\u0438\u0445 \u041a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0443",de:"Zus\u00e4tzliche Goldene Bricks Bonus nach dem Neustart",es:"Bono adicional de ladrillos de oro despu\u00e9s de reiniciar",fr:"Briques d'or bonus suppl\u00e9mentaire apr\u00e8s le red\u00e9marrage",pl:"Dodatkowa premia Z\u0142oty Ceg\u0142a po restarcie",
tr:"yeniden ba\u015flat\u0131ld\u0131ktan sonra ek Alt\u0131n Tu\u011fla ikramiye",it:"Ulteriori oro Mattoni bonus dopo il riavvio",cs:"Dodate\u010dn\u00fd bonus Golden Cihly po restartu",pt:"Adicional b\u00f4nus de Ouro Bricks ap\u00f3s a reinicializa\u00e7\u00e3o",ms:"Bricks bonus Golden tambahan selepas restart"};this.allPhrases.TXID_UPGRNAME_RESTARTMONEY={en:"Money left after restart",ru:"\u0414\u0435\u043d\u0435\u0433 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438",
uk:"\u0413\u0440\u043e\u0448\u0435\u0439 \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f",de:"Geld \u00fcbrig nach dem Neustart",es:"Dinero que queda despu\u00e9s de reiniciar",fr:"Argent apr\u00e8s red\u00e9marrage",pl:"Pieni\u0105dze w lewo po restarcie",tr:"Para yeniden ba\u015flat\u0131ld\u0131ktan sonra sol",it:"Soldi a sinistra dopo il riavvio",cs:"Pen\u00edze ode\u0161el po restartu",pt:"Dinheiro deixado ap\u00f3s o rein\u00edcio",
ms:"Wang yang tinggal selepas restart"};this.allPhrases.TXID_UPGRNAME_RESTARTTIME={en:"Offline time bonus after restart",ru:"\u0411\u043e\u043d\u0443\u0441\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430",uk:"\u0411\u043e\u043d\u0443\u0441\u043d\u043e\u0433\u043e \u0447\u0430\u0441\u0443 \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0443",
de:"Offline-Zeit-Bonus nach dem Neustart",es:"bono de tiempo sin conexi\u00f3n despu\u00e9s de reiniciar",fr:"Hors ligne bonus de temps apr\u00e8s le red\u00e9marrage",pl:"Offline premia czas po restarcie",tr:"yeniden ba\u015flat\u0131ld\u0131ktan sonra \u00c7evrim s\u00fcresi ikramiye",it:"bonus di tempo non in linea dopo il riavvio",cs:"Offline \u010das bonus po restartu",pt:"b\u00f4nus de tempo offline ap\u00f3s a reinicializa\u00e7\u00e3o",ms:"bonus masa luar talian selepas restart"};this.allPhrases.TXID_UPGRNAME_SCIENCEBOOST=
{en:"Science gathering bonus",ru:"\u0411\u043e\u043d\u0443\u0441 \u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0443 \u041d\u0430\u0443\u043a\u0438",uk:"\u0411\u043e\u043d\u0443\u0441 \u0434\u043e \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u0430 \u041d\u0430\u0443\u043a\u0438",de:"Wissenschaft Versammlung Bonus",es:"bono produccion de Ciencia",fr:"bonus rassemblement scientifique",pl:"gromadzenie premia nauka",tr:"Bilim toplama ikramiye",it:"bonus raduno Scienza",
cs:"bonus setk\u00e1n\u00ed Science",pt:"b\u00f4nus encontro Ci\u00eancia",ms:"bonus perhimpunan sains"};this.allPhrases.TXID_UPGRNAME_STONE={en:"Stone from tap",ru:"\u041a\u0430\u043c\u043d\u044f \u0437\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0435",uk:"\u041a\u0430\u043c\u0435\u043d\u044e \u0437\u0430 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f",de:"Stein pro Klick",es:"Piedra por toque",fr:"Pierre du robinet",pl:"Kamiennego z kranu",tr:"musluktan Ta\u015f",it:"Pietra dal rubinetto",
cs:"K\u00e1men z kohoutku",pt:"Pedra da torneira",ms:"Batu dari paip"};this.allPhrases.TXID_UPGRNAME_TELESCOPE={en:"Science generation",ru:"\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0430\u0443\u043a\u0438",uk:"\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u044f \u043d\u0430\u0443\u043a\u0438",de:"Wissenschaft Generation",es:"produccion de la ciencia",fr:"g\u00e9n\u00e9ration scientifique",pl:"generacja nauka",tr:"Bilim nesil",it:"generazione Scienza",cs:"Science generace",
pt:"gera\u00e7\u00e3o de ci\u00eancia",ms:"generasi sains"};this.allPhrases.TXID_UPGRNAME_TRANSPORT={en:"Transport capacity",ru:"\u041e\u0431\u044a\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438",uk:"\u043e\u0431\u0441\u044f\u0433 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",de:"Transportkapazit\u00e4t",es:"capacidad de transporte",fr:"capacit\u00e9 de transport",pl:"przepustowo\u015b\u0107",tr:"Ta\u015f\u0131ma kapasitesi",
it:"capacit\u00e0 di trasporto",cs:"kapacita doprava",pt:"capacidade de transporte",ms:"kapasiti pengangkutan"};this.allPhrases.TXID_UPGRNAME_UFOCAPACITY={en:"UFO transport capacity",ru:"\u0413\u0440\u0443\u0437\u043e\u043f\u043e\u0434\u044a\u0451\u043c\u043d\u043e\u0441\u0442\u044c \u041d\u041b\u041e",uk:"\u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430 \u0437\u0434\u0430\u0442\u043d\u0456\u0441\u0442\u044c \u041d\u041b\u041e",de:"UFO Transportkapazit\u00e4t",es:"la capacidad de transporte del UFO",
fr:"capacit\u00e9 de transport UFO",pl:"UFO przepustowo\u015b\u0107",tr:"UFO ta\u015f\u0131ma kapasitesi",it:"capacit\u00e0 di trasporto UFO",cs:"UFO p\u0159epravn\u00ed kapacita",pt:"capacidade de transporte UFO",ms:"kapasiti pengangkutan UFO"};this.allPhrases.TXID_UPGRNAME_UFOCHARGETIME={en:"Time of UFO charging",ru:"\u0412\u0440\u0435\u043c\u044f \u0437\u0430\u0440\u044f\u0434\u043a\u0438 \u041d\u041b\u041e",uk:"\u0427\u0430\u0441 \u0437\u0430\u0440\u044f\u0434\u043a\u0438 \u041d\u041b\u041e",
de:"Zeit der UFO Lade",es:"Tiempo de carga UFO",fr:"Temps de charge UFO",pl:"Czas \u0142adowania UFO",tr:"UFO \u015farj zaman\u0131",it:"Tempo di ricarica UFO",cs:"Doba nab\u00edjen\u00ed UFO",pt:"Hora do UFO carregamento",ms:"Masa UFO pengecasan"};this.allPhrases.TXID_UPGRNAME_UFONUMFLIGHT={en:"Number of transports on a single charge",ru:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0438\u0440\u043e\u0432\u043e\u043a \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0437\u0430\u0440\u044f\u0434\u043a\u0435",
uk:"\u041a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u044c \u043d\u0430 \u043e\u0434\u043d\u0456\u0439 \u0437\u0430\u0440\u044f\u0434\u0446\u0456",de:"Anzahl der Transporte auf einer einzigen Ladung",es:"N\u00famero de transportes con una sola carga",fr:"Nombre de transports sur une seule charge",pl:"Liczba transport\u00f3w na jednym \u0142adowaniu",tr:"Tek bir \u015farjla ta\u015f\u0131ma say\u0131s\u0131",it:"Numero di trasporti con una singola carica",
cs:"Po\u010det transport\u016f na jedno nabit\u00ed",pt:"N\u00famero de transportes com uma \u00fanica carga",ms:"Bilangan pengangkutan atas tuduhan yang sama"};this.allPhrases.TXID_UPGRNAME_WATEREXTRACTION={en:"Water extraction",ru:"\u0434\u043e\u0431\u044b\u0447\u0430 \u0432\u043e\u0434\u044b",uk:"\u0432\u0438\u0434\u043e\u0431\u0443\u0442\u043e\u043a \u0432\u043e\u0434\u0438",de:"Wassergewinnung",es:"extracci\u00f3n de agua",fr:"extraction de l'eau",pl:"Wydobywanie wody",tr:"Su \u00e7\u0131karma",
it:"estrazione dell'acqua",cs:"odb\u011br vody",pt:"extrac\u00e7\u00e3o de \u00e1gua",ms:"pengambilan air"};this.allPhrases.TXID_UPGRNAME_WOOD={en:"Wood from tap",ru:"\u0414\u0435\u0440\u0435\u0432\u0430 \u0437\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0435",uk:"\u0414\u0435\u0440\u0435\u0432\u0430 \u0437\u0430 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f",de:"Holz pro Klick",es:"La madera por toque",fr:"Bois du robinet",pl:"Drewno z kranu",tr:"musluktan Ah\u015fap",it:"Legno dal rubinetto",
cs:"D\u0159evo z kohoutku",pt:"Madeira a partir da torneira",ms:"Kayu dari paip"};this.allPhrases.TXID_UPGRNAME_WOODTIME={en:"Wood processing time",ru:"\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0414\u043e\u0441\u043a\u0438",uk:"\u0427\u0430\u0441 \u0432\u0438\u0440\u043e\u0431\u043d\u0438\u0446\u0442\u0432\u0430 \u0414\u043e\u0448\u043a\u0438",de:"Holzabbaugeschwindigkeit",es:"tiempo de procesamiento de la madera",fr:"temps de traitement du bois",
pl:"Czas obr\u00f3bki drewna",tr:"A\u011fa\u00e7 i\u015fleme s\u00fcresi",it:"Legno tempo di elaborazione",cs:"Doba zpracov\u00e1n\u00ed d\u0159eva",pt:"tempo de processamento de madeira",ms:"Wood masa pemprosesan"};this.allPhrases.TXID_UPGRUNITS_SEC={en:"sec",ru:"\u0441\u0435\u043a",uk:"\u0441\u0435\u043a",de:"Sekunde",es:"segundo",fr:"seconde",pl:"s",tr:"sek",it:"secondo",cs:"sekunda",pt:"seg",ms:"sec"};this.allPhrases.TXID_UPGRUNITS_WATERPERSEC={en:"w/sec",ru:"\u0432\u043e\u0434\u044b / \u0441\u0435\u043a",
uk:"\u0432\u043e\u0434\u0438 / \u0441\u0435\u043a",de:"w / sec",es:"a / seg",fr:"w / sec",pl:"m / s",tr:"a\u011f\u0131rl\u0131k / sn",it:"w / sec",cs:"m / sec",pt:"w / seg",ms:"w / sec"};this.allPhrases.TXID_WATERFLOW={en:"Water flow",ru:"\u041f\u043e\u0442\u043e\u043a \u0432\u043e\u0434\u044b",uk:"\u041f\u043e\u0442\u0456\u043a \u0432\u043e\u0434\u0438",de:"Wasserfluss",es:"Flujo de agua",fr:"L'\u00e9coulement de l'eau",pl:"Przep\u0142yw wody",tr:"Su ak\u0131\u015f\u0131",it:"Flusso d'acqua",cs:"Pr\u016ftok vody",
pt:"Fluxo de \u00e1gua",ms:"aliran air"};this.allPhrases.TXID_WATERINCLOUD={en:"Water inside the cloud",ru:"\u0412\u043e\u0434\u044b \u0432 \u043e\u0431\u043b\u0430\u043a\u0435",uk:"\u0412\u043e\u0434\u0438 \u0432 \u0445\u043c\u0430\u0440\u0456",de:"Wasser im Inneren der Wolke",es:"El agua dentro de la nube",fr:"Eau \u00e0 l'int\u00e9rieur du nuage",pl:"Wody w chmurze",tr:"bulutun i\u00e7ine su",it:"L'acqua all'interno della nube",cs:"Voda uvnit\u0159 mraku",pt:"\u00c1gua no interior da nuvem",ms:"Air di dalam awan"};
this.allPhrases.TXID_WATERINCLOUDINFLOW={en:"Cloud growth speed",ru:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u043e\u0441\u0442\u0430 \u043e\u0431\u043b\u0430\u043a\u0430",uk:"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f \u0445\u043c\u0430\u0440\u0438",de:"Cloud Wachstumsgeschwindigkeit",es:"la velocidad de crecimiento de la nube",fr:"la vitesse de croissance Cloud",pl:"Szybko\u015b\u0107 wzrostu chmura",tr:"Bulut b\u00fcy\u00fcme h\u0131z\u0131",
it:"velocit\u00e0 di crescita nuvola",cs:"Cloud rychlost r\u016fstu",pt:"velocidade de crescimento Nuvem",ms:"kelajuan pertumbuhan awan"};this.allPhrases.TXID_WATERINCLOUDOUTFLOW={en:"Rain outflow from the cloud",ru:"\u0412\u044b\u0442\u0435\u043a\u0430\u043d\u0438\u0435 \u0434\u043e\u0436\u0434\u044f \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u0430",uk:"\u0412\u0438\u0442\u0456\u043a\u0430\u043d\u043d\u044f \u0434\u043e\u0449\u0443 \u0437 \u0445\u043c\u0430\u0440\u0438",de:"Regen Abfluss aus der Wolke",
es:"Lluvia flujo de salida desde la nube",fr:"\u00e9coulement de pluie \u00e0 partir du nuage",pl:"Deszcz odp\u0142yw z chmury",tr:"Buluttan Ya\u011fmur \u00e7\u0131k\u0131\u015f",it:"La pioggia deflusso dalla nube",cs:"De\u0161\u0165ov\u00fd odtok z mraku",pt:"sa\u00edda de chuva a partir da nuvem",ms:"aliran keluar hujan dari awan"};this.allPhrases.TXID_WATERINCLOUDTIME={en:"Time till the next rain",ru:"\u0412\u0440\u0435\u043c\u044f \u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u0436\u0434\u044f",
uk:"\u0427\u0430\u0441\u0443 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0434\u043e\u0449\u0443",de:"Zeit bis zum n\u00e4chsten Regen",es:"Tiempo hasta la pr\u00f3xima lluvia",fr:"Temps jusqu'\u00e0 la prochaine pluie",pl:"Czas do nast\u0119pnego deszczu",tr:"Bir sonraki ya\u011fmur kadar Zaman",it:"Il tempo fino alla prossima pioggia",cs:"\u010cas do p\u0159\u00ed\u0161t\u00edho de\u0161ti",pt:"Tempo at\u00e9 a pr\u00f3xima chuva",ms:"Masa sehingga hujan seterusnya"};
this.allPhrases.TXID_WATERINWELL={en:"Water in the water well",ru:"\u0412\u043e\u0434\u044b \u0432 \u043a\u043e\u043b\u043e\u0434\u0446\u0435",uk:"\u0412\u043e\u0434\u0438 \u0432 \u043a\u043e\u043b\u043e\u0434\u044f\u0437\u0456",de:"Das Wasser im Brunnen",es:"El agua en el pozo de agua",fr:"L'eau dans l'eau de puits",pl:"Woda w studni",tr:"Suda Su kuyusu",it:"L'acqua in acqua di pozzo",cs:"Voda ve vod\u011b dob\u0159e",pt:"\u00c1gua na \u00e1gua bem",ms:"Air di dalam air dengan baik"};this.allPhrases.TXID_WATERWELLRESTORATION=
{en:"Water restoration speed",ru:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0434\u044b",uk:"\u0428\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044c \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u043e\u0434\u0438",de:"Wassersanierung Geschwindigkeit",es:"velocidad de la restauraci\u00f3n del agua",fr:"Vitesse de restauration de l'eau",pl:"Woda pr\u0119dko\u015b\u0107 przywr\u00f3cenie",
tr:"Su restorasyon h\u0131z\u0131",it:"Velocit\u00e0 di ripristino dell'acqua",cs:"Rychlost obnoven\u00ed vody",pt:"velocidade de restaura\u00e7\u00e3o de \u00e1gua",ms:"kelajuan pemulihan air"};this.allPhrases.TXID_WORD_COINS={en:"coins",ru:"\u043c\u043e\u043d\u0435\u0442",uk:"\u043c\u043e\u043d\u0435\u0442",de:"M\u00fcnzen",es:"monedas",fr:"Monnaie",pl:"monety",tr:"madeni para",it:"monete",cs:"mince",pt:"moedas",ms:"syiling"};this.allPhrases.TXID_WORLDDESC_BABELTOWER={en:"Build the tower to the sky and beyond!",
ru:"\u041f\u043e\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u0448\u043d\u044e \u0434\u043e \u043d\u0435\u0431\u0430 \u0438 \u0432\u044b\u0448\u0435!",uk:"\u041f\u043e\u0431\u0443\u0434\u0443\u0439\u0442\u0435 \u0432\u0435\u0434\u0443 \u0434\u043e \u043d\u0435\u0431\u0430 \u0432\u0438\u0449\u0435!",de:"Bauen Sie den Turm in den Himmel und dar\u00fcber hinaus!",es:"Construir la torre hacia el cielo y m\u00e1s all\u00e1!",fr:"Construire la tour vers le ciel et au-del\u00e0!",pl:"Zbudowa\u0107 wie\u017c\u0119 do nieba i poza ni\u0105!",
tr:"g\u00f6ky\u00fcz\u00fc ve \u00f6telere kule in\u015fa!",it:"Costruire la torre verso il cielo e oltre!",cs:"Stav\u011bt v\u011b\u017ee k nebi a je\u0161t\u011b d\u00e1l!",pt:"Construir a torre para o c\u00e9u e al\u00e9m!",ms:"Membina menara ke langit dan seterusnya!"};this.allPhrases.TXID_WORLDNAME_BABELTOWER={en:"Babel Tower",ru:"\u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u0430\u044f \u0431\u0430\u0448\u043d\u044f",uk:"\u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u044c\u043a\u0430 \u0432\u0435\u0436\u0430",
de:"Turm zu Babel",es:"Torre de Babel",fr:"Tour de Babel",pl:"Wie\u017ca Babel",tr:"Babil Kulesi",it:"Torre di Babele",cs:"Babel Tower",pt:"Torre de Babel",ms:"Menara Babel"};this.updatedButtons=[];var a=localStorage.getItem("lang");a=this.availableLangs.indexOf(a);-1==a?(this.langCode="en",localStorage.setItem("lang",this.langCode)):this.langCode=this.availableLangs[a]};Translator.prototype.registerButton=function(a){this.updatedButtons.push(a)};
Translator.prototype.changeLanguage=function(a){if(a!=this.langCode){this.langCode=a;for(a=0;a<this.updatedButtons.length;a++)this.updatedButtons[a].updateTextTranslation();localStorage.setItem("lang",this.langCode)}};Translator.prototype.changeLang2Next=function(){var a=this.availableLangs.indexOf(this.langCode);this.changeLanguage(this.availableLangs[(a+1)%this.availableLangs.length])};Translator.prototype.getCurrentLangsButtonTexture=function(){return"w000_langIcon"+this.langCode+"4new0000"};
Translator.prototype.selectPhraseOfLanguage=function(a){return a.hasOwnProperty(this.langCode)?a[this.langCode]:a.hasOwnProperty("en")?a.en:""};
Translator.prototype.translateText=function(a){var b=a.indexOf("TXID_");if(-1==b)return a;a.substring(0,b);var c;for(c=b+5;c<a.length&&-1!=this.lettersInTextCode.indexOf(a.charAt(c));c++);var d=a.substring(0,b);b=a.substring(b,c);a=a.substring(c);(c=this.allPhrases[b])&&(c.hasOwnProperty(this.langCode)?b=c[this.langCode]:c.hasOwnProperty("en")&&(b=c.en));return d+b+this.translateText(a)};
var NewsReader=function(){this.hasNewNews=this.hasLoadedNews=!1;this.newsArray=[];this.lastReadNewsId=-1;var a=localStorage.getItem("newsId");this.lastReadNewsId="null"!=a&&null!=a&&""!=a?eval(a):-1;localStorage.setItem("newsId",this.lastReadNewsId)};
NewsReader.prototype.isNewsValid=function(a){var b=window.bottleScreen.world;if("isObsolete"in a&&(1==a.isObsolete||"true"==a.isObsolete))return!1;var c=!1;"games"in a&&(-1!=a.games.indexOf("all")?(c=!0,"excludedgames"in a&&-1!=a.excludedgames.indexOf(""+b.worldTypeId)&&(c=!1)):-1!=a.games.indexOf(""+b.worldTypeId)&&(c=!0));c&&("startDate"in a&&(b=new Date(a.startDate),Date.now()<b&&(c=!1)),"endDate"in a&&(a=new Date(a.endDate),Date.now()+864E5>a&&(c=!1)));return c};
NewsReader.prototype.loadCurrentNews2Show=function(){if(0==this.newsArray.length)return null;-1==this.lastReadNewsId&&(this.lastReadNewsId=0);this.lastReadNewsId>=this.newsArray.length&&(this.lastReadNewsId=this.newsArray.length-1);localStorage.setItem("newsId",this.lastReadNewsId);return this.newsArray[this.lastReadNewsId]};
NewsReader.prototype.setPrevNewsId=function(){for(var a=this.lastReadNewsId,b=!1;0<a;){a--;var c=this.newsArray[a];if(this.isNewsValid(c)){this.lastReadNewsId=a;b=!0;break}}if(!b)for(a=this.newsArray.length;0<a;)if(a--,c=this.newsArray[a],this.isNewsValid(c)){this.lastReadNewsId=a;break}localStorage.setItem("newsId",this.lastReadNewsId)};
NewsReader.prototype.setNextNewsId=function(){for(var a=this.lastReadNewsId,b=!1;a<this.newsArray.length-1;){a++;var c=this.newsArray[a];if(this.isNewsValid(c)){this.lastReadNewsId=a;b=!0;break}}if(!b)for(a=-1;a<this.newsArray.length-1;)if(a++,c=this.newsArray[a],this.isNewsValid(c)){this.lastReadNewsId=a;break}localStorage.setItem("newsId",this.lastReadNewsId)};
NewsReader.prototype.checkIfHasNewNews=function(){for(var a=!1,b=this.lastReadNewsId;b<this.newsArray.length-1;)if(b++,this.isNewsValid(this.newsArray[b])){a=!0;break}this.hasNewNews=a};NewsReader.prototype.getJSON=function(a,b){var c=new XMLHttpRequest;c.open("GET",a,!0);c.responseType="json";c.onload=function(){var a=c.status;200==a?b(null,c.response):b(a)};c.send()};
NewsReader.prototype.readNews=function(){try{this.getJSON("https://generalvimes.github.io/anews.json",function(a,b){if(null!=a)window.newsReader.useBackup();else try{b.news?(window.newsReader.newsArray=b.news,window.newsReader.hasLoadedNews=!0):window.newsReader.useBackup()}catch(c){window.newsReader.useBackup()}})}catch(a){window.newsReader.useBackup()}};
NewsReader.prototype.useBackup=function(){this.bkpJSON={news:[{games:["3"],excludedgames:[""],uid:"update",caption:{en:"Content update!",ru:"\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435!"},message:{en:"Thank you for playing and giving excellent suggestions! Meet new machines in v.1.0.6\nElephant - carries a great load of stone\nField - produces food for the elephant\nClock - speeds up the time.\nIf you have already completed floor 6, we recommend you to collect Golden Bricks and restart the building to see the new content\n\nWould you like to suggest your own ideas for the next update?",
ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442\u0435 \u0438 \u0434\u0430\u0451\u0442\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b! \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.0.6\n\n\u0421\u043b\u043e\u043d - \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043c\u043d\u044f\n\u041f\u043e\u043b\u0435 - \u0432\u044b\u0440\u0430\u0449\u0438\u0432\u0430\u0435\u0442 \u0435\u0434\u0443 \u0434\u043b\u044f \u0441\u043b\u043e\u043d\u0430\n\u0427\u0430\u0441\u044b - \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0442 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.\n\n\u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0436\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u044d\u0442\u0430\u0436 6, \u043c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043d\u0443\u0441 \u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0439\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u043e\u0432\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438\n\n\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0438\u0434\u0435\u044e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f?"},
answers:[{text:{en:"Email"},link:"mailto:general@cardswars.com?subject=BabelTower Idea"}],startDate:"16-Jun-2020",endDate:"28-Jun-2020"},{games:["all"],uid:"modeIdles",caption:{en:"More Idle Games!",ru:"\u0411\u043e\u043b\u044c\u0448\u0435 \u0430\u0439\u0434\u043b\u043e\u0432!"},message:{en:"Would you like to check more idle games by Airapport (in a new window)?",ru:"\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u0430\u0448\u0438 \u0430\u0439\u0434\u043b \u0438\u0433\u0440\u044b (\u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435)?"},
answers:[{text:{en:"App Store"},link:"https://apps.apple.com/us/developer/alexey-izvalov/id1437172357"},{text:{en:"Google Play"},link:"https://play.google.com/store/apps/dev?id=6075165531768716801"}],isObsolete:"false",startDate:"16-Jun-2020"},{games:["all"],uid:"facebook",caption:{en:"Players Community",ru:"\u0421\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u0438\u0433\u0440\u043e\u043a\u043e\u0432"},message:{en:"You are welcome to join the players' community in Discord",ru:"\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u043a \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0432 \u0414\u0438\u0441\u043a\u043e\u0440\u0434\u0435"},
answers:[{text:{en:"Join",ru:"\u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f"},link:"https://discord.gg/EJ8hPpm"}],isObsolete:"false",startDate:"16-Jun-2020"},{games:["3"],excludedgames:[""],uid:"update",caption:{en:"Content update! 1.0.7",ru:"\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435! 1.0.7"},message:{en:"Thank you for playing and giving excellent suggestions! Meet new machines in v.1.0.7\nWater extractor - gets the water from underground\nCaravanserai - increases the market prices and auto-sells your goods\nHelicopter - drops dynamite to the Quarry to speed up Stone mining\nIf you have already completed floor 8, we recommend you to collect Golden Bricks and restart the building to see the new content\n\nWould you like to suggest your own ideas for the next update?",
ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442\u0435 \u0438 \u0434\u0430\u0451\u0442\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b! \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.0.7\n\n\u0411\u0443\u0440 - \u043e\u0431\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0434\u0443 \u0438\u0437-\u043f\u043e\u0434 \u0437\u0435\u043c\u043b\u0438\n\u041a\u0430\u0440\u0430\u0432\u0430\u043d-\u0441\u0430\u0440\u0430\u0439 - \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u0446\u0435\u043d\u044b \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u043e\u0434\u0430\u0451\u0442 \u0432\u0430\u0448\u0438 \u0442\u043e\u0432\u0430\u0440\u044b\n\u0412\u0435\u0440\u0442\u043e\u043b\u0451\u0442 - \u0432\u0437\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043c\u0435\u043d\u044c \u0432 \u043a\u0430\u0440\u044c\u0435\u0440\u0435, \u0443\u0441\u043a\u043e\u0440\u044f\u044f \u0435\u0433\u043e \u0434\u043e\u0431\u044b\u0447\u0443\n\n\u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0436\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u044d\u0442\u0430\u0436 8, \u043c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043d\u0443\u0441 \u0417\u043e\u043b\u043e\u0442\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0439\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u043e\u0432\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438\n\n\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0438\u0434\u0435\u044e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f?"},
answers:[{text:{en:"Email"},link:"mailto:general@cardswars.com?subject=BabelTower Idea"}],startDate:"28-Jun-2020",endDate:"10-Jul-2020"},{games:["3"],excludedgames:[""],uid:"update",caption:{en:"Content update! 1.0.8",ru:"\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435! 1.0.8"},message:{en:"Thank you for playing and giving excellent suggestions! In the new version the concept of Science is added. After level 11 you can get Galileo, Laboratory and Telescope, which will boost your following progress. Also many additional tweaks were made\n\nWould you like to suggest your own ideas for the next update?",
ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442\u0435 \u0438 \u0434\u0430\u0451\u0442\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b! \u0412 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u041d\u0430\u0443\u043a\u0438. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u0430\u0436\u0430 11 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0413\u0430\u043b\u043b\u0438\u043b\u0435\u0439, \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u044f \u0438 \u0442\u0435\u043b\u0435\u0441\u043a\u043e\u043f, \u043e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u0432\u0430\u043c \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441. \n\n\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0438\u0434\u0435\u044e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f?"},
answers:[{text:{en:"Email"},link:"mailto:general@cardswars.com?subject=BabelTower Idea"}],startDate:"10-Jul-2020",endDate:"20-Jul-2020"},{games:["3"],excludedgames:[""],uid:"update",caption:{en:"Livestream from the developer",ru:"\u0421\u0442\u0440\u0438\u043c \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430"},message:{en:"On Sunday, 12th Jul, the developer of Babel Tower will be streaming the game and discuss the future game development direction. Will be happy to see you, please, join!",
ru:"\u0412 \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435, 12 \u0438\u044e\u043b\u044f, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0412\u0430\u0432\u0438\u043b\u043e\u043d\u0441\u043a\u043e\u0439 \u0411\u0430\u0448\u043d\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438 \u0441\u0442\u0440\u0438\u043c \u0438 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0438\u0434\u0435\u0438 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f. \u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0430\u0441 \u043d\u0430 \u0441\u0442\u0440\u0438\u043c\u0435, \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c!"},
answers:[{text:{en:"Youtube"},link:"https://www.youtube.com/watch?v=ocQPnpF9_Go"}],startDate:"10-Jul-2020",endDate:"13-Jul-2020"},{games:["3"],uid:"mobileVersion",caption:{en:"Mobilve version raedy!",ru:"\u0413\u043e\u0442\u043e\u0432\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f!"},message:{en:"Would you like to play this game on your mobile device?",ru:"\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u044d\u0442\u0443 \u0438\u0433\u0440\u0443 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435?"},
answers:[{text:{en:"App Store"},link:"https://apps.apple.com/us/app/idle-tower-builder/id1527621990"},{text:{en:"Google Play"},link:"https://play.google.com/store/apps/details?id=com.airapport.idletowerbuilder"}],isObsolete:"false",startDate:"15-Aug-2020"},{games:["3"],uid:"perpetuum",caption:{en:"great video review!",ru:"\u041e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u0438\u0434\u0435\u043e\u043e\u0431\u0437\u043e\u0440!"},message:{en:"Great youtuber Perpetuumworld hasAttribute reviewed the game on his channel",
ru:"\u0417\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u044e\u0442\u0443\u0431\u0435\u0440 Perpetuumworld \u0441\u0434\u0435\u043b\u0430\u043b \u043e\u0431\u0437\u043e\u0440 \u0438\u0433\u0440\u044b \u043d\u0430 \u0441\u0432\u043e\u0451\u043c \u043a\u0430\u043d\u0430\u043b\u0435"},answers:[{text:{en:"Watch",ru:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"},link:"https://www.youtube.com/watch?v=hXoxH6766lY"}],isObsolete:"false",startDate:"20-Aug-2020"}]};this.newsArray=
this.bkpJSON.news;this.hasLoadedNews=!0};
var AdsSpinner=function(a,b,c){var d=Phaser.GameObjects.Container.call(this,b)||this;d.myBottleScreen=a;d.scene=b;d.grp=c;d.grp.add(d);d.img=d.scene.add.image(0,0,"allGraphics2","w000_tmpSquare4new0000");d.add(d.img);d.img.setOrigin(.5,0);d.img.alpha=.5;d.img.setInteractive();d.visible=!1;d.explText=new TFOnParentGroup(d.scene,d,"",0,30);d.explText.setLettersScale(2);d.explText.changeTint(16776960);d.explText.showText("TXID_CAP_LOADINGADS");d.squareIm=d.scene.add.image(0,100,"allGraphics2","w000_tmpSquare4new0000");
d.add(d.squareIm);d.squareIm.setOrigin(.5,.5);d.squareIm.alpha=1;d.ima=new ImageModifier;d.ima.registerDob(d.squareIm,5);d.ima.addAnimNode(.5,d.squareIm.x,d.squareIm.y,2*Math.PI);d.ima.startAnimation(-1,0);d.ima2=new ImageModifier;d.ima2.registerDob(d.squareIm,2);d.ima2.addAnimNode(.5,d.squareIm.x,d.squareIm.y,0,2,2);d.ima2.startAnimation(-1,0);d.updateSizes();d.isWaiting4ActualAdStart=!1;d.hideCountdownInterval=-1;d.animInterval=-1;return d};$jscomp.inherits(AdsSpinner,Phaser.GameObjects.Container);
AdsSpinner.prototype.show=function(){this.updateSizes();this.visible=!0;this.grp.bringToTop(this);this.isWaiting4ActualAdStart=!0;this.hideCountdownInterval=setTimeout(this.hide.bind(this),5E3);this.animInterval=setInterval(this.doAnimStep.bind(this),30)};AdsSpinner.prototype.hide=function(){this.visible=!1;this.img.displayWidth=10;this.img.displayHeight=10;clearTimeout(this.hideCountdownInterval);clearInterval(this.animInterval)};
AdsSpinner.prototype.updateSizes=function(){this.img.displayWidth=this.myBottleScreen.gameWidth;this.img.displayHeight=this.myBottleScreen.gameHeight;this.x=this.myBottleScreen.gameWidth/2;this.y=0;this.squareIm.y=.66*this.myBottleScreen.gameHeight;this.explText.setY(.25*this.myBottleScreen.gameHeight)};AdsSpinner.prototype.doAnimStep=function(){this.ima.doAnimStep(.03);this.ima2.doAnimStep(.03)};AdsSpinner.prototype.react2AdShown=function(){clearTimeout(this.hideCountdownInterval)};
AdsSpinner.prototype.hideInSec=function(){this.hideCountdownInterval=setTimeout(this.hide.bind(this),500)};var World=function(a,b,c,d){this.machinesClasses=[];this.machinesNames=[];this.machinesDescs=[];this.machinesLayers=[];this.myBottleScreen=a;this.currentStatus=this.worldTypeId=-1;this.lastSecondUpdateMoment=this.currentMomentInGame=0;this.game=null;this.unmovableBGDs=[];this.objects=[];this.connections=[];this.worldTimeAtSaving=this.prestige=this.offlineTimeBonus=this.numRestarts=this.money=0;this.scene=this.game=this.myBottleScreen.game;this.containerGroup=this.myBottleScreen.grp;this.containerGroupLayers=
this.myBottleScreen.grps;this.hud=null;b?(this.hud=new b(this,this.myBottleScreen.hudGrp),this.updateHUD()):this.hud=new HUD(this,this.myBottleScreen.hudGrp);this.ballanser=null;this.ballanser=c?new c(this):new Ballanser(this);this.purchaser=null;this.purchaser=d?new d(this):new Purchaser(this);this.myMouseController=new MouseController(this);this.myTriggerController=new TriggerController(this);this.myTutController=new TutController(this);this.myEftController=new EffectsController(this,this.scene,
this.containerGroupLayers[this.containerGroupLayers.length-1]);this.myGiftsController=new GiftsController(this);this.saveConfig={saveVersion:1};this.currentlyLoadedSaveVersion=0;this.arOfSaveData=[];this.triggersAr=[]};World.prototype.getWorldTypeId=function(){return-1};World.prototype.doInitialThings=function(){this.setInitialMoneyAndOtherParams();this.createBGDs();this.createInitialObjects();this.createTriggers();this.updateUnmovableBGDs();this.hud.showGameInterface()};
World.prototype.clearLoadAfterError=function(){for(var a=0;a<this.objects.length;a++)this.objects[a].getPrepared4Deletion();for(a=this.objects.length-1;0<=a;a--)this.objects[a].getFullyRemoved();for(a=this.connections.length-1;0<=a;a--)this.connections[a].getFullyRemoved();this.objects.length=0;this.connections.length=0;for(a=this.unmovableBGDs.length-1;0<=a;a--)this.unmovableBGDs[a].getFullyRemoved();this.unmovableBGDs.length=0};
World.prototype.doRestart=function(){this.numRestarts++;this.calcPrestigeAfterRestart();for(var a=0;a<this.objects.length;a++)this.objects[a].getPrepared4Deletion();for(a=this.objects.length-1;0<=a;a--)this.objects[a].getFullyRemoved();for(a=this.connections.length-1;0<=a;a--)this.connections[a].getFullyRemoved();this.objects.length=0;this.connections.length=0;for(a=this.unmovableBGDs.length-1;0<=a;a--)this.unmovableBGDs[a].getFullyRemoved();this.unmovableBGDs.length=0;this.doInitialThings();this.moveScreenBy(0,
0);for(a=0;a<this.containerGroupLayers.length;a++)this.containerGroupLayers[a].x=this.myBottleScreen.leftMargin,this.containerGroupLayers[a].y=this.myBottleScreen.topMargin;this.currentStatus=0};World.prototype.calcPrestigeAfterRestart=function(){};World.prototype.setInitialMoneyAndOtherParams=function(){this.money=0};World.prototype.createInitialObjects=function(){};World.prototype.createBGDs=function(){};World.prototype.startPlaying=function(){this.try2LoadOrCreateNewObjects()};
World.prototype.createTriggers=function(){for(var a=0;a<this.triggersAr.length;a++)this.myTriggerController.registerTriggerIfNew(this.triggersAr[a])};
World.prototype.try2LoadOrCreateNewObjects=function(){var a=localStorage.getItem("save_version");window.bottleScreen.config.mustClearSave&&(a="");if("null"!=a&&null!=a&&""!=a){this.currentlyLoadedSaveVersion=eval(a);a=localStorage.getItem("save_data");var b=LZString.decompressFromUTF16(a),c="";for(a=0;a<b.length;a++){var d=b.charAt(a);-1!="0123456789-+,.e".indexOf(d)&&(c+=d)}b=c.split(",");for(a=0;a<b.length;a++){try{b[a]=eval(b[a])}catch(f){b[a]=0}if(isNaN(b[a])||Infinity===b[a]||-Infinity===b[a])b[a]=
0}try{this.currentStatus=1;this.loadFromAr(b,0);this.createBGDs();this.createObjectsFromSlicedArs();this.afterObjectsLoadFunctions();this.createTriggers();this.updateUnmovableBGDs();this.hud.showGameInterface();var e=(new Date).getTime()-this.worldTimeAtSaving;this.currentStatus=0;0<e&&this.fixAwayTime(e)}catch(f){console.log(f),this.clearLoadAfterError(),this.showMessage("TXID_MSGCAP_ERRORLOADING",["TXID_MSGANS_OK"],[{func:this.try2LoadOrCreateNewObjects.bind(this)}],null)}}else this.doInitialThings(),
this.currentStatus=0};World.prototype.setCoords=function(a,b){for(var c=0;c<this.containerGroupLayers.length;c++)this.containerGroupLayers[c].x=a,this.containerGroupLayers[c].y=b;this.updateUnmovableBGDs()};World.prototype.updateBGDs=function(){};
World.prototype.fixAwayTime=function(a){if(0==this.currentStatus){var b=.001*a;if(9<=b){b*=.1/(1+b/86400*4);this.offlineTimeBonus+=b;var c=["TXID_MSGANS_OK"],d=[null];window.newsReader.checkIfHasNewNews();window.newsReader.hasNewNews&&(c.push("TXID_CAP_NEWS"),d.push({func:window.bottleScreen.world.hud.showNewsScreen.bind(window.bottleScreen.world.hud)}));window.portalWrapper.isRewardedAdReady()&&(c.push("TXID_CAP_GETBIGGERBONUS"),d.push({func:window.portalWrapper.showRewarded.bind(window.portalWrapper,
{statsCode:"bonusTime"},{rewardType:"bonusTime",rewardValue:Math.ceil(.5*b)})}));this.hud.showMessage({arOfText:["TXID_MSGCAP_TUT_AWAYPHRASE: ",window.bottleScreen.utils.showTimeAsText(a),"\nTXID_MSGCAP_TUT_BONUSTIMEEARN: ",window.bottleScreen.utils.showTimeAsText(b,!0)],arOfColors:[-1,16777096,-1,6750054]},c,d)}}};
World.prototype.update=function(a,b){switch(this.currentStatus){case 0:this.calcBonusesExpiration(.001*b),this.doPlayingStep(.001*a,.001*b*this.getMasterTimeCoef());case 1:this.doLoadingStep(.001*a,.001*b)}this.myEftController.doStep(.001*b);this.hud.doAnimStep(.001*b)};
World.prototype.doPlayingStep=function(a,b){this.currentMomentInGame+=b;for(a=0;a<this.objects.length;a++){var c=this.objects[a];c.isInDeleteQueue||c.calcStateAtGameMoment(this.currentMomentInGame)}for(a=0;a<this.objects.length;a++)this.objects[a].actualizeVisuals(b);for(a=0;a<this.unmovableBGDs.length;a++)this.unmovableBGDs[a].doStep(b);b=!1;for(a=this.objects.length-1;0<=a;a--)this.objects[a].isInDeleteQueue&&(this.objects[a].getFullyRemoved(),this.objects.splice(a,1),b=!0);for(a=this.connections.length-
1;0<=a;a--)this.connections[a].isInDeleteQueue&&(this.connections[a].getFullyRemoved(),this.connections.splice(a,1),b=!0);if(b)for(a=0;a<this.objects.length;a++)this.objects[a].arId=a;if(this.currentMomentInGame>this.lastSecondUpdateMoment+1||this.currentMomentInGame<this.lastSecondUpdateMoment)this.doSomethingEverySecond(),this.lastSecondUpdateMoment=this.currentMomentInGame;this.myTutController.updateTutorialsNow(this.currentMomentInGame)};
World.prototype.doSomethingEverySecond=function(){this.myTriggerController.updateTriggersNow(this.currentMomentInGame);this.myGiftsController.checkIfGiftAvailable()};World.prototype.doLoadingStep=function(a,b){};World.prototype.receiveResource=function(a,b){"money"==a&&(this.money+=b)};World.prototype.calcBonusesExpiration=function(a){};World.prototype.getMasterTapCoef=function(a){return 1};World.prototype.getMasterProdCoef=function(a){return 1};World.prototype.getMasterTimeCoef=function(){return 1};
World.prototype.createNthRewardObject=function(a){return{rewardType:"freeMoney",rewardValue:50}};World.prototype.giveReward=function(a,b){null==a||b||(this.showMessage("TXID_MSG_REWRECEIVED: "+this.buildRewardInfo(a),["TXID_MSGANS_OK"],[],null),window.bottleScreen.statsWrapper.sendEvent("reward_received",a.rewardType,1));null!=a&&("bonusTime"==a.rewardType&&(b=a.rewardValue,this.offlineTimeBonus+=b),"freeMoney"==a.rewardType&&(b=a.rewardValue,this.money+=b))};
World.prototype.buildRewardInfo=function(a){var b="";null!=a&&("bonusTime"==a.rewardType&&(b="TXID_REW_BONUSTIME: "+window.bottleScreen.utils.showTimeAsText(a.rewardValue)),"freeMoney"==a.rewardType&&(b="TXID_REW_FREEMON: "+window.bottleScreen.utils.showNumberAsText(a.rewardValue)));return b};World.prototype.getResourceVal=function(a){return"money"==a?this.money:0};World.prototype.outCallBack=function(){this.hud.handleOut()||this.myMouseController.outCallBack()};
World.prototype.downCallBack=function(a,b,c,d){this.hud.handleDown(a,b)||this.myMouseController.downCallBack(c,d,a,b)};World.prototype.upCallBack=function(a,b,c,d){this.hud.handleUp(a,b)||this.myMouseController.upCallBack(c,d,a,b)};World.prototype.movCallBack=function(a,b,c,d,e){this.hud.handleMove(a,b)||this.myMouseController.movCallBack(c,d,a,b,e)};
World.prototype.keyDownCallBack=function(a){var b=this.hud.keyDownCallBack(a);if(!b)switch(a.key){case "ArrowUp":case "w":case "W":this.myMouseController.moveScreenBy(0,50);b=!0;break;case "ArrowDown":case "s":case "S":this.myMouseController.moveScreenBy(0,-50);b=!0;break;case "ArrowLeft":case "a":case "A":this.myMouseController.moveScreenBy(50,0);b=!0;break;case "ArrowRight":case "d":case "D":this.myMouseController.moveScreenBy(-50,0),b=!0}return b};
World.prototype.findObjectUnderPointer=function(a,b,c){for(var d=null,e=[],f=0;f<this.objects.length;f++){var g=this.objects[f];g.visual&&Phaser.Geom.Rectangle.Contains(g.visual.touchRect,a-g.x,b-g.y)&&e.push(g)}if(0<e.length)if(c)for(a=!1,f=0;f<e.length;f++){for(b=0;b<c.length;b++)if(e[f].myClass==c[b]){a=!0;d=e[f];break}if(a)break}else d=e[e.length-1];return d};
World.prototype.getLayers4Class=function(a){var b=[0];a=this.machinesClasses.indexOf(a);-1!=a&&(b=this.machinesLayers[a].slice());a=[];for(var c=0;c<b.length;c++)a.push(this.containerGroupLayers[b[c]]);return a};
World.prototype.createObject=function(a,b){var c=this.findArray2PutClass(a),d=new a(this,this.scene,this.getLayers4Class(a));d.myClass=a;d.arId=c.length;d.initProperties(b);d.initVisuals();d.distributeVisuals4Layers();d.setCreatedAndCurrentMoment(this.currentMomentInGame);c.push(d);d.onJustCreated();return d};
World.prototype.loadObject=function(a,b){var c=this.machinesClasses[a[b+0]],d=this.findArray2PutClass(c),e=new c(this,this.scene,this.getLayers4Class(c));e.myClass=c;b=e.loadFromAr(a,b+0);e.initVisuals();e.distributeVisuals4Layers();d.push(e);return b};World.prototype.getObjectOfId=function(a){return this.objects[a]};World.prototype.findArray2PutClass=function(a){var b=this.objects;BasicConnection==Object.getPrototypeOf(a)&&(b=this.connections);return b};
World.prototype.updateUnmovableBGDs=function(){for(var a=0;a<this.unmovableBGDs.length;a++)this.unmovableBGDs[a].updateSize(this.myBottleScreen)};World.prototype.updateHUD=function(){this.hud&&this.hud.updateLayoutOnScreen(this.myBottleScreen)};World.prototype.findObjectOfClass=function(a){var b=null;a=a.cls;for(var c=0;c<this.objects.length;c++){var d=this.objects[c];if(d.myClass==a){b=d;break}}return b};World.prototype.moveScreenBy=function(a,b){this.myMouseController.moveScreenBy(a,b)};
World.prototype.showMessage=function(a,b,c,d){this.hud.showMessage(a,b,c,d)};World.prototype.expandDraggableArea=function(a){void 0!=a.left&&(this.myMouseController.allowedWorldMovements.left+=a.left);void 0!=a.right&&(this.myMouseController.allowedWorldMovements.right+=a.right);void 0!=a.top&&(this.myMouseController.allowedWorldMovements.top+=a.top);void 0!=a.bottom&&(this.myMouseController.allowedWorldMovements.bottom+=a.bottom)};
World.prototype.doSaving=function(){if(0==this.currentStatus){localStorage.setItem("save_version",this.saveConfig.saveVersion);var a=Date.now();localStorage.setItem("save_date",a);this.worldTimeAtSaving=(new Date).getTime();a=[];this.save2Ar(a,0);a=a.join(",");a=LZString.compressToUTF16(a);localStorage.setItem("save_data",a)}};
World.prototype.save2Ar=function(a,b){a[b+0]=this.currentMomentInGame;a[b+1]=this.money;a[b+2]=this.numRestarts;a[b+3]=this.offlineTimeBonus;a[b+4]=this.prestige;a[b+5]=this.worldTimeAtSaving;b=this.saveAr2Ar(this.objects,a,b+6);b=this.saveAr2Ar(this.connections,a,b+0);b=this.myTriggerController.save2Ar(a,b);return b+0};
World.prototype.loadFromAr=function(a,b){this.currentMomentInGame=a[b+0];this.money=a[b+1];this.numRestarts=a[b+2];this.offlineTimeBonus=a[b+3];this.prestige=a[b+4];this.worldTimeAtSaving=a[b+5];this.arOfSaveData.length=0;b=this.cutArPortions(a,b+6);b=this.cutArPortions(a,b+0);b=this.myTriggerController.loadFromAr(a,b);return b+0};World.prototype.createObjectsFromSlicedArs=function(){for(var a=0;a<this.arOfSaveData.length;a++)this.loadObject(this.arOfSaveData[a],0)};
World.prototype.afterObjectsLoadFunctions=function(){for(var a=0;a<this.objects.length;a++)this.objects[a].afterLoadFunction()};World.prototype.saveAr2Ar=function(a,b,c){var d=a.length;b[c+0]="LEN:"+d;c++;for(var e=0;e<d;e++){var f=a[e],g=c;b[c+0]=0;c=f.save2Ar(b,c+1);b[g+0]=c-g}return c};World.prototype.cutArPortions=function(a,b){var c=a[b+0];b++;for(var d=0;d<c;d++){var e=a[b+0],f=a.slice(b+1,b+e);this.arOfSaveData.push(f);b+=e}return b};
var MouseController=function(a){this.myWorld=a;this.lastInteractedObject=null;this.lastScreenDownY=this.lastScreenDownX=-1;this.allowedWorldMovements={left:-100,top:-100,right:100,bottom:100}};MouseController.prototype.outCallBack=function(){this.lastInteractedObject&&(this.lastInteractedObject.react2Out(),this.lastInteractedObject=null)};
MouseController.prototype.downCallBack=function(a,b,c,d){this.lastInteractedObject&&(this.lastInteractedObject.react2Up(a,b),this.lastInteractedObject=null);var e=this.myWorld.findObjectUnderPointer(a,b);e&&(this.lastInteractedObject=e,this.lastInteractedObject.react2Down(a,b));this.lastScreenDownX=c;this.lastScreenDownY=d};MouseController.prototype.upCallBack=function(a,b,c,d){this.lastInteractedObject&&(this.lastInteractedObject.react2Up(a,b),this.lastInteractedObject=null)};
MouseController.prototype.movCallBack=function(a,b,c,d,e){this.lastInteractedObject&&this.lastInteractedObject.react2Move(a,b)&&(e=!1);e&&this.moveScreenBy(c-this.lastScreenDownX,d-this.lastScreenDownY);this.lastScreenDownX=c;this.lastScreenDownY=d};
MouseController.prototype.moveScreenBy=function(a,b){a=this.myWorld.containerGroup.x+a;b=this.myWorld.containerGroup.y+b;a<this.myWorld.myBottleScreen.leftMargin+this.allowedWorldMovements.left&&(a=this.myWorld.myBottleScreen.leftMargin+this.allowedWorldMovements.left);a>this.myWorld.myBottleScreen.leftMargin+this.allowedWorldMovements.right&&(a=this.myWorld.myBottleScreen.leftMargin+this.allowedWorldMovements.right);b<this.myWorld.myBottleScreen.topMargin+this.allowedWorldMovements.top&&(b=this.myWorld.myBottleScreen.topMargin+
this.allowedWorldMovements.top);b>this.myWorld.myBottleScreen.topMargin+this.allowedWorldMovements.bottom&&(b=this.myWorld.myBottleScreen.topMargin+this.allowedWorldMovements.bottom);this.myWorld.setCoords(a,b)};var HUD=function(a,b){this.myWorld=a;this.grp=b;this.scene=this.myWorld.scene;this.timedEvent=this.scene.time.addEvent({delay:500,callback:this.updateView,callbackScope:this,loop:!0,paused:!1});this.msgBoxes=[];this.screens=[];this.giftsScreen=this.createScreen(GiftsScreen)};
HUD.prototype.createScreen=function(a){a=new a(this.scene,this.grp);a.myHud=this;a.myWorld=this.myWorld;this.screens.push(a);a.visible=!1;return a};HUD.prototype.hasSomethingOpen=function(){for(var a=!1,b=0;b<this.screens.length;b++)if(this.screens[b].visible){a=!0;break}if(!a)for(b=0;b<this.msgBoxes.length;b++)if(this.msgBoxes[b].visible){a=!0;break}return a};
HUD.prototype.setVisibleScreen=function(a){for(var b=0;b<this.screens.length;b++)this.screens[b]!=a&&(this.screens[b].mustAlwaysShow||this.screens[b].hide());a.show();this.grp.bringToTop(a)};HUD.prototype.updateView=function(){};HUD.prototype.showGameInterface=function(){};
HUD.prototype.updateLayoutOnScreen=function(a){for(var b=0;b<this.msgBoxes.length;b++)this.msgBoxes[b].x=a.gameWidth/2;for(b=0;b<this.screens.length;b++)this.screens[b].x=a.gameWidth/2,this.screens[b].y=150,this.screens[b].visible&&this.screens[b].updateContents(a.gameWidth,a.gameHeight)};HUD.prototype.showMachineUpgradePanel=function(a){};HUD.prototype.showMachinePurchasePanel=function(a){};HUD.prototype.showDailyBonusScreen=function(){this.setVisibleScreen(this.giftsScreen)};
HUD.prototype.showMessage=function(a,b,c,d){for(var e=null,f=0;f<this.msgBoxes.length;f++)if(this.msgBoxes[f].isInPool){e=this.msgBoxes[f];break}null==e&&(e=new MessageBox(this.scene,this.grp),this.msgBoxes.push(e));e.x=this.myWorld.myBottleScreen.gameWidth/2;e.y=this.myWorld.myBottleScreen.gameHeight/2-200;e.show(a,b,c,d);this.grp.bringToTop(e)};HUD.prototype.handleOut=function(a,b){return!1};HUD.prototype.handleDown=function(a,b){return!1};HUD.prototype.handleUp=function(a,b){return!1};
HUD.prototype.handleMove=function(a,b){return!1};HUD.prototype.doAnimStep=function(a){};HUD.prototype.keyDownCallBack=function(a){for(var b=!1,c=this.msgBoxes.length-1;0<=c&&(!this.msgBoxes[c].visible||!(b=b||this.msgBoxes[c].keyDownCallBack(a)));c--);if(!b)for(c=this.screens.length-1;0<=c&&(!this.screens[c].visible||!(b=b||this.screens[c].keyDownCallBack(a)));c--);return b};
var MessageBox=function(a,b){var c=Phaser.GameObjects.Container.call(this,a)||this;c.scene=a;c.grp=b;c.grp.add(c);c.isInPool=!0;c.bgIm=c.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");c.add(c.bgIm);c.bgIm.setOrigin(.5,0);c.bgIm.setScale(10.4,3);c.cap=new TextField(c.scene,c,"MESSAGE",0,60);c.closeBtn=new ButtonWithIcon(c.scene,c,"w000_closeIcon4new0000",500,30);c.closeBtn.myMsgBox=c;c.closeBtn.registerHandler(c.closeBtnHandler);c.ansBtns=[];c.ansActions=[];return c};
$jscomp.inherits(MessageBox,Phaser.GameObjects.Container);MessageBox.prototype.closeBtnHandler=function(){this.myMsgBox.hide()};MessageBox.prototype.hide=function(){this.visible=!1;this.isInPool=!0};
MessageBox.prototype.show=function(a,b,c,d){"string"===typeof a?this.cap.showText(a):this.cap.showTextsOfDifferentColors(a.arOfText,a.arOfColors,!0);a=this.cap.y+this.cap.getTextHeight();this.isInPool=!1;this.visible=!0;this.ansActions=c.slice();for(var e=0;e<this.ansBtns.length;e++)this.ansBtns[e].visible=!1;for(e=0;e<b.length;e++){if(e<this.ansBtns.length)var f=this.ansBtns[e];else f=new ButtonWithText(this.scene,this,"ANS",0,250),f.registerHandler(this.btnHandler),f.myMsgBox=this,this.ansBtns.push(f);
f.visible=!0;f.showText(b[e]);f.x=1040/(b.length+1)*(e-(b.length-1)/2);f.myAction=c[e];f.y=a+50}this.bgIm.setScale(10.4,(a+100)/100);d&&(d.hasOwnProperty("autohideMS")&&setTimeout(this.hide.bind(this),d.autohideMS),d.hasOwnProperty("cy")&&(this.y=d.cy))};MessageBox.prototype.btnHandler=function(){this.myAction&&this.myAction.func();this.myMsgBox.hide()};MessageBox.prototype.keyDownCallBack=function(a){return this.visible&&"Escape"==a.key?(this.hide(),!0):!1};
var UpdatedPropertyPanel=function(a,b){var c=Phaser.GameObjects.Container.call(this,a)||this;c.scene=a;c.grp=b;c.grp.add(c);c.timedEvent=c.scene.time.addEvent({delay:500,callback:c.updateView,callbackScope:c,loop:!0,paused:!0});c.visible=!1;return c};$jscomp.inherits(UpdatedPropertyPanel,Phaser.GameObjects.Container);UpdatedPropertyPanel.prototype.show=function(){this.updateView();this.visible=!0;this.timedEvent.paused=!1};
UpdatedPropertyPanel.prototype.hide=function(){this.visible=!1;this.timedEvent.paused=!0};UpdatedPropertyPanel.prototype.updateView=function(){};UpdatedPropertyPanel.prototype.keyDownCallBack=function(a){return!1};UpdatedPropertyPanel.prototype.updateContents=function(a,b){};var Ballanser=function(a){this.myWorld=a},Purchaser=function(a){this.myWorld=a;this.purhasedObjects=[]};
Purchaser.prototype.getIdOfCode=function(a){for(var b=-1,c=0;c<this.purhasedObjects.length;c++)if(this.purhasedObjects[c].code==a){b=c;break}return b};var QuestInformer=function(a,b){return UpdatedPropertyPanel.call(this,a,b)||this};$jscomp.inherits(QuestInformer,UpdatedPropertyPanel);
var GiftsScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(11.48,5.8);a.cap=new TextField(a.scene,a,"TXID_CAP_DAILYBONUS",0,80);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.bonusInfoCap=new TextField(a.scene,a,"TXID_CAP_NEXTBONUSIN",0,280);a.getBtn=new ButtonWithText(a.scene,
a,"TXID_ANS_GET",0,430);a.getBtn.registerHandler(a.getBtnHandler);return a.getBtn.myPanel=a};$jscomp.inherits(GiftsScreen,UpdatedPropertyPanel);
GiftsScreen.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);this.myWorld.myGiftsController.queuedRewardObject?(this.bonusInfoCap.showText(this.myWorld.buildRewardInfo(this.myWorld.myGiftsController.queuedRewardObject)),this.getBtn.visible=!0):(this.bonusInfoCap.showText("TXID_CAP_NEXTBONUSIN: "+window.bottleScreen.utils.showTimeAsText(this.myWorld.myGiftsController.timeOfNextGift-Date.now(),!1)),this.getBtn.visible=!1)};
GiftsScreen.prototype.getBtnHandler=function(){this.myPanel.myWorld.myGiftsController.giveQueuedGift();this.myPanel.updateView()};GiftsScreen.prototype.closeBtnHandler=function(){this.myPanel.hide()};var Trigger=function(a){this.checkCompletionFunction=a.checkCompletionFunction;this.checkCompletionFunctionParams=a.checkCompletionFunctionParams;this.resultFunction=a.resultFunction;this.resultFunctionParams=a.resultFunctionParams;this.wasCompleted=!1;this.controller=null;this.uid=a.uid};
Trigger.prototype.checkCompletionCondition=function(){var a=this.checkCompletionFunction(this.checkCompletionFunctionParams);1==a&&(this.wasCompleted=!0,this.resultFunction(this.resultFunctionParams));2==a&&(this.wasCompleted=!0)};var TriggerController=function(a){this.myWorld=a;this.lastTriggersActualizationTime=0;this.triggers=[];this.completedTriggersUIDs=[]};
TriggerController.prototype.updateTriggersNow=function(a){.5<a-this.lastTriggersActualizationTime?(this.lastTriggersActualizationTime=a,this.updateTriggers()):a<this.lastTriggersActualizationTime&&(this.lastTriggersActualizationTime=a)};TriggerController.prototype.registerTriggerIfNew=function(a){-1==this.completedTriggersUIDs.indexOf(a.uid)&&this.registerTrigger(a)};TriggerController.prototype.registerTrigger=function(a){a=new Trigger(a);this.triggers.push(a);a.controller=this};
TriggerController.prototype.updateTriggers=function(){for(var a=this.triggers.length-1;0<=a;a--){var b=this.triggers[a];b.checkCompletionCondition();b.wasCompleted&&(this.completedTriggersUIDs.push(b.uid),this.triggers.splice(a,1),window.bottleScreen.statsWrapper.sendEvent("trigger_completed",""+b.uid,1))}};TriggerController.prototype.save2Ar=function(a,b){var c=this.completedTriggersUIDs.length;a[b+0]=c;b++;for(var d=0;d<c;d++)a[b+0]=this.completedTriggersUIDs[d],b++;return b+0};
TriggerController.prototype.loadFromAr=function(a,b){var c=a[b+0];b++;for(var d=this.completedTriggersUIDs.length=0;d<c;d++)this.completedTriggersUIDs[d]=a[b+0],b++;return b+0};var TutSprite=function(a,b,c,d){this.scene=a;this.grp=b;this.lastCalculatedMoment=0;this.myObject=c;this.checkingFunction=d;this.wasPerformed=!1;this.cycleLength=1;this.lambda=0};
TutSprite.prototype.updateAtMoment=function(a){this.lastCalculatedMoment=a;this.checkingFunction()&&(this.wasPerformed=!0);this.lambda=this.lastCalculatedMoment%this.cycleLength/this.cycleLength};TutSprite.prototype.getRemoved=function(){};var TutController=function(a){this.myWorld=a;this.activeTutorials=[];this.lastCalculatedMoment=0};
TutController.prototype.updateTutorialsNow=function(a){this.lastCalculatedMoment=a;for(var b=this.activeTutorials.length-1;0<=b;b--){var c=this.activeTutorials[b];c.updateAtMoment(a);c.wasPerformed&&(c.getRemoved(),this.activeTutorials.splice(b,1))}};TutController.prototype.hasActiveTutorial=function(){return 0<this.activeTutorials.length};
TutController.prototype.createTutor=function(a,b,c,d){a=new a(this.myWorld.scene,this.myWorld.containerGroupLayers[this.myWorld.containerGroupLayers.length-1],b,c,d);this.activeTutorials.push(a)};
var GiftsController=function(a){this.myWorld=a;this.numChecksInThisGamesRun=0;this.numGiftsAlreadyGiven=window.bottleScreen.utils.loadLocalNumber("W_"+this.myWorld.getWorldTypeId()+"_numGiftsAlreadyGiven",0,!0);this.timeOfNextGift=window.bottleScreen.utils.loadLocalNumber("W_"+this.myWorld.getWorldTypeId()+"_timeOfNextGift",Date.now()+3E5,!0);this.hasAlreadySaidAboutGift=!1;this.queuedRewardObject=null};
GiftsController.prototype.checkIfGiftAvailable=function(){this.numChecksInThisGamesRun++;!this.queuedRewardObject&&Date.now()>=this.timeOfNextGift&&(this.queuedRewardObject=this.createNthRewardObject(this.numGiftsAlreadyGiven));!this.hasAlreadySaidAboutGift&&this.queuedRewardObject&&15<this.numChecksInThisGamesRun&&(this.myWorld.hud.hasSomethingOpen()?this.myWorld.hud.giftsScreen.visible&&(this.hasAlreadySaidAboutGift=!0):this.myWorld.showMessage("TXID_MSG_REWARD_READY",["TXID_ANS_GET"],[{func:this.myWorld.hud.showDailyBonusScreen.bind(this.myWorld.hud)}],
null))};GiftsController.prototype.createNthRewardObject=function(a){return this.myWorld.createNthRewardObject(a)};
GiftsController.prototype.giveQueuedGift=function(){this.queuedRewardObject&&(this.myWorld.giveReward(this.queuedRewardObject),this.queuedRewardObject=null,this.numGiftsAlreadyGiven++,localStorage.setItem("W_"+this.myWorld.getWorldTypeId()+"_numGiftsAlreadyGiven",this.numGiftsAlreadyGiven),this.timeOfNextGift=1==this.numGiftsAlreadyGiven?Date.now()+18E5:Date.now()+864E5,localStorage.setItem("W_"+this.myWorld.getWorldTypeId()+"_timeOfNextGift",this.timeOfNextGift),this.hasAlreadySaidAboutGift=!1)};
var EffectsController=function(a,b,c){this.myWorld=a;this.scene=b;this.grp=c;this.expls=[]};EffectsController.prototype.doStep=function(a){for(var b=this.expls.length,c=0;c<b;c++){var d=this.expls[c];d.isInPool||d.doStep(a)}};EffectsController.prototype.showEffect=function(a,b,c,d){for(var e=null,f=0;f<this.expls.length;f++)if(this.expls[f].isInPool&&this.expls[f].myClass==c){e=this.expls[f];break}e||(e=new c(this,this.scene,this.grp),e.myClass=c,this.expls.push(e));e.startEffect(a,b,d)};
var SimplePooledEffect=function(a,b,c){this.scene=b;this.grp=c;this.myController=a;this.myClass=SimplePooledEffect;this.y=this.x=0;this.isInPool=!0;this.timeExisting=0;this.imageModifiers=[];this.visObjects=[]};SimplePooledEffect.prototype.doStep=function(a){this.timeExisting+=a;for(var b=0;b<this.imageModifiers.length;b++)this.imageModifiers[b].isAnimating&&this.imageModifiers[b].doAnimStep(a)};SimplePooledEffect.prototype.startEffect=function(a,b,c){this.isInPool=!1;this.timeExisting=0};
SimplePooledEffect.prototype.back2Pool=function(){for(var a=0;a<this.visObjects.length;a++)this.visObjects[a].visible=!1;for(a=0;a<this.imageModifiers.length;a++)this.imageModifiers[a].isAnimating=!1;this.isInPool=!0};SimplePooledEffect.prototype.createImageModifier=function(a,b){var c=new ImageModifier;c.registerDob(a,b);this.imageModifiers.push(c);return c};var VeryBasicGameObject=function(a,b,c){this.visual=null;this.lastPhi=this.phiAddedSinceLastCheck4Anim=this.timePassedSinceLastCheck=this.lastCalculatedGameMoment=this.y=this.x=0;this.myWorld=a;this.myClass=null;this.arId=-1;this.scene=b;this.grps=c;this.grp=c[0];this.isInDeleteQueue=!1};
VeryBasicGameObject.prototype.calcStateAtGameMoment=function(a){this.timePassedSinceLastCheck=a-this.lastCalculatedGameMoment;0>this.timePassedSinceLastCheck&&(this.timePassedSinceLastCheck=0);this.lastCalculatedGameMoment=a};VeryBasicGameObject.prototype.actualizeVisuals=function(a){this.visual&&this.visual.doAnimations(a)};VeryBasicGameObject.prototype.moveHigherOnLayer=function(){this.visual&&this.visual.moveHigherOnLayer()};
VeryBasicGameObject.prototype.initProperties=function(a){this.x=a[0];this.y=a[1];return 2};VeryBasicGameObject.prototype.initVisuals=function(){};VeryBasicGameObject.prototype.distributeVisuals4Layers=function(){this.visual&&this.visual.distribute4Layers(this.grps)};VeryBasicGameObject.prototype.react2Move=function(a,b){return!1};VeryBasicGameObject.prototype.react2Down=function(a,b){};VeryBasicGameObject.prototype.react2Up=function(a,b){};VeryBasicGameObject.prototype.react2Out=function(){};
VeryBasicGameObject.prototype.setPosition=function(a,b){this.x=a;this.y=b;this.visual&&(this.visual.x=this.x,this.visual.y=this.y)};VeryBasicGameObject.prototype.onJustCreated=function(){};VeryBasicGameObject.prototype.setCreatedAndCurrentMoment=function(a){this.lastCalculatedGameMoment=a};VeryBasicGameObject.prototype.getPrepared4Deletion=function(){this.isInDeleteQueue=!0};VeryBasicGameObject.prototype.getFullyRemoved=function(){this.visual&&this.visual.getRemoved()};
VeryBasicGameObject.prototype.save2Ar=function(a,b){a[b+0]=this.myWorld.machinesClasses.indexOf(this.myClass);a[b+1]="AID:"+this.arId;a[b+2]=this.x;a[b+3]=this.y;a[b+4]=this.lastCalculatedGameMoment;return b+5};VeryBasicGameObject.prototype.loadFromAr=function(a,b){this.arId=a[b+1];this.x=a[b+2];this.y=a[b+3];this.lastCalculatedGameMoment=a[b+4];return b+5};VeryBasicGameObject.prototype.afterLoadFunction=function(){};
var BasicGameObject=function(a,b,c){VeryBasicGameObject.call(this,a,b,c);this.gatheredPhiInCurrentState=0;this.phi4FullCycle=2*Math.PI;this.ownPhiGeneration=this.currentLevel=0;this.levelCap=-1;this.totalProcessingsMade=this.numCyclesCompletedAfterLastCheck=0;this.incomingConnections=[];this.outgoingConnections=[];this.outgoingProcessedConnections=[];this.upgradedParams=[];this.upgradePriceFunction=null;this.upgradeCurrency="money";this.autoClicker=null;this.lastAdditionalParamsUpdateMoment=0;this.updAdditionalParamsDt=
.5;this.moneyFraction2ShowUpgradeButton=.1;this.soundPlayer=null};$jscomp.inherits(BasicGameObject,VeryBasicGameObject);BasicGameObject.prototype.playSound=function(a,b,c){null==this.soundPlayer&&(this.soundPlayer=new ObjectSoundPlayer(this));this.soundPlayer.playSound(a,b,c)};BasicGameObject.prototype.createAutoClicker=function(){return this.autoClicker=new AutoClicker(this)};
BasicGameObject.prototype.calcStateAtGameMoment=function(a){VeryBasicGameObject.prototype.calcStateAtGameMoment.call(this,a);this.autoClicker&&this.autoClicker.doStep(a);this.receivePhi(this.getOwnPhiGeneration()*this.timePassedSinceLastCheck);this.phiAddedSinceLastCheck4Anim=this.gatheredPhiInCurrentState-this.lastPhi;this.numCyclesCompletedAfterLastCheck=0;this.gatheredPhiInCurrentState>=this.phi4FullCycle&&(this.handleCurrentStateCompletion(),this.numCyclesCompletedAfterLastCheck=0);if(this.lastCalculatedGameMoment-
this.lastAdditionalParamsUpdateMoment>=this.updAdditionalParamsDt||this.lastCalculatedGameMoment<this.lastAdditionalParamsUpdateMoment)this.updateAdditionalParams(),this.lastAdditionalParamsUpdateMoment=this.lastCalculatedGameMoment;this.lastPhi=this.gatheredPhiInCurrentState};BasicGameObject.prototype.updateAdditionalParams=function(){};BasicGameObject.prototype.getOwnPhiGeneration=function(){return this.ownPhiGeneration};
BasicGameObject.prototype.actualizeVisuals=function(a){VeryBasicGameObject.prototype.actualizeVisuals.call(this,a);this.visual&&(this.lastCalculatedGameMoment-this.visual.lastInterfaceUpdateMoment>=this.visual.updInterfaceDt||this.lastCalculatedGameMoment<this.visual.lastInterfaceUpdateMoment)&&(this.updateInterfaceOnVisual(),this.visual.lastInterfaceUpdateMoment=this.lastCalculatedGameMoment)};
BasicGameObject.prototype.updateInterfaceOnVisual=function(){if(this.visual&&this.visual.hasUpgradeButton){var a="hidden",b=this.getUpgradePrice(1);0<=b&&(a=this.myWorld.getResourceVal(this.upgradeCurrency),a=a>=b?"active":a>=this.moneyFraction2ShowUpgradeButton*b?"inactive":0<this.currentLevel?"inactive":"hidden");window.bottleScreen.config.hideAllUpgradeButtons&&(a="hidden");this.visual.setUpgradeButtonProp(a);"active"!=a&&"inactive"!=a||this.visual.showLevelOnUpgradeButton(this.currentLevel)}};
BasicGameObject.prototype.receivePhi=function(a){this.gatheredPhiInCurrentState+=a};BasicGameObject.prototype.handleCurrentStateCompletion=function(){this.numCyclesCompletedAfterLastCheck=Math.floor(this.gatheredPhiInCurrentState/this.phi4FullCycle);this.gatheredPhiInCurrentState%=this.phi4FullCycle};BasicGameObject.prototype.handleCycleCompletion=function(a){return a};BasicGameObject.prototype.getPinOfId=function(a){return null};
BasicGameObject.prototype.initProperties=function(a){return VeryBasicGameObject.prototype.initProperties.call(this,a)+0};BasicGameObject.prototype.registerIncomingConnection=function(a,b){this.incomingConnections.push(a)};BasicGameObject.prototype.registerOutgoingConnection=function(a,b){this.outgoingConnections.push(a);this.outgoingProcessedConnections.push(a)};
BasicGameObject.prototype.findOutConnectedObject=function(a){for(var b=null,c=0;c<this.outgoingConnections.length;c++){var d=this.outgoingConnections[c].obTo;if(a.cls){if(d.myClass==a.cls){b=d;break}}else{b=d;break}}return b};BasicGameObject.prototype.findInConnectedObject=function(a){for(var b=null,c=0;c<this.incomingConnections.length;c++){var d=this.incomingConnections[c].obFrom;if(a.cls){if(d.myClass==a.cls){b=d;break}}else{b=d;break}}return b};
BasicGameObject.prototype.removeOutgoingConnection=function(a){a=this.outgoingConnections.indexOf(a);-1!=a&&this.outgoingConnections.splice(a,1)};BasicGameObject.prototype.removeIncomingConnection=function(a){a=this.incomingConnections.indexOf(a);-1!=a&&this.incomingConnections.splice(a,1)};
BasicGameObject.prototype.getPrepared4Deletion=function(){VeryBasicGameObject.prototype.getPrepared4Deletion.call(this);for(var a=this.incomingConnections.length-1;0<=a;a--)this.incomingConnections[a].getPrepared4Deletion();for(a=this.outgoingConnections.length-1;0<=a;a--)this.outgoingConnections[a].getPrepared4Deletion()};BasicGameObject.prototype.getFullyRemoved=function(){VeryBasicGameObject.prototype.getFullyRemoved.call(this)};
BasicGameObject.prototype.performUpgrade4Mode=function(a,b){a=this.getNumUpgrades4Mode(a);0<a&&this.performUpgrade(a,b)};BasicGameObject.prototype.performUpgrade4ModeIfPossible=function(a,b){a=this.getNumUpgrades4Mode(a);0<a&&this.performUpgradeIfPossible(a,b)};BasicGameObject.prototype.performUpgrade=function(a,b){var c=this.getUpgradePrice(a);this.currentLevel+=a;b||this.myWorld.receiveResource(this.upgradeCurrency,-c)};
BasicGameObject.prototype.performUpgradeIfPossible=function(a,b){var c=this.getUpgradePrice(a);-1!=c&&(b||this.myWorld.getResourceVal(this.upgradeCurrency)>=c)&&(this.currentLevel+=a,b||this.myWorld.receiveResource(this.upgradeCurrency,-c))};BasicGameObject.prototype.getNameStr=function(){var a=this.myWorld.machinesClasses.indexOf(this.myClass);return-1!=a?this.myWorld.machinesNames[a]:""};
BasicGameObject.prototype.getNumUpgrades4Mode=function(a){if(this.upgradePriceFunction){var b=0;switch(a){case "x1":b=1;break;case "x10":b=10;break;case "Max":case "0.01%":b=this.myWorld.getResourceVal(this.upgradeCurrency);"0.01%"==a&&(b*=1E-4);a=1;for(var c=this.upgradePriceFunction(this.currentLevel+0);c<=b;){var d=this.upgradePriceFunction(this.currentLevel+a+0);if(c+d<=b)c+=d,a++;else break}b=a;break;case "Next":b=!1;for(a=1;1E4>a;a++){for(c=0;c<this.upgradedParams.length;c++)if(this.upgradedParams[c].isLevelANodeFunc(this.currentLevel+
a)){b=!0;break}if(b)break}b=b?a:1}return b}return 0};BasicGameObject.prototype.getUpgradePrice4Mode=function(a){return this.getUpgradePrice(this.getNumUpgrades4Mode(a))};BasicGameObject.prototype.getUpgradePrice=function(a){if(this.upgradePriceFunction)for(var b=0,c=0;c<a;c++)b+=this.upgradePriceFunction(this.currentLevel+c);else b=-1;return b};BasicGameObject.prototype.canBUpgraded=function(a){var b=this.myWorld.getResourceVal(this.upgradeCurrency);a=this.getUpgradePrice(a);return-1!=a&&b>=a};
BasicGameObject.prototype.canBUpgraded4Mode=function(a){var b=this.myWorld.getResourceVal(this.upgradeCurrency);a=this.getUpgradePrice4Mode(a);return-1!=a&&b>=a};BasicGameObject.prototype.clickEffect=function(){};BasicGameObject.prototype.react2Down=function(a,b){VeryBasicGameObject.prototype.react2Down.call(this,a,b);this.autoClicker&&this.autoClicker.startClicking()};BasicGameObject.prototype.react2Up=function(a,b){VeryBasicGameObject.prototype.react2Up.call(this,a,b);this.autoClicker&&this.autoClicker.stopClicking()};
BasicGameObject.prototype.react2Out=function(){VeryBasicGameObject.prototype.react2Out.call(this);this.autoClicker&&this.autoClicker.stopClicking()};BasicGameObject.prototype.save2Ar=function(a,b){b=VeryBasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.gatheredPhiInCurrentState;a[b+1]=this.phi4FullCycle;a[b+2]=this.currentLevel;a[b+3]=this.ownPhiGeneration;a[b+4]=this.numCyclesCompletedAfterLastCheck;a[b+5]=this.totalProcessingsMade;return b+6};
BasicGameObject.prototype.loadFromAr=function(a,b){b=VeryBasicGameObject.prototype.loadFromAr.call(this,a,b);this.gatheredPhiInCurrentState=a[b+0];this.phi4FullCycle=a[b+1];this.currentLevel=a[b+2];this.ownPhiGeneration=a[b+3];this.numCyclesCompletedAfterLastCheck=a[b+4];this.totalProcessingsMade=a[b+5];this.lastPhi=this.gatheredPhiInCurrentState;return b+6};
var BasicConnection=function(a,b,c){VeryBasicGameObject.call(this,a,b,c);this.obTo=this.obFrom=null;this.coef=1;this.obToPinId=this.obFromPinId=-1;this.obToPin=this.obFromPin=null};$jscomp.inherits(BasicConnection,VeryBasicGameObject);
BasicConnection.prototype.initProperties=function(a){this.obFrom=this.myWorld.getObjectOfId(a[0]);this.obTo=this.myWorld.getObjectOfId(a[1]);this.coef=a[2];this.obFromPinId=a[3];this.obToPinId=a[4];this.obFromPin=this.obFrom.getPinOfId(this.obFromPinId);this.obToPin=this.obTo.getPinOfId(this.obToPinId);this.obFrom.registerOutgoingConnection(this,!0);this.obTo.registerIncomingConnection(this,!0);return 5};
BasicConnection.prototype.getPrepared4Deletion=function(){VeryBasicGameObject.prototype.getPrepared4Deletion.call(this);this.obFrom.removeOutgoingConnection(this);this.obTo.removeIncomingConnection(this)};BasicConnection.prototype.save2Ar=function(a,b){b=VeryBasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.obFrom.arId;a[b+1]=this.obTo.arId;a[b+2]=this.coef;a[b+3]=this.obFromPinId;a[b+4]=this.obToPinId;return b+5};
BasicConnection.prototype.loadFromAr=function(a,b){b=VeryBasicGameObject.prototype.loadFromAr.call(this,a,b);this.obFrom=this.myWorld.getObjectOfId(a[b+0]);this.obTo=this.myWorld.getObjectOfId(a[b+1]);this.coef=a[b+2];this.obFromPinId=a[b+3];this.obToPinId=a[b+4];this.obFromPin=this.obFrom.getPinOfId(this.obFromPinId);this.obToPin=this.obTo.getPinOfId(this.obToPinId);this.obFrom.registerOutgoingConnection(this,!1);this.obTo.registerIncomingConnection(this,!1);return b+5};
var UpgradedParam=function(a,b,c,d,e,f,g,h,k,n){this.paramName=a;this.ownerMachine=b;this.paramExplanation=d;this.paramUnits=e;this.coef2VisualizeUnits=f;this.valAt0=c;this.isLevelANodeFunc=g;this.simpleValIncFunc=h;this.nodeValIncFunc=k;this.cachedLevel=-1;this.cachedValue=0;this.isReciprocal4Show=n;this.masterCoef=1;this.levelCap=-1};
UpgradedParam.prototype.getValue4Level=function(a){a!=this.cachedLevel&&(this.cachedValue=this.updateCachedValue4Level(a),this.cachedLevel=a);return this.cachedValue*this.masterCoef};UpgradedParam.prototype.getValue2Show4Level=function(a){a=this.getValue4Level(a);this.isReciprocal4Show&&(a=1/a);return a*=this.coef2VisualizeUnits};
UpgradedParam.prototype.updateCachedValue4Level=function(a){for(var b=this.valAt0,c=0,d=1;d<=a;d++)this.isLevelANodeFunc(d)?(b=this.nodeValIncFunc(b,c),c++):b=this.simpleValIncFunc(b,c,d);return b};UpgradedParam.prototype.clone4Machine=function(a){return new UpgradedParam(this.paramName,a,this.valAt0,this.paramExplanation,this.paramUnits,this.coef2VisualizeUnits,this.isLevelANodeFunc,this.simpleValIncFunc,this.nodeValIncFunc,this.isReciprocal4Show)};
UpgradedParam.prototype.willHaveNodeInNext=function(a){for(var b=!1,c=this.ownerMachine.currentLevel+1;c<=this.ownerMachine.currentLevel+a;c++)if(this.isLevelANodeFunc(c)){b=!0;break}return b};
UpgradedParam.prototype.buildCurrentStringAsAr=function(a){a||(a=0);var b=this.getValue2Show4Level(this.ownerMachine.currentLevel);b=[this.paramName+": ",window.bottleScreen.utils.showNumberAsText(b)+" "+this.paramUnits];0<a&&(a=this.getValue2Show4Level(this.ownerMachine.currentLevel+a),b.push(" => ","("+window.bottleScreen.utils.showNumberAsText(a)+")"));return b};
UpgradedParam.prototype.showEffectString=function(a){var b=this.getValue2Show4Level(this.ownerMachine.currentLevel);a=this.getValue2Show4Level(this.ownerMachine.currentLevel+a);return window.bottleScreen.utils.showNumberAsText(b)+" -> "+window.bottleScreen.utils.showNumberAsText(a)};UpgradedParam.prototype.willHaveNodeInNextWoMachine=function(a,b){for(var c=!1,d=a+1;d<=a+b;d++)if(this.isLevelANodeFunc(d)){c=!0;break}return c};
UpgradedParam.prototype.buildCurrentStringAsArWoMachine=function(a,b){b||(b=0);var c=this.getValue2Show4Level(a);c=[this.paramName+": ",window.bottleScreen.utils.showNumberAsText(c)+" "+this.paramUnits];0<b&&(a=this.getValue2Show4Level(a+b),c.push(" => ","("+window.bottleScreen.utils.showNumberAsText(a)+")"));return c};
UpgradedParam.prototype.showEffectStringWoMachine=function(a,b){var c=this.getValue2Show4Level(a);a=this.getValue2Show4Level(a+b);return window.bottleScreen.utils.showNumberAsText(c)+" -> "+window.bottleScreen.utils.showNumberAsText(a)};
var Slot4MachinePurchase=function(a,b,c){BasicGameObject.call(this,a,b,c);this.purchasedClass=null;this.stringCodeInPurchaser="PURCH_CODE";this.idInPurchaser=-1;this.purchasedRecord=null;this.purchasePriceFunction=this.myWorld.ballanser.calcPurchasePrice4Slot;this.purchaseCurrency="money";this.onPurchaseMadeIncomingConnections=[];this.onPurchaseMadeOutgoingConnections=[]};$jscomp.inherits(Slot4MachinePurchase,BasicGameObject);
Slot4MachinePurchase.prototype.initProperties=function(a){var b=BasicGameObject.prototype.initProperties.call(this,a);this.stringCodeInPurchaser=a[b+0];this.idInPurchaser=this.myWorld.purchaser.getIdOfCode(this.stringCodeInPurchaser);this.purchasedRecord=this.myWorld.purchaser.purhasedObjects[this.idInPurchaser];var c=a[b+1];b+=2;for(var d=0;d<c;d++)this.onPurchaseMadeIncomingConnections.push({id:a[b+0]}),b++;c=a[b+0];b++;for(d=0;d<c;d++)this.onPurchaseMadeOutgoingConnections.push({id:a[b+0]}),b++;
this.purchaseCurrency=this.myWorld.ballanser.getPurchaseCurrency4Slot(this);return b+0};Slot4MachinePurchase.prototype.updateInterfaceOnVisual=function(){if(this.visual&&this.visual.hasUpgradeButton){var a="hidden",b=this.getPurchasePrice();0<=b&&(a=this.myWorld.getResourceVal(this.purchaseCurrency),a=a>=b?"active":a>=.1*b?"inactive":"hidden");window.bottleScreen.config.hideAllUpgradeButtons&&(a="hidden");this.visual.setUpgradeButtonProp(a)}};
Slot4MachinePurchase.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new Slot4MachinePurchaseVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this,"purchase")};Slot4MachinePurchase.prototype.getPurchasedMachineDescStr=function(){return this.purchasedRecord?this.purchasedRecord.purchDesc:""};Slot4MachinePurchase.prototype.getPurchasedMachineNameStr=function(){return this.purchasedRecord?this.purchasedRecord.purchName:""};
Slot4MachinePurchase.prototype.getPurchasePrice=function(){return this.purchasePriceFunction?this.purchasePriceFunction(this):-1};
Slot4MachinePurchase.prototype.performPurchase=function(a,b){if(this.purchasedRecord){if(!a){var c=a=this.getPurchasePrice();b&&(c=a*b);this.myWorld.receiveResource(this.purchaseCurrency,-c)}b=this.purchasedRecord.mainObjClass;a=this.purchasedRecord.mainObjParams.slice();a[0]+=this.x;a[1]+=this.y;b=this.myWorld.createObject(b,a);for(a=0;a<this.onPurchaseMadeIncomingConnections.length;a++)this.myWorld.createObject(SimpleConnection,[this.onPurchaseMadeIncomingConnections[a].id,b.arId,1,-1,-1]);for(a=
0;a<this.onPurchaseMadeOutgoingConnections.length;a++)this.myWorld.createObject(SimpleConnection,[b.arId,this.onPurchaseMadeOutgoingConnections[a].id,1,-1,-1])}this.getPrepared4Deletion();window.bottleScreen.statsWrapper.sendEvent("slot_purchase_"+this.myWorld.numRestarts,this.getPurchasedMachineNameStr())};
Slot4MachinePurchase.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.idInPurchaser;var c=this.onPurchaseMadeIncomingConnections.length;a[b+1]=c;b+=2;for(var d=0;d<c;d++)a[b+0]=this.onPurchaseMadeIncomingConnections[d].id,b++;c=this.onPurchaseMadeOutgoingConnections.length;a[b+0]=c;b++;for(d=0;d<c;d++)a[b+0]=this.onPurchaseMadeOutgoingConnections[d].id,b++;return b+0};
Slot4MachinePurchase.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.idInPurchaser=a[b+0];this.purchasedRecord=this.myWorld.purchaser.purhasedObjects[this.idInPurchaser];var c=a[b+1];b+=2;for(var d=0;d<c;d++)this.onPurchaseMadeIncomingConnections.push({id:a[b+0]}),b++;c=a[b+0];b++;for(d=0;d<c;d++)this.onPurchaseMadeOutgoingConnections.push({id:a[b+0]}),b++;this.purchaseCurrency=this.myWorld.ballanser.getPurchaseCurrency4Slot(this);return b+0};
var AutoClicker=function(a){this.lastClickMoment=this.lastCalculatedMoment=0;this.timeBetweenClicks=.2;this.isClicking=!1;this.ownerObject=a};AutoClicker.prototype.doStep=function(a){this.lastCalculatedGameMoment=a;this.isClicking&&(a=this.lastCalculatedGameMoment-this.lastClickMoment,(a>this.timeBetweenClicks||0>a)&&this.doClickOnObject())};AutoClicker.prototype.startClicking=function(){this.isClicking=!0;this.doClickOnObject()};AutoClicker.prototype.stopClicking=function(){this.isClicking=!1};
AutoClicker.prototype.doClickOnObject=function(){this.ownerObject.clickEffect();this.lastClickMoment=this.lastCalculatedGameMoment};var ObjectSoundPlayer=function(a){this.myMachine=a;this.timeWhenNextSoundAllowed=0};ObjectSoundPlayer.prototype.playSound=function(a,b,c){if(c||this.myMachine.lastCalculatedGameMoment>=this.timeWhenNextSoundAllowed)window.mySoundPlayer.playSound(a),this.timeWhenNextSoundAllowed=this.myMachine.lastCalculatedGameMoment+b};var UnmovableBGD=function(a,b,c){this.myWorld=a;this.scene=b;this.grp=c};UnmovableBGD.prototype.updateSize=function(a){};UnmovableBGD.prototype.getFullyRemoved=function(){};UnmovableBGD.prototype.doStep=function(a){};var BasicMachineVisual=function(a,b,c,d){var e=Phaser.GameObjects.Container.call(this,a)||this;e.distributedSprites=[];e.imageModifiers=[];e.embeddedVisuals=[];e.touchRect=new Phaser.Geom.Rectangle(-50,-50,100,100);e.scene=a;e.x=c;e.y=d;e.grp=b;e.grp.add(e);e.upgBtnCoords={x:0,y:0};e.updInterfaceDt=.25+.1*Math.random();e.lastInterfaceUpdateMoment=0;e.hasUpgradeButton=!1;return e};$jscomp.inherits(BasicMachineVisual,Phaser.GameObjects.Container);
BasicMachineVisual.prototype.doAnimations=function(a){for(var b=0;b<this.imageModifiers.length;b++){var c=this.imageModifiers[b];c.isAnimating&&c.doAnimStep(a)}for(b=0;b<this.embeddedVisuals.length;b++)this.embeddedVisuals[b].doAnimations(a)};
BasicMachineVisual.prototype.createUpgradeButton=function(a,b){this.hasUpgradeButton=!0;"purchase"==b?(this.upgradeButton=new ButtonWithIcon(this.scene,this,"w000_sellIcon4new0000",this.upgBtnCoords.x,this.upgBtnCoords.y),this.upgradeButton.registerHandler(this.prcBtnHandler)):(this.upgradeButton=new ButtonWithIcon(this.scene,this,"w000_upgradeIcon4new0000",this.upgBtnCoords.x,this.upgBtnCoords.y),this.upgradeButton.registerHandler(this.upgBtnHandler),this.upgradeButton.createCaption(" ",-20,0),this.upgradeButton.lvlInformer.changeTint(5782826),
this.upgradeButton.lvlInformer.changeAlign("left"));this.upgradeButton.myMachine=a;this.setUpgradeButtonProp("hidden")};BasicMachineVisual.prototype.setUpgradeButtonProp=function(a){switch(a){case "hidden":this.upgradeButton.visible=!1;break;case "inactive":this.upgradeButton.visible=!0;this.upgradeButton.alpha=.5;this.upgradeButton.tint=8947848;break;case "active":this.upgradeButton.visible=!0,this.upgradeButton.alpha=1,this.upgradeButton.tint=16777215}};
BasicMachineVisual.prototype.showLevelOnUpgradeButton=function(a){this.upgradeButton.lvlInformer&&(0<a?this.upgradeButton.lvlInformer.showText(window.bottleScreen.utils.showNumberAsText(a)):this.upgradeButton.lvlInformer.showText(" "))};BasicMachineVisual.prototype.upgBtnHandler=function(){this.myMachine.myWorld.hud.showMachineUpgradePanel(this.myMachine)};BasicMachineVisual.prototype.prcBtnHandler=function(){this.myMachine.myWorld.hud.showMachinePurchasePanel(this.myMachine)};
BasicMachineVisual.prototype.embedVisual=function(a){this.embeddedVisuals.push(a)};BasicMachineVisual.prototype.registerAnimatedImage=function(a){this.add(a.im);this.imageModifiers.push(a.ima);a.im.visible=!1};BasicMachineVisual.prototype.setAnimLength=function(a,b){a<this.imageModifiers.length&&this.imageModifiers[a].setCycle(0,b)};BasicMachineVisual.prototype.setAnimLambda=function(a,b){a<this.imageModifiers.length&&this.imageModifiers[a].setLambdaDirectly(b)};
BasicMachineVisual.prototype.interpolateAnimLambda=function(a,b,c){a<this.imageModifiers.length&&this.imageModifiers[a].interpolate2Lambda(b,c)};BasicMachineVisual.prototype.runAnimId=function(a,b,c){a<this.imageModifiers.length&&this.imageModifiers[a].startAnimation(b,c)};BasicMachineVisual.prototype.stopAnimId=function(a){a<this.imageModifiers.length&&(this.imageModifiers[a].isAnimating=!1)};BasicMachineVisual.prototype.moveHigherOnLayer=function(){this.grp.bringToTop(this)};
BasicMachineVisual.prototype.distribute4Layers=function(a){for(var b=0;b<this.distributedSprites.length;b++)a[(b+1)%a.length].add(this.distributedSprites[b])};BasicMachineVisual.prototype.getRemoved=function(){for(var a=0;a<this.distributedSprites.length;a++)this.distributedSprites[a].destroy();Phaser.GameObjects.Container.prototype.destroy.call(this)};BasicMachineVisual.prototype.createImageModifier=function(a,b){var c=new ImageModifier;c.registerDob(a,b);this.imageModifiers.push(c);return c};
BasicMachineVisual.prototype.setPosition=function(a,b){this.x=a;this.y=b};var Slot4MachinePurchaseVisual=function(a,b,c,d){return BasicMachineVisual.call(this,a,b,c,d)||this};$jscomp.inherits(Slot4MachinePurchaseVisual,BasicMachineVisual);var TestMachineVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.img=a.scene.add.sprite(0,0,"allGraphics2","w000_pinPoint4nemo0000");a.add(a.img);b=new ImageModifier;b.registerDob(a.img,1+Math.random());b.addAnimNode(.4,0,0,0,1.2,1.2);b.startAnimation(-1,0);a.imageModifiers.push(b);return a};$jscomp.inherits(TestMachineVisual,BasicMachineVisual);var ImageModifier=function(){this.affectedDob=null;this.phiCycleLength=this.phiGathered=0;this.maxNumCycles=1;this.cyclesMade=0;this.isAnimating=!1;this.viewsSnapshots=[];this.modifiedPropsNames="x y rotation scaleX scaleY skewX skewY alpha visible".split(" ");this.modifiedProperties=[];this.modifiedPropsIds=[];this.lambdaAfterAnimCompletion=1;this.isPhiBased=!0;this.debugName="";this.hasCycleCompleted=this.isLogging=!1;this.preLastLambda=this.lastLambda=0;this.timeRunFunction=null;for(var a=0;9>
a;a++)this.modifiedProperties[a]=!1};ImageModifier.prototype.registerDob=function(a,b){this.affectedDob=a;this.phiCycleLength=b;this.viewsSnapshots.length=0;a=new DobViewSnapshot;a.fromDob(0,this.affectedDob);this.viewsSnapshots.push(a);a=new DobViewSnapshot;a.fromDob(1,this.affectedDob);this.viewsSnapshots.push(a)};ImageModifier.prototype.changeDob=function(a){this.affectedDob=a};
ImageModifier.prototype.getDobPropertyId=function(a){switch(a){case 0:return this.affectedDob.x;case 1:return this.affectedDob.y;case 2:return this.affectedDob.rotation;case 3:return this.affectedDob.scaleX;case 4:return this.affectedDob.scaleY;case 5:return this.affectedDob.skewX;case 6:return this.affectedDob.skewY;case 7:return this.affectedDob.alpha;case 8:return this.affectedDob.visible?1:0}return 0};
ImageModifier.prototype.addAnimNode=function(a,b,c,d,e,f,g,h,k,n){b=void 0===b?0:b;c=void 0===c?0:c;d=void 0===d?0:d;e=void 0===e?1:e;f=void 0===f?1:f;g=void 0===g?0:g;h=void 0===h?0:h;k=void 0===k?1:k;n=void 0===n?1:n;var m=new DobViewSnapshot;m.fromData(a,b,c,d,e,f,g,h,k,n);for(b=0;b<this.modifiedProperties.length;b++)m.getPropertyId(b)!=this.getDobPropertyId(b)&&(this.modifiedProperties[b]=!0,-1==this.modifiedPropsIds.indexOf(b)&&this.modifiedPropsIds.push(b));if(1!=a&&0!=a)for(this.viewsSnapshots.push(null),
b=this.viewsSnapshots.length-1;0<b;b--)if(this.viewsSnapshots[b-1].momentLambda>a)this.viewsSnapshots[b]=this.viewsSnapshots[b-1];else{this.viewsSnapshots[b]=m;break}else 1==a?this.viewsSnapshots[this.viewsSnapshots.length-1]=m:this.viewsSnapshots[0]=m};ImageModifier.prototype.startAnimation=function(a,b){!this.affectedDob||2>this.viewsSnapshots.length||(this.cyclesMade=0,this.maxNumCycles=a,-1!=b&&(this.phiGathered=b),this.isAnimating=!0,this.hasCycleCompleted=!1)};
ImageModifier.prototype.doAnimStep=function(a){this.hasCycleCompleted=!1;0>a&&(a=0);if(this.isAnimating){var b=!1;this.phiGathered+=a;this.phiGathered>=this.phiCycleLength&&(a=Math.floor(this.phiGathered/this.phiCycleLength),this.phiGathered%=this.phiCycleLength,this.cyclesMade+=a,0<this.maxNumCycles&&this.cyclesMade>=this.maxNumCycles&&(b=!0),this.hasCycleCompleted=!0);b?(b=this.lambdaAfterAnimCompletion,this.isAnimating=!1):b=this.phiGathered/this.phiCycleLength;this.preLastLambda=this.lastLambda;
this.lastLambda=b;this.setDobPropertiesByLambda(b)}};ImageModifier.prototype.setLambdaDirectly=function(a){this.setPhiGatheredDirectly(a*this.phiCycleLength)};ImageModifier.prototype.interpolate2Lambda=function(a,b){this.setPhiGatheredDirectly(this.phiGathered*(1-b)+a*this.phiCycleLength*b)};ImageModifier.prototype.stopAfterThisRun=function(){this.maxNumCycles=this.cyclesMade+1;this.setLambdaDirectly(.999)};
ImageModifier.prototype.setPhiGatheredDirectly=function(a){this.phiGathered=a;0>this.phiGathered&&(this.phiGathered=0);this.setDobPropertiesByLambda(this.phiGathered>=this.phiCycleLength?1:this.phiGathered/this.phiCycleLength)};ImageModifier.prototype.doBackwardsAnimStep=function(a){a%=this.phiCycleLength;this.doAnimStep(this.phiCycleLength-a)};ImageModifier.prototype.setCycle=function(a,b){this.phiGathered=a;this.phiCycleLength=b};
ImageModifier.prototype.setDobPropertiesByLambda=function(a){this.timeRunFunction&&(a=this.timeRunFunction(a));for(var b=0;b<this.viewsSnapshots.length-1&&!(this.viewsSnapshots[b].momentLambda<=a&&this.viewsSnapshots[b+1].momentLambda>=a);b++);b!=this.viewsSnapshots.length-1?this.interpolateDobStateBetween(this.viewsSnapshots[b],this.viewsSnapshots[b+1],a):this.interpolateDobStateBetween(this.viewsSnapshots[this.viewsSnapshots.length-1],this.viewsSnapshots[this.viewsSnapshots.length-1],0)};
ImageModifier.prototype.interpolateDobStateBetween=function(a,b,c){c=(c-a.momentLambda)/(b.momentLambda-a.momentLambda);for(var d=0;d<this.modifiedPropsIds.length;d++){var e=this.modifiedPropsIds[d];0==e?this.affectedDob.x=a.cx+(b.cx-a.cx)*c:1==e?this.affectedDob.y=a.cy+(b.cy-a.cy)*c:2==e?this.affectedDob.rotation=a.rot+(b.rot-a.rot)*c:3==e?this.affectedDob.scaleX=a.scaleX+(b.scaleX-a.scaleX)*c:4==e?this.affectedDob.scaleY=a.scaleY+(b.scaleY-a.scaleY)*c:5==e?this.affectedDob.skewX=a.skewX+(b.skewX-
a.skewX)*c:6==e?this.affectedDob.skewY=a.skewY+(b.skewY-a.skewY)*c:7==e?this.affectedDob.alpha=a.alpha+(b.alpha-a.alpha)*c:8==e&&(this.affectedDob.visible=1==a.visible)}};ImageModifier.prototype.clear=function(){for(var a=this.viewsSnapshots.length=0;9>a;a++)this.modifiedProperties[a]=!1};ImageModifier.prototype.modCycleLength=function(a){this.phiCycleLength*=a};ImageModifier.prototype.addRandomPush2PhiGathered=function(){this.phiGathered+=(this.phiCycleLength-this.phiGathered)*Math.random()};
ImageModifier.prototype.pauseAnimation=function(){this.isAnimating=!1};ImageModifier.prototype.resulmeAnimation=function(){this.isAnimating=!0};ImageModifier.prototype.hasJustCrossedLambda=function(a){var b=!1;this.preLastLambda<=a&&(this.lastLambda>=a?b=!0:this.lastLambda<this.preLastLambda&&(b=!0));return b};
ImageModifier.prototype.modNodeProperty=function(a,b,c){var d=this.modifiedPropsNames.indexOf(b);-1!=d?(this.viewsSnapshots[a].setPropertyId(d,c),this.modifiedProperties[d]=!0,-1==this.modifiedPropsIds.indexOf(d)&&this.modifiedPropsIds.push(d)):"lambda"==b&&(this.viewsSnapshots[a].momentLambda=c)};ImageModifier.prototype.getGatheredPhi=function(){return this.phiGathered};
ImageModifier.prototype.setTimeRunFunction=function(a){switch(a){case "none":this.timeRunFunction=null;break;case "accelerate":this.timeRunFunction=null;break;case "deccelerate":this.timeRunFunction=null}};ImageModifier.prototype.getCycleLength=function(){return this.phiCycleLength};ImageModifier.prototype.accelFunc=function(a){return a*a};ImageModifier.prototype.deccelFunc=function(a){return 1-(1-a)*(1-a)};
$jscomp.global.Object.defineProperties(ImageModifier.prototype,{isAnimationRunning:{configurable:!0,enumerable:!0,get:function(){return this.isAnimating}}});var DobViewSnapshot=function(){this.rot=this.cy=this.cx=this.momentLambda=0;this.scaleY=this.scaleX=1;this.skewY=this.skewX=0;this.visible=this.alpha=1};
DobViewSnapshot.prototype.getPropertyId=function(a){switch(a){case 0:return this.cx;case 1:return this.cy;case 2:return this.rot;case 3:return this.scaleX;case 4:return this.scaleY;case 5:return this.skewX;case 6:return this.skewY;case 7:return this.alpha;case 8:return this.visible}return 0};
DobViewSnapshot.prototype.setPropertyId=function(a,b){switch(a){case 0:this.cx=b;break;case 1:this.cy=b;break;case 2:this.rot=b;break;case 3:this.scaleX=b;break;case 4:this.scaleY=b;break;case 5:this.skewX=b;break;case 6:this.skewY=b;break;case 7:this.alpha=b;break;case 8:this.visible=b}};
DobViewSnapshot.prototype.fromDob=function(a,b){this.momentLambda=a;this.cx=b.x;this.cy=b.y;this.rot=b.rotation;this.scaleX=b.scaleX;this.scaleY=b.scaleY;this.skewX=b.skewX;this.skewY=b.skewY;this.alpha=b.alpha;this.visible=b.visible?1:0};
DobViewSnapshot.prototype.fromData=function(a,b,c,d,e,f,g,h,k,n){this.momentLambda=a;this.cx=void 0===b?0:b;this.cy=void 0===c?0:c;this.rot=void 0===d?0:d;this.scaleX=void 0===e?1:e;this.scaleY=void 0===f?1:f;this.skewX=void 0===g?0:g;this.skewY=void 0===h?0:h;this.alpha=void 0===k?1:k;this.visible=void 0===n?1:n};var ImageColorChanger=function(a){this.color0=a;a=this.convertRGB2HSV(a>>16&255,a>>8&255,a&255);this.h0=a[0];this.s0=a[1];this.v0=a[2]/255*100};ImageColorChanger.prototype.createNewColor=function(){var a=this.convertHSV2RGB(360*Math.random(),this.s0,this.v0);return a[0]<<16|a[1]<<8|a[2]};
ImageColorChanger.prototype.convertHSV2RGB=function(a,b,c){360==a&&(a=0);b=(100-b)*c/100;var d=a%60*(c-b)/60,e=b+d;d=c-d;var f=0,g=0,h=0;switch(Math.floor(a/60)){case 0:f=c;g=e;h=b;break;case 1:f=d;g=c;h=b;break;case 2:f=b;g=c;h=e;break;case 3:f=b;g=d;h=c;break;case 4:f=e;g=b;h=c;break;case 5:f=c,g=b,h=d}return[Math.round(2.55*f),Math.round(2.55*g),Math.round(2.55*h)]};
ImageColorChanger.prototype.convertRGB2HSV=function(a,b,c){var d=0,e=0,f=Math.min(a,b,c),g=Math.max(a,b,c);f==g?a=f:(d=60*((a==f?3:c==f?1:5)-(a==f?b-c:c==f?a-b:c-a)/(g-f)),e=(g-f)/g,a=g);return[Math.round(d),Math.round(100*e),Math.round(a)]};var DobMover=function(a){this.distsAr=[];this.totalDist=0;this.mustAlphaAtEnd=!1;this.labmda2Fade=.1;this.trajectoryAr=a;for(a=1;a<this.trajectoryAr.length;a++){var b=this.trajectoryAr[a-1],c=this.trajectoryAr[a],d=c.x-b.x;b=c.y-b.y;d=Math.sqrt(d*d+b*b);this.distsAr.push(d);this.totalDist+=d}if(this.trajectoryAr[0].x!=this.trajectoryAr[this.trajectoryAr.length-1].x||this.trajectoryAr[0].y!=this.trajectoryAr[this.trajectoryAr.length-1].y)this.mustAlphaAtEnd=!0};
DobMover.prototype.placeDobAtLambdaCoords=function(a,b){0>b&&(b=0);1<b&&(b=1);for(var c=this.totalDist*b,d=0;c>this.distsAr[d]&&(c-=this.distsAr[d],d++,d!=this.distsAr.length-1););c/=this.distsAr[d];a.x=this.trajectoryAr[d].x+c*(this.trajectoryAr[d+1].x-this.trajectoryAr[d].x);a.y=this.trajectoryAr[d].y+c*(this.trajectoryAr[d+1].y-this.trajectoryAr[d].y);this.mustAlphaAtEnd&&!a.wasTouched&&(a.alpha=b<this.labmda2Fade?b/this.labmda2Fade:b>1-this.labmda2Fade?(1-b)/this.labmda2Fade:1)};
var WaveMover=function(a){this.imgs=a;this.currentImageId=-1;this.totalPhi=0;this.animationSpeedCoef=20;this.sectionSizeAddCoef=.1;this.isAnimationRunning=!0};WaveMover.prototype.startAnimation=function(){this.currentImageId=-1;this.totalPhi=0;this.isAnimationRunning=!0};
WaveMover.prototype.doStep=function(a){if(this.isAnimationRunning){this.totalPhi+=a*this.animationSpeedCoef;a=Math.floor(this.totalPhi);var b=this.totalPhi-a,c=1-b;0<=a&&a<this.imgs.length&&(this.imgs[a].setScale(1+this.sectionSizeAddCoef*c),a<this.imgs.length-1&&this.imgs[a+1].setScale(1+this.sectionSizeAddCoef*b));this.currentImageId!=a&&(0<=this.currentImageId&&this.currentImageId<this.imgs.length&&this.imgs[this.currentImageId].setScale(1),this.currentImageId=a,this.currentImageId>=this.imgs.length&&
(this.isAnimationRunning=!1))}};var StatsWrapper=function(){this.playerUID="";this.gameCode=2;var a=localStorage.getItem("Tower_id");if("null"!=a&&null!=a&&""!=a)this.playerUID=a,this.sendEvent("next_open",""+window.game.config.gameVersion,1);else{a="HPL_"+window.location.host+"_G_"+this.gameCode+"_"+(new Date).valueOf()+"_";for(var b=""+Math.floor(1E3*Math.random());3>b.length;)b="0"+b;this.playerUID=a+b;this.sendEvent("first_open",""+window.game.config.gameVersion,1)}localStorage.setItem("Tower_id",this.playerUID)};
StatsWrapper.prototype.sendEvent=function(a,b,c){gtag&&gtag("event",a,{event_category:this.playerUID,event_label:b,value:c})};var MyVector=function(a,b){this.y=this.x=0;this.setValue(a,b)};MyVector.prototype.setValue=function(a,b){this.x=a;this.y=b};MyVector.prototype.addValue=function(a,b){this.x+=a;this.y+=b};MyVector.prototype.getMyLengthSq=function(){return this.x*this.x+this.y*this.y};MyVector.prototype.getMyLength=function(){return Math.sqrt(this.getMyLengthSq())};MyVector.prototype.multBy=function(a){this.x*=a;this.y*=a};
MyVector.prototype.setLengthOf=function(a){var b=this.getMyLength();1E-7<b?this.multBy(a/b):this.setValue(a,0)};MyVector.prototype.getMyAngle=function(){return Math.atan2(this.x,-this.y)};MyVector.prototype.setNewAngle=function(a){var b=this.getMyLength();this.setValue(b*Math.sin(a),-b*Math.cos(a))};MyVector.prototype.rotateByAngle=function(a){this.setNewAngle(a+this.getMyAngle())};var TextField=function(a,b,c,d,e){var f=Phaser.GameObjects.Container.call(this,a)||this;f.innerTF=new TFOnParentGroup(a,f,c,0,0);f.x=d;f.y=e;f.grp=b;f.grp.add(f);f.letters=f.innerTF.letters;return f};$jscomp.inherits(TextField,Phaser.GameObjects.Container);TextField.prototype.setLettersScale=function(a){this.innerTF.setLettersScale(a)};TextField.prototype.setStringWidth=function(a){this.innerTF.myStringWidth=a};TextField.prototype.updateTextTranslation=function(){this.innerTF.updateTextTranslation()};
TextField.prototype.setMustTranslate=function(a){this.innerTF.mustTranslateShownTex=a};TextField.prototype.changeTint=function(a){this.innerTF.changeTint(a)};TextField.prototype.changeAlign=function(a){this.innerTF.changeAlign(a)};TextField.prototype.showText=function(a,b){this.innerTF.showText(a,b)};TextField.prototype.showTextsOfDifferentColors=function(a,b,c){this.innerTF.showTextsOfDifferentColors(a,b,c)};TextField.prototype.setY=function(a){this.y=a};TextField.prototype.getTextHeight=function(){return this.innerTF.getTextHeight()};
var TFWithBGD=function(a,b,c,d,e,f){a=TextField.call(this,a,b,c,d,e)||this;b=f.originX;c=f.originY;a.bgdIm=a.scene.add.image(f.dx,f.dy,"allGraphics2",f.texKey);a.bgdIm.setOrigin(b,c);a.add(a.bgdIm);for(f=0;f<a.letters.length;f++)a.bringToTop(a.letters[f]);return a};$jscomp.inherits(TFWithBGD,TextField);
var TFOnParentGroup=function(a,b,c,d,e){this.mustTranslateShownText=!0;this.westernSymbols="0123456789.,;:!?/_+-=~#$^&*()[]{}<>%@|'\u00bf\u00a1AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz\u00c0\u00e0\u00c9\u00e9\u00cb\u00eb\u00cf\u00ef\u0132\u0133\u00c1\u00e1\u00ca\u00ea\u00c8\u00e8\u00cd\u00ed\u00ce\u00ee\u00d4\u00f4\u00d3\u00f3\u00da\u00fa\u00db\u00fb\u00c6\u00e6\u00d8\u00f8\u00c5\u00e5\u00c4\u00e4\u00d6\u00f6\u0160\u0161\u017d\u017e\u00d5\u00f5\u00dc\u00fc\u00df\u0102\u0103\u00c2\u00e2\u015e\u015f\u0162\u0163\u00c7\u00e7\u011e\u011f\u0130\u0131\u0150\u0151\u0170\u0171\u0152\u0153\u00d9\u00f9\u0178\u00ff\u00c3\u00e3\u00d1\u00f1\u00cc\u00ec\u00d2\u00f2\u0104\u0105\u0141\u0142\u0143\u0144\u017b\u017c\u0106\u0107\u0118\u0119\u015a\u015b\u0179\u017a\u010c\u010d\u0110\u0111\u010e\u010f\u011a\u011b\u0147\u0148\u0158\u0159\u0164\u0165\u016e\u016f\u00dd\u00fd\u013d\u013e\u0139\u013a\u0154\u0155\u0100\u0101\u0112\u0113\u0122\u0123\u012a\u012b\u0136\u0137\u013b\u013c\u0145\u0146\u014c\u014d\u0156\u0157\u016a\u016b\u0116\u0117\u012e\u012f\u0172\u0173\u0410\u0430\u0411\u0431\u0412\u0432\u0413\u0433\u0414\u0434\u0415\u0435\u0416\u0436\u0417\u0437\u0418\u0438\u041a\u043a\u041b\u043b\u041c\u043c\u041d\u043d\u041e\u043e\u041f\u043f\u0420\u0440\u0421\u0441\u0422\u0442\u0423\u0443\u0424\u0444\u0425\u0445\u0426\u0446\u0427\u0447\u0428\u0448\u0419\u0439\u0429\u0449\u042c\u044c\u042e\u044e\u042f\u044f\u0490\u0491\u0404\u0454\u0406\u0456\u0407\u0457\u042a\u044a\u0401\u0451\u042d\u044d\u042b\u044b\u040e\u045e\u0409\u0459\u040a\u045a\u040f\u045f\u0408\u0458\u040b\u045b\u0402\u0452\u0403\u0453\u040c\u045c\u0405\u0455\u04c1\u04c2\u021b\u0219\u021a\u0218\"\u00ab\u00bb\u201e\u201c\u201d\u00a9";this.scene=
a;this.x=d;this.y=e;this.cx=d;this.cy=e;this.textHeight=30;this.group4Letters=this.grp=b;this.untranslatedText=this.text="";this.letters=[];this.myTint=16777215;this.myAlign="center";this.myFontScale=1;this.myStringWidth=900;this.showText(c)};TFOnParentGroup.prototype.setLettersScale=function(a){this.myFontScale=a};TFOnParentGroup.prototype.setStringWidth=function(a){this.myStringWidth=a};TFOnParentGroup.prototype.setMustTranslate=function(a){this.mustTranslateShownTex=a};
TFOnParentGroup.prototype.changeTint=function(a){if(a!=this.myTint)for(this.myTint=a,a=0;a<this.letters.length;a++)this.letters[a].tint=this.myTint};TFOnParentGroup.prototype.changeAlign=function(a){this.myAlign!=a&&(this.myAlign=a,this.alignVisibleLetters(0,this.text.length-1))};TFOnParentGroup.prototype.setY=function(a){for(var b=a-this.cy,c=0;c<this.letters.length;c++)this.letters[c].y+=b;this.cy=a};
TFOnParentGroup.prototype.showTextsOfDifferentColors=function(a,b,c){c={mustAlwaysRebuild:c,idsAndTints:[0]};for(var d=0;d<a.length;d++){var e=a[d];this.mustTranslateShownText&&(e=window.translator.translateText(e));a[d]=e}e="";for(d=0;d<a.length;d++)e+=a[d],c.idsAndTints.push(b[d]),c.idsAndTints.push(e.length);this.showText(e,c)};TFOnParentGroup.prototype.updateTextTranslation=function(){this.showText(this.untranslatedText,null)};
TFOnParentGroup.prototype.showText=function(a,b){!b&&this.mustTranslateShownText&&(this.untranslatedText=a,a=window.translator.translateText(a));if(b)c=b.idsAndTints,0==c.length%2&&c.push(a.length),b=b.mustAlwaysRebuild;else{var c=[0,-1,a.length];b=!1}if(a!=this.text||b){b=0;for(var d=this.cx+0,e=this.cy+0,f=a.length,g=this.letters.length,h=Math.max(f,g),k=[],n=0,m=d,l=0;l<h;l++)if(l<f){var q=a.charAt(l),r=this.westernSymbols.indexOf(q);if(l<g){var p=this.letters[l];p.setTexture("allGraphics2","w000_FontEur4nemo"+
this.getNumString4Tag(Math.max(r,0)))}else p=this.scene.add.image(d,e,"allGraphics2","w000_FontEur4nemo"+this.getNumString4Tag(Math.max(r,0))),this.group4Letters.add(p),this.letters.push(p),p.setOrigin(.5,1);l>=c[b+2]&&(b+=2);var t=c[b+1];-1==t&&(t=this.myTint);p.tint=t;p.setScale(this.myFontScale);p.x=d;p.y=e;p.visible=-1!=r;d+=(p.frame.cutWidth+2)*this.myFontScale;if("\n"==q)d=this.cx+0,e+=45*this.myFontScale,k.push({from:n,to:l-1}),n=l+1,m=d;else if(l==f-1)k.push({from:n,to:l});else if(d-m>this.myStringWidth)if(m=
a.charAt(l+1),-1==this.westernSymbols.indexOf(m))d=this.cx+0,e+=45*this.myFontScale,k.push({from:n,to:l}),n=l+1,m=d;else{q=l;for(m=l-1;m>n;m--)if(r=a.charAt(m),-1==this.westernSymbols.indexOf(r)){q=m;break}e+=45*this.myFontScale;for(m=q+1;m<=l;m++)this.letters[m].y=e;m=q<l?this.letters[q+1].x:d;k.push({from:n,to:q});n=q+1}}else this.letters[l].visible=!1;this.text=a;if(0<f)for(l=0;l<k.length;l++)this.alignVisibleLetters(k[l].from,k[l].to);this.textHeight=e+30*this.myFontScale}};
TFOnParentGroup.prototype.getTextHeight=function(){return this.textHeight};TFOnParentGroup.prototype.alignVisibleLetters=function(a,b){if(b>a){var c=this.letters[a].x,d=this.letters[b].x;switch(this.myAlign){case "left":var e=this.cx-c;break;case "center":e=this.cx-(d+c)/2;break;case "right":e=this.cx-d}for(;a<=b;a++)this.letters[a].x+=e}};TFOnParentGroup.prototype.getNumString4Tag=function(a){for(a=""+a;4>a.length;)a="0"+a;return a};
var ButtonWithText=function(a,b,c,d,e){var f=TextField.call(this,a,b,c,d,e)||this;f.hasAltTorFrame=!1;f.bgdIm=f.scene.add.image(0,-20,"allGraphics2","w000_longButtonUp4new0000");f.bgdIm.setOrigin(.5,.5);f.add(f.bgdIm);f.x=d;f.y=e;for(a=0;a<f.letters.length;a++)f.bringToTop(f.letters[a]);f.isUp=!0;f.clickHandler=null;f.iconIm=null;f.bgdIm.setInteractive();f.bgdIm.on("pointerdown",function(a,b,c,d){return f.react2Down(a,b,c,d)});f.bgdIm.on("pointerout",function(a,b){return f.react2Out(a,b)});f.bgdIm.on("pointerup",
function(a,b,c,d){return f.react2Up(a,b,c,d)});window.translator&&window.translator.registerButton(f);return f};$jscomp.inherits(ButtonWithText,TextField);ButtonWithText.prototype.setTopFrame=function(a,b){this.bgdIm.setTexture(a,b);this.hasAltTorFrame=!0};ButtonWithText.prototype.addIconFrame=function(a){if(this.iconIm)this.iconIm.setTexture("allGraphics2",a);else for(this.iconIm=this.scene.add.image(-121,-20,"allGraphics2",a),this.iconIm.setOrigin(.5,.5),this.add(this.iconIm),a=0;a<this.letters.length;a++)this.bringToTop(this.letters[a])};
ButtonWithText.prototype.registerHandler=function(a){this.clickHandler=a};ButtonWithText.prototype.react2Up=function(a,b,c,d){this.isUp||this.clickHandler&&this.clickHandler();this.setUpState();window.mySoundPlayer.playSound("buttonUp")};ButtonWithText.prototype.react2Out=function(a,b){this.setUpState()};ButtonWithText.prototype.react2Move=function(a,b){};ButtonWithText.prototype.react2Down=function(a,b,c,d){this.setDownState();window.mySoundPlayer.playSound("buttonDown")};
ButtonWithText.prototype.setUpState=function(){if(!this.isUp)if(this.hasAltTorFrame)this.bgdIm.y=-20;else{this.bgdIm.setTexture("allGraphics2","w000_longButtonUp4new0000");for(var a=0;a<this.letters.length;a++)this.letters[a].y=0;this.iconIm&&(this.iconIm.y=-20)}this.isUp=!0};
ButtonWithText.prototype.setDownState=function(){if(this.isUp)if(this.hasAltTorFrame)this.bgdIm.y=-17;else{this.bgdIm.setTexture("allGraphics2","w000_longButtonDown4new0000");for(var a=0;a<this.letters.length;a++)this.letters[a].y=3;this.iconIm&&(this.iconIm.y=-17)}this.isUp=!1};ButtonWithText.prototype.animDownAndUp=function(){this.setDownState();setTimeout(this.setUpState.bind(this),200)};
ButtonWithText.prototype.isVisible=function(){var a=this.visible;if(a)for(var b=this.parentContainer;b;){if(!b.visible){a=!1;break}b=b.parentContainer}return a};
var ButtonWithIcon=function(a,b,c,d,e){var f=Phaser.GameObjects.Container.call(this,a)||this;f.scene=a;f.grp=b;f.grp.add(f);f.x=d;f.y=e;f.bgdIm=f.scene.add.image(0,0,"allGraphics2","w000_squareButtonDown4new0000");f.bgdIm.setOrigin(.5,.5);f.add(f.bgdIm);f.lvlInformer=null;f.lvlInformerY0=0;c&&(f.iconIm=f.scene.add.image(0,0,"allGraphics2",c),f.iconIm.setOrigin(.5,.5),f.add(f.iconIm));f.isUp=!0;f.clickHandler=null;f.bgdIm.setInteractive();f.bgdIm.on("pointerdown",function(a,b,c,d){return f.react2Down(a,
b,c,d)});f.bgdIm.on("pointerout",function(a,b){return f.react2Out(a,b)});f.bgdIm.on("pointerup",function(a,b,c,d){return f.react2Up(a,b,c,d)});f.isUp=!1;f.setUpState();return f};$jscomp.inherits(ButtonWithIcon,Phaser.GameObjects.Container);ButtonWithIcon.prototype.setIconFrame=function(a){this.iconIm?this.iconIm.setTexture("allGraphics2",a):(this.iconIm=this.scene.add.image(0,0,"allGraphics2",a),this.iconIm.setOrigin(.5,.5),this.add(this.iconIm))};
ButtonWithIcon.prototype.createCaption=function(a,b,c){this.lvlInformer=new TFOnParentGroup(this.scene,this," ",b,c);this.lvlInformer.mustTranslateShownText=!1;this.lvlInformerY0=c;return this.lvlInformer};ButtonWithIcon.prototype.registerHandler=function(a){this.clickHandler=a};ButtonWithIcon.prototype.react2Move=function(a,b){};ButtonWithIcon.prototype.react2Up=function(a,b,c,d){this.isUp||this.clickHandler&&this.clickHandler();this.setUpState();window.mySoundPlayer.playSound("buttonUp")};
ButtonWithIcon.prototype.react2Out=function(a,b){this.setUpState()};ButtonWithIcon.prototype.react2Down=function(a,b,c,d){this.setDownState();window.mySoundPlayer.playSound("buttonDown")};ButtonWithIcon.prototype.setUpState=function(){this.isUp||(this.bgdIm.setTexture("allGraphics2","w000_squareButtonUp4new0000"),this.iconIm&&(this.iconIm.y=0),this.lvlInformer&&this.lvlInformer.setY(this.lvlInformerY0));this.isUp=!0};
ButtonWithIcon.prototype.setDownState=function(){this.isUp&&(this.bgdIm.setTexture("allGraphics2","w000_squareButtonDown4new0000"),this.iconIm&&(this.iconIm.y=3),this.lvlInformer&&this.lvlInformer.setY(this.lvlInformerY0+3));this.isUp=!1};ButtonWithIcon.prototype.animDownAndUp=function(){this.setDownState();setTimeout(this.setUpState.bind(this),200)};ButtonWithIcon.prototype.isVisible=function(){var a=this.visible;if(a)for(var b=this.parentContainer;b;){if(!b.visible){a=!1;break}b=b.parentContainer}return a};var BabelWorld=function(a,b,c,d){World.call(this,a,b,c,d);this.machinesClasses=[QuarryMine,QuarryStorage,SimpleConnection,BricksStorage,BricksProducerTent,WheelBarrowTransporter,MainBabelTower,Crane,WoodStorage,PlanksStorage,Forest,Lumbermill,WaterWell,WaterPump,Slot4MachinePurchase,DrummerOnBalcony,SmokeMachine,RainCloud,Berth4FlyingMachine,Zeppelin,LiftEngine,Elephant,HayStack,GrassField,Clock,UndergroundWater,WaterExtractor,WaterStorage,CarawanSarai,Camel,Helicopter,HelicopterBalcony,Galileo,Telescope,
MoonStairs,Moon,Stars,AdditionalParamsStorage,Laboratory,GunpowderFactory,Cannon,GunPowderStorage,BungeeJumper,MoonStoneStorage,MoonStoneTower,FieldIrrigator];this.machinesLayers=[[0],[0],[0],[1],[2],[0],[0,1,1],[0],[0],[1],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[1],[0],[0],[0],[0],[0],[0],[0],[2],[2],[2],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[1]];this.machinesNames="TXID_MACH_NAME_QUARRY TXID_MACH_NAME_QUARRYSTORAGE TXID_MACH_NAME_CONNECTION TXID_MACH_NAME_BRICKSSTORAGE TXID_MACH_NAME_SAW TXID_MACH_NAME_TRANSPORTER TXID_MACH_NAME_BABELTOWER TXID_MACH_NAME_CRANE TXID_MACH_NAME_WOODSTORAGE TXID_MACH_NAME_PLANKSSTORAGE TXID_MACH_NAME_FOREST TXID_MACH_NAME_LUMBERMILL TXID_MACH_NAME_WATERWELL TXID_MACH_NAME_PUMP TXID_MACH_NAME_SLOT TXID_MACH_NAME_DRUMMER TXID_MACH_NAME_SMOKEMACHINE TXID_MACH_NAME_CLOUD TXID_MACH_NAME_BERTH TXID_MACH_NAME_ZEPPELIN TXID_MACH_NAME_LIFTENGINE TXID_MACH_NAME_ELEPHANT TXID_MACH_NAME_HAYSTACK TXID_MACH_NAME_FIELD TXID_MACH_NAME_CLOCK TXID_MACH_NAME_UNDERGROUNDWATER TXID_MACH_NAME_WATEREXTRACTOR TXID_MACH_NAME_WATERSTORAGE TXID_MACH_NAME_CARAWANSARAI TXID_MACH_NAME_CAMEL TXID_MACH_NAME_HELICOPTER TXID_MACH_NAME_HELICOPTERBALCONY TXID_MACH_NAME_GALILEO TXID_MACH_NAME_TELESCOPE TXID_MACH_NAME_MOONSTAIRS TXID_MACH_NAME_MOON TXID_MACH_NAME_STARS  TXID_MACH_NAME_LABORATORY TXID_MACH_NAME_GUNPOWDERLAB TXID_MACH_NAME_CANNON TXID_MACH_NAME_GUNPOWDERSTORAGE TXID_MACH_NAME_BUNGEEJUMPER  TXID_MACH_NAME_MOONSTONETOWER TXID_MACH_NAME_IRRIGATOR".split(" ");
this.machinesDescs="TXID_MACH_DESC_QUARRY TXID_MACH_DESC_QUARRYSTORAGE TXID_MACH_DESC_CONNECTION TXID_MACH_DESC_BRICKSSTORAGE TXID_MACH_DESC_SAW TXID_MACH_DESC_TRANSPORTER TXID_MACH_DESC_BABELTOWER TXID_MACH_DESC_CRANE TXID_MACH_DESC_WOODSTORAGE TXID_MACH_DESC_PLANKSSTORAGE TXID_MACH_DESC_FOREST TXID_MACH_DESC_LUMBERMILL TXID_MACH_DESC_WATERWELL TXID_MACH_DESC_PUMP TXID_MACH_DESC_SLOT TXID_MACH_DESC_DRUMMER TXID_MACH_DESC_SMOKEMACHINE TXID_MACH_DESC_CLOUD TXID_MACH_DESC_BERTH TXID_MACH_DESC_ZEPPELIN TXID_MACH_DESC_LIFTENGINE TXID_MACH_DESC_ELEPHANT TXID_MACH_DESC_HAYSTACK TXID_MACH_DESC_FIELD TXID_MACH_DESC_CLOCK TXID_MACH_DESC_UNDERGROUNDWATER TXID_MACH_DESC_WATEREXTRACTOR TXID_MACH_DESC_WATERSTORAGE TXID_MACH_DESC_CARAWANSARAI TXID_MACH_DESC_CAMEL TXID_MACH_DESC_HELICOPTER TXID_MACH_DESC_HELICOPTERBALCONY TXID_MACH_DESC_GALILEO TXID_MACH_DESC_TELESCOPE TXID_MACH_DESC_MOONSTAIRS TXID_MACH_DESC_MOON TXID_MACH_DESC_STARS  TXID_MACH_DESC_LABORATORY TXID_MACH_DESC_GUNPOWDERLAB TXID_MACH_DESC_CANNON TXID_MACH_DESC_GUNPOWDERSTORAGE TXID_MACH_DESC_BUNGEEJUMPER  TXID_MACH_DESC_MOONSTONETOWER TXID_MACH_DESC_IRRIGATOR".split(" ");
this.worldTypeId=3;this.maxTowerHeight=this.stone=0;this.additionalParamsStorageFromLastSession=this.additionalParamsStorage=null;this.artifactsController=new ArtifactsController(this);this.groundLevel=this.myBottleScreen.h0-250;this.midLine=this.myBottleScreen.screenZeroX;this.storagesWithGoods2Sell=[];this.goodsList=this.ballanser.goodsList.slice();this.goodsNamesList=this.ballanser.goodsNamesList.slice();this.pricesList=this.ballanser.pricesList.slice();this.money=0;this.isRestartPlanned=this.isSpeedingTime=
!1;this.countdownTillRestart=0;this.carawanSeller=this.clockTimeSpeeder=null;this.allowedWorldMovements={left:0,top:0,right:0,bottom:0};this.myMouseController.allowedWorldMovements=this.allowedWorldMovements;this.triggersAr=[{uid:0,checkCompletionFunction:this.tapTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.tapTriggerResult,resultFunctionParams:[]},{uid:1,checkCompletionFunction:this.dragTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.altDragTriggerResult,
resultFunctionParams:[]},{uid:2,checkCompletionFunction:this.tapSawTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.tapSawTriggerResult,resultFunctionParams:[]},{uid:3,checkCompletionFunction:this.marketTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.marketTriggerResult,resultFunctionParams:[]},{uid:4,checkCompletionFunction:this.tower2TriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.tower2TriggerResult,resultFunctionParams:[]},{uid:5,
checkCompletionFunction:this.forestTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.forestTriggerResult,resultFunctionParams:[]},{uid:6,checkCompletionFunction:this.dragWoodTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.altDragWoodTriggerResult,resultFunctionParams:[]},{uid:7,checkCompletionFunction:this.tapLumbermillTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.tapLumbermillTriggerResult,resultFunctionParams:[]},{uid:8,checkCompletionFunction:this.dragWaterTriggerCondition,
checkCompletionFunctionParams:[],resultFunction:this.dragWaterTriggerResult,resultFunctionParams:[]},{uid:9,checkCompletionFunction:this.restartTriggerCondition,checkCompletionFunctionParams:[],resultFunction:this.restartTriggerResult,resultFunctionParams:[]}]};$jscomp.inherits(BabelWorld,World);BabelWorld.prototype.getWorldTypeId=function(){return 3};
BabelWorld.prototype.findStorageOfResource=function(a){for(var b=null,c=0;c<this.objects.length;c++){var d=this.objects[c];if(BasicGoodsStorage.isPrototypeOf(d.myClass)&&d.goodsCode==a){b=d;break}}return b};BabelWorld.prototype.countOwnedArtifacts=function(){return this.artifactsController.countOwnedArtifacts()};BabelWorld.prototype.countArtifactsOfCode=function(a){return this.artifactsController.countArtifactsOfCode(a)};
BabelWorld.prototype.update=function(a,b){World.prototype.update.call(this,a,b)};
BabelWorld.prototype.setInitialMoneyAndOtherParams=function(){console.log("this.money=",this.money);this.money*=this.getAfterRestartMoneyCoef();console.log("this.money=",this.money);this.allowedWorldMovements.left=0;this.allowedWorldMovements.top=0;this.allowedWorldMovements.right=0;this.allowedWorldMovements.bottom=0;this.groundLevel=this.myBottleScreen.h0-250;this.midLine=this.myBottleScreen.screenZeroX;this.isSpeedingTime=!1};
BabelWorld.prototype.createInitialObjects=function(){World.prototype.createInitialObjects.call(this);var a=this.createObject(QuarryMine,[40,this.groundLevel]),b=this.createObject(MainBabelTower,[this.midLine-50,a.y]),c=this.createObject(QuarryStorage,[a.x+330,a.y]);this.createObject(SimpleConnection,[a.arId,c.arId,1,-1,-1]);c.moveHigherOnLayer();a=this.createObject(BricksProducerTent,[this.midLine+185,this.groundLevel+170]);var d=this.createObject(BricksStorage,[a.x+220,a.y+20]);this.createObject(SimpleConnection,
[d.arId,b.arId,1,-1,-1]);this.createObject(SimpleConnection,[a.arId,d.arId,1,-1,-1]);d=this.createObject(WheelBarrowTransporter,[a.x-125,a.y,"stone",-250,-150]);this.createObject(SimpleConnection,[c.arId,d.arId,1,-1,-1]);this.createObject(SimpleConnection,[d.arId,a.arId,1,-1,-1]);a.moveHigherOnLayer();this.additionalParamsStorage=this.createObject(AdditionalParamsStorage,[0,0]);this.additionalParamsStorage.initFromLastSession(this.additionalParamsStorageFromLastSession);this.additionalParamsStorageFromLastSession=
null;this.additionalParamsStorage.hasLab&&(this.createObject(Laboratory,[b.x+266,b.y+770]),this.expandDraggableArea({left:0,right:0,top:-610,bottom:0}));b.createStartBrickFromGoldenBricks(this.prestige);c=this.additionalParamsStorage.getUpgradeParameterValueOfCode("num_floors");for(b=0;b<c;b++)this.giveReward({rewardType:"quickStoreyCompletion",numStories:1},!0);if(0<this.money){c=[];for(b=0;b<this.objects.length;b++)this.objects[b].myClass==Slot4MachinePurchase&&c.push(this.objects[b]);for(b=0;b<
c.length;b++)a=c[b],d=a.getPurchasePrice(),0<d&&this.getResourceVal(a.purchaseCurrency)>=1E3*d&&a.performPurchase(!1,0);for(b=0;b<this.objects.length;b++)this.objects[b].performUpgrade4ModeIfPossible("0.01%",!1)}};
BabelWorld.prototype.react2TowerStoreyCompletion=function(a){if(1==a.numStoriesBuilt){this.expandDraggableArea({left:-800,right:200,top:0,bottom:0});3>this.numRestarts&&this.showMessage("TXID_MSGCAP_TUT_CRANENEEDED",["TXID_MSGANS_OK"],[{func:this.moveScreenBy.bind(this,-800,0)}],null);var b=this.createObject(Crane,[a.x+664,a.y]),c=this.createObject(Forest,[a.x+1058,a.y+15]),d=this.createObject(Lumbermill,[a.x+782,a.y+169]),e=this.createObject(WoodStorage,[a.x+1268,c.y+165]),f=this.createObject(PlanksStorage,
[a.x+622,a.y+223]),g=this.createObject(WheelBarrowTransporter,[d.x+125,d.y,"wood",e.x-d.x-167,e.y-d.y]);this.createObject(SimpleConnection,[b.arId,a.arId,1,-1,-1]);this.createObject(SimpleConnection,[f.arId,b.arId,1,-1,-1]);this.createObject(SimpleConnection,[d.arId,f.arId,1,-1,-1]);this.createObject(SimpleConnection,[g.arId,d.arId,1,-1,-1]);this.createObject(SimpleConnection,[e.arId,g.arId,1,-1,-1]);this.createObject(SimpleConnection,[c.arId,e.arId,1,-1,-1])}2==a.numStoriesBuilt&&(this.expandDraggableArea({left:-300,
right:0,top:0,bottom:0}),b=this.createObject(WaterWell,[a.x+1602,a.y+122]),c=this.findObjectOfClass({cls:Forest}),this.createObject(Slot4MachinePurchase,[b.x-126,b.y-72,"PURCH_WATERPUMP",1,b.arId,1,c.arId]));if(3==a.numStoriesBuilt){c=[];for(b=0;b<this.objects.length;b++)this.objects[b].myClass==WheelBarrowTransporter&&c.push(this.objects[b]);d=[a.x-110,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_DRUM",0];d.push(c.length);for(b=0;b<c.length;b++)d.push(c[b].arId);this.createObject(Slot4MachinePurchase,
d)}4==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+535+110,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_SMOKE",0,0]);5==a.numStoriesBuilt&&(this.createObject(Slot4MachinePurchase,[a.x-429,a.y+321,"PURCH_ELEPHANT",0,0]),this.expandDraggableArea({left:0,right:300,top:-200,bottom:0}));6==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x-110,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_BERCH",0,0]);7==a.numStoriesBuilt&&(b=this.findObjectOfClass({cls:WaterWell}),
this.createObject(Slot4MachinePurchase,[b.x+164,b.y+353,"PURCH_WATEREXTRACTOR",0,0]),this.expandDraggableArea({left:-300,right:0,top:-280,bottom:0}));8==a.numStoriesBuilt&&(this.expandDraggableArea({left:0,right:200,top:0,bottom:0}),this.createObject(Slot4MachinePurchase,[a.x-1050,a.y+333,"PURCH_IRRIGATOR",0,0]));9==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+535+267,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1)-89,"PURCH_HELICOPTER",0,0]);10==a.numStoriesBuilt&&(this.createObject(Slot4MachinePurchase,
[a.x-1500,a.y+330,"PURCH_CARAWAN",0,0]),this.expandDraggableArea({left:0,right:650,top:0,bottom:0}));11==a.numStoriesBuilt&&(c=this.createObject(Slot4MachinePurchase,[a.x+267.5,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_GALILEO",0,0]),this.createObject(Stars,[c.x-711,c.y-423-478]),this.createObject(Moon,[c.x-1200-176,c.y-1250-717+339]),this.expandDraggableArea({left:0,right:0,top:-140,bottom:0}),this.findObjectOfClass({cls:Laboratory})||this.createObject(Slot4MachinePurchase,[a.x+266,a.y+770,
"PURCH_LAB",0,0]));12==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+275,a.y+15-120,"PURCH_GUNPOWDERLAB",0,0]);13==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+267.5,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_BUNGEEJUMPER",1,a.arId,0]);14==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_TELESCOPE",0,0]);15==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+140,a.y-124+a.getStoreyFloorY(a.numStoriesBuilt-
1),"PURCH_CLOCK",0,0]);16==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x,a.y+a.getStoreyFloorY(a.numStoriesBuilt-1),"PURCH_MOONSTAIRS",0,0]);17==a.numStoriesBuilt&&this.showMessage("TXID_MSG_LEVEL_SPACE\nTXID_MSG_LEVEL_SPACE_ACTION",["TXID_MSGANS_SUBMIT"],[{func:window.bottleScreen.utils.sendEmailWithCaptionAndText.bind(window,window.translator.translateText("Space machines for Babel Tower!"),window.translator.translateText("My suggestions:"))}],null);20==a.numStoriesBuilt&&this.showMessage("TXID_MSGCAP_VICTORY",
["TXID_MSGANS_SUBMIT"],[{func:window.bottleScreen.utils.sendEmailWithCaptionAndText.bind(window,window.translator.translateText("I have completed the Babel Tower!"),window.translator.translateText("TXID_CAP_INF_LEVEL: "+a.numStoriesBuilt+" TXID_INF_GB: "+this.prestige))}],null);3<=a.numStoriesBuilt&&this.expandDraggableArea({left:0,right:0,top:0,bottom:300});this.doSaving()};
BabelWorld.prototype.react2CraneStoreyCompletion=function(a){12==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+270-60,a.y-400,"PURCH_LIFTENGINE",0,1,a.arId]);21==a.numStoriesBuilt&&this.createObject(Slot4MachinePurchase,[a.x+270-60,a.y-1200,"PURCH_LIFTENGINE",0,1,a.arId]);this.doSaving()};
BabelWorld.prototype.calcPrestigeAfterRestart=function(){this.prestige+=this.getPrestigeAdditionAfterRestart();var a=this.findObjectOfClass({cls:MainBabelTower});a&&(this.maxTowerHeight=Math.max(this.maxTowerHeight,a.numStoriesBuilt));this.additionalParamsStorage&&(this.additionalParamsStorageFromLastSession=this.additionalParamsStorage,this.findObjectOfClass({cls:Laboratory})?this.additionalParamsStorageFromLastSession.hasLab=!0:this.additionalParamsStorageFromLastSession.hasLab=!1)};
BabelWorld.prototype.doRestart=function(){World.prototype.doRestart.call(this);this.carawanSeller=this.clockTimeSpeeder=null;this.offlineTimeBonus*=this.getAfterRestartTimeCoef();var a=this.getMasterPriceCoef(this.prestige),b=this.getMasterTapCoef(this.prestige),c=this.getMasterProdCoef(this.prestige);this.showMessage({arOfText:["TXID_MSGCAP_RESTART_INFORMATION\n","TXID_MSGCAP_RESTART_BOOST_CAP\n","\nTXID_MSGCAP_BOOSTNAME_PRICE: ","x"+window.bottleScreen.utils.showNumberAsText(a),"\nTXID_MSGCAP_BOOSTNAME_CLICK: ",
"x"+window.bottleScreen.utils.showNumberAsText(b),"\nTXID_MSGCAP_BOOSTNAME_PROD: ","x"+window.bottleScreen.utils.showNumberAsText(c)],arOfColors:[-1,-1,-1,6750054,-1,6750054,-1,6750054]},["TXID_MSGANS_OK"],[null],null)};
BabelWorld.prototype.showRestartRequest=function(){var a=this.getPrestigeAdditionAfterRestart(),b=this.prestige+a,c=this.getMasterPriceCoef(this.prestige),d=this.getMasterTapCoef(this.prestige),e=this.getMasterProdCoef(this.prestige),f=this.getMasterPriceCoef(b),g=this.getMasterTapCoef(b);b=this.getMasterProdCoef(b);var h=this.findObjectOfClass({cls:MainBabelTower});h&&this.hud.showMessage({arOfText:["TXID_MSGCAP_BUILDINHEIGHT_START ",""+h.numStoriesBuilt," TXID_MSGCAP_BUILDINHEIGHT_END.\n","TXID_MSGCAP_FUTUREGB_START ",
""+window.bottleScreen.utils.showNumberAsText(a)," TXID_MSGCAP_FUTUREGB_END.\n\n"," TXID_MSGCAP_NEXTRUNBOOSTS:\n","TXID_MSGCAP_BOOSTNAME_CLICK: ","x"+window.bottleScreen.utils.showNumberAsText(d)," => ","x"+window.bottleScreen.utils.showNumberAsText(g),"\nTXID_MSGCAP_BOOSTNAME_PROD: ","x"+window.bottleScreen.utils.showNumberAsText(e)," => ","x"+window.bottleScreen.utils.showNumberAsText(b),"\nTXID_MSGCAP_BOOSTNAME_PRICE: ","x"+window.bottleScreen.utils.showNumberAsText(c)," => ","x"+window.bottleScreen.utils.showNumberAsText(f),
"\n\nTXID_MSGCAP_RESTART_QUESTION"],arOfColors:[-1,6750054,-1,-1,16777096,-1,-1,-1,-1,16777096,6750054,-1,-1,16777096,6750054,-1,-1,16777096,6750054,-1]},["TXID_MSGANS_NO","TXID_CAP_RESTART"],[null,{func:this.initiateRestartSequence.bind(this)}],null)};
BabelWorld.prototype.getPrestigeAdditionAfterRestart=function(a){a||(a=0);var b=this.findObjectOfClass({cls:MainBabelTower}),c=0;b&&(a=b.numStoriesBuilt+a,2<=a&&(c=(a-1)*(a-1),a>this.maxTowerHeight||c>=this.prestige||(c=Math.max(Math.ceil(c/this.prestige*c),Math.ceil((a-1)/2)))));return c=Math.round(c*this.getAfterRestartBricksCoef())};
BabelWorld.prototype.getMasterPriceCoef=function(a){a||(a=this.prestige);a=1+.1*a;0<this.countArtifactsOfCode("purch_coin")&&(a*=5);this.carawanSeller&&(a*=this.carawanSeller.getMarketPriceModifier());return a};BabelWorld.prototype.getMasterTapCoef=function(a){a||(a=this.prestige);return 1+.25*a};BabelWorld.prototype.getMasterProdCoef=function(a){a||(a=this.prestige);return 1+.2*a};
BabelWorld.prototype.getMasterTimeCoef=function(){var a=1;this.isSpeedingTime&&(a=10);this.clockTimeSpeeder&&(a*=this.clockTimeSpeeder.getTimeSpeedBoost());return a};BabelWorld.prototype.getMasterScienceCoef=function(){var a=1;this.additionalParamsStorage&&(a=1+this.additionalParamsStorage.getUpgradeParameterValueOfCode("science_coef"));return a};
BabelWorld.prototype.getAfterRestartTimeCoef=function(){var a=.2;this.additionalParamsStorage&&(a=this.additionalParamsStorage.getUpgradeParameterValueOfCode("perc_time"));return a};BabelWorld.prototype.getAfterRestartMoneyCoef=function(){var a=0;this.additionalParamsStorage&&(a=this.additionalParamsStorage.getUpgradeParameterValueOfCode("perc_money"));return a};
BabelWorld.prototype.getAfterRestartBricksCoef=function(){var a=1;this.additionalParamsStorage&&(a=1+this.additionalParamsStorage.getUpgradeParameterValueOfCode("perc_bricks"));return a};
BabelWorld.prototype.buildRewardInfo=function(a){var b=World.prototype.buildRewardInfo.call(this,a);null!=a&&("bonusTime"==a.rewardType&&(b="TXID_REW_BONUSTIME: "+window.bottleScreen.utils.showTimeAsText(a.rewardValue,!0)),"freeUpgrade"==a.rewardType&&(b="TXID_REW_FREEUP!"),"purchDiscount"==a.rewardType&&(b="TXID_REW_DISCPURCH: "+window.bottleScreen.utils.showNumberAsText(100*a.discountVal)+"%"),"freeBricks"==a.rewardType&&(b="TXID_REW_FREEGB: "+window.bottleScreen.utils.showNumberAsText(a.rewardValue)),
"freeResource"==a.rewardType&&(b="TXID_REW_FREERES: "+window.bottleScreen.utils.showNumberAsText(a.rewardValue)+" "+this.getNameOfGoodsOfCode(a.resourceName)),"multiplyResource"==a.rewardType&&(b="TXID_REW_RESMULT: "+this.getNameOfGoodsOfCode(a.resourceName)+" x"+window.bottleScreen.utils.showNumberAsText(a.rewardCoef)),"quickStoreyCompletion"==a.rewardType&&(b="TXID_REW_STOREYCOMPL!"));return b};
BabelWorld.prototype.completeRewardObProperties=function(a,b){b||(b=0);switch(a.rewardType){case "bonusTime":a.rewardValue=60*(2*b+2);break;case "freeBricks":a.rewardValue=b+2;break;case "freeResource":b=this.getListOfStoragesWithGoods();0<b.length?(b=b[Math.floor(Math.random()*b.length)].storage,a.resourceName=b.goodsCode,a.rewardValue=Math.max(b.valInside*(.5+Math.random()),100)):a.code="none";break;case "multiplyResource":b=this.getListOfStoragesWithGoods();0<b.length?(b=b[Math.floor(Math.random()*
b.length)].storage,a.resourceName=b.goodsCode,a.rewardCoef=Math.round(2+5*Math.random())):a.code="none";break;case "freeMoney":a.rewardValue=Math.max(.1*this.money,100);break;case "quickStoreyCompletion":a.numStories=1,this.countArtifactsOfCode("purch_trowel")&&(a.numStories*=2)}};
BabelWorld.prototype.createNthRewardObject=function(a){console.log("createNthRewardObject",a);switch(a){case 0:var b={rewardType:"freeMoney",rewardValue:Math.max(50,.01*this.money)};break;case 1:b={rewardType:"bonusTime",rewardValue:120};break;default:for(var c=!0;c;)c=!1,b={rewardType:"freeMoney bonusTime freeBricks freeResource multiplyResource quickStoreyCompletion".split(" ")[window.bottleScreen.utils.getIdOfArOfWeights([10,10,5,20,20,2])]},this.completeRewardObProperties(b,a),"none"==b.rewardType&&
(c=!0)}return b};
BabelWorld.prototype.giveReward=function(a,b){World.prototype.giveReward.call(this,a,b);if(null!=a&&("freeUpgrade"==a.rewardType&&(b=a.machine,b.isInDeleteQueue||b.performUpgrade(1,!0)),"purchDiscount"==a.rewardType&&(b=a.machine,b.isInDeleteQueue||b.performPurchase(!1,1-a.discountVal)),"freeBricks"==a.rewardType&&a.hasOwnProperty("rewardValue")&&(this.prestige+=a.rewardValue),"freeResource"==a.rewardType&&(b=this.findStorageOfResource(a.resourceName),console.log("findStorageOfResource",a.resourceName),
console.log(b,a.rewardValue),b&&b.modValueBy(a.rewardValue)),"multiplyResource"==a.rewardType&&(b=this.findStorageOfResource(a.resourceName))&&b.modValueBy(b.valInside*(a.rewardCoef-1)),"quickStoreyCompletion"==a.rewardType)){var c=this.findObjectOfClass({cls:MainBabelTower});if(c)for(b=0;b<a.numStories;b++)c.completeCurrentStoreyBuilding();if((c=this.findObjectOfClass({cls:Crane}))&&!c.hasCannon)for(b=0;b<3*a.numStories;b++)c.completeCurrentStoreyBuilding()}};
BabelWorld.prototype.toggleTimeSpeeding=function(){var a=!0;(this.isSpeedingTime=!this.isSpeedingTime)&&0>=this.offlineTimeBonus&&(a=this.isSpeedingTime=!1);return a};BabelWorld.prototype.startNormalPlayRate=function(){this.isSpeedingTime=!1};BabelWorld.prototype.startFastFoward=function(){0<this.offlineTimeBonus&&(this.isSpeedingTime=!0)};
BabelWorld.prototype.doSomethingEverySecond=function(){World.prototype.doSomethingEverySecond.call(this);this.clockTimeSpeeder||(this.clockTimeSpeeder=this.findObjectOfClass({cls:Clock}));this.carawanSeller||(this.carawanSeller=this.findObjectOfClass({cls:CarawanSarai}))};
BabelWorld.prototype.calcBonusesExpiration=function(a){this.isSpeedingTime&&(this.offlineTimeBonus-=a,0>=this.offlineTimeBonus&&(this.offlineTimeBonus=0,this.startNormalPlayRate()));this.isRestartPlanned&&(this.countdownTillRestart-=a,0>=this.countdownTillRestart&&(this.doRestart(),this.isRestartPlanned=!1,this.countdownTillRestart=0))};
BabelWorld.prototype.createBGDs=function(){World.prototype.createBGDs.call(this);var a=new SkyBGD(this,this.scene,this.containerGroup,this.midLine,this.myBottleScreen.screenZeroY);this.unmovableBGDs.push(a);a=new SpaceBGD(this,this.scene,this.containerGroup,this.midLine,this.groundLevel-2200);this.unmovableBGDs.push(a);a=new GroundBGD(this,this.scene,this.containerGroup,this.midLine,this.groundLevel);this.unmovableBGDs.push(a);a=new UnderGroundBGD(this,this.scene,this.containerGroup,this.midLine,
this.groundLevel+450);this.unmovableBGDs.push(a)};BabelWorld.prototype.createThunderstorm=function(){var a=new ThunderstormEffect(this,this.scene,this.containerGroup);this.unmovableBGDs.push(a);window.mySoundPlayer.playSound("thunderbolt")};
BabelWorld.prototype.initiateRestartSequence=function(){this.createThunderstorm();this.isRestartPlanned=!0;this.countdownTillRestart=1;window.portalWrapper.showInterstitial({statsCode:"fromRestart"});var a=this.findObjectOfClass({cls:MainBabelTower});a?window.bottleScreen.statsWrapper.sendEvent("restart_tower_level_"+this.numRestarts,""+a.numStoriesBuilt,1):window.bottleScreen.statsWrapper.sendEvent("restart_tower_level_"+this.numRestarts,"-1",0)};
BabelWorld.prototype.receiveResource=function(a,b){World.prototype.receiveResource.call(this,a,b);"stone"==a&&(this.stone+=b);"science"==a&&this.additionalParamsStorage&&(this.additionalParamsStorage.science+=b)};BabelWorld.prototype.getResourceVal=function(a){var b=World.prototype.getResourceVal.call(this,a);"stone"==a&&(b=this.stone);"science"==a&&(b=this.additionalParamsStorage?this.additionalParamsStorage.science:0);return b};
BabelWorld.prototype.getNameOfGoodsOfCode=function(a){a=this.goodsList.indexOf(a);return-1!=a?this.goodsNamesList[a]:""};BabelWorld.prototype.getListOfStoragesWithGoods=function(a){a=[];for(var b=0;b<this.objects.length;b++){var c=this.objects[b];if(BasicGoodsStorage.isPrototypeOf(c.myClass)){var d=this.goodsList.indexOf(c.goodsCode);-1!=d&&a.push({storage:c,goodsId:d})}}return a};
BabelWorld.prototype.hasStorageWithGoods2Sell=function(a){for(var b=!1,c=0;c<this.objects.length;c++){var d=this.objects[c];if(BasicGoodsStorage.isPrototypeOf(d.myClass)&&-1!=this.goodsList.indexOf(d.goodsCode)&&1<=Math.floor(a*d.valInside)){b=!0;break}}return b};
BabelWorld.prototype.updateSellPossibilities=function(){for(var a=this.storagesWithGoods2Sell.length=0;a<this.objects.length;a++){var b=this.objects[a];BasicGoodsStorage.isPrototypeOf(b.myClass)&&-1!=this.goodsList.indexOf(b.goodsCode)&&this.storagesWithGoods2Sell.push(b)}};
BabelWorld.prototype.buildSellStringOb4Goods=function(a,b){var c={arOfText:[],arOfColors:[]};b=Math.floor(a.valInside*b);var d=this.goodsNamesList[this.goodsList.indexOf(a.goodsCode)];a=this.pricesList[this.goodsList.indexOf(a.goodsCode)]*this.getMasterPriceCoef();a*=b;c.arOfText.push("TXID_MSG_SELLREING_BEG ",window.bottleScreen.utils.showNumberAsText(b)," "+d," TXID_MSG_SELLREING_MID ",""+window.bottleScreen.utils.showNumberAsText(a)," TXID_MSG_SELLREING_END");c.arOfColors.push(-1,6750054,-1,-1,
6750054,-1);return c};BabelWorld.prototype.buildSellString4Goods=function(a){var b=Math.round(.5*a.valInside),c=this.pricesList[this.goodsList.indexOf(a.goodsCode)]*this.getMasterPriceCoef();c*=b;return"Sell "+window.bottleScreen.utils.showNumberAsText(b)+" "+a.goodsCode+" for $"+window.bottleScreen.utils.showNumberAsText(c)};
BabelWorld.prototype.handleSellingFromStorage=function(a,b){b=Math.floor(a.valInside*b);var c=this.pricesList[this.goodsList.indexOf(a.goodsCode)]*this.getMasterPriceCoef();c*=b;this.receiveResource("money",c);a.modValueBy(-b);return c};BabelWorld.prototype.tapTriggerCondition=function(){var a=this.controller.myWorld;return a.myTutController.hasActiveTutorial()||a.hud.hasSomethingOpen()?0:0>=a.findObjectOfClass({cls:QuarryMine}).totalProcessingsMade?1:2};
BabelWorld.prototype.tapTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:QuarryMine});a.myTutController.createTutor(TutPointingHand,b,a.tutQuarrTapped.bind(b));a.showMessage("TXID_MSGCAP_TUT_MINE",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.tutQuarrTapped=function(){return 3<this.totalProcessingsMade};
BabelWorld.prototype.dragTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;5<b.findObjectOfClass({cls:QuarryStorage}).valInside&&(a=1);return a};
BabelWorld.prototype.altDragTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:QuarryStorage});a.myTutController.createTutor(TutPointingHand,b,a.tutStoneDragged.bind(b));a.showMessage("TXID_MSGCAP_TUT_AUTOTRANSFERSTONE",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.dragTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:QuarryStorage});a.myTutController.createTutor(TutDraggingHand,b,a.tutStoneDragged.bind(b))};
BabelWorld.prototype.tutStoneDragged=function(){return 2<=this.totalProcessingsMade};BabelWorld.prototype.tapSawTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;2<=b.findObjectOfClass({cls:BricksProducerTent}).inputBuffer&&(a=1);return a};
BabelWorld.prototype.tapSawTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:BricksProducerTent});a.myTutController.createTutor(TutTappingHand,b,a.tutSawTapped.bind(b));a.showMessage("TXID_MSGCAP_TUT_PRODUCEBRICKS",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.tutSawTapped=function(){return 2<=this.totalProcessingsMade};
BabelWorld.prototype.marketTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;30<b.currentMomentInGame&&b.hasStorageWithGoods2Sell(.5)&&(a=1);return a};BabelWorld.prototype.marketTriggerResult=function(){var a=this.controller.myWorld;a.showMessage("TXID_MSGCAP_TUT_MARKET",["TXID_CAP_MARKET"],[{func:a.msgOpenMarketResult.bind(a)}])};BabelWorld.prototype.msgOpenMarketResult=function(){this.hud.showSellPanel(this)};
BabelWorld.prototype.tower2TriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;var c=b.findObjectOfClass({cls:MainBabelTower});b=b.findObjectOfClass({cls:Crane});c&&b&&1<=c.numStoriesBuilt&&3<=b.numStoriesBuilt&&(a=1);return a};BabelWorld.prototype.tower2TriggerResult=function(){this.controller.myWorld.showMessage("TXID_MSGCAP_TUT_HIGHTOWERMOREBRICKS",["TXID_MSGANS_OK"],[])};
BabelWorld.prototype.forestTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;var c=b.findObjectOfClass({cls:Forest});c&&b.containerGroup.x<b.myBottleScreen.leftMargin-300&&(a=0>=c.totalProcessingsMade?1:2);return a};
BabelWorld.prototype.forestTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:Forest});a.myTutController.createTutor(TutPointingHand,b,a.tutForestTapped.bind(b));a.showMessage("TXID_MSGCAP_TUT_CHOP",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.tutForestTapped=function(){return 2<=this.totalProcessingsMade};
BabelWorld.prototype.dragWoodTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;(b=b.findObjectOfClass({cls:WoodStorage}))&&5<b.valInside&&(a=1);return a};
BabelWorld.prototype.altDragWoodTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:WoodStorage});a.myTutController.createTutor(TutPointingHand,b,a.tutWoodDragged.bind(b));a.showMessage("TXID_MSGCAP_TUT_AUTOTRANSFERWOOD",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.dragWoodTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:WoodStorage});a.myTutController.createTutor(TutDraggingHand,b,a.tutWoodDragged.bind(b),{dx:-450,dy:-20})};
BabelWorld.prototype.tutWoodDragged=function(){return 2<=this.totalProcessingsMade};BabelWorld.prototype.tapLumbermillTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;(b=b.findObjectOfClass({cls:Lumbermill}))&&2<=b.inputBuffer&&(a=1);return a};
BabelWorld.prototype.tapLumbermillTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:Lumbermill});a.myTutController.createTutor(TutTappingHand,b,a.tutLumbermillTapped.bind(b));a.showMessage("TXID_MSGCAP_TUT_LUMBERMILL",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.tutLumbermillTapped=function(){return 2<=this.totalProcessingsMade};
BabelWorld.prototype.dragWaterTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;var c=b.findObjectOfClass({cls:WaterWell});b=b.findObjectOfClass({cls:Forest});c&&b&&b.woodInside<.5*b.maxWoodInside&&(a=1);return a};
BabelWorld.prototype.dragWaterTriggerResult=function(){var a=this.controller.myWorld,b=a.findObjectOfClass({cls:WaterWell}),c=a.findObjectOfClass({cls:Forest});a.myTutController.createTutor(TutDraggingHand,b,a.tutWaterDragged.bind(b),{dx:c.x-b.x,dy:c.y-b.y});a.showMessage("TXID_MSGCAP_TUT_DRAGWATER",["TXID_MSGANS_OK"],[])};BabelWorld.prototype.tutWaterDragged=function(){return 3<=this.waterSpent};
BabelWorld.prototype.restartTriggerCondition=function(){var a=0,b=this.controller.myWorld;if(b.myTutController.hasActiveTutorial()||b.hud.hasSomethingOpen())return 0;(b=b.findObjectOfClass({cls:MainBabelTower}))&&3<=b.numStoriesBuilt&&(a=1);return a};BabelWorld.prototype.restartTriggerResult=function(){var a=this.controller.myWorld;a.showMessage("TXID_MSGCAP_TUT_RESTART",["TXID_MSGANS_OK"],[{func:a.msgOpenRestartPanel.bind(a)}])};BabelWorld.prototype.msgOpenRestartPanel=function(){this.hud.showBoostPanel(this)};
BabelWorld.prototype.save2Ar=function(a,b){b=World.prototype.save2Ar.call(this,a,b);a[b+0]=this.maxTowerHeight;a[b+1]=this.groundLevel;a[b+2]=this.midLine;a[b+3]=this.allowedWorldMovements.left;a[b+4]=this.allowedWorldMovements.top;a[b+5]=this.allowedWorldMovements.right;a[b+6]=this.allowedWorldMovements.bottom;return b=this.artifactsController.save2Ar(a,b+7)};
BabelWorld.prototype.loadFromAr=function(a,b){b=World.prototype.loadFromAr.call(this,a,b);this.maxTowerHeight=a[b+0];this.groundLevel=a[b+1];this.midLine=a[b+2];this.allowedWorldMovements.left=a[b+3];this.allowedWorldMovements.top=a[b+4];this.allowedWorldMovements.right=a[b+5];this.allowedWorldMovements.bottom=a[b+6];return b=this.artifactsController.loadFromAr(a,b+7)};
BabelWorld.prototype.afterObjectsLoadFunctions=function(){World.prototype.afterObjectsLoadFunctions.call(this);this.additionalParamsStorage=this.findObjectOfClass({cls:AdditionalParamsStorage});this.additionalParamsStorage||(this.additionalParamsStorage=this.createObject(AdditionalParamsStorage,[0,0]));for(var a=-1,b=0;b<this.objects.length;b++)if(this.objects[b].myClass==QuarryMine)if(-1==a)a=b;else{this.objects.length=b;break}};
var ArtifactsController=function(a){this.myWorld=a;this.artifacts=[{uid:1,sku:"bt-golden_pickaxe",effectCode:"purch_pickaxe",name:"TXID_AFT_NAME_GPICKAXE",desc:"TXID_AFT_DESC_GPICKAXE",txtKey:"w001_artifactsSymbols4new0000",quantityAvailable:0,bricksPrice:100,sciencePrice:1E7,price:1.99},{uid:2,sku:"bt-golden_wheelbarrow",effectCode:"purch_wheelbarrow",name:"TXID_AFT_NAME_GWHEELBARROW",desc:"TXID_AFT_DESC_GWHEELBARROW",txtKey:"w001_artifactsSymbols4new0001",quantityAvailable:0,bricksPrice:200,sciencePrice:2E7,
price:2.99},{uid:3,sku:"bt-golden_bucket",effectCode:"purch_bucket",name:"TXID_AFT_NAME_GBUCKET",desc:"TXID_AFT_DESC_GBUCKET",txtKey:"w001_artifactsSymbols4new0002",quantityAvailable:0,bricksPrice:300,sciencePrice:3E7,price:3.99},{uid:6,sku:"bt-golden_tree",effectCode:"purch_tree",name:"TXID_AFT_NAME_GTREE",desc:"TXID_AFT_DESC_GTREE",txtKey:"w001_artifactsSymbols4new0003",quantityAvailable:0,bricksPrice:400,sciencePrice:4E7,price:4.99},{uid:4,sku:"bt-golden_coin",effectCode:"purch_coin",name:"TXID_AFT_NAME_GCOIN",
desc:"TXID_AFT_DESC_GCOIN",txtKey:"w001_artifactsSymbols4new0004",quantityAvailable:0,bricksPrice:600,sciencePrice:6E7,price:7.99},{uid:5,sku:"bt-golden_trowel",effectCode:"purch_trowel",name:"TXID_AFT_NAME_GTROWEL",desc:"TXID_AFT_DESC_GTROWEL",txtKey:"w001_artifactsSymbols4new0005",quantityAvailable:0,bricksPrice:900,sciencePrice:9E7,price:9.99}]};
ArtifactsController.prototype.findArtifactOfUID=function(a){for(var b=null,c=0;c<this.artifacts.length;c++)if(this.artifacts[c].uid==a){b=this.artifacts[c];break}return b};ArtifactsController.prototype.purchaseArtifactOfUID=function(a,b){for(var c=null,d=0;d<this.artifacts.length;d++)if(this.artifacts[d].uid==a){this.artifacts[d].quantityAvailable++;c=this.artifacts[d];break}c&&("bricks"==b&&(this.myWorld.prestige-=c.bricksPrice),"science"==b&&this.myWorld.receiveResource("science",-c.sciencePrice))};
ArtifactsController.prototype.countOwnedArtifacts=function(){for(var a=0,b=0;b<this.artifacts.length;b++)a+=this.artifacts[b].quantityAvailable;return a};ArtifactsController.prototype.countArtifactsOfCode=function(a){for(var b=0,c=0;c<this.artifacts.length;c++)if(this.artifacts[c].effectCode==a){b=this.artifacts[c].quantityAvailable;break}return b};
ArtifactsController.prototype.save2Ar=function(a,b){var c=b;b++;for(var d=0,e=0;e<this.artifacts.length;e++){var f=this.artifacts[e];0<f.quantityAvailable&&(d++,a[b]=f.uid,a[b+1]=f.quantityAvailable,b+=2)}a[c]=d;return b};ArtifactsController.prototype.loadFromAr=function(a,b){var c=a[b+0];b++;for(var d=0;d<c;d++){var e=a[b+0],f=a[b+1];b+=2;if(e=this.findArtifactOfUID(e))e.quantityAvailable=f}return b};
var BabelHUD=function(a,b){HUD.call(this,a,b);this.moneyInformer=new TFWithBGD(this.scene,this.grp,"Money: 0",0,0,{texKey:"w000_topMoneyTab4new0000",originX:.5,originY:.5,dx:0,dy:-20});this.grp.add(this.moneyInformer);this.moneyInformer.showText("TXID_CAP_INF_MONEY: 0");this.scienceInformer=new TFWithBGD(this.scene,this.grp,"Money: 0",0,50,{texKey:"w000_topMoneyTab4new0000",originX:.5,originY:.5,dx:0,dy:-20});this.grp.add(this.scienceInformer);this.scienceInformer.showText("TXID_CAP_INF_SCIENCE: 0");
this.gameSpeedController=new GameSpeedController(this.myWorld,this.scene,this.grp);this.marketBtn=new ButtonWithText(this.scene,this.grp,"TXID_CAP_MARKET",0,0);this.marketBtn.myWorld=this.myWorld;this.marketBtn.ownerPanel=this;this.marketBtn.registerHandler(this.marketBtnHandler);this.boostBtn=new ButtonWithText(this.scene,this.grp,"TXID_CAP_BOOSTS",0,0);this.boostBtn.myWorld=this.myWorld;this.boostBtn.ownerPanel=this;this.boostBtn.registerHandler(this.boostsBtnHandler);this.menuBtn=new ButtonWithIcon(this.scene,
this.grp,"w000_menuIcon4new0000",500,30);this.menuBtn.myWorld=this.myWorld;this.menuBtn.ownerPanel=this;this.menuBtn.registerHandler(this.menuBtnHandler);this.startScreen=this.createScreen(StartScreen);this.startScreen.mustAlwaysShow=!0;this.sndOnBtn=new ButtonWithIcon(this.scene,this.grp,"w000_soundOffIcon4new0000",500,30);this.sndOnBtn.myWorld=this.myWorld;this.sndOnBtn.ownerPanel=this;this.sndOnBtn.registerHandler(this.soundOnBtnHandler);this.sndOffBtn=new ButtonWithIcon(this.scene,this.grp,"w000_soundIcon4new0000",
500,30);this.sndOffBtn.myWorld=this.myWorld;this.sndOffBtn.ownerPanel=this;this.sndOffBtn.registerHandler(this.soundOffBtnHandler);this.langBtn=new ButtonWithIcon(this.scene,this.grp,window.translator.getCurrentLangsButtonTexture(),500,125);this.langBtn.myWorld=this.myWorld;this.langBtn.ownerPanel=this;this.langBtn.registerHandler(this.langBtnHandler);this.upgrPanel=this.createScreen(MachineUpgradePanel);this.carawanSettingsPanel=this.createScreen(CarawanSettingsPanel);this.labSettingsPanel=this.createScreen(LabSettingsPanel);
this.sellPanel=this.createScreen(ResourceSellPanel);this.purchPanel=this.createScreen(PurchaseFromSlotPanel);this.menuScreen=this.createScreen(MenuScreen);this.boostsScreen=this.createScreen(BoostsPanel);this.artifactsScreen=this.createScreen(ArtifactsScreen);this.langScreen=this.createScreen(LanguageScreen);this.newsScreen=this.createScreen(NewsScreen);this.autoTapMarker=new AutoTapMarker(this.myWorld,this.scene,this.grp);this.autoTapMarker.visible=!1;this.moneyInformer.visible=!1;this.scienceInformer.visible=
!1;this.marketBtn.visible=!1;this.menuBtn.visible=!1;this.sndOnBtn.visible=!window.mySoundPlayer.isSoundEnabled;this.sndOffBtn.visible=window.mySoundPlayer.isSoundEnabled;this.boostBtn.visible=!1;this.gameSpeedController.visible=!1};$jscomp.inherits(BabelHUD,HUD);BabelHUD.prototype.updateLangInformer=function(){this.langBtn.setIconFrame(window.translator.getCurrentLangsButtonTexture())};
BabelHUD.prototype.keyDownCallBack=function(a){var b=HUD.prototype.keyDownCallBack.call(this,a);" "==a.key&&(b=b||this.myWorld.toggleTimeSpeeding());return b};BabelHUD.prototype.setVisibleScreen=function(a){HUD.prototype.setVisibleScreen.call(this,a);this.grp.bringToTop(this.sndOnBtn);this.grp.bringToTop(this.sndOffBtn);this.grp.bringToTop(this.langBtn)};
BabelHUD.prototype.showGameInterface=function(){HUD.prototype.showGameInterface.call(this);this.moneyInformer.visible=!0;this.marketBtn.visible=!0;this.boostBtn.visible=!0;this.menuBtn.visible=!0;this.sndOnBtn.visible=!window.mySoundPlayer.isSoundEnabled;this.sndOffBtn.visible=window.mySoundPlayer.isSoundEnabled;this.gameSpeedController.visible=!0;this.updateView()};
BabelHUD.prototype.updateView=function(){HUD.prototype.updateView.call(this);this.moneyInformer.showText("TXID_CAP_INF_MONEY: "+window.bottleScreen.utils.showNumberAsText(this.myWorld.money));var a=this.myWorld.getResourceVal("science");0>=a?this.scienceInformer.visible=!1:(this.scienceInformer.visible=!0,this.scienceInformer.showText("TXID_CAP_INF_SCIENCE: "+window.bottleScreen.utils.showNumberAsText(a)));this.gameSpeedController.updateView()};
BabelHUD.prototype.menuBtnHandler=function(){this.ownerPanel.showMenuPanel(this.myWorld);window.portalWrapper.showInterstitial({statsCode:"fromMenu"})};BabelHUD.prototype.soundOnBtnHandler=function(){window.mySoundPlayer.switchSound(!0);this.ownerPanel.sndOnBtn.visible=!window.mySoundPlayer.isSoundEnabled;this.ownerPanel.sndOffBtn.visible=window.mySoundPlayer.isSoundEnabled};
BabelHUD.prototype.soundOffBtnHandler=function(){window.mySoundPlayer.switchSound(!1);this.ownerPanel.sndOnBtn.visible=!window.mySoundPlayer.isSoundEnabled;this.ownerPanel.sndOffBtn.visible=window.mySoundPlayer.isSoundEnabled};BabelHUD.prototype.langBtnHandler=function(){this.ownerPanel.showLangScreen()};BabelHUD.prototype.marketBtnHandler=function(){this.ownerPanel.showSellPanel(this.myWorld);window.portalWrapper.showInterstitial({statsCode:"marketFromScreen"})};
BabelHUD.prototype.boostsBtnHandler=function(){this.ownerPanel.showBoostPanel(this.myWorld);window.portalWrapper.showInterstitial({statsCode:"fromBoosts"})};
BabelHUD.prototype.updateLayoutOnScreen=function(a){HUD.prototype.updateLayoutOnScreen.call(this,a);this.moneyInformer.x=a.gameWidth/2;this.moneyInformer.y=50;this.scienceInformer.x=a.gameWidth/2;this.scienceInformer.y=120;this.marketBtn.x=this.moneyInformer.x+340;this.marketBtn.y=70;this.boostBtn.x=this.moneyInformer.x-340;this.boostBtn.y=70;this.menuBtn.x=a.gameWidth-50;this.menuBtn.y=50;this.sndOnBtn.x=this.menuBtn.x;this.sndOnBtn.y=this.menuBtn.y+95;this.sndOffBtn.x=this.menuBtn.x;this.sndOffBtn.y=
this.menuBtn.y+95;this.langBtn.x=this.sndOffBtn.x;this.langBtn.y=this.sndOffBtn.y+95;this.gameSpeedController.x=50;this.gameSpeedController.y=50};BabelHUD.prototype.showSettingsPanel4Carawan=function(a){this.carawanSettingsPanel.showForMachine(a);this.setVisibleScreen(this.carawanSettingsPanel)};BabelHUD.prototype.showSettingsPanel4Laboratory=function(a){this.labSettingsPanel.showForMachine(a);this.setVisibleScreen(this.labSettingsPanel)};
BabelHUD.prototype.showMachineUpgradePanel=function(a){this.upgrPanel.showForMachine(a);this.setVisibleScreen(this.upgrPanel)};BabelHUD.prototype.showMachinePurchasePanel=function(a){this.purchPanel.showForSlot(a);this.setVisibleScreen(this.purchPanel)};BabelHUD.prototype.showSellPanel=function(a){this.sellPanel.showForWorld(a);this.setVisibleScreen(this.sellPanel)};BabelHUD.prototype.showBoostPanel=function(a){this.boostsScreen.showForWorld(a);this.setVisibleScreen(this.boostsScreen)};
BabelHUD.prototype.showMenuPanel=function(a){this.menuScreen.showForWorld(a);this.setVisibleScreen(this.menuScreen)};BabelHUD.prototype.showStartScreen=function(){this.startScreen.showForWorld(this.myWorld);this.setVisibleScreen(this.startScreen)};BabelHUD.prototype.showLangScreen=function(){this.setVisibleScreen(this.langScreen)};BabelHUD.prototype.showArtifactsScreen=function(){this.artifactsScreen.showForWorld(this.myWorld);this.setVisibleScreen(this.artifactsScreen)};
BabelHUD.prototype.showNewsScreen=function(){this.setVisibleScreen(this.newsScreen)};BabelHUD.prototype.handleOut=function(a,b){return this.autoTapMarker.visible=!1};BabelHUD.prototype.handleDown=function(a,b){this.autoTapMarker.x=a;this.autoTapMarker.y=b;this.autoTapMarker.visible=!0;return!1};BabelHUD.prototype.handleUp=function(a,b){return this.autoTapMarker.visible=!1};BabelHUD.prototype.handleMove=function(a,b){this.autoTapMarker.visible&&(this.autoTapMarker.x=a,this.autoTapMarker.y=b);return!1};
BabelHUD.prototype.doAnimStep=function(a){this.autoTapMarker.visible&&this.autoTapMarker.doAnimStep(a)};BabelHUD.prototype.animTap=function(){this.autoTapMarker.showTick2Center()};
var AutoTapMarker=function(a,b,c){var d=Phaser.GameObjects.Container.call(this,b)||this;d.myWorld=a;d.scene=b;d.grp=c;d.grp.add(d);d.botIm=d.scene.add.image(0,50,"allGraphics2","w000_triangleMarker4new0000").setOrigin(.5,1);d.topIm=d.scene.add.image(0,-50,"allGraphics2","w000_triangleMarker4new0000").setOrigin(.5,1);d.topIm.rotation=Math.PI;d.rightIm=d.scene.add.image(50,0,"allGraphics2","w000_triangleMarker4new0000").setOrigin(.5,1);d.rightIm.rotation=-Math.PI/2;d.leftIm=d.scene.add.image(-50,0,
"allGraphics2","w000_triangleMarker4new0000").setOrigin(.5,1);d.leftIm.rotation=Math.PI/2;d.add(d.botIm);d.add(d.topIm);d.add(d.rightIm);d.add(d.leftIm);d.mods=[];a=new ImageModifier;a.registerDob(d.botIm,.2);a.addAnimNode(.3,d.botIm.x,d.botIm.y-30,d.botIm.rotation);d.mods.push(a);a=new ImageModifier;a.registerDob(d.topIm,.2);a.addAnimNode(.3,d.topIm.x,d.topIm.y+30,d.topIm.rotation);d.mods.push(a);a=new ImageModifier;a.registerDob(d.rightIm,.2);a.addAnimNode(.3,d.rightIm.x-30,d.rightIm.y,d.rightIm.rotation);
d.mods.push(a);a=new ImageModifier;a.registerDob(d.leftIm,.2);a.addAnimNode(.3,d.leftIm.x+30,d.leftIm.y,d.leftIm.rotation);d.mods.push(a);return d};$jscomp.inherits(AutoTapMarker,Phaser.GameObjects.Container);AutoTapMarker.prototype.doAnimStep=function(a){for(var b=0;b<this.mods.length;b++)this.mods[b].doAnimStep(a)};AutoTapMarker.prototype.showTick2Center=function(){for(var a=0;a<this.mods.length;a++)this.mods[a].startAnimation(1,0)};
var GameSpeedController=function(a,b,c){var d=Phaser.GameObjects.Container.call(this,b)||this;d.myWorld=a;d.scene=b;d.grp=c;d.grp.add(d);d.ffwdButton=new ButtonWithIcon(d.scene,d,"w000_ffwdIcon4new0000",0,0);d.playButton=new ButtonWithIcon(d.scene,d,"w000_playIcon4new0000",0,0);d.timeLeftInformer=new TFOnParentGroup(d.scene,d," ",-30,90);d.timeLeftInformer.changeAlign("left");d.ffwdButton.registerHandler(d.ffwdBtnHandler);d.ffwdButton.myPanel=d;d.playButton.registerHandler(d.playBtnHandler);return d.playButton.myPanel=
d};$jscomp.inherits(GameSpeedController,Phaser.GameObjects.Container);GameSpeedController.prototype.ffwdBtnHandler=function(){this.myPanel.myWorld.startFastFoward()};GameSpeedController.prototype.playBtnHandler=function(){this.myPanel.myWorld.startNormalPlayRate()};
GameSpeedController.prototype.updateView=function(){this.ffwdButton.visible=!this.myWorld.isSpeedingTime;this.playButton.visible=this.myWorld.isSpeedingTime;0<this.myWorld.offlineTimeBonus?this.timeLeftInformer.showText(window.bottleScreen.utils.showTimeAsText(this.myWorld.offlineTimeBonus,!0)):(this.timeLeftInformer.showText(" "),this.ffwdButton.visible=!1,this.playButton.visible=!1)};
var LanguageScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(11.48,7.8);a.cap=new TextField(a.scene,a,"TXID_LANGSEL",0,80);a.thanksCap=new TextField(a.scene,a,"TXID_TRANSLATORTHANKS",0,200);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.langBtns=[];b=-400;for(var c=150,
d=0;d<window.translator.availableLangs.length;d++){var e=new ButtonWithIcon(a.scene,a,"w000_langIcon"+window.translator.availableLangs[d]+"4new0000",b,c);e.myPanel=a;e.langCode=window.translator.availableLangs[d];e.registerHandler(a.langBtnHandler);b+=100;400<b&&(b=-400,c+=100);a.langBtns.push(e)}a.thanksCap.setY(c+100);a.bgIm.setScale(11.48,(c+150)/100);return a};$jscomp.inherits(LanguageScreen,UpdatedPropertyPanel);
LanguageScreen.prototype.langBtnHandler=function(){window.translator.changeLanguage(this.langCode);window.bottleScreen.world.hud.updateLangInformer();this.myPanel.cap.updateTextTranslation();this.myPanel.thanksCap.updateTextTranslation()};LanguageScreen.prototype.closeBtnHandler=function(){this.myPanel.hide()};
var StartScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(11.48,7.8);a.towerBGIm=a.scene.add.image(0,0,"addGraphics","wadd_bgdStart4new0000");a.add(a.towerBGIm);a.towerBGIm.setOrigin(.5,0);a.towerBGIm.setScale(2,2);a.towerBGIm.alpha=.6;a.capIm=a.scene.add.image(12,240,"addGraphics","wadd_gameCaption4new0000").setOrigin(.5,.5);a.apIm=a.scene.add.image(398,72,"addGraphics",
"wadd_AirapportIcon4new0000").setOrigin(.5,.5).setScale(.36,.36);a.add(a.capIm);a.add(a.apIm);a.startBtn=new ButtonWithText(a.scene,a,"TXID_CAP_START",0,500);a.startBtn.registerHandler(a.startBtnHandler);a.startBtn.myPanel=a;a.credsBtn=new ButtonWithText(a.scene,a,"TXID_CAP_CREDITS",340,710);a.credsBtn.registerHandler(a.credsBtnHandler);a.credsBtn.myPanel=a;a.moreBtn=new ButtonWithText(a.scene,a,"TXID_CAP_MOREGAMES",-340,710);a.moreBtn.registerHandler(a.moreBtnHandler);a.moreBtn.myPanel=a;a.appleBtn=
new ButtonWithText(a.scene,a,"",-140,605);a.appleBtn.setTopFrame("addGraphics","wadd_appstoreicon4new0000");a.appleBtn.registerHandler(a.appleBtnHandler);a.appleBtn.myPanel=a;a.googleBtn=new ButtonWithText(a.scene,a,"",140,605);a.googleBtn.setTopFrame("addGraphics","wadd_googleplayicon4new0000");a.googleBtn.registerHandler(a.googleBtnHandler);a.googleBtn.myPanel=a;new TextField(a.scene,a,"v "+window.game.config.gameVersion,398,200);a.myWorld=null;return a};$jscomp.inherits(StartScreen,UpdatedPropertyPanel);
StartScreen.prototype.updateContents=function(a,b){this.towerBGIm.setScale(Math.max(a/this.towerBGIm.height,b/this.towerBGIm.width));this.towerBGIm.y=-this.y;this.bgIm.y=-this.y;this.bgIm.setScale(a/100,b/100)};StartScreen.prototype.showForWorld=function(a){this.myWorld=a;this.show()};StartScreen.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this)};StartScreen.prototype.startBtnHandler=function(){this.myPanel.myWorld.startPlaying();this.myPanel.hide();window.portalWrapper.showInterstitial({statsCode:"fromStart"})};
StartScreen.prototype.credsBtnHandler=function(){this.myPanel.myWorld.hud.showMessage({arOfText:["TXID_MSGCAP_CREDITSAUTHORS","\n\nTXID_MSGCAP_CREDITSTHANKS","\nTXID_MSGCAP_CREDITSTHANKS_MORE","\n\nTXID_MSGCAP_CREDITSMORE"],arOfColors:[-1,8978312,-1]},["TXID_MSGANS_OK","TXID_MSGANS_CONTACT"],[null,{func:function(){window.open("http://www.airapport.com/p/contact.html");window.bottleScreen.statsWrapper.sendEvent("click_contact","",1)}}],{cy:100});window.bottleScreen.statsWrapper.sendEvent("click_credits",
"",1)};StartScreen.prototype.moreBtnHandler=function(){window.open("http://www.airapport.com/2020/08/idle-tower-builder-released-to-all.html");window.bottleScreen.statsWrapper.sendEvent("click_more","",1)};StartScreen.prototype.appleBtnHandler=function(){window.open("https://apps.apple.com/us/app/idle-tower-builder/id1527621990");window.bottleScreen.statsWrapper.sendEvent("click_more","apple",1)};
StartScreen.prototype.googleBtnHandler=function(){window.open("https://play.google.com/store/apps/details?id=com.airapport.idletowerbuilder");window.bottleScreen.statsWrapper.sendEvent("click_more","google",1)};
var MenuScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,7);a.cap=new TextField(a.scene,a,"TXID_MSGCAP_MENU",0,80);a.saveCap=new Text(a.scene,0,250,"saveString");a.giftBtn=new ButtonWithText(a.scene,a,"TXID_CAP_DAILYBONUS",0,250);a.giftBtn.registerHandler(a.giftBtnHandler);a.giftBtn.myPanel=a;a.newsBtn=new ButtonWithText(a.scene,a,"TXID_CAP_NEWS",0,350);a.newsBtn.registerHandler(a.newsBtnHandler);
a.newsBtn.myPanel=a;a.restartBtn=new ButtonWithText(a.scene,a,"TXID_CAP_RESTART",0,450);a.restartBtn.registerHandler(a.restartBtnHandler);a.restartBtn.myPanel=a;a.creditsBtn=new ButtonWithText(a.scene,a,"TXID_CAP_CREDITS",0,550);a.creditsBtn.registerHandler(a.credsBtnHandler);a.creditsBtn.myPanel=a;a.moreBtn=new ButtonWithText(a.scene,a,"TXID_CAP_MOREGAMES",0,650);a.moreBtn.registerHandler(a.moreBtnHandler);a.moreBtn.myPanel=a;a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);
a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.myWorld=null;return a};$jscomp.inherits(MenuScreen,UpdatedPropertyPanel);MenuScreen.prototype.showForWorld=function(a){this.myWorld=a;this.show()};MenuScreen.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this);var a=localStorage.getItem("save_version");localStorage.getItem("save_data");if("null"==a||null==a||""==a)this.saveCap.text="No saves available"};
MenuScreen.prototype.newsBtnHandler=function(){this.myPanel.myWorld.hud.showNewsScreen();this.myPanel.hide()};MenuScreen.prototype.giftBtnHandler=function(){this.myPanel.myWorld.hud.showDailyBonusScreen();this.myPanel.hide()};MenuScreen.prototype.restartBtnHandler=function(){this.myPanel.myWorld.showRestartRequest();this.myPanel.hide()};
MenuScreen.prototype.credsBtnHandler=function(){this.myPanel.myWorld.hud.showMessage({arOfText:["TXID_MSGCAP_CREDITSAUTHORS","\n\nTXID_MSGCAP_CREDITSTHANKS","\nTXID_MSGCAP_CREDITSTHANKS_MORE","\n\nTXID_MSGCAP_CREDITSMORE"],arOfColors:[-1,-1,-1]},["TXID_MSGANS_OK","TXID_MSGANS_CONTACT"],[null,{func:function(){window.open("http://www.airapport.com/p/contact.html");window.bottleScreen.statsWrapper.sendEvent("click_contact","",1)}}],{cy:100});this.myPanel.hide()};
MenuScreen.prototype.moreBtnHandler=function(){window.open("http://www.airapport.com/2020/08/idle-tower-builder-released-to-all.html");window.bottleScreen.statsWrapper.sendEvent("click_more","",1)};MenuScreen.prototype.closeBtnHandler=function(){this.myPanel.hide()};
var PurchaseFromSlotPanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,5);a.mchCap=new TextField(a.scene,a,"Purchase",0,80);a.descCap=new TextField(a.scene,a,"Description",0,150);a.priceCap=new TextField(a.scene,a,"Price",0,250);a.purcBtn=new ButtonWithText(a.scene,a,"TXID_CAP_PURCHASE",0,450);a.purcBtn.registerHandler(a.purcBtnHandler);a.purcBtn.myPanel=a;a.purcDiscountBtn=
new ButtonWithText(a.scene,a,"TXID_CAP_PURCHASE_DISCOUNT",0,450);a.purcDiscountBtn.registerHandler(a.purcDiscountBtnHandler);a.purcDiscountBtn.myPanel=a;a.purcDiscountBtn.addIconFrame("w000_iconAds4new0000");a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.openMarketHintTxt=new TextField(a.scene,a,"Market",0,500);a.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOGHMONEY\n","TXID_CAP_INF_USEMARKET_BEG ",
"TXID_CAP_INF_USEMARKET_MID"," TXID_CAP_INF_USEMARKET_END"],[16744982,-1,7798623,-1]);a.marketBtn=new ButtonWithText(a.scene,a,"TXID_CAP_MARKET",0,600);a.marketBtn.registerHandler(a.marketBtnHandler);a.marketBtn.myPanel=a;a.mySlot=null;return a};$jscomp.inherits(PurchaseFromSlotPanel,UpdatedPropertyPanel);PurchaseFromSlotPanel.prototype.showForSlot=function(a){this.mySlot=a;this.show()};
PurchaseFromSlotPanel.prototype.marketBtnHandler=function(){this.myPanel.mySlot.myWorld.hud.showSellPanel(this.myPanel.mySlot.myWorld);window.portalWrapper.showInterstitial({statsCode:"marketFromPurchaseSlot"})};PurchaseFromSlotPanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};
PurchaseFromSlotPanel.prototype.purcDiscountBtnHandler=function(){window.portalWrapper.showRewarded({statsCode:"slotDiscount"},{rewardType:"purchDiscount",machine:this.myPanel.mySlot,discountVal:.5});this.visible=!1;this.myPanel.hide()};PurchaseFromSlotPanel.prototype.purcBtnHandler=function(){this.myPanel.mySlot.performPurchase();this.myPanel.hide()};
PurchaseFromSlotPanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);this.mchName=this.mySlot.getPurchasedMachineNameStr();this.mchDesc=this.mySlot.getPurchasedMachineDescStr();this.priceCap.showTextsOfDifferentColors(["---== TXID_CAP_INF_PURCHPRICE: ",window.bottleScreen.utils.showNumberAsText(this.mySlot.getPurchasePrice())," "+this.mySlot.myWorld.ballanser.getName4Currency(this.mySlot.purchaseCurrency)+" ==---"],[-1,this.mySlot.myWorld.getResourceVal(this.mySlot.purchaseCurrency)>=
this.mySlot.getPurchasePrice()?6750054:16744982,-1],!0);this.mchCap.showText(this.mchName);this.descCap.showText(this.mchDesc);this.priceCap.setY(this.descCap.y+this.descCap.getTextHeight()+50);this.purcBtn.y=this.priceCap.y+this.priceCap.getTextHeight()+50;this.openMarketHintTxt.setY(this.purcBtn.y);this.marketBtn.y=this.openMarketHintTxt.y+this.openMarketHintTxt.getTextHeight()+50;var a=this.mySlot.getPurchasePrice(),b=.5*a;this.mySlot.myWorld.getResourceVal(this.mySlot.purchaseCurrency)>=a?(this.purcBtn.visible=
!0,this.marketBtn.visible=!1,this.openMarketHintTxt.visible=!1,this.bgIm.setScale(10.4,(this.purcBtn.y+50)/100)):(this.purcBtn.visible=!1,this.openMarketHintTxt.visible=!0,this.bgIm.setScale(10.4,(this.marketBtn.y+50)/100),"money"==this.mySlot.purchaseCurrency?(this.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOGHMONEY\n","TXID_CAP_INF_USEMARKET_BEG ","TXID_CAP_INF_USEMARKET_MID"," TXID_CAP_INF_USEMARKET_END"],[16744982,-1,7798623,-1]),this.marketBtn.visible=!0):(this.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOUGHRES"],
[16744982]),this.marketBtn.visible=!1));this.mySlot.myWorld.getResourceVal(this.mySlot.purchaseCurrency)>=b?window.portalWrapper.isRewardedAdReady()?(this.purcDiscountBtn.visible=!0,this.purcBtn.visible?(this.purcDiscountBtn.x=-300,this.purcDiscountBtn.y=this.purcBtn.y,this.purcBtn.x=300):(this.purcDiscountBtn.x=-300,this.purcDiscountBtn.y=this.marketBtn.y,this.marketBtn.x=300)):(this.purcDiscountBtn.visible=!1,this.purcBtn.x=0,this.marketBtn.x=0):(this.purcDiscountBtn.visible=!1,this.purcBtn.x=0,
this.marketBtn.x=0)};
var MachineUpgradePanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,5.5);a.mchCap=new TextField(a.scene,a,"Machine",0,80);a.paramCaps=[];a.priceCap=new TextField(a.scene,a,"Price",0,350);a.upBtn=new ButtonWithText(a.scene,a,"TXID_CAP_UPGRADE",0,500);a.upBtn.registerHandler(a.upgBtnHandler);a.upBtn.myPanel=a;a.upFreeBtn=new ButtonWithText(a.scene,a,"TXID_CAP_FREE! +1",
0,500);a.upFreeBtn.registerHandler(a.upgFreeBtnHandler);a.upFreeBtn.myPanel=a;a.upFreeBtn.addIconFrame("w000_iconAds4new0000");a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.upgrModeButton=new ButtonWithIcon(a.scene,a,"w000_iconModex14new0000",400,30);a.upgrModeButton.myPanel=a;a.upgrModeButton.registerHandler(a.changeUpgrMode);a.upgrModeButton.upgrMode="x1";a.openMarketHintTxt=new TextField(a.scene,a,"Market",
0,500);a.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOGHMONEY\n","TXID_CAP_INF_USEMARKET_BEG ","TXID_CAP_INF_USEMARKET_MID"," TXID_CAP_INF_USEMARKET_END"],[16744982,-1,7798623,-1]);a.marketBtn=new ButtonWithText(a.scene,a,"TXID_CAP_MARKET",0,600);a.marketBtn.registerHandler(a.marketBtnHandler);a.marketBtn.myPanel=a;a.myMachine=null;return a};$jscomp.inherits(MachineUpgradePanel,UpdatedPropertyPanel);
MachineUpgradePanel.prototype.marketBtnHandler=function(){this.myPanel.myMachine.myWorld.hud.showSellPanel(this.myPanel.myMachine.myWorld);window.portalWrapper.showInterstitial({statsCode:"marketFromUpgrade"})};MachineUpgradePanel.prototype.upgFreeBtnHandler=function(){window.portalWrapper.showRewarded({statsCode:"upgrade"},{rewardType:"freeUpgrade",machine:this.myPanel.myMachine,numLevels:1});this.visible=!1};
MachineUpgradePanel.prototype.upgBtnHandler=function(){this.myPanel.myMachine.performUpgrade4Mode(this.myPanel.upgrModeButton.upgrMode,!1);this.myPanel.showForMachine(this.myPanel.myMachine)};MachineUpgradePanel.prototype.changeUpgrMode=function(){var a=["x1","x10","Max","Next"],b=(a.indexOf(this.upgrMode)+1)%a.length;this.upgrMode=a[b];this.myPanel.updateView();this.setIconFrame(["w000_iconModex14new0000","w000_iconModex104new0000","w000_iconModeMax4new0000","w000_iconModeNext4new0000"][b])};
MachineUpgradePanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};MachineUpgradePanel.prototype.showForMachine=function(a){this.myMachine=a;this.show()};MachineUpgradePanel.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this)};
MachineUpgradePanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);for(var a=0;a<this.paramCaps.length;a++)this.paramCaps[a].visible=!1;this.mchName=this.myMachine.getNameStr();this.mchCap.showTextsOfDifferentColors([this.mchName,"\n(TXID_CAP_INF_LEVEL "+this.myMachine.currentLevel+")"],[-1,16777096],!1);var b=200,c=this.myMachine.getNumUpgrades4Mode(this.upgrModeButton.upgrMode);for(a=0;a<this.myMachine.upgradedParams.length;a++){if(this.paramCaps.length>a)var d=
this.paramCaps[a];else d=new TextField(this.scene,this,"Param",0,250),this.paramCaps.push(d);d.visible=!0;d.y=b;b+=50;d.showTextsOfDifferentColors(this.myMachine.upgradedParams[a].buildCurrentStringAsAr(c),[-1,-1,this.myMachine.upgradedParams[a].willHaveNodeInNext(c)?16777096:-1,this.myMachine.canBUpgraded(c)?7798623:16744982],!0)}b+=100;this.priceCap.y=b;this.priceCap.showTextsOfDifferentColors(["---== TXID_CAP_UPGRADEPRICE: ",window.bottleScreen.utils.showNumberAsText(this.myMachine.getUpgradePrice4Mode(this.upgrModeButton.upgrMode)),
" "+this.myMachine.myWorld.ballanser.getName4Currency(this.myMachine.upgradeCurrency)+" ==---"],[-1,this.myMachine.canBUpgraded4Mode(this.upgrModeButton.upgrMode)?7798623:16744982,-1],!0);b+=100;this.upBtn.y=b;this.upgrModeButton.y=this.priceCap.y-30;this.openMarketHintTxt.setY(b);this.marketBtn.y=this.openMarketHintTxt.y+this.openMarketHintTxt.getTextHeight()+50;this.myMachine.canBUpgraded4Mode(this.upgrModeButton.upgrMode)?(this.upBtn.visible=!0,this.marketBtn.visible=!1,this.openMarketHintTxt.visible=
!1,this.bgIm.setScale(10.4,(this.upBtn.y+50)/100)):(this.upBtn.visible=!1,this.openMarketHintTxt.visible=!0,this.bgIm.setScale(10.4,(this.marketBtn.y+50)/100),"money"==this.myMachine.upgradeCurrency?(this.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOGHMONEY\n","TXID_CAP_INF_USEMARKET_BEG ","TXID_CAP_INF_USEMARKET_MID"," TXID_CAP_INF_USEMARKET_END"],[16744982,-1,7798623,-1]),this.marketBtn.visible=!0):(this.openMarketHintTxt.showTextsOfDifferentColors(["TXID_CAP_INF_NOTENOUGHRES"],
[16744982]),this.marketBtn.visible=!1));window.portalWrapper.isRewardedAdReady()?(this.upFreeBtn.visible=!0,this.upBtn.visible?(this.upFreeBtn.x=-300,this.upFreeBtn.y=this.upBtn.y,this.upBtn.x=300):(this.upFreeBtn.x=-300,this.upFreeBtn.y=this.marketBtn.y,this.marketBtn.x=300)):(this.upFreeBtn.visible=!1,this.upBtn.x=0,this.marketBtn.x=0)};MachineUpgradePanel.prototype.hide=function(){UpdatedPropertyPanel.prototype.hide.call(this);this.myMachine=null};
var ArtifactInfo=function(a,b){a=Phaser.GameObjects.Container.call(this,a)||this;a.grp=b;a.grp.add(a);a.isInPool=!0;a.visible=!1;a.myArtifact=null;a.myPanel=null;b=a.scene.add.image(0,70,"allGraphics2","w000_tmpSquare4new0000").setOrigin(.5,.5).setScale(4.8,2.4);b.alpha=.8;b.tint=1996465;a.add(b);b=a.scene.add.image(-240,-50,"allGraphics2","w001_cornerIm4new0000").setOrigin(0,0);a.add(b);b=a.scene.add.image(240,-50,"allGraphics2","w001_cornerIm4new0000").setOrigin(0,0).setScale(-1,1);a.add(b);b=a.scene.add.image(-240,
190,"allGraphics2","w001_cornerIm4new0000").setOrigin(0,0).setScale(1,-1);a.add(b);b=a.scene.add.image(240,190,"allGraphics2","w001_cornerIm4new0000").setOrigin(0,0).setScale(-1,-1);a.add(b);a.capTxt=new TFOnParentGroup(a.scene,a,"cap",0,0);a.capTxt.changeAlign("center");a.descTxt=new TFOnParentGroup(a.scene,a,"desc",0,50);a.descTxt.changeAlign("center");a.ownTxt=new TFOnParentGroup(a.scene,a,"Owned",0,130);a.iconIm=a.scene.add.image(-170,110,"allGraphics2","w001_artifactsSymbols4new0000").setOrigin(.5,
.5);a.add(a.iconIm);a.buyBtn=new ButtonWithIcon(a.scene,a,"w000_sellIcon4new0000",170,110);a.buyBtn.myInfo=a;a.buyBtn.registerHandler(a.buyBtnHandler);a.priceTxt=new TFOnParentGroup(a.scene,a,"$$$",0,130);a.priceTxt.changeTint(6750054);a.priceTxt.setStringWidth(200);return a};$jscomp.inherits(ArtifactInfo,Phaser.GameObjects.Container);
ArtifactInfo.prototype.showForArtifact=function(a){this.myArtifact=a;this.capTxt.showText(this.myArtifact.name);this.descTxt.showText(this.myArtifact.desc);this.iconIm.setTexture("allGraphics2",this.myArtifact.txtKey);this.ownTxt.showText("TXID_PHRASE_OWNED:"+this.myArtifact.quantityAvailable);this.priceTxt.showText("$"+this.myArtifact.price);window.bottleScreen.config.tradeArtfactsForBricks&&this.priceTxt.showText(window.bottleScreen.utils.showNumberAsText(this.myArtifact.sciencePrice)+" TXID_CAP_INF_SCIENCE");
0<this.myArtifact.quantityAvailable?(this.priceTxt.showText(""),this.ownTxt.visible=!0,this.buyBtn.visible=!1,this.descTxt.changeTint(6750054)):(this.priceTxt.visible=!0,this.ownTxt.showText(""),this.buyBtn.visible=!0,this.descTxt.changeTint(16777215));this.isInPool=!1;this.visible=!0};ArtifactInfo.prototype.back2Pool=function(){this.isInPool=!0;this.visible=!1};
ArtifactInfo.prototype.buyBtnHandler=function(){if(window.bottleScreen.config.tradeArtfactsForBricks){var a=this.myInfo.myArtifact.sciencePrice;window.bottleScreen.world.getResourceVal("science")>=a?this.myInfo.myPanel.myWorld.showMessage("TXID_MSG_BRICKSBUYCONFIRMATION_BEG "+window.bottleScreen.utils.showNumberAsText(a)+" TXID_MSG_BRICKSBUYCONFIRMATION_MIDALT "+this.myInfo.myArtifact.name+" TXID_MSG_BRICKSBUYCONFIRMATION_END?",["TXID_MSGANS_YES","TXID_MSGANS_NO"],[{func:this.myInfo.buyAfterConfirmation.bind(this.myInfo)},
null],null):this.myInfo.myPanel.myWorld.showMessage("TXID_MSG_NOTENOUGHSCIENCE",["TXID_MSGANS_OK"],[],null)}else this.myInfo.myPanel.myWorld.showMessage("Placeholder function for buying Artifact\n"+this.myInfo.myArtifact.name,["OK"],[],null)};
ArtifactInfo.prototype.buyAfterConfirmation=function(){window.bottleScreen.world.artifactsController.purchaseArtifactOfUID(this.myArtifact.uid,"science");this.showForArtifact(this.myArtifact);window.bottleScreen.statsWrapper.sendEvent("artifact_purchase_science",this.myArtifact.effectCode)};
var NewsScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.myWorld=null;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(11.48,7.8);a.cap=new TextField(a.scene,a,"TXID_CAP_NEWS",0,120);a.newsCap=new TextField(a.scene,a,"newsCap",0,220);a.newsCap.changeTint(7798623);a.newsText=new TextField(a.scene,a,"newsText",0,320);a.newsText.setStringWidth(1050);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",
500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.nxtBtn=new ButtonWithIcon(a.scene,a,"w000_rightArrIcon4new0000",200,80);a.nxtBtn.myPanel=a;a.nxtBtn.registerHandler(a.nxtBtnHandler);a.prevBtn=new ButtonWithIcon(a.scene,a,"w000_leftArrIcon4new0000",-200,80);a.prevBtn.myPanel=a;a.prevBtn.registerHandler(a.prevBtnHandler);a.ansBtns=[];a.ansActions=[];return a};$jscomp.inherits(NewsScreen,UpdatedPropertyPanel);
NewsScreen.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this);this.showNextNews()};
NewsScreen.prototype.showNewsObject=function(){if(this.newsObject){this.newsCap.showText(window.translator.selectPhraseOfLanguage(this.newsObject.caption));this.newsText.showText(window.translator.selectPhraseOfLanguage(this.newsObject.message));var a=this.newsText.y+this.newsText.getTextHeight()+50;this.ansActions=[];for(var b=0;b<this.ansBtns.length;b++)this.ansBtns[b].visible=!1;if("answers"in this.newsObject){var c=this.newsObject.answers;for(b=0;b<c.length;b++){var d=c[b];"link"in d?this.ansActions.push({func:window.bottleScreen.openLinkAndTrack.bind(window.bottleScreen,
d.link,this.newsObject.uid+"_ans_"+b)}):this.ansActions.push(null);if(b<this.ansBtns.length)var e=this.ansBtns[b];else e=new ButtonWithText(this.scene,this,"ANS",0,250),e.registerHandler(this.btnHandler),e.myPanel=this,this.ansBtns.push(e);e.visible=!0;e.showText(window.translator.selectPhraseOfLanguage(d.text));e.x=1040/(c.length+1)*(b-(c.length-1)/2);e.myAction=this.ansActions[b];e.y=a}}this.bgIm.setScale(11.48,(a+50)/100)}};NewsScreen.prototype.btnHandler=function(){this.myAction&&this.myAction.func()};
NewsScreen.prototype.showPrevNews=function(){window.newsReader.setPrevNewsId();this.newsObject=window.newsReader.loadCurrentNews2Show();this.showNewsObject()};NewsScreen.prototype.showNextNews=function(){window.newsReader.setNextNewsId();this.newsObject=window.newsReader.loadCurrentNews2Show();this.showNewsObject()};NewsScreen.prototype.closeBtnHandler=function(){this.myPanel.hide()};NewsScreen.prototype.nxtBtnHandler=function(){this.myPanel.showNextNews()};NewsScreen.prototype.prevBtnHandler=function(){this.myPanel.showPrevNews()};
var ArtifactsScreen=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.myWorld=null;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,5);a.cap=new TextField(a.scene,a,"TXID_CAP_ARTIFACTS",0,80);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.infsPool=[];return a};$jscomp.inherits(ArtifactsScreen,UpdatedPropertyPanel);
ArtifactsScreen.prototype.showForWorld=function(a){this.myWorld=a;this.show()};ArtifactsScreen.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this);this.clearAllInformers();for(var a=this.myWorld.artifactsController.artifacts,b=-250,c=150,d=0;d<a.length;d++){var e=this.createOfFindInformer4Artifact(a[d]);e.x=b;e.y=c;b+=500;250<b&&(b=-250,c+=260)}this.bgIm.setScale(10.4,(e.y+260)/100)};
ArtifactsScreen.prototype.createOfFindInformer4Artifact=function(a){for(var b=null,c=0;c<this.infsPool.length;c++)if(this.infsPool[c].isInPool){b=this.infsPool[c];break}b||(b=new ArtifactInfo(this.scene,this),b.myPanel=this,this.infsPool.push(b));b.showForArtifact(a);return b};ArtifactsScreen.prototype.clearAllInformers=function(){for(var a=0;a<this.infsPool.length;a++)this.infsPool[a].back2Pool()};ArtifactsScreen.prototype.closeBtnHandler=function(){this.myPanel.hide()};
var BoostsPanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.myWorld=null;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,5);a.cap=new TextField(a.scene,a,"TXID_CAP_BOOSTS",0,80);a.prestigeInformer=new TextField(a.scene,a,"data",0,150);a.prestigeInformer.changeAlign("center");a.boostsInformer=new TextField(a.scene,a,"data",-200,200);a.boostsInformer.changeAlign("left");a.boostsValsInformer=new TextField(a.scene,
a,"data",200,200);a.boostsValsInformer.changeAlign("left");a.boostsValsInformer.changeTint(6750054);a.artifactsInformer=new TextField(a.scene,a,"data",0,350);a.artifactsInformer.changeAlign("center");a.prestigeNextInformer=new TextField(a.scene,a,"data",0,350);a.prestigeNextInformer.changeAlign("center");a.artifactsBtn=new ButtonWithText(a.scene,a,"TXID_CAP_ARTIFACTS",0,350);a.artifactsBtn.registerHandler(a.artifactsBtnHandler);a.artifactsBtn.myPanel=a;a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",
500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.restartBtn=new ButtonWithText(a.scene,a,"TXID_CAP_RESTART",0,150);a.restartBtn.registerHandler(a.restartBtnHandler);a.restartBtn.myPanel=a;a.getBtn=new ButtonWithText(a.scene,a,"TXID_CAP_DAILYBONUS",0,150);a.getBtn.registerHandler(a.getBtnHandler);a.getBtn.myPanel=a;a.bonusInfoCap=new TextField(a.scene,a,"TXID_CAP_DAILYBONUS",0,350);a.bonusInfoCap.changeAlign("center");return a};$jscomp.inherits(BoostsPanel,UpdatedPropertyPanel);
BoostsPanel.prototype.showForWorld=function(a){this.myWorld=a;this.show()};BoostsPanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};
BoostsPanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);this.prestigeInformer.showTextsOfDifferentColors(["TXID_PHRASE_GB_BEG ",""+window.bottleScreen.utils.showNumberAsText(this.myWorld.prestige)," TXID_PHRASE_GB_END"],[-1,16777096,-1],!1);this.boostsInformer.showTextsOfDifferentColors(["TXID_MSGCAP_BOOSTNAME_CLICK: ","\nTXID_MSGCAP_BOOSTNAME_PROD: ","\nTXID_MSGCAP_BOOSTNAME_PRICE: "],[-1,-1,-1],!1);this.boostsValsInformer.showTextsOfDifferentColors(["x"+
window.bottleScreen.utils.showNumberAsText(this.myWorld.getMasterTapCoef()),"\nx"+window.bottleScreen.utils.showNumberAsText(this.myWorld.getMasterProdCoef()),"\nx"+window.bottleScreen.utils.showNumberAsText(this.myWorld.getMasterPriceCoef())],[-1,-1,-1],!1);this.artifactsInformer.setY(this.boostsInformer.y+this.boostsInformer.getTextHeight()+50);this.artifactsInformer.showTextsOfDifferentColors(["TXID_PHRASE_ARTIFACTS_BEG ",""+this.myWorld.countOwnedArtifacts()," TXID_PHRASE_ARTIFACTS_END"],[-1,
16777096,-1],!1);var a=this.artifactsInformer.y+this.artifactsInformer.getTextHeight()+50;this.artifactsBtn.y=a;var b=this.myWorld.getPrestigeAdditionAfterRestart(),c=this.myWorld.getPrestigeAdditionAfterRestart(1);this.prestigeNextInformer.setY(a+100);this.prestigeNextInformer.showTextsOfDifferentColors(["TXID_PHRASE_RESTARTINFO_BEG ",""+window.bottleScreen.utils.showNumberAsText(b)," TXID_PHRASE_RESTARTINFO_END","\nTXID_PHRASE_RESTARTINFO_NEXT_BEG ",""+window.bottleScreen.utils.showNumberAsText(c),
" TXID_PHRASE_RESTARTINFO_NEXT_END"],[-1,16777096,-1,-1,16777096,-1],!1);a=this.prestigeNextInformer.y+this.prestigeNextInformer.getTextHeight()+50;this.restartBtn.y=a;this.restartBtn.visible=0<b;a+=100;this.getBtn.y=a;this.bonusInfoCap.setY(a);null!=this.myWorld.myGiftsController.queuedRewardObject?(this.bonusInfoCap.visible=!1,this.getBtn.visible=!0):(this.bonusInfoCap.visible=!0,this.bonusInfoCap.showText("TXID_CAP_NEXTBONUSIN: "+window.bottleScreen.utils.showTimeAsText(this.myWorld.myGiftsController.timeOfNextGift-
Date.now(),!1)),this.getBtn.visible=!1);this.bgIm.setScale(10.4,(a+100)/100)};BoostsPanel.prototype.restartBtnHandler=function(){this.myPanel.myWorld.showRestartRequest();this.myPanel.hide()};BoostsPanel.prototype.getBtnHandler=function(){this.myPanel.myWorld.hud.showDailyBonusScreen();this.myPanel.hide()};BoostsPanel.prototype.artifactsBtnHandler=function(){this.myPanel.hide();this.myPanel.myHud.showArtifactsScreen()};
var LabSettingsPanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.8,7.5);a.mchCap=new TextField(a.scene,a,"TXID_CAP_SCIENCEUPGRADES",0,80);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.upgCaps=[];a.upgBtns=[];a.priceCaps=[];return a};
$jscomp.inherits(LabSettingsPanel,UpdatedPropertyPanel);LabSettingsPanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};LabSettingsPanel.prototype.showForMachine=function(a){this.myMachine=a;this.show()};
LabSettingsPanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);for(var a=0;a<this.upgCaps.length;a++)this.upgCaps[a].visible=!1;for(a=0;a<this.upgBtns.length;a++)this.upgBtns[a].visible=!1;for(a=0;a<this.priceCaps.length;a++)this.priceCaps[a].visible=!1;var b=200;for(a=0;a<this.myMachine.scienceUpgrades.length;a++){var c=this.myMachine.scienceUpgrades[a];if(this.upgCaps.length>a)var d=this.upgCaps[a],e=this.upgBtns[a],f=this.priceCaps[a];else d=new TextField(this.scene,
this,"Param",-460,250),this.upgCaps.push(d),d.changeAlign("left"),d.setStringWidth(650),e=new ButtonWithIcon(this.scene,this,"w000_upgradeIcon4new0000",240,0),e.myPanel=this,e.registerHandler(this.upgBtnHandler),e.createCaption(" ",-20,0),e.lvlInformer.changeTint(5782826),e.lvlInformer.changeAlign("left"),this.upgBtns.push(e),f=new TextField(this.scene,this,"Price",310,250),this.priceCaps.push(f),f.changeAlign("left");d.visible=!0;d.y=b+20;e.paramId=a;e.visible=!0;e.y=b;e.lvlInformer.showText(""+
c.currentLevel);f.visible=!0;f.y=b+20;b+=100;var g=-1!=c.lvlCap&&c.currentLevel>=c.lvlCap?0:1;d.showTextsOfDifferentColors(c.param.buildCurrentStringAsArWoMachine(c.currentLevel,g),[-1,-1,c.param.willHaveNodeInNextWoMachine(c.currentLevel,g)?16777096:-1,this.myMachine.canUpgradeParam(a,g)?7798623:16744982],!0);0<g?(f.showText(window.bottleScreen.utils.showNumberAsText(this.myMachine.getUpgradeParamsPrice(a,g))+" TXID_CAP_INF_SCIENCE"),f.changeTint(this.myMachine.canUpgradeParam(a,g)?7798623:16744982),
e.visible=this.myMachine.canUpgradeParam(a,g)):(f.showText("MAX"),f.changeTint(16777096),e.visible=!1)}};LabSettingsPanel.prototype.upgBtnHandler=function(){this.myPanel.myMachine.performParamUpgrade(this.paramId,1);this.myPanel.updateView()};
var CarawanSettingsPanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,7.5);a.mchCap=new TextField(a.scene,a,"TXID_CAP_CARAWANSETTINGS",0,80);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.resCaps=[];a.resBtns=[];return a};$jscomp.inherits(CarawanSettingsPanel,UpdatedPropertyPanel);
CarawanSettingsPanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};CarawanSettingsPanel.prototype.showForMachine=function(a){this.myMachine=a;this.show()};CarawanSettingsPanel.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this)};
CarawanSettingsPanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);this.myMachine.updateStoragesList();for(var a=0;a<this.myMachine.storagesRecordList.length;a++){var b=this.myMachine.storagesRecordList[a].storage,c=1==this.myMachine.res2SellList[a],d=b.getMyResName();b=b.getMyResPrice();var e=this.getOrCreateGoodsExplanationText(a),f=this.getOrCreateGoodsSellButton(a);e.visible=!0;e.x=-300;e.y=150+75*a;e.showText(d+": "+window.bottleScreen.utils.showNumberAsText(b)+
" TXID_UNITS_COINSEACH");f.setIconFrame(c?"w000_SelectedIcon4new0000":"w000_notSelectedIcon4new0000");f.visible=!0;f.x=350;f.y=e.y-10;f.resIdInList=a}for(;a<this.resCaps.length;)this.resCaps[a].visible=!1,this.resBtns[a].visible=!1,a++};CarawanSettingsPanel.prototype.getOrCreateGoodsExplanationText=function(a){a<this.resCaps.length?a=this.resCaps[a]:(a=new TextField(this.scene,this,"SELL Text",0,0),a.changeAlign("left"),this.resCaps.push(a));return a};
CarawanSettingsPanel.prototype.getOrCreateGoodsSellButton=function(a){if(a<this.resBtns.length)var b=this.resBtns[a];else b=new ButtonWithIcon(this.scene,this,"w000_notSelectedIcon4new0000",0,0),b.myPanel=this,b.registerHandler(this.checkBoxBtnHandler),b.myStorageObjectId=a,b.isChecked=!1,this.resBtns.push(b);return b};CarawanSettingsPanel.prototype.checkBoxBtnHandler=function(){this.myPanel.myMachine.toggleAutoSellingOfResourceId(this.resIdInList);this.myPanel.updateView()};
var ResourceSellPanel=function(a,b){a=UpdatedPropertyPanel.call(this,a,b)||this;a.myWorld=null;a.bgIm=a.scene.add.image(0,0,"allGraphics2","w000_panelBase4new0000");a.add(a.bgIm);a.bgIm.setOrigin(.5,0);a.bgIm.setScale(10.4,7);a.cap=new TextField(a.scene,a,"SELL RESOURCES",0,80);a.closeBtn=new ButtonWithIcon(a.scene,a,"w000_closeIcon4new0000",500,30);a.closeBtn.myPanel=a;a.closeBtn.registerHandler(a.closeBtnHandler);a.sellPercBtn=new ButtonWithIcon(a.scene,a,"w000_percIcon4new0000",300,80);a.sellPercBtn.myPanel=
a;a.sellPercBtn.registerHandler(a.changeSellMode);a.sellPercBtn.sellPercentage=.5;a.sellPercBtn.createCaption(" ",0,20);a.sellPercBtn.lvlInformer.changeTint(16777215);a.sellPercBtn.lvlInformer.showText(window.bottleScreen.utils.showNumberAsText(100*a.sellPercBtn.sellPercentage)+"%");a.sellPossibilitiesTxts=[];a.sellPossibilitiesBtns=[];return a};$jscomp.inherits(ResourceSellPanel,UpdatedPropertyPanel);ResourceSellPanel.prototype.showForWorld=function(a){this.myWorld=a;this.show()};
ResourceSellPanel.prototype.getOrCreateGoodsExplanationText=function(a){a<this.sellPossibilitiesTxts.length?a=this.sellPossibilitiesTxts[a]:(a=new TextField(this.scene,this,"SELL Text",0,0),a.changeAlign("left"),this.sellPossibilitiesTxts.push(a));return a};
ResourceSellPanel.prototype.getOrCreateGoodsSellButton=function(a){a<this.sellPossibilitiesBtns.length?a=this.sellPossibilitiesBtns[a]:(a=new ButtonWithIcon(this.scene,this,"w000_sellIcon4new0000",0,0),a.myPanel=this,a.registerHandler(this.sellBtnHandler),a.myStorageObject=null,this.sellPossibilitiesBtns.push(a));return a};ResourceSellPanel.prototype.sellBtnHandler=function(){this.myPanel.myWorld.handleSellingFromStorage(this.myStorageObject,this.myPanel.sellPercBtn.sellPercentage);this.myPanel.showForWorld(this.myPanel.myWorld)};
ResourceSellPanel.prototype.changeSellMode=function(){var a=[.1,.5,1],b=a.indexOf(this.sellPercentage);this.sellPercentage=a[(b+1)%a.length];this.lvlInformer.showText(window.bottleScreen.utils.showNumberAsText(100*this.sellPercentage)+"%");this.myPanel.updateView()};ResourceSellPanel.prototype.closeBtnHandler=function(){this.myPanel.hide()};ResourceSellPanel.prototype.show=function(){UpdatedPropertyPanel.prototype.show.call(this)};
ResourceSellPanel.prototype.updateView=function(){UpdatedPropertyPanel.prototype.updateView.call(this);this.myWorld.updateSellPossibilities();for(var a=0;a<this.myWorld.storagesWithGoods2Sell.length;a++){var b=this.myWorld.storagesWithGoods2Sell[a],c=this.getOrCreateGoodsExplanationText(a),d=this.getOrCreateGoodsSellButton(a);c.visible=!0;c.x=-300;c.y=250+75*a;var e=b.getMyResPrice(),f=b.valInside,g=b.getMyResName();f=Math.floor(f*this.sellPercBtn.sellPercentage);e*=f;0<f?(c.showTextsOfDifferentColors(["TXID_MSG_SELLREING_BEG ",
window.bottleScreen.utils.showNumberAsText(f)," "+g," TXID_MSG_SELLREING_MID ",""+window.bottleScreen.utils.showNumberAsText(e)," TXID_MSG_SELLREING_END"],[-1,6750054,-1,-1,6750054,-1]),d.visible=!0):(d.visible=!1,c.showText(g));d.myStorageObject=b;d.x=350;d.y=c.y-10}for(;a<this.sellPossibilitiesTxts.length;)this.sellPossibilitiesTxts[a].visible=!1,this.sellPossibilitiesBtns[a].visible=!1,a++;0==this.myWorld.storagesWithGoods2Sell.length?this.cap.showText("TXID_MSGCAP_NOTHING2SELL"):this.cap.showText("TXID_MSGCAP_SELLRESOURCES")};
ResourceSellPanel.prototype.hide=function(){UpdatedPropertyPanel.prototype.hide.call(this);this.myWorld=null};
var BabelPurchaser=function(a){Purchaser.call(this,a);this.purhasedObjects=[{code:"PURCH_WATERPUMP",purchName:"TXID_MACH_NAME_PUMP",purchDesc:"TXID_MACH_DESC_PUMP",iconTx:"w000_4new0000",mainObjClass:WaterPump,mainObjParams:[0,0],purchases:[]},{code:"PURCH_DRUM",purchName:"TXID_MACH_NAME_DRUMMER",purchDesc:"TXID_MACH_DESC_DRUMMER",iconTx:"w000_4new0000",mainObjClass:DrummerOnBalcony,mainObjParams:[110,0],purchases:[]},{code:"PURCH_SMOKE",purchName:"TXID_MACH_NAME_SMOKEMACHINE",purchDesc:"TXID_MACH_DESC_SMOKEMACHINE",
iconTx:"w000_4new0000",mainObjClass:SmokeMachine,mainObjParams:[-110,0],purchases:[]},{code:"PURCH_BERCH",purchName:"TXID_MACH_NAME_BERTH",purchDesc:"TXID_MACH_DESC_BERTH",iconTx:"w000_4new0000",mainObjClass:Berth4FlyingMachine,mainObjParams:[110,0],purchases:[]},{code:"PURCH_LIFTENGINE",purchName:"TXID_MACH_NAME_LIFTENGINE",purchDesc:"TXID_MACH_DESC_LIFTENGINE",iconTx:"w000_4new0000",mainObjClass:LiftEngine,mainObjParams:[-270,0],purchases:[]},{code:"PURCH_ELEPHANT",purchName:"TXID_MACH_NAME_ELEPHANT",
purchDesc:"TXID_MACH_DESC_ELEPHANT",iconTx:"w000_4new0000",mainObjClass:Elephant,mainObjParams:[0,0],purchases:[]},{code:"PURCH_CLOCK",purchName:"TXID_MACH_NAME_CLOCK",purchDesc:"TXID_MACH_DESC_CLOCK",iconTx:"w000_4new0000",mainObjClass:Clock,mainObjParams:[0,0],purchases:[]},{code:"PURCH_CARAWAN",purchName:"TXID_MACH_NAME_CARAWANSARAI",purchDesc:"TXID_MACH_DESC_CARAWANSARAI",iconTx:"w000_4new0000",mainObjClass:CarawanSarai,mainObjParams:[0,0],purchases:[]},{code:"PURCH_WATEREXTRACTOR",purchName:"TXID_MACH_NAME_WATEREXTRACTOR",
purchDesc:"TXID_MACH_DESC_WATEREXTRACTOR",iconTx:"w000_4new0000",mainObjClass:WaterExtractor,mainObjParams:[0,0],purchases:[]},{code:"PURCH_HELICOPTER",purchName:"TXID_MACH_NAME_HELICOPTER",purchDesc:"TXID_MACH_DESC_HELICOPTER",iconTx:"w000_4new0000",mainObjClass:Helicopter,mainObjParams:[0,0],purchases:[]},{code:"PURCH_GALILEO",purchName:"TXID_MACH_NAME_GALILEO",purchDesc:"TXID_MACH_DESC_GALILEO",iconTx:"w000_4new0000",mainObjClass:Galileo,mainObjParams:[0,0],purchases:[]},{code:"PURCH_TELESCOPE",
purchName:"TXID_MACH_NAME_TELESCOPE",purchDesc:"TXID_MACH_DESC_TELESCOPE",iconTx:"w000_4new0000",mainObjClass:Telescope,mainObjParams:[0,0],purchases:[]},{code:"PURCH_MOONSTAIRS",purchName:"TXID_MACH_NAME_MOONSTAIRS",purchDesc:"TXID_MACH_DESC_MOONSTAIRS",iconTx:"w000_4new0000",mainObjClass:MoonStairs,mainObjParams:[0,0],purchases:[]},{code:"PURCH_LAB",purchName:"TXID_MACH_NAME_LAB",purchDesc:"TXID_MACH_DESC_LAB",iconTx:"w000_4new0000",mainObjClass:Laboratory,mainObjParams:[0,0],purchases:[]},{code:"PURCH_GUNPOWDERLAB",
purchName:"TXID_MACH_NAME_GUNPOWDERLAB",purchDesc:"TXID_MACH_DESC_GUNPOWDERLAB",iconTx:"w000_4new0000",mainObjClass:GunpowderFactory,mainObjParams:[0,120],purchases:[]},{code:"PURCH_BUNGEEJUMPER",purchName:"TXID_MACH_NAME_BUNGEEJUMPER",purchDesc:"TXID_MACH_DESC_BUNGEEJUMPER",iconTx:"w000_4new0000",mainObjClass:BungeeJumper,mainObjParams:[0,0],purchases:[]},{code:"PURCH_IRRIGATOR",purchName:"TXID_MACH_NAME_IRRIGATOR",purchDesc:"TXID_MACH_DESC_IRRIGATOR",iconTx:"w000_4new0000",mainObjClass:FieldIrrigator,
mainObjParams:[0,0],purchases:[]}]};$jscomp.inherits(BabelPurchaser,Purchaser);
var BabelBallanser=function(a){Ballanser.call(this,a);this.timeBetweenWindowOpensInTower=60;this.timeOfShowingWindow=20;this.quarryTapUpgrader=new UpgradedParam("TXID_UPGRNAME_STONE",null,.25,"","",1,this.upgrStoneTapProduction_isNode,this.upgrStoneTapProduction_simpleAdd,this.upgrStoneTapProduction_nodeAdd,!1);this.quarryNumMinersUpgrader=new UpgradedParam("TXID_UPGRNAME_MINERS",null,0,"","",1,this.upgrNumMiners_isNode,this.upgrNumMiners_simpleAdd,this.upgrNumMiners_nodeAdd,!1);this.transportCapacityUpgrader=
new UpgradedParam("TXID_UPGRNAME_TRANSPORT",null,0,"","",1,this.upgrTransportCapacity_isNode,this.upgrTransportCapacity_simpleAdd,this.upgrTransportCapacity_nodeAdd,!1);this.sawSpeedUpgrader=new UpgradedParam("TXID_UPGRNAME_BRICKTIME",null,1,"","TXID_UPGRUNITS_SEC",20,this.upgrSawSpeed_isNode,this.upgrSawSpeed_simpleAdd,this.upgrSawSpeed_nodeAdd,!0);this.sawValueUpgrader=new UpgradedParam("TXID_UPGRNAME_BRICKNUMBER",null,1,"","",1,this.upgrSawValue_isNode,this.upgrSawValue_simpleAdd,this.upgrSawValue_nodeAdd,
!1);this.forestTapUpgrader=new UpgradedParam("TXID_UPGRNAME_WOOD",null,.1,"","",1,this.upgrWoodTapProduction_isNode,this.upgrWoodTapProduction_simpleAdd,this.upgrWoodTapProduction_nodeAdd,!1);this.forestNumChoppersUpgrader=new UpgradedParam("TXID_UPGRNAME_CHOPPERS",null,0,"","",1,this.upgrNumChoppers_isNode,this.upgrNumChoppers_simpleAdd,this.upgrNumChoppers_nodeAdd,!1);this.transportWoodCapacityUpgrader=new UpgradedParam("TXID_UPGRNAME_TRANSPORT",null,0,"","",1,this.upgrWoodTransportCapacity_isNode,
this.upgrWoodTransportCapacity_simpleAdd,this.upgrWoodTransportCapacity_nodeAdd,!1);this.lumbermillSpeedUpgrader=new UpgradedParam("TXID_UPGRNAME_WOODTIME",null,1,"","TXID_UPGRUNITS_SEC",40,this.upgrLumbermillSpeed_isNode,this.upgrLumbermillSpeed_simpleAdd,this.upgrLumbermillSpeed_nodeAdd,!0);this.lumbermillValueUpgrader=new UpgradedParam("TXID_UPGRNAME_PLANKSTIME",null,1,"","",1,this.upgrLumbermillValue_isNode,this.upgrLumbermillValue_simpleAdd,this.upgrLumbermillValue_nodeAdd,!1);this.waterPumpPowerUpgrader=
new UpgradedParam("TXID_UPGRNAME_PUMPPOWER",null,1,"","TXID_UPGRUNITS_WATERPERSEC",.5,this.upgrWaterPumpPower_isNode,this.upgrWaterPumpPower_simpleAdd,this.upgrWaterPumpPower_nodeAdd,!1);this.drumPowerUpgrader=new UpgradedParam("TXID_UPGRNAME_DRUMPOWER",null,.1,"","%",100,this.upgrDrumPower_isNode,this.upgrDrumPower_simpleAdd,this.upgrDrumPower_nodeAdd,!1);this.smokePowerUpgrader=new UpgradedParam("TXID_UPGRNAME_CLOUDPOWER",null,10,"","",1,this.upgrSmokePower_isNode,this.upgrSmokePower_simpleAdd,
this.upgrSmokePower_nodeAdd,!1);this.elephantCapacityUpgrader=new UpgradedParam("TXID_UPGRNAME_TRANSPORT",null,2E4,"","",1,this.upgrElephant_isNode,this.upgrElephant_simpleAdd,this.upgrElephant_nodeAdd,!1);this.fieldTapUpgrader=new UpgradedParam("TXID_UPGRNAME_FIELD",null,1,"","",1,this.upgrFieldTapProduction_isNode,this.upgrFieldTapProduction_simpleAdd,this.upgrFieldTapProduction_nodeAdd,!1);this.fieldNumMinersUpgrader=new UpgradedParam("TXID_UPGRNAME_MOWERS",null,0,"","",1,this.upgrNumMowers_isNode,
this.upgrNumMowers_simpleAdd,this.upgrNumMowers_nodeAdd,!1);this.berthMoneyUpgrader=new UpgradedParam("TXID_UPGRNAME_BERTH",null,3E5,"","",1,this.upgrBerth_isNode,this.upgrBerth_simpleAdd,this.upgrBerth_nodeAdd,!1);this.clockSpeedUpgrader=new UpgradedParam("TXID_UPGRNAME_CLOCKSPEED",null,.01,"","%",100,this.upgrClock_isNode,this.upgrClock_simpleAdd,this.upgrClock_nodeAdd,!1);this.waterExtractorUpgrader=new UpgradedParam("TXID_UPGRNAME_WATEREXTRACTION",null,500,"","/s",1,this.upgrWaterExtraction_isNode,
this.upgrWaterExtraction_simpleAdd,this.upgrWaterExtraction_nodeAdd,!1);this.carawanSaraiUpgrader=new UpgradedParam("TXID_UPGRNAME_CARAWANPRICE",null,.1,"","%",100,this.upgrCarawan_isNode,this.upgrCarawan_simpleAdd,this.upgrCarawan_nodeAdd,!1);this.helicopterNumBoomsUpgrader=new UpgradedParam("TXID_UPGRNAME_HELIBOOMS",null,1,"","",1,this.upgrHeliBoomNum_isNode,this.upgrHeliBoomNum_simpleAdd,this.upgrHeliBoomNum_nodeAdd,!1);this.helicopterPowerBoomsUpgrader=new UpgradedParam("TXID_UPGRNAME_HELIBOOMPOWER",
null,3E3,"","",1,this.upgrHeliBoomPower_isNode,this.upgrHeliBoomPower_simpleAdd,this.upgrHeliBoomPower_nodeAdd,!1);this.elevatorEnginePowerUpgrader=new UpgradedParam("TXID_ELEVATORENGINEPOWER",null,10,"","",1,this.upgrElevatorPower_isNode,this.upgrElevatorPower_simpleAdd,this.upgrElevatorPower_nodeAdd,!1);this.galileoUpgrader=new UpgradedParam("TXID_UPGRNAME_GALILEO",null,1,"","",1,this.upgrGalileo_isNode,this.upgrGalileo_simpleAdd,this.upgrGalileo_nodeAdd,!1);this.telescopeUpgrader=new UpgradedParam("TXID_UPGRNAME_TELESCOPE",
null,1E3,"","",1,this.upgrTelescope_isNode,this.upgrTelescope_simpleAdd,this.upgrTelescope_nodeAdd,!1);this.restartFloorsUpgrader=new UpgradedParam("TXID_UPGRNAME_RESTARTFLOORS",null,0,"","",1,this.upgrRestartFloors_isNode,this.upgrRestartFloors_simpleAdd,this.upgrRestartFloors_nodeAdd,!1);this.restartTimeUpgrader=new UpgradedParam("TXID_UPGRNAME_RESTARTTIME",null,.2,"","%",100,this.upgrRestartTime_isNode,this.upgrRestartTime_simpleAdd,this.upgrRestartTime_nodeAdd,!1);this.restartMoneyUpgrader=new UpgradedParam("TXID_UPGRNAME_RESTARTMONEY",
null,1E-9,"","%",100,this.upgrRestartMoney_isNode,this.upgrRestartMoney_simpleAdd,this.upgrRestartMoney_nodeAdd,!1);this.restartGBUpgrader=new UpgradedParam("TXID_UPGRNAME_RESTARTGB",null,0,"","%",100,this.upgrRestartGB_isNode,this.upgrRestartGB_simpleAdd,this.upgrRestartGB_nodeAdd,!1);this.scienceBoostUpgrader=new UpgradedParam("TXID_UPGRNAME_SCIENCEBOOST",null,0,"","%",100,this.upgrScienceBoost_isNode,this.upgrScienceBoost_simpleAdd,this.upgrScienceBoost_nodeAdd,!1);this.moonStoneUpgrader=new UpgradedParam("TXID_UPGRNAME_MOONSTAIRSPROD",
null,.01,"","",1,this.upgrMoonStoneProduction_isNode,this.upgrMoonStoneProduction_simpleAdd,this.upgrMoonStoneProduction_nodeAdd,!1);this.gunPowderFactoryUpgrader=new UpgradedParam("TXID_UPGRNAME_GUNPOWDERPROD",null,.01,"","",1,this.upgrGunPowderProduction_isNode,this.upgrGunPowderProduction_simpleAdd,this.upgrGunPowderProduction_nodeAdd,!1);this.jumperMoneyUpgrader=new UpgradedParam("TXID_UPGRNAME_BUNGEEMONEY x",null,1E14*1E3,"","",1,this.upgrJumperMoneyInc_isNode,this.upgrJumperMoneyInc_simpleAdd,
this.upgrJumperMoneyInc_nodeAdd,!1);this.jumperTimeUpgrader=new UpgradedParam("TXID_UPGRNAME_BUNGEETIME",null,1,"","",this.timeBetweenWindowOpensInTower,this.upgrJumperTimeDec_isNode,this.upgrJumperTimeDec_simpleAdd,this.upgrJumperTimeDec_nodeAdd,!0);this.irrigatorUpgrader=new UpgradedParam("TXID_UPGRNAME_IRRIGATORBOOST",null,1,"","%",100,this.upgrIrrigatorBoost_isNode,this.upgrIrrigatorBoost_simpleAdd,this.upgrIrrigatorBoost_nodeAdd,!1);this.simpleUpgrader=new UpgradedParam("Simple Upgrader",null,
1,"","",1,this.upgrSiple_isNode,this.upgrSimple_simpleAdd,this.upgrSimple_nodeAdd,!1);this.goodsList="stone bricks wood planks hay water gunpowder".split(" ");this.goodsNamesList="TXID_GOODS_STONE TXID_GOODS_BRICKS TXID_GOODS_WOOD TXID_GOODS_PLANKS TXID_GOODS_HAY TXID_GOODS_WATER TXID_GOODS_GUNPOWDER".split(" ");this.pricesList=[1,5,3,18,50,200,5E7];this.currenciesList=["money","science"];this.currenciesNamesList=["TXID_CAP_INF_MONEY","TXID_CAP_INF_SCIENCE"];this.forestMaxWood=600;this.forestGrowthSpeed=
.3;this.goldFromTapOnTowerWindow=1E3;this.wellMaxWater=1E4;this.waterGrowthSpeed=20};$jscomp.inherits(BabelBallanser,Ballanser);BabelBallanser.prototype.getName4Currency=function(a){a=this.currenciesList.indexOf(a);return-1!=a?this.currenciesNamesList[a]:""};BabelBallanser.prototype.calcReward4TapOnGoldInTower=function(a){return this.goldFromTapOnTowerWindow*a.numStoriesBuilt*a.numStoriesBuilt*a.myWorld.getMasterTapCoef()*a.myWorld.getMasterProdCoef()};
BabelBallanser.prototype.calcPurchasePrice4Slot=function(a){var b=2E3;if(a.purchasedRecord)switch(a.purchasedRecord.code){case "PURCH_BERCH":b=1E9;break;case "PURCH_DRUM":b=6E4;break;case "PURCH_LIFTENGINE":b=5E5;break;case "PURCH_SMOKE":b=1E6;break;case "PURCH_WATERPUMP":b=1E4;break;case "PURCH_ELEPHANT":b=1E8;break;case "PURCH_CLOCK":b=2E10;break;case "PURCH_WATEREXTRACTOR":b=1E9;break;case "PURCH_CARAWAN":b=25E13*1E9;break;case "PURCH_HELICOPTER":b=4E12;break;case "PURCH_GALILEO":b=1E14*1E12;break;
case "PURCH_TELESCOPE":b=5E7;break;case "PURCH_LAB":b=1E4;break;case "PURCH_MOONSTAIRS":b=1E11;break;case "PURCH_GUNPOWDERLAB":b=1E13*1E15*1E3;break;case "PURCH_BUNGEEJUMPER":b=2E14*1E15*1E3;break;case "PURCH_IRRIGATOR":b=5E10}return b};
BabelBallanser.prototype.getPurchaseCurrency4Slot=function(a){var b="money";if(a.purchasedRecord)switch(a.purchasedRecord.code){case "PURCH_TELESCOPE":b="science";break;case "PURCH_MOONSTAIRS":b="science";break;case "PURCH_LAB":b="science";break;case "PURCH_CLOCK":b="science"}return b};BabelBallanser.prototype.getForestUpgradePrice=function(a){return Math.round(100*Math.pow(1.25,a))};BabelBallanser.prototype.getQuarryUpgradePrice=function(a){return Math.round(20*Math.pow(1.2,a))};
BabelBallanser.prototype.getTransportUpgradePrice=function(a){return Math.round(40*Math.pow(1.5,a))};BabelBallanser.prototype.getWoodTransportUpgradePrice=function(a){return Math.round(120*Math.pow(1.25,a))};BabelBallanser.prototype.getSawTentUpgradePrice=function(a){return Math.round(80*Math.pow(1.3,a))};BabelBallanser.prototype.getLumbermillUpgradePrice=function(a){return Math.round(200*Math.pow(1.3,a))};
BabelBallanser.prototype.getPumpPowerUpgradePrice=function(a){return Math.round(5E3*Math.pow(1.1,a))};BabelBallanser.prototype.getDrumUpgradePrice=function(a){return Math.round(2E4*Math.pow(1.3,a))};BabelBallanser.prototype.getSmokePowerUpgradePrice=function(a){return Math.round(5E5*Math.pow(1.4,a))};BabelBallanser.prototype.getElephantUpgradePrice=function(a){return Math.round(1E6*Math.pow(1.2,a))};BabelBallanser.prototype.getFieldUpgradePrice=function(a){return Math.round(1E5*Math.pow(1.5,a))};
BabelBallanser.prototype.getBerthUpgradePrice=function(a){return Math.round(1E7*Math.pow(1.15,a))};BabelBallanser.prototype.getClockUpgradePrice=function(a){return Math.round(5E9*Math.pow(1.5,a))};BabelBallanser.prototype.getWaterExtractorUpgradePrice=function(a){return Math.round(1E9*Math.pow(1.2,a))};BabelBallanser.prototype.getCarawanUpgradePrice=function(a){return Math.round(25E13*Math.pow(1.3,a))};
BabelBallanser.prototype.getHelicopterUpgradePrice=function(a){return Math.round(4E11*Math.pow(1.3,a))};BabelBallanser.prototype.getIrrigatorUpgradePrice=function(a){return Math.round(2E12*Math.pow(1.25,a))};BabelBallanser.prototype.getGunPowderFactoryUpgradePrice=function(a){return Math.round(1E15*1E12*Math.pow(1.3,a))};BabelBallanser.prototype.getJumperUpgradePrice=function(a){return Math.round(1E15*1E15*Math.pow(1.15,a))};
BabelBallanser.prototype.getMoonUpgradePrice=function(a){return Math.round(1E9*Math.pow(1.25,a))};BabelBallanser.prototype.getElevatorEnginePowerUpgradePrice=function(a){return Math.round(1E10*Math.pow(1.4,a))};BabelBallanser.prototype.getGalileoUpgradePrice=function(a){return Math.round(5*Math.pow(1.12,a))};BabelBallanser.prototype.getTelescopeUpgradePrice=function(a){return Math.round(1E5*Math.pow(1.15,a))};
BabelBallanser.prototype.getRestartFloorsUpgradePrice=function(a){for(var b=1,c=10,d=0;d<=a;d++)b*=c,c+=10;return b};BabelBallanser.prototype.getRestartTimeUpgradePrice=function(a){for(var b=1,c=20,d=0;d<=a;d++)b*=c,c+=10;return b};BabelBallanser.prototype.getRestartMoneyUpgradePrice=function(a){return Math.round(40*Math.pow(1.5,a))};BabelBallanser.prototype.getRestartGBUpgradePrice=function(a){for(var b=30,c=1,d=0;d<=a;d++)b*=c,c+=1;return b};
BabelBallanser.prototype.getScienceBoostUpgradePrice=function(a){for(var b=100,c=2,d=0;d<=a;d++)b*=c,c+=2;return b};BabelBallanser.prototype.getSimpleUpgradePrice=function(a){return 10*Math.pow(10,a)};BabelBallanser.prototype.upgrStoneTapProduction_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrStoneTapProduction_simpleAdd=function(a,b,c){return a+.1*Math.pow(2,b)};BabelBallanser.prototype.upgrStoneTapProduction_nodeAdd=function(a,b){return a+.5*Math.pow(2,b)};
BabelBallanser.prototype.upgrNumMiners_isNode=function(a){return 0==a%4};BabelBallanser.prototype.upgrNumMiners_simpleAdd=function(a,b,c){return a+0};BabelBallanser.prototype.upgrNumMiners_nodeAdd=function(a,b){return a+1};BabelBallanser.prototype.upgrFieldTapProduction_isNode=function(a){return 0==a%20};BabelBallanser.prototype.upgrFieldTapProduction_simpleAdd=function(a,b,c){return a+.1*Math.pow(2,b)};BabelBallanser.prototype.upgrFieldTapProduction_nodeAdd=function(a,b){return 1.5*a};
BabelBallanser.prototype.upgrNumMowers_isNode=function(a){return 0==(a+4)%8};BabelBallanser.prototype.upgrNumMowers_simpleAdd=function(a,b,c){return a+0};BabelBallanser.prototype.upgrNumMowers_nodeAdd=function(a,b){return a+1};BabelBallanser.prototype.upgrTransportCapacity_isNode=function(a){return 0==a%8};BabelBallanser.prototype.upgrTransportCapacity_simpleAdd=function(a,b,c){return a+1*Math.pow(2,b)};BabelBallanser.prototype.upgrTransportCapacity_nodeAdd=function(a,b){return 2*a};
BabelBallanser.prototype.upgrElephant_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrElephant_simpleAdd=function(a,b,c){return a+1E3*Math.pow(2,b)};BabelBallanser.prototype.upgrElephant_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrSawSpeed_isNode=function(a){return 0==a%4};BabelBallanser.prototype.upgrSawSpeed_simpleAdd=function(a,b,c){return a+.05*(b+1)};BabelBallanser.prototype.upgrSawSpeed_nodeAdd=function(a,b){return a+.25*(b+1)};
BabelBallanser.prototype.upgrSawValue_isNode=function(a){return 0==a%5};BabelBallanser.prototype.upgrSawValue_simpleAdd=function(a,b,c){return a+0};BabelBallanser.prototype.upgrSawValue_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrWoodTransportCapacity_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrWoodTransportCapacity_simpleAdd=function(a,b,c){return a+1*Math.pow(2,b)};BabelBallanser.prototype.upgrWoodTransportCapacity_nodeAdd=function(a,b){return 2*a};
BabelBallanser.prototype.upgrWoodTapProduction_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrWoodTapProduction_simpleAdd=function(a,b,c){return a+.05*Math.pow(2,b)};BabelBallanser.prototype.upgrWoodTapProduction_nodeAdd=function(a,b){return a+.5*Math.pow(2,b)};BabelBallanser.prototype.upgrNumChoppers_isNode=function(a){return 0==a%4};BabelBallanser.prototype.upgrNumChoppers_simpleAdd=function(a,b,c){return a+0};
BabelBallanser.prototype.upgrNumChoppers_nodeAdd=function(a,b){return a+1};BabelBallanser.prototype.upgrLumbermillSpeed_isNode=function(a){return 0==a%6};BabelBallanser.prototype.upgrLumbermillSpeed_simpleAdd=function(a,b,c){return a+.05*(b+1)};BabelBallanser.prototype.upgrLumbermillSpeed_nodeAdd=function(a,b){return a+.5*(b+1)};BabelBallanser.prototype.upgrLumbermillValue_isNode=function(a){return 0==a%5};BabelBallanser.prototype.upgrLumbermillValue_simpleAdd=function(a,b,c){return a+0};
BabelBallanser.prototype.upgrLumbermillValue_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrWaterPumpPower_isNode=function(a){a=Math.sqrt(81+8*a);return a==Math.floor(a)};BabelBallanser.prototype.upgrWaterPumpPower_simpleAdd=function(a,b,c){return a+.2};BabelBallanser.prototype.upgrWaterPumpPower_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrDrumPower_isNode=function(a){return 0==a%5};BabelBallanser.prototype.upgrDrumPower_simpleAdd=function(a,b,c){return a+.05};
BabelBallanser.prototype.upgrDrumPower_nodeAdd=function(a,b){return a+.2};BabelBallanser.prototype.upgrSmokePower_isNode=function(a){return 0==a%6};BabelBallanser.prototype.upgrSmokePower_simpleAdd=function(a,b,c){return a+1*Math.pow(2,b)};BabelBallanser.prototype.upgrSmokePower_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrBerth_isNode=function(a){return 0==a%25};BabelBallanser.prototype.upgrBerth_simpleAdd=function(a,b,c){return a+3E5*Math.pow(2,b)*Math.pow(512,Math.floor(b/3))};
BabelBallanser.prototype.upgrBerth_nodeAdd=function(a,b){return 2==b%3?1024*a:2*a};BabelBallanser.prototype.upgrClock_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrClock_simpleAdd=function(a,b,c){return a+.01};BabelBallanser.prototype.upgrClock_nodeAdd=function(a,b){return a+.1*(b+1)};BabelBallanser.prototype.upgrWaterExtraction_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrWaterExtraction_simpleAdd=function(a,b,c){return a+50*Math.pow(2,b)};
BabelBallanser.prototype.upgrWaterExtraction_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrCarawan_isNode=function(a){return 0==a%9};BabelBallanser.prototype.upgrCarawan_simpleAdd=function(a,b,c){return a+.1*(1+b)};BabelBallanser.prototype.upgrCarawan_nodeAdd=function(a,b){return a+.5*(1+b)};BabelBallanser.prototype.upgrHeliBoomNum_isNode=function(a){return 0==a%8};BabelBallanser.prototype.upgrHeliBoomNum_simpleAdd=function(a,b,c){return a+0};
BabelBallanser.prototype.upgrHeliBoomNum_nodeAdd=function(a,b){return a+1};BabelBallanser.prototype.upgrHeliBoomPower_isNode=function(a){return 0==a%7};BabelBallanser.prototype.upgrHeliBoomPower_simpleAdd=function(a,b,c){return a+1E3*Math.pow(2,b)};BabelBallanser.prototype.upgrHeliBoomPower_nodeAdd=function(a,b){return a+1E4*Math.pow(2,b)};BabelBallanser.prototype.upgrIrrigatorBoost_isNode=function(a){return 0==a%8};
BabelBallanser.prototype.upgrIrrigatorBoost_simpleAdd=function(a,b,c){return a+.1*Math.pow(2,b)};BabelBallanser.prototype.upgrIrrigatorBoost_nodeAdd=function(a,b){return a+1*Math.pow(2,b)};BabelBallanser.prototype.upgrJumperMoneyInc_isNode=function(a){return 0==a%18};BabelBallanser.prototype.upgrJumperMoneyInc_simpleAdd=function(a,b,c){return a+1E13*1E3*(b+1)};BabelBallanser.prototype.upgrJumperMoneyInc_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrJumperTimeDec_isNode=function(a){return!1};
BabelBallanser.prototype.upgrJumperTimeDec_simpleAdd=function(a,b,c){a+=.02*(b+1);a>this.timeBetweenWindowOpensInTower/5&&(a=this.timeBetweenWindowOpensInTower/5);return a};BabelBallanser.prototype.upgrJumperTimeDec_nodeAdd=function(a,b){a+=.1*(b+1);a>this.timeBetweenWindowOpensInTower/5&&(a=this.timeBetweenWindowOpensInTower/5);return a};BabelBallanser.prototype.upgrGunPowderProduction_isNode=function(a){return 0==a%10};
BabelBallanser.prototype.upgrGunPowderProduction_simpleAdd=function(a,b,c){return a+.01*Math.pow(2,b)};BabelBallanser.prototype.upgrGunPowderProduction_nodeAdd=function(a,b){return a+.05*Math.pow(2,b)};BabelBallanser.prototype.upgrMoonStoneProduction_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrMoonStoneProduction_simpleAdd=function(a,b,c){return a+.01*Math.pow(2,b)};BabelBallanser.prototype.upgrMoonStoneProduction_nodeAdd=function(a,b){return a+.05*Math.pow(2,b)};
BabelBallanser.prototype.upgrElevatorPower_isNode=function(a){return 0==a%10};BabelBallanser.prototype.upgrElevatorPower_simpleAdd=function(a,b,c){return a+10*Math.pow(2,b)};BabelBallanser.prototype.upgrElevatorPower_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrGalileo_isNode=function(a){a=225-40*(5-a);var b=!1;if(0<=a){var c=Math.floor(Math.sqrt(a));c*c==a&&(b=!0)}return b};BabelBallanser.prototype.upgrGalileo_simpleAdd=function(a,b,c){return a+1*Math.pow(2,b)};
BabelBallanser.prototype.upgrGalileo_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrTelescope_isNode=function(a){a=144-32*(4-a);var b=!1;if(0<=a){var c=Math.floor(Math.sqrt(a));c*c==a&&(b=!0)}return b};BabelBallanser.prototype.upgrTelescope_simpleAdd=function(a,b,c){return a+1E3*Math.pow(2,b)};BabelBallanser.prototype.upgrTelescope_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrRestartFloors_isNode=function(a){return!1};
BabelBallanser.prototype.upgrRestartFloors_simpleAdd=function(a,b,c){return a+1};BabelBallanser.prototype.upgrRestartFloors_nodeAdd=function(a,b){return a+1};BabelBallanser.prototype.upgrRestartTime_isNode=function(a){return!1};BabelBallanser.prototype.upgrRestartTime_simpleAdd=function(a,b,c){return a+.1};BabelBallanser.prototype.upgrRestartTime_nodeAdd=function(a,b){return a+.1};BabelBallanser.prototype.upgrRestartMoney_isNode=function(a){return!1};
BabelBallanser.prototype.upgrRestartMoney_simpleAdd=function(a,b,c){return a+.001};BabelBallanser.prototype.upgrRestartMoney_nodeAdd=function(a,b){return a+.001};BabelBallanser.prototype.upgrRestartGB_isNode=function(a){return!1};BabelBallanser.prototype.upgrRestartGB_simpleAdd=function(a,b,c){return a+.1};BabelBallanser.prototype.upgrRestartGB_nodeAdd=function(a,b){return a+.1};BabelBallanser.prototype.upgrScienceBoost_isNode=function(a){return 0==a%9};
BabelBallanser.prototype.upgrScienceBoost_simpleAdd=function(a,b,c){return a+.1*Math.pow(2,b)};BabelBallanser.prototype.upgrScienceBoost_nodeAdd=function(a,b){return 2*a};BabelBallanser.prototype.upgrSiple_isNode=function(a){return!1};BabelBallanser.prototype.upgrSimple_simpleAdd=function(a,b,c){return a+1*Math.pow(2,b)};BabelBallanser.prototype.upgrSimple_nodeAdd=function(a,b){return 2*a};
BabelBallanser.prototype.getCoefOfTowerBricksConversion=function(a){if(window.bottleScreen.config.cheapBricks)return 1;for(var b=1,c=10,d=0;d<a.numStoriesBuilt;d++)b*=c,c+=2;return b};BabelBallanser.prototype.getCoefOfColdenBricksCoversion=function(a){return Math.pow(3,a.numStoriesBuilt)};BabelBallanser.prototype.getMoonStone4FloorCompletion=function(a){for(var b=10,c=10,d=0;d<a;d++)c+=10,b*=c;return b};
BabelBallanser.prototype.getCoefOfCranePlanksConversion=function(a){return window.bottleScreen.config.cheapBricks?1:Math.pow(2,a.numStoriesBuilt)};BabelBallanser.prototype.convertDrumPower2SpeedCoef=function(a){return 1+Math.log(1+a)};var EmulatedContainer=function(a,b,c){this.x=b;this.y=c;this.grp=a;this.children=[]};EmulatedContainer.prototype.addChild=function(a){this.grp.add(a);this.children.push(a)};
EmulatedContainer.prototype.setX=function(a){for(var b=a-this.x,c=0;c<this.children.length;c++)this.children.x+=b;this.x=a};EmulatedContainer.prototype.setY=function(a){for(var b=a-this.y,c=0;c<this.children.length;c++)this.children.y+=b;this.y=a};EmulatedContainer.prototype.setChildCoords=function(a,b,c){-1!=this.children.indexOf(a)&&(b.x=this.x+b,a.y=this.y+c)};
var TutPointingHand=function(a,b,c,d){TutSprite.call(this,a,b,c,d);this.handIm=this.scene.add.image(0,0,"allGraphics2","w000_tutHand4new0000");this.handIm.x=this.myObject.x+150;this.handIm.y=this.myObject.y-150;this.handIm.rotation=-.75*Math.PI;this.grp.add(this.handIm)};$jscomp.inherits(TutPointingHand,TutSprite);
TutPointingHand.prototype.updateAtMoment=function(a){TutSprite.prototype.updateAtMoment.call(this,a);this.handIm.x=this.myObject.x+150+50*Math.sin(5*this.lastCalculatedMoment);this.handIm.y=this.myObject.y-150-50*Math.sin(5*this.lastCalculatedMoment)};TutPointingHand.prototype.getRemoved=function(){TutSprite.prototype.getRemoved.call(this);this.handIm.destroy()};
var TutDraggingHand=function(a,b,c,d,e){TutSprite.call(this,a,b,c,d);this.handIm=this.scene.add.image(0,0,"allGraphics2","w000_tutHand4new0000");this.hx0=this.myObject.x;this.hy0=this.myObject.y-10;e?(a=e.dx,e=e.dy):(a=300,e=100);this.hx1=this.myObject.x+a;this.hy1=this.myObject.y+e;this.handIm.x=this.hx0;this.handIm.y=this.hy0;this.handIm.rotation=0;this.grp.add(this.handIm);this.cycleLength=2};$jscomp.inherits(TutDraggingHand,TutSprite);
TutDraggingHand.prototype.updateAtMoment=function(a){TutSprite.prototype.updateAtMoment.call(this,a);a=.5>this.lambda?2*this.lambda*this.lambda:1-2*(1-this.lambda)*(1-this.lambda);this.handIm.x=this.hx0+a*(this.hx1-this.hx0);this.handIm.y=this.hy0+a*(this.hy1-this.hy0)};TutDraggingHand.prototype.getRemoved=function(){TutSprite.prototype.getRemoved.call(this);this.handIm.destroy()};
var TutTappingHand=function(a,b,c,d){TutSprite.call(this,a,b,c,d);this.handIm=this.scene.add.image(0,0,"allGraphics2","w000_tutHand4new0000");this.hx0=this.myObject.x;this.hy0=this.myObject.y-40;this.hx1=this.myObject.x;this.hy1=this.myObject.y+10;this.alpha0=0;this.scale0=2;this.scale1=this.alpha1=1;this.handIm.x=this.hx0;this.handIm.y=this.hy0;this.handIm.rotation=0;this.handIm.alpha=this.alpha0;this.handIm.scale=this.scale0;this.grp.add(this.handIm);this.cycleLength=.5};
$jscomp.inherits(TutTappingHand,TutSprite);TutTappingHand.prototype.updateAtMoment=function(a){TutSprite.prototype.updateAtMoment.call(this,a);a=1-(1-this.lambda)*(1-this.lambda);this.handIm.x=this.hx0+a*(this.hx1-this.hx0);this.handIm.y=this.hy0+a*(this.hy1-this.hy0);this.handIm.alpha=this.alpha0+a*(this.alpha1-this.alpha0);this.handIm.setScale(this.scale0+a*(this.scale1-this.scale0))};TutTappingHand.prototype.getRemoved=function(){TutSprite.prototype.getRemoved.call(this);this.handIm.destroy()};var WheelBarrowTransporter=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.storageTo=this.storageFrom=null;this.resourceName="";this.currentlyTransportedVal=this.maxTransportCapacity=0;this.dxToBeginning=-250;this.dyToBeginning=-150;this.pathLength=Math.sqrt(this.dxToBeginning*this.dxToBeginning+this.dyToBeginning*this.dyToBeginning);this.deliveryPhase=0;this.connectedDrummer=null;this.param_Capacity=this.myWorld.ballanser.transportCapacityUpgrader.clone4Machine(this);
this.param_Capacity.valAt0=0;this.upgradedParams.push(this.param_Capacity);this.upgradePriceFunction=this.myWorld.ballanser.getTransportUpgradePrice};$jscomp.inherits(WheelBarrowTransporter,BasicGameObject);
WheelBarrowTransporter.prototype.initProperties=function(a){var b=BasicGameObject.prototype.initProperties.call(this,a);this.resourceName=a[b+0];this.dxToBeginning=a[b+1];this.dyToBeginning=a[b+2];this.pathLength=Math.sqrt(this.dxToBeginning*this.dxToBeginning+this.dyToBeginning*this.dyToBeginning);this.actualizeUpgradeParam();return b+3};WheelBarrowTransporter.prototype.getTransportCapacity=function(){return this.param_Capacity.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};
WheelBarrowTransporter.prototype.updateAdditionalParams=function(){var a=1;0<this.myWorld.countArtifactsOfCode("purch_wheelbarrow")&&(a=5);this.param_Capacity.masterCoef=a};WheelBarrowTransporter.prototype.getSpeedCoefFromDrummer=function(){return this.connectedDrummer?this.connectedDrummer.getSpeedInfluenceByDrum():1};WheelBarrowTransporter.prototype.getOwnPhiGeneration=function(){return this.ownPhiGeneration*this.getSpeedCoefFromDrummer()};
WheelBarrowTransporter.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));var a=1+this.pathLength/100+this.pathLength/100;if(this.gatheredPhiInCurrentState>a){var b=Math.floor(this.gatheredPhiInCurrentState/a);this.gatheredPhiInCurrentState%=a;this.handleFullCyclesCompletion(b)}this.gatheredPhiInCurrentState>this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),
this.handleCycleCompletion(1))};WheelBarrowTransporter.prototype.handleFullCyclesCompletion=function(a){a*=this.getTransportCapacity();a=Math.min(a,this.storageFrom.getResVal(this.resourceName));this.storageFrom.modValueBy(-a);this.totalProcessingsMade+=a;this.storageTo.modValueBy(a)};
WheelBarrowTransporter.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:0<this.getTransportCapacity()&&0<this.storageFrom.getResVal(this.resourceName)&&(b=1,c=this.pathLength/100);break;case 1:this.currentlyTransportedVal=b=Math.min(this.storageFrom.getResVal(this.resourceName),this.getTransportCapacity());this.storageFrom.modValueBy(-b);b=2;c=this.pathLength/100;break;case 2:this.storageTo.modValueBy(this.currentlyTransportedVal),this.totalProcessingsMade+=
this.currentlyTransportedVal,b=this.currentlyTransportedVal=0,c=1}this.deliveryPhase=b;this.phi4FullCycle=c;this.startVisualsOfPhase(this.deliveryPhase);return a};WheelBarrowTransporter.prototype.startVisualsOfPhase=function(a){switch(a){case 1:this.visual.startHumanMoveOut(this.phi4FullCycle);break;case 2:this.visual.startHumanBackMove(this.phi4FullCycle,this.currentlyTransportedVal)}};
WheelBarrowTransporter.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);a=this.gatheredPhiInCurrentState/this.phi4FullCycle;1<a&&(a=1);0>a&&(a=0);switch(this.deliveryPhase){case 1:this.visual.setAnimLambda(0,a);break;case 2:this.visual.setAnimLambda(1,a)}};
WheelBarrowTransporter.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new WheelBarrowTransporterVisual(this.scene,this.grp,this.x,this.y,this.resourceName);this.visual.setMoveDeltas(this.dxToBeginning,this.dyToBeginning);this.visual.upgBtnCoords.x=.5*this.dxToBeginning;this.visual.upgBtnCoords.y=40;"stone"==this.resourceName&&(this.visual.upgBtnCoords.x=this.dxToBeginning,this.visual.upgBtnCoords.y=this.dyToBeginning-200);this.visual.createUpgradeButton(this)};
WheelBarrowTransporter.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);BasicGoodsStorage.isPrototypeOf(a.obFrom.myClass)&&(this.storageFrom=a.obFrom);a.obFrom.myClass==DrummerOnBalcony&&(this.connectedDrummer=a.obFrom)};WheelBarrowTransporter.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);this.storageTo=a.obTo};
WheelBarrowTransporter.prototype.actualizeUpgradeParam=function(){"wood"==this.resourceName&&(this.param_Capacity=this.myWorld.ballanser.transportWoodCapacityUpgrader.clone4Machine(this),this.upgradedParams[0]=this.param_Capacity,this.upgradePriceFunction=this.myWorld.ballanser.getWoodTransportUpgradePrice)};
WheelBarrowTransporter.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);b=window.bottleScreen.utils.saveString2Ar(a,b,this.resourceName);a[b+0]=this.maxTransportCapacity;a[b+1]=this.currentlyTransportedVal;a[b+2]=this.dxToBeginning;a[b+3]=this.dyToBeginning;a[b+4]=this.deliveryPhase;return b+5};
WheelBarrowTransporter.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);b=window.bottleScreen.utils.loadStringFromAr(a,b);this.resourceName=b.str;b=b.id;this.maxTransportCapacity=a[b+0];this.currentlyTransportedVal=a[b+1];this.dxToBeginning=a[b+2];this.dyToBeginning=a[b+3];this.deliveryPhase=a[b+4];this.pathLength=Math.sqrt(this.dxToBeginning*this.dxToBeginning+this.dyToBeginning*this.dyToBeginning);this.actualizeUpgradeParam();return b+5};
var QuarryMine=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=0;this.connectedStorage=null;this.moneyFraction2ShowUpgradeButton=.01;this.timeBetweenProductions=.5;this.value2Produce=this.lastProductionMoment=0;this.param_tapMinePower=this.myWorld.ballanser.quarryTapUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_tapMinePower);this.upgradePriceFunction=this.myWorld.ballanser.getQuarryUpgradePrice;this.param_numAutoMiners=this.myWorld.ballanser.quarryNumMinersUpgrader.clone4Machine(this);
this.upgradedParams.push(this.param_numAutoMiners);this.createAutoClicker()};$jscomp.inherits(QuarryMine,BasicGameObject);QuarryMine.prototype.getOwnPhiGeneration=function(){return this.param_numAutoMiners.getValue4Level(this.currentLevel)*this.param_tapMinePower.getValue4Level(this.currentLevel)};QuarryMine.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
QuarryMine.prototype.updateAdditionalParams=function(){var a=1;0<this.myWorld.countArtifactsOfCode("purch_pickaxe")&&(a=5);this.param_tapMinePower.masterCoef=a};QuarryMine.prototype.handleCycleCompletion=function(a){this.value2Produce+=a*this.myWorld.getMasterProdCoef();return a};
QuarryMine.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);1<=this.value2Produce&&(this.lastCalculatedGameMoment-this.lastProductionMoment>=this.timeBetweenProductions||this.lastCalculatedGameMoment<this.lastProductionMoment)&&(a=Math.floor(this.value2Produce),this.connectedStorage&&(this.connectedStorage.modValueBy(a),this.totalProcessingsMade+=a),this.visual.runAnimId(1,1,0),this.value2Produce-=a,this.lastProductionMoment=this.lastCalculatedGameMoment)};
QuarryMine.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new QuarryVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);var a=this.param_numAutoMiners.getValue4Level(this.currentLevel);this.visual.createMiners(a)};QuarryMine.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
QuarryMine.prototype.clickEffect=function(){this.receivePhi(this.phi4FullCycle*this.param_tapMinePower.getValue4Level(this.currentLevel)*this.myWorld.getMasterTapCoef());this.visual.runAnimId(0,1,0);this.myWorld.hud.animTap();this.playSound("hammerHit",.2,!0)};QuarryMine.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==QuarryStorage&&(this.connectedStorage=a.obTo)};
QuarryMine.prototype.performUpgrade=function(a,b){var c=this.param_numAutoMiners.getValue4Level(this.currentLevel);BasicGameObject.prototype.performUpgrade.call(this,a,b);a=this.param_numAutoMiners.getValue4Level(this.currentLevel);a>c&&this.visual.createMiners(a-c)};QuarryMine.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.value2Produce;return b+1};
QuarryMine.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.value2Produce=a[b+0];return b+1};var BasicGoodsStorage=function(a,b,c){BasicGameObject.call(this,a,b,c);this.valInside=this.lastVisUpdatedMoment=this.ownPhiGeneration=0;this.goodsCode="tmpCode";this.tradePointDelta={x:0,y:0}};$jscomp.inherits(BasicGoodsStorage,BasicGameObject);
BasicGoodsStorage.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);.5<this.lastCalculatedGameMoment-this.lastVisUpdatedMoment&&(this.visual.showCurrentValue(this.valInside),this.lastVisUpdatedMoment=this.lastCalculatedGameMoment)};BasicGoodsStorage.prototype.getResVal=function(a){return this.valInside};BasicGoodsStorage.prototype.modValueBy=function(a){this.valInside+=a};BasicGoodsStorage.prototype.getMyResName=function(){return this.myWorld.getNameOfGoodsOfCode(this.goodsCode)};
BasicGoodsStorage.prototype.getMyResPrice=function(){var a=this.myWorld.goodsList.indexOf(this.goodsCode);return-1!=a?this.myWorld.pricesList[a]*this.myWorld.getMasterPriceCoef():0};BasicGoodsStorage.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.valInside;b++;b=window.bottleScreen.utils.saveString2Ar(a,b,this.goodsCode);return b+0};
BasicGoodsStorage.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.valInside=a[b+0];b++;a=window.bottleScreen.utils.loadStringFromAr(a,b);this.goodsCode=a.str;b=a.id;return b+0};
var QuarryStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.draggedVal=0;this.goodsCode="stone";this.createAutoClicker();this.autoDragPhase=0;this.autoDraggerFromHere=this.autoDragTarget=null;this.lastAutoDragTime=0;this.tradePointDelta.x=89;this.tradePointDelta.y=114};$jscomp.inherits(QuarryStorage,BasicGoodsStorage);
QuarryStorage.prototype.updateAdditionalParams=function(){if(!this.autoDragTarget){var a=this.findOutConnectedObject({cls:WheelBarrowTransporter});if(a){var b=a.findOutConnectedObject({cls:BricksProducerTent});b&&(this.autoDraggerFromHere=a,this.autoDragTarget=b,this.visual&&(this.visual.upMoveDx=this.autoDragTarget.x>this.x?1:-1))}}};
QuarryStorage.prototype.clickEffect=function(){if(this.autoDragTarget){if(0==this.autoDragPhase){var a=Math.min(this.valInside,this.myWorld.getMasterTapCoef()*(1+this.autoDraggerFromHere.getTransportCapacity()));0<a&&(this.draggedVal=a,this.valInside-=this.draggedVal,this.visual.showDraggedVal(),this.autoDragPhase=1)}else this.makeAutoTransfer(),this.autoDragPhase=0,this.playSound("oreLoad",.4,!0);this.myWorld.hud.animTap()}};
QuarryStorage.prototype.makeAutoTransfer=function(){this.autoDragTarget&&0<this.draggedVal&&(this.autoDragTarget.modValueBy(this.draggedVal),this.autoDragTarget.playReceivingAnimationFrom(this.x+this.visual.draggedStonePiece.x,this.y+this.visual.draggedStonePiece.y),this.totalProcessingsMade+=this.draggedVal,this.draggedVal=0,this.visual.dropDraggedVal(),this.lastAutoDragTime=this.lastCalculatedGameMoment)};
QuarryStorage.prototype.react2Up=function(a,b){BasicGoodsStorage.prototype.react2Up.call(this,a,b);this.lastCalculatedGameMoment<this.lastAutoDragTime+.4?0<this.draggedVal&&this.returnDraggedVal():this.makeAutoTransfer();this.autoDragPhase=0};QuarryStorage.prototype.react2Out=function(){BasicGoodsStorage.prototype.react2Out.call(this);this.lastCalculatedGameMoment<this.lastAutoDragTime+.4?0<this.draggedVal&&this.returnDraggedVal():this.makeAutoTransfer();this.autoDragPhase=0};
QuarryStorage.prototype.returnDraggedVal=function(){this.valInside+=this.draggedVal;this.draggedVal=0;this.visual.returnDraggedVal()};QuarryStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new QuarryStorageVisual(this.scene,this.grp,this.x,this.y)};QuarryStorage.prototype.save2Ar=function(a,b){b=BasicGoodsStorage.prototype.save2Ar.call(this,a,b);a[b+0]=this.draggedVal;return b+1};
QuarryStorage.prototype.loadFromAr=function(a,b){b=BasicGoodsStorage.prototype.loadFromAr.call(this,a,b);this.draggedVal=a[b+0];this.valInside+=this.draggedVal;this.draggedVal=0;return b+1};var BricksStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="bricks";this.tradePointDelta.x=-28;this.tradePointDelta.y=20};$jscomp.inherits(BricksStorage,BasicGoodsStorage);
BricksStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new BricksStorageVisual(this.scene,this.grp,this.x,this.y)};var PlanksStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="planks";this.tradePointDelta.x=31;this.tradePointDelta.y=20};$jscomp.inherits(PlanksStorage,BasicGoodsStorage);
PlanksStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new PlanksStorageVisual(this.scene,this.grp,this.x,this.y)};var WoodStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="wood";this.draggedVal=0;this.createAutoClicker();this.autoDragPhase=0;this.autoDraggerFromHere=this.autoDragTarget=null;this.lastAutoDragTime=0;this.tradePointDelta.x=31;this.tradePointDelta.y=89};$jscomp.inherits(WoodStorage,BasicGoodsStorage);
WoodStorage.prototype.updateAdditionalParams=function(){if(!this.autoDragTarget){var a=this.findOutConnectedObject({cls:WheelBarrowTransporter});if(a){var b=a.findOutConnectedObject({cls:Lumbermill});b&&(this.autoDraggerFromHere=a,this.autoDragTarget=b,this.visual&&(this.visual.upMoveDx=this.autoDragTarget.x>this.x?1:-1))}}};
WoodStorage.prototype.clickEffect=function(){if(this.autoDragTarget){if(0==this.autoDragPhase){var a=Math.min(this.valInside,this.myWorld.getMasterTapCoef()*(1+this.autoDraggerFromHere.getTransportCapacity()));0<a&&(this.draggedVal=a,this.valInside-=this.draggedVal,this.visual.showDraggedVal(),this.autoDragPhase=1)}else this.makeAutoTransfer(),this.autoDragPhase=0,this.playSound("knockWood",.4,!0);this.myWorld.hud.animTap()}};
WoodStorage.prototype.makeAutoTransfer=function(){this.autoDragTarget&&0<this.draggedVal&&(this.autoDragTarget.modValueBy(this.draggedVal),this.autoDragTarget.playReceivingAnimationFrom(this.x+this.visual.draggedStonePiece.x,this.y+this.visual.draggedStonePiece.y),this.totalProcessingsMade+=this.draggedVal,this.draggedVal=0,this.visual.dropDraggedVal(),this.lastAutoDragTime=this.lastCalculatedGameMoment)};
WoodStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new WoodStorageVisual(this.scene,this.grp,this.x,this.y)};WoodStorage.prototype.react2Up=function(a,b){BasicGoodsStorage.prototype.react2Up.call(this,a,b);this.lastCalculatedGameMoment<this.lastAutoDragTime+.4?0<this.draggedVal&&this.returnDraggedVal():this.makeAutoTransfer();this.autoDragPhase=0};
WoodStorage.prototype.react2Out=function(){BasicGoodsStorage.prototype.react2Out.call(this);this.lastCalculatedGameMoment<this.lastAutoDragTime+.4?0<this.draggedVal&&this.returnDraggedVal():this.makeAutoTransfer();this.autoDragPhase=0};WoodStorage.prototype.returnDraggedVal=function(){this.valInside+=this.draggedVal;this.draggedVal=0;this.visual.returnDraggedVal()};WoodStorage.prototype.save2Ar=function(a,b){b=BasicGoodsStorage.prototype.save2Ar.call(this,a,b);a[b+0]=this.draggedVal;return b+1};
WoodStorage.prototype.loadFromAr=function(a,b){b=BasicGoodsStorage.prototype.loadFromAr.call(this,a,b);this.draggedVal=a[b+0];this.valInside+=this.draggedVal;this.draggedVal=0;return b+1};
var BricksProducerTent=function(a,b,c){BasicGameObject.call(this,a,b,c);this.outputOfStone=null;this.deliveryPhase=this.stoneValInProcessing=this.inputBuffer=0;this.ownPhiGeneration=this.phi4FullCycle=1;this.param_processingSpeed=this.myWorld.ballanser.sawSpeedUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_processingSpeed);this.param_processingValue=this.myWorld.ballanser.sawValueUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_processingValue);this.upgradePriceFunction=
this.myWorld.ballanser.getSawTentUpgradePrice;this.createAutoClicker()};$jscomp.inherits(BricksProducerTent,BasicGameObject);BricksProducerTent.prototype.getOwnPhiGeneration=function(){return this.param_processingSpeed.getValue4Level(this.currentLevel)};BricksProducerTent.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==BricksStorage&&(this.outputOfStone=a.obTo)};
BricksProducerTent.prototype.updateInterfaceOnVisual=function(){BasicGameObject.prototype.updateInterfaceOnVisual.call(this);this.visual.showStoneValue(this.inputBuffer)};
BricksProducerTent.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));if(21<this.gatheredPhiInCurrentState){var a=Math.floor(this.gatheredPhiInCurrentState/21);this.gatheredPhiInCurrentState%=21;this.handleFullCyclesCompletion(a)}this.gatheredPhiInCurrentState>this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),this.handleCycleCompletion(1))};
BricksProducerTent.prototype.getValueInOneProcessing=function(){return this.param_processingValue.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};BricksProducerTent.prototype.handleFullCyclesCompletion=function(a){a*=this.getValueInOneProcessing();a=Math.min(a,this.inputBuffer);this.inputBuffer-=a;this.totalProcessingsMade+=a;this.outputOfStone.modValueBy(a)};
BricksProducerTent.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:if(0<this.inputBuffer){b=1;c=20;var d=this.getValueInOneProcessing();d=Math.min(d,this.inputBuffer);this.inputBuffer-=d;this.stoneValInProcessing=d}else b=0,c=1;break;case 1:b=0,c=1,this.visual.showStoneProcessingCompletion(),this.totalProcessingsMade+=this.stoneValInProcessing,this.outputOfStone.modValueBy(this.stoneValInProcessing),this.stoneValInProcessing=0}this.deliveryPhase=b;this.phi4FullCycle=
c;this.startVisualsOfPhase(this.deliveryPhase);return a};BricksProducerTent.prototype.startVisualsOfPhase=function(a){switch(a){case 1:this.visual.startStoneProcessing(this.phi4FullCycle/this.ownPhiGeneration,this.inputBuffer)}};BricksProducerTent.prototype.playReceivingAnimationFrom=function(a,b){this.visual.playReceivingAnimationFrom(a,b)};
BricksProducerTent.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);1==this.deliveryPhase&&this.visual.updateStoneProcessingAnimationsAtLambda(Math.min(Math.max(this.gatheredPhiInCurrentState/this.phi4FullCycle,0),1))};BricksProducerTent.prototype.modValueBy=function(a){this.inputBuffer+=a;this.visual.showInputBufferVal(this.inputBuffer)};
BricksProducerTent.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new BricksProducerTentVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);1==this.deliveryPhase&&this.visual.showProductionDebris(this.phi4FullCycle-this.gatheredPhiInCurrentState)};
BricksProducerTent.prototype.clickEffect=function(){1==this.deliveryPhase&&(this.receivePhi(.25*this.phi4FullCycle*this.myWorld.getMasterTapCoef()),this.playSound("saw",.2,!0));this.visual.runAnimId(3,1,0);this.myWorld.hud.animTap()};BricksProducerTent.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
BricksProducerTent.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.inputBuffer;a[b+1]=this.stoneValInProcessing;a[b+2]=this.deliveryPhase;return b+3};BricksProducerTent.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.inputBuffer=a[b+0];this.stoneValInProcessing=a[b+1];this.deliveryPhase=a[b+2];return b+3};
var MainBabelTower=function(a,b,c){BasicGameObject.call(this,a,b,c);this.phi4FullCycle=this.ownPhiGeneration=1;this.brickSupplyObject=null;this.numAttemtsWithEmptySupply=this.transportedBricks=this.bricksInCurrentStorey=this.deliveryPhase=this.numStoriesBuilt=0;this.lookingBricks4Myself=!0;this.timeSinceLastWindowOpening=0;this.timeBetweenWindowCloses=this.timeBetweenWindowOpens=this.myWorld.ballanser.timeBetweenWindowOpensInTower;this.neededResourceId=0;this.connectedJumper=this.connectedMoonTower=
this.connectedCrane=null};$jscomp.inherits(MainBabelTower,BasicGameObject);MainBabelTower.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new MainBabelTowerVisual(this.scene,this.grp,this.x,this.y);for(var a=0;a<this.numStoriesBuilt;a++)this.visual.fixNewStorageBuildCompletion(a);for(a=0;a<this.bricksInCurrentStorey;a++)this.visual.addBricks(1,"none")};
MainBabelTower.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
MainBabelTower.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:var d=this.getCoefOfBricksConversion();0==this.numStoriesBuilt?this.lookingBricks4Myself=!0:this.connectedCrane&&(this.lookingBricks4Myself=this.connectedCrane.canDeliverBricks2Tower());this.brickSupplyObject.valInside>=1*d&&(0==this.numStoriesBuilt?(b=1,c=2):null!=this.connectedCrane&&this.connectedCrane.canDeliverBricks2Tower()&&(b=1,c=2));break;case 1:d=this.getCoefOfBricksConversion(this.neededResourceId);
this.brickSupplyObject.valInside>=1*d?(this.transportedBricks=1,c=b=2,this.brickSupplyObject.modValueBy(-1*d)):(c=b=2,this.transportedBricks=0);break;case 2:if(0==this.numStoriesBuilt){b=window.bottleScreen.config.completeStoreyQuickly?48:this.calcBricksBonusFromMoon();this.myWorld.countArtifactsOfCode("purch_trowel")&&(b*=2);for(c=0;c<b;c++)this.addBricks(this.transportedBricks,"ground");b=0;c=1;this.transportedBricks=0}else 0<this.transportedBricks&&(b=3,c=2*this.numStoriesBuilt*Math.sqrt(this.getCoefOfBricksConversion()));
break;case 3:console.log("tower phaser 3 completed");b=window.bottleScreen.config.completeStoreyQuickly?48:this.calcBricksBonusFromMoon();this.myWorld.countArtifactsOfCode("purch_trowel")&&(b*=2);for(c=0;c<b;c++)this.addBricks(this.transportedBricks,"crane");b=0;c=1;this.transportedBricks=0}this.deliveryPhase=b;this.phi4FullCycle=c;this.startVisualsOfPhase(this.deliveryPhase);return a};
MainBabelTower.prototype.receiveUpBrick=function(a,b){if(0<a){a=window.bottleScreen.config.completeStoreyQuickly?48:this.calcBricksBonusFromMoon();this.myWorld.countArtifactsOfCode("purch_trowel")&&(a*=2);for(var c=0;c<a;c++)this.addBricks(this.transportedBricks,b);this.transportedBricks=0}this.deliveryPhase=0;this.phi4FullCycle=1;this.startVisualsOfPhase(this.deliveryPhase)};
MainBabelTower.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);this.timeSinceLastWindowOpening+=this.timePassedSinceLastCheck;this.timeSinceLastWindowOpening>=this.timeBetweenWindowOpens&&(this.visual.showOpenedWindow(this.myWorld.getMasterTimeCoef(),this.timeBetweenWindowCloses),this.timeSinceLastWindowOpening=0)};
MainBabelTower.prototype.startVisualsOfPhase=function(a){switch(a){case 1:this.visual.startHumanMove(this.phi4FullCycle);this.connectedCrane&&this.connectedCrane.visual.startElevatorMoveDown(this.phi4FullCycle);break;case 2:this.visual.startHumanBackMove(this.phi4FullCycle,this.transportedBricks);break;case 3:this.connectedCrane&&this.connectedCrane.startPhaseImmediately(this,3,this.phi4FullCycle)}0==a&&this.lookingBricks4Myself?(this.numAttemtsWithEmptySupply++,30==this.numAttemtsWithEmptySupply&&
this.visual.startManifestation(window.bottleScreen.utils.showNumberAsText(this.getCoefOfBricksConversion())+" TXID_GOODS_BRICKS")):30<=this.numAttemtsWithEmptySupply&&(this.visual.stopManifestation(),this.numAttemtsWithEmptySupply=0)};
MainBabelTower.prototype.completeCurrentStoreyBuilding=function(){this.visual.fixNewStorageBuildCompletion(this.numStoriesBuilt);this.numStoriesBuilt++;this.bricksInCurrentStorey=0;this.myWorld.react2TowerStoreyCompletion(this);window.bottleScreen.statsWrapper.sendEvent("floor_built_"+this.myWorld.numRestarts,""+this.numStoriesBuilt,1)};MainBabelTower.prototype.getStoreyFloorY=function(a){return this.visual.getStoreyFloorY(a)};
MainBabelTower.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==BungeeJumper&&(this.connectedJumper=a.obTo)};
MainBabelTower.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==BricksStorage&&(this.brickSupplyObject=a.obFrom);a.obFrom.myClass==Crane&&(this.connectedCrane=a.obFrom);a.obFrom.myClass==MoonStoneTower&&(this.connectedMoonTower=a.obFrom)};MainBabelTower.prototype.createStartBrickFromGoldenBricks=function(a){for(;0<a;){var b=this.getCoefOfGoldenBricksConversion();this.addBricks(1,"none");a-=b}};
MainBabelTower.prototype.addBricks=function(a,b){if(0<a){this.connectedMoonTower&&1<this.calcBricksBonusFromMoon()&&this.connectedMoonTower.highlightMainTower(this);var c=this.getNumBrick2CompleteStorey();this.visual.addBricks(a,b);this.bricksInCurrentStorey+=a;c<=a&&this.completeCurrentStoreyBuilding()}};
MainBabelTower.prototype.calcBricksBonusFromMoon=function(){var a=1;if(this.connectedMoonTower){var b=this.connectedMoonTower.baseLevelOnTower+this.connectedMoonTower.numStoriesBuilt-this.numStoriesBuilt;0<b&&(a+=b)}return a};MainBabelTower.prototype.getNumBrick2CompleteStorey=function(){return this.visual.getNumBrick2CompleteStorey()};MainBabelTower.prototype.getCoefOfGoldenBricksConversion=function(){return this.myWorld.ballanser.getCoefOfColdenBricksCoversion(this)};
MainBabelTower.prototype.getCoefOfBricksConversion=function(){return this.myWorld.ballanser.getCoefOfTowerBricksConversion(this)};MainBabelTower.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b);this.visual.hasTappedOnSecretGold(a,b)&&this.giveWindowGold()};
MainBabelTower.prototype.updateAdditionalParams=function(){this.connectedJumper&&(this.timeBetweenWindowOpens=this.myWorld.ballanser.timeBetweenWindowOpensInTower*this.connectedJumper.getTimeCoef(),this.timeBetweenWindowCloses=.9*this.timeBetweenWindowOpens)};
MainBabelTower.prototype.giveWindowGold=function(){var a=this.myWorld.ballanser.calcReward4TapOnGoldInTower(this);this.connectedJumper&&(a*=this.connectedJumper.getMoneyBonus());var b=this.getMoneyWindowCoords();this.visual.showGoldGrab(b.x+this.x,b.y+this.y);this.myWorld.receiveResource("money",a);this.myWorld.myEftController.showEffect(b.x+this.x,b.y+this.y,EffectMoney,{txt:window.bottleScreen.utils.showNumberAsText(a)});this.playSound("coinDrop",0,!0)};MainBabelTower.prototype.hasMoneyWindow=function(){return this.visual.hasMoneyWindow()};
MainBabelTower.prototype.getMoneyWindowCoords=function(){return this.visual.getMoneyWindowCoords()};MainBabelTower.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.numStoriesBuilt;a[b+1]=this.deliveryPhase;a[b+2]=this.bricksInCurrentStorey;a[b+3]=this.transportedBricks;return b+4};
MainBabelTower.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.numStoriesBuilt=a[b+0];this.deliveryPhase=a[b+1];this.bricksInCurrentStorey=a[b+2];this.transportedBricks=a[b+3];return b+4};
var Crane=function(a,b,c){BasicGameObject.call(this,a,b,c);this.phi4FullCycle=this.ownPhiGeneration=1;this.brickSupplyObject=null;this.numAttemtsWithEmptySupply=this.transportedBricks=this.bricksInCurrentStorey=this.deliveryPhase=this.numStoriesBuilt=0;this.callerOfWork=this.connectedTower=null;this.hasCannon=this.isWorking4Tower=!1;this.powderSupplyObject=this.connectedCannon=null;this.createAutoClicker()};$jscomp.inherits(Crane,BasicGameObject);
Crane.prototype.getSpeedBonus=function(){return this.hasCannon?1E4:1};Crane.prototype.getOwnPhiGeneration=function(){return this.ownPhiGeneration*this.getSpeedBonus()};
Crane.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new CraneVisual(this.scene,this.grp,this.x,this.y);for(var a=0;a<this.numStoriesBuilt;a++)this.visual.fixNewStorageBuildCompletion(a);for(a=0;a<this.bricksInCurrentStorey;a++)this.visual.addBricks(1);3==this.deliveryPhase&&(this.isWorking4Tower?this.visual.startElevatorMove(this.phi4FullCycle,this.transportedBricks,"brick"):this.visual.startElevatorMove(this.phi4FullCycle,this.transportedBricks,"desk"));
6==this.deliveryPhase&&this.visual.startElevatorMove(this.phi4FullCycle,this.transportedBricks,"gunpowder")};Crane.prototype.removeDesks2ReduceSize=function(a){var b=0;for(this.numStoriesBuilt>=a&&0<this.bricksInCurrentStorey&&(b+=this.bricksInCurrentStorey*this.getCoefOfBricksConversion());this.numStoriesBuilt>a;)this.numStoriesBuilt--,b+=this.visual.getTotalBricksInStorey()*this.getCoefOfBricksConversion();this.visual.showReducedHeight(this.numStoriesBuilt);return b};
Crane.prototype.canDeliverBricks2Tower=function(){return this.numStoriesBuilt>=3*this.connectedTower.numStoriesBuilt||this.hasCannon&&this.isCannonCharged()};Crane.prototype.isCannonCharged=function(){return this.connectedCannon?this.connectedCannon.isCharged:!1};Crane.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
Crane.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:if(this.hasCannon)this.connectedCannon.isCharged||(d=this.getCoefOfGunPowderConversion(),this.powderSupplyObject.valInside>=1*d&&(b=4,c=.4));else if(this.numStoriesBuilt<3*this.connectedTower.numStoriesBuilt){var d=this.getCoefOfBricksConversion();this.brickSupplyObject.valInside>=1*d&&(b=1,c=2)}break;case 1:d=this.getCoefOfBricksConversion();this.brickSupplyObject.valInside>=1*d?(this.transportedBricks=
1,c=b=2,this.brickSupplyObject.modValueBy(-1*d)):(c=b=2,this.transportedBricks=0);break;case 2:if(0==this.numStoriesBuilt){b=window.bottleScreen.config.completeStoreyQuickly?5:1;for(c=0;c<b;c++)this.addBricks(this.transportedBricks);this.myWorld.countArtifactsOfCode("purch_trowel")&&this.addBricks(this.transportedBricks);b=0;c=1;this.transportedBricks=0}else 0<this.transportedBricks?(b=3,c=.33*this.numStoriesBuilt*Math.sqrt(this.getCoefOfBricksConversion())):(b=0,c=1);break;case 3:this.visual.stopMovingUpAnimation();
if(this.isWorking4Tower)this.hasCannon?0<this.transportedBricks&&(this.connectedCannon.shootBrick2Tower(this.connectedTower),this.transportedBricks=0,this.isWorking4Tower=!1,b=0,c=1):(this.connectedTower.receiveUpBrick(this.transportedBricks,"crane"),this.transportedBricks=0,this.isWorking4Tower=!1,b=0,c=1);else{b=window.bottleScreen.config.completeStoreyQuickly?5:1;for(c=0;c<b;c++)this.addBricks(this.transportedBricks);0<this.myWorld.countArtifactsOfCode("purch_trowel")&&this.addBricks(this.transportedBricks);
b=0;c=1;this.transportedBricks=0}break;case 4:d=this.getCoefOfGunPowderConversion();this.powderSupplyObject.valInside>=1*d?(this.transportedBricks=1,b=5,c=.4,this.powderSupplyObject.modValueBy(-1*d)):(b=5,c=.4,this.transportedBricks=0);break;case 5:0<this.transportedBricks?(b=6,c=.33*this.numStoriesBuilt*Math.sqrt(this.getCoefOfBricksConversion())):(b=0,c=1);break;case 6:this.visual.stopMovingUpAnimation(),this.connectedCannon.getCharged(),b=this.transportedBricks=0,c=1}this.deliveryPhase=b;this.phi4FullCycle=
c;this.startVisualsOfPhase(this.deliveryPhase);return a};Crane.prototype.startPhaseImmediately=function(a,b,c){this.callerOfWork=a;this.isWorking4Tower=!0;this.transportedBricks=1;this.deliveryPhase=b;this.phi4FullCycle=c;this.visual.startElevatorMove(this.phi4FullCycle,1,"brick")};
Crane.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);3!=this.deliveryPhase&&6!=this.deliveryPhase||this.visual.updateElevatorAnimationsAtLambda(Math.min(Math.max(this.gatheredPhiInCurrentState/this.phi4FullCycle,0),1),.1)};
Crane.prototype.startVisualsOfPhase=function(a,b){switch(a){case 1:this.visual.startHumanMove(this.phi4FullCycle);0<this.numStoriesBuilt&&this.visual.startElevatorMoveDown(this.phi4FullCycle);break;case 2:this.visual.startHumanBackMove(this.phi4FullCycle,this.transportedBricks);break;case 3:this.visual.startElevatorMove(this.phi4FullCycle,this.transportedBricks,"desk");break;case 4:this.visual.startElevatorMoveDown(this.phi4FullCycle);break;case 5:this.visual.startGunPowderSackMove(this.phi4FullCycle,
this.transportedBricks);break;case 6:this.visual.startElevatorMove(this.phi4FullCycle,this.transportedBricks,"gunpowder")}0!=a||this.connectedTower.lookingBricks4Myself?5<=this.numAttemtsWithEmptySupply&&(this.visual.stopManifestation(),this.numAttemtsWithEmptySupply=0):(this.numAttemtsWithEmptySupply++,5==this.numAttemtsWithEmptySupply&&(this.hasCannon?this.visual.startManifestation(window.bottleScreen.utils.showNumberAsText(this.getCoefOfGunPowderConversion())+" TXID_GOODS_GUNPOWDER"):this.visual.startManifestation(window.bottleScreen.utils.showNumberAsText(this.getCoefOfBricksConversion())+
" TXID_GOODS_PLANKS")))};Crane.prototype.completeCurrentStoreyBuilding=function(){this.visual.fixNewStorageBuildCompletion(this.numStoriesBuilt);this.numStoriesBuilt++;this.bricksInCurrentStorey=0;this.myWorld.react2CraneStoreyCompletion(this);window.bottleScreen.statsWrapper.sendEvent("crane_built_"+this.myWorld.numRestarts,""+this.numStoriesBuilt,1)};
Crane.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==PlanksStorage&&(this.brickSupplyObject=a.obFrom);a.obFrom.myClass==GunPowderStorage&&(this.powderSupplyObject=a.obFrom)};
Crane.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obTo.myClass==MainBabelTower&&(this.connectedTower=a.obTo);a.obTo.myClass==Cannon&&(this.connectedCannon=a.obTo,this.hasCannon=!0)};Crane.prototype.getStoreyFloorY=function(a){return this.visual.getStoreyFloorY(a)};Crane.prototype.addBricks=function(a){if(0<a){var b=this.getNumBrick2CompleteStorey();this.visual.addBricks(a);this.bricksInCurrentStorey+=a;b<=a&&this.completeCurrentStoreyBuilding()}};
Crane.prototype.getNumBrick2CompleteStorey=function(){return this.visual.getNumBrick2CompleteStorey()};Crane.prototype.getCoefOfBricksConversion=function(){return this.myWorld.ballanser.getCoefOfCranePlanksConversion(this)};Crane.prototype.getCoefOfGunPowderConversion=function(){return this.connectedCannon.getPowderCharge(3*this.connectedTower.numStoriesBuilt-this.numStoriesBuilt)};
Crane.prototype.clickEffect=function(){this.visual.startWave();if(3==this.deliveryPhase||6==this.deliveryPhase)this.receivePhi(10*this.myWorld.getMasterTapCoef()*this.getSpeedBonus()),this.myWorld.hud.animTap(),this.playSound("windmillMechanism",.6,!1)};Crane.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
Crane.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.numStoriesBuilt;a[b+1]=this.deliveryPhase;a[b+2]=this.bricksInCurrentStorey;a[b+3]=this.transportedBricks;a[b+4]=this.isWorking4Tower?1:0;return b+5};
Crane.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.numStoriesBuilt=a[b+0];this.deliveryPhase=a[b+1];this.bricksInCurrentStorey=a[b+2];this.transportedBricks=a[b+3];this.isWorking4Tower=1==a[b+4];return b+5};
var WaterWell=function(a,b,c){BasicGameObject.call(this,a,b,c);this.waterSpent=this.draggedVal=this.ownPhiGeneration=0;this.waterInside=this.maxWaterInside=this.myWorld.ballanser.wellMaxWater;this.autoGrowthSpeed=this.myWorld.ballanser.waterGrowthSpeed;this.waterPurchCoef=1};$jscomp.inherits(WaterWell,BasicGameObject);WaterWell.prototype.updateAdditionalParams=function(){var a=1;0<this.myWorld.countArtifactsOfCode("purch_bucket")&&(a=5);this.waterPurchCoef=a};
WaterWell.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new WaterWellVisual(this.scene,this.grp,this.x,this.y)};WaterWell.prototype.react2Down=function(a,b){this.startDraggingVal(Math.min(3*this.myWorld.getMasterTapCoef(),this.waterInside))};
WaterWell.prototype.react2Up=function(a,b){0<this.draggedVal&&((a=this.myWorld.findObjectUnderPointer(a,b,[Forest]))?a.myClass==Forest?(a.receiveWater(this.draggedVal),a.showMisleadTreeGrowth(),this.dropDraggedVal(),this.playSound("waterFlush",.2,!0)):this.returnDraggedVal():this.returnDraggedVal())};WaterWell.prototype.react2Out=function(){this.returnDraggedVal()};WaterWell.prototype.react2Move=function(a,b){return 0<this.draggedVal?(this.visual.showValDragging(a,b),!0):!1};
WaterWell.prototype.startDraggingVal=function(a){0<a&&(this.draggedVal=a,this.visual.showDraggedVal())};WaterWell.prototype.returnDraggedVal=function(){this.draggedVal=0;this.visual.returnDraggedVal()};WaterWell.prototype.dropDraggedVal=function(){this.waterSpent+=this.draggedVal;this.draggedVal=0;this.visual.dropDraggedVal()};WaterWell.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);this.receiveWater(this.getAutoGrowth()*this.timePassedSinceLastCheck)};
WaterWell.prototype.receiveWater=function(a){0<a&&(a*=this.waterPurchCoef);this.waterInside+=a;this.waterInside>=this.maxWaterInside&&(this.waterInside=this.maxWaterInside);0>this.waterInside&&(this.waterInside=0)};WaterWell.prototype.receiveWaterFromDrillWithOverflow=function(a){this.waterInside+=a;this.waterInside>this.maxWaterInside&&(this.maxWaterInside=this.waterInside)};WaterWell.prototype.getAutoGrowth=function(){return this.autoGrowthSpeed*this.myWorld.getMasterProdCoef()};
WaterWell.prototype.updateInterfaceOnVisual=function(){BasicGameObject.prototype.updateInterfaceOnVisual.call(this);this.visual.showWaterLevel(this.waterInside,this.maxWaterInside)};WaterWell.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.waterSpent;a[b+1]=this.waterInside;a[b+2]=this.maxWaterInside;a[b+3]=this.draggedVal;return b+4};
WaterWell.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.waterSpent=a[b+0];this.waterInside=a[b+1];this.maxWaterInside=a[b+2];this.draggedVal=a[b+3];this.waterInside+=this.draggedVal;this.draggedVal=0;return b+4};
var Forest=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=0;this.connectedStorage=null;this.woodInside=this.maxWoodInside=this.myWorld.ballanser.forestMaxWood;this.autoGrowthSpeed=this.myWorld.ballanser.forestGrowthSpeed;this.timeBetweenProductions=.5;this.value2Produce=this.lastProductionMoment=0;this.param_tapChopPower=this.myWorld.ballanser.forestTapUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_tapChopPower);this.upgradePriceFunction=this.myWorld.ballanser.getForestUpgradePrice;
this.param_numAutoChoppers=this.myWorld.ballanser.forestNumChoppersUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_numAutoChoppers);this.createAutoClicker();this.forestPurchCoef=this.waterPurchCoef=1};$jscomp.inherits(Forest,BasicGameObject);Forest.prototype.updateAdditionalParams=function(){var a=1;0<this.myWorld.countArtifactsOfCode("purch_bucket")&&(a=5);this.waterPurchCoef=a;a=1;0<this.myWorld.countArtifactsOfCode("purch_tree")&&(a=5);this.forestPurchCoef=a};
Forest.prototype.getAutoGrowth=function(){return this.autoGrowthSpeed*this.myWorld.getMasterProdCoef()};Forest.prototype.getOwnPhiGeneration=function(){return this.param_numAutoChoppers.getValue4Level(this.currentLevel)*this.param_tapChopPower.getValue4Level(this.currentLevel)};
Forest.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new ForestVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);var a=this.param_numAutoChoppers.getValue4Level(this.currentLevel);this.visual.createMiners(a)};Forest.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
Forest.prototype.handleCycleCompletion=function(a){var b=Math.min(a*this.myWorld.getMasterProdCoef(),this.woodInside);this.woodInside-=b;this.value2Produce+=b;return a};Forest.prototype.receiveWater=function(a){0<a&&(a*=this.waterPurchCoef);this.addWood(a)};Forest.prototype.getNeededWater=function(){return(this.maxWoodInside-this.woodInside)/(this.waterPurchCoef*this.forestPurchCoef)};
Forest.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);1<=this.value2Produce&&(this.lastCalculatedGameMoment-this.lastProductionMoment>=this.timeBetweenProductions||this.lastCalculatedGameMoment<this.lastProductionMoment)&&(a=Math.floor(this.value2Produce),this.connectedStorage&&(this.connectedStorage.modValueBy(a),this.totalProcessingsMade+=a),this.visual.runAnimId(1,1,0),this.value2Produce-=a,this.lastProductionMoment=this.lastCalculatedGameMoment);
this.addWood(this.getAutoGrowth()*this.timePassedSinceLastCheck)};Forest.prototype.addWood=function(a){0<a&&(a*=this.forestPurchCoef);this.woodInside+=a;this.woodInside>=this.maxWoodInside&&(this.woodInside=this.maxWoodInside)};Forest.prototype.incMaxTrees=function(a){this.maxWoodInside+=a*this.forestPurchCoef};
Forest.prototype.clickEffect=function(){this.receivePhi(this.phi4FullCycle*this.param_tapChopPower.getValue4Level(this.currentLevel)*this.myWorld.getMasterTapCoef());this.visual.runAnimId(0,1,0);this.myWorld.hud.animTap();this.playSound("chopSound",.2,!0)};Forest.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
Forest.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==WoodStorage&&(this.connectedStorage=a.obTo)};Forest.prototype.performUpgrade=function(a,b){var c=this.param_numAutoChoppers.getValue4Level(this.currentLevel);BasicGameObject.prototype.performUpgrade.call(this,a,b);a=this.param_numAutoChoppers.getValue4Level(this.currentLevel);a>c&&this.visual.createMiners(a-c)};
Forest.prototype.updateInterfaceOnVisual=function(){BasicGameObject.prototype.updateInterfaceOnVisual.call(this);this.visual.showWoodValue(this.woodInside,this.maxWoodInside)};Forest.prototype.showMisleadTreeGrowth=function(){this.visual.showMisleadTreeGrowth(this.lastCalculatedGameMoment)};Forest.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.value2Produce;a[b+1]=this.maxWoodInside;a[b+2]=this.woodInside;a[b+3]=this.autoGrowthSpeed;return b+4};
Forest.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.value2Produce=a[b+0];this.maxWoodInside=a[b+1];this.woodInside=a[b+2];this.autoGrowthSpeed=a[b+3];return b+4};
var Lumbermill=function(a,b,c){BasicGameObject.call(this,a,b,c);this.outputOfStone=null;this.deliveryPhase=this.stoneValInProcessing=this.inputBuffer=0;this.ownPhiGeneration=this.phi4FullCycle=1;this.param_processingSpeed=this.myWorld.ballanser.lumbermillSpeedUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_processingSpeed);this.param_processingValue=this.myWorld.ballanser.lumbermillValueUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_processingValue);this.upgradePriceFunction=
this.myWorld.ballanser.getLumbermillUpgradePrice;this.createAutoClicker()};$jscomp.inherits(Lumbermill,BasicGameObject);Lumbermill.prototype.getOwnPhiGeneration=function(){return this.param_processingSpeed.getValue4Level(this.currentLevel)};Lumbermill.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==PlanksStorage&&(this.outputOfStone=a.obTo)};
Lumbermill.prototype.updateInterfaceOnVisual=function(){BasicGameObject.prototype.updateInterfaceOnVisual.call(this);this.visual.showStoneValue(this.inputBuffer)};
Lumbermill.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));if(41<this.gatheredPhiInCurrentState){var a=Math.floor(this.gatheredPhiInCurrentState/41);this.gatheredPhiInCurrentState%=41;this.handleFullCyclesCompletion(a)}this.gatheredPhiInCurrentState>this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),this.handleCycleCompletion(1))};
Lumbermill.prototype.getValueInOneProcessing=function(){return this.param_processingValue.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};Lumbermill.prototype.handleFullCyclesCompletion=function(a){a*=this.getValueInOneProcessing();a=Math.min(a,this.inputBuffer);this.inputBuffer-=a;this.totalProcessingsMade+=a;this.outputOfStone.modValueBy(a)};
Lumbermill.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:if(0<this.inputBuffer){b=1;c=40;var d=this.getValueInOneProcessing();d=Math.min(d,this.inputBuffer);this.inputBuffer-=d;this.stoneValInProcessing=d}else b=0,c=1;break;case 1:b=0,c=1,this.visual.showStoneProcessingCompletion(),this.totalProcessingsMade+=this.stoneValInProcessing,this.outputOfStone.modValueBy(this.stoneValInProcessing),this.stoneValInProcessing=0}this.deliveryPhase=b;this.phi4FullCycle=
c;this.startVisualsOfPhase(this.deliveryPhase);return a};Lumbermill.prototype.startVisualsOfPhase=function(a){switch(a){case 1:this.visual.startStoneProcessing(this.phi4FullCycle/this.ownPhiGeneration,this.inputBuffer)}};Lumbermill.prototype.playReceivingAnimationFrom=function(a,b){this.visual.playReceivingAnimationFrom(a,b)};
Lumbermill.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);1==this.deliveryPhase&&this.visual.updateStoneProcessingAnimationsAtLambda(Math.min(Math.max(this.gatheredPhiInCurrentState/this.phi4FullCycle,0),1))};Lumbermill.prototype.modValueBy=function(a){this.inputBuffer+=a;this.visual.showInputBufferVal(this.inputBuffer)};
Lumbermill.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new LumbermillVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);1==this.deliveryPhase&&this.visual.showProductionDebris(this.phi4FullCycle-this.gatheredPhiInCurrentState)};
Lumbermill.prototype.clickEffect=function(){1==this.deliveryPhase&&(this.receivePhi(.25*this.phi4FullCycle*this.myWorld.getMasterTapCoef()),this.playSound("woodSaw",.2,!0));this.visual.runAnimId(3,1,0);this.myWorld.hud.animTap()};Lumbermill.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
Lumbermill.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.inputBuffer;a[b+1]=this.stoneValInProcessing;a[b+2]=this.deliveryPhase;return b+3};Lumbermill.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.inputBuffer=a[b+0];this.stoneValInProcessing=a[b+1];this.deliveryPhase=a[b+2];return b+3};
var WaterPump=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.phi4FullCycle=2;this.connectedWaterAcceptor=this.connectedWaterSource=null;this.param_Power=this.myWorld.ballanser.waterPumpPowerUpgrader.clone4Machine(this);this.param_Power.valAt0=1;this.upgradedParams.push(this.param_Power);this.upgradePriceFunction=this.myWorld.ballanser.getPumpPowerUpgradePrice;this.createAutoClicker()};$jscomp.inherits(WaterPump,BasicGameObject);
WaterPump.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new WaterPumpVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};WaterPump.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
WaterPump.prototype.handleCycleCompletion=function(a){if(this.connectedWaterAcceptor){var b=a*this.param_Power.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef();b=Math.min(b,this.connectedWaterSource.waterInside);b=Math.min(b,this.connectedWaterAcceptor.getNeededWater());this.connectedWaterAcceptor.receiveWater(b);this.connectedWaterSource.receiveWater(-b)}return a};
WaterPump.prototype.clickEffect=function(){this.receivePhi(this.phi4FullCycle*this.myWorld.getMasterTapCoef());this.visual.runAnimId(8,1,0);this.visual.runAnimId(9,1,0);this.visual.runAnimId(10,1,0);this.myWorld.hud.animTap();this.playSound("hoseWater",.2,!0)};WaterPump.prototype.react2Down=function(a,b){BasicGameObject.prototype.react2Down.call(this,a,b)};
WaterPump.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==WaterWell&&(this.connectedWaterSource=a.obFrom)};WaterPump.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obTo.myClass==Forest&&(this.connectedWaterAcceptor=a.obTo)};
var DrummerOnBalcony=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.phi4FullCycle=999999999;this.param_SpeedInc=this.myWorld.ballanser.drumPowerUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_SpeedInc);this.upgradePriceFunction=this.myWorld.ballanser.getDrumUpgradePrice;this.boostingPower=this.lastClickMoment=0;this.createAutoClicker()};$jscomp.inherits(DrummerOnBalcony,BasicGameObject);
DrummerOnBalcony.prototype.getSpeedInfluenceByDrum=function(){return 1+this.param_SpeedInc.getValue4Level(this.currentLevel)*(1+this.boostingPower)};DrummerOnBalcony.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);0<this.boostingPower&&1<this.lastCalculatedGameMoment-this.lastClickMoment&&(this.boostingPower=0)};DrummerOnBalcony.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,this.phiAddedSinceLastCheck4Anim)};
DrummerOnBalcony.prototype.getOwnPhiGeneration=function(){return this.ownPhiGeneration*(1+Math.log(this.boostingPower+1))};DrummerOnBalcony.prototype.clickEffect=function(){this.boostingPower=this.myWorld.getMasterTapCoef();this.lastClickMoment=this.lastCalculatedGameMoment;this.myWorld.hud.animTap();this.playSound("drum",.2,!0)};
DrummerOnBalcony.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new DrummerOnBalconyVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};DrummerOnBalcony.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.boostingPower;return b+1};DrummerOnBalcony.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.boostingPower=a[b+0];return b+1};
var SmokeMachine=function(a,b,c){BasicGameObject.call(this,a,b,c);this.phi4FullCycle=this.ownPhiGeneration=1;this.param_Power=this.myWorld.ballanser.smokePowerUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_Power);this.upgradePriceFunction=this.myWorld.ballanser.getSmokePowerUpgradePrice;this.coefFromTap=1;this.lastTapTime=0;this.connectedCloud=null;this.createAutoClicker()};$jscomp.inherits(SmokeMachine,BasicGameObject);
SmokeMachine.prototype.onJustCreated=function(){var a=this.myWorld.createObject(RainCloud,[this.x+563,this.y-300]);this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1])};SmokeMachine.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new SmokeMachineVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
SmokeMachine.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};SmokeMachine.prototype.handleCycleCompletion=function(a){this.connectedCloud&&this.connectedCloud.receiveWater(a*this.param_Power.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef())};
SmokeMachine.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==RainCloud&&(this.connectedCloud=a.obTo)};SmokeMachine.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,.02*this.coefFromTap)};
SmokeMachine.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);1<this.coefFromTap&&.5<this.lastCalculatedGameMoment-this.lastTapTime&&(this.coefFromTap=1)};SmokeMachine.prototype.clickEffect=function(){this.receivePhi(.25*this.phi4FullCycle*this.myWorld.getMasterTapCoef());this.myWorld.hud.animTap();this.coefFromTap=1+this.myWorld.getMasterTapCoef();this.lastTapTime=this.lastCalculatedGameMoment;this.playSound("pumpSound",.2,!0)};
var RainCloud=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=0;this.phi4FullCycle=1;this.growthPercentage=this.deliveryPhase=this.waterInside=0;this.maxWaterInside=1E3;this.waterOutgoingSpeed=100;this.createAutoClicker()};$jscomp.inherits(RainCloud,BasicGameObject);
RainCloud.prototype.onJustCreated=function(){for(var a=0;a<this.myWorld.objects.length;a++)this.myWorld.objects[a].myClass!=Forest&&this.myWorld.objects[a].myClass!=WaterWell||this.myWorld.createObject(SimpleConnection,[this.arId,this.myWorld.objects[a].arId,1,-1,-1])};RainCloud.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new RainCloudVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);1==this.deliveryPhase&&this.visual.startRaining()};
RainCloud.prototype.updateInterfaceOnVisual=function(){BasicGameObject.prototype.updateInterfaceOnVisual.call(this);this.visual.showWaterValueInCloud(this.waterInside,this.maxWaterInside)};
RainCloud.prototype.receiveWater=function(a){this.waterInside+=a;this.waterInside>=this.maxWaterInside&&(this.maxWaterInside=this.waterInside,0==this.deliveryPhase&&(this.deliveryPhase=1,this.waterOutgoingSpeed=this.waterInside/Math.pow(1.1,60),this.visual.startRaining()));0>=this.waterInside&&(this.waterInside=0,1==this.deliveryPhase&&(this.deliveryPhase=0,this.waterOutgoingSpeed=100,this.visual.stopRaining()))};
RainCloud.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);if(1==this.deliveryPhase){a=this.waterOutgoingSpeed*this.timePassedSinceLastCheck;a>this.waterInside&&(a=this.waterInside);this.waterOutgoingSpeed*=Math.pow(1.1,this.timePassedSinceLastCheck);var b=this.outgoingConnections.length;if(0<b){b=a/b;for(var c=0;c<this.outgoingConnections.length;c++){var d=this.outgoingConnections[c].obTo;d.myClass==Forest&&d.incMaxTrees(b/10);d.receiveWater(b)}}this.receiveWater(-a)}};
RainCloud.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.waterInside;a[b+1]=this.deliveryPhase;a[b+2]=this.growthPercentage;a[b+3]=this.maxWaterInside;a[b+4]=this.waterOutgoingSpeed;return b+5};RainCloud.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.waterInside=a[b+0];this.deliveryPhase=a[b+1];this.growthPercentage=a[b+2];this.maxWaterInside=a[b+3];this.waterOutgoingSpeed=a[b+4];return b+5};
var Berth4FlyingMachine=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=0;this.phi4FullCycle=1;this.param_moneyValue=this.myWorld.ballanser.berthMoneyUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_moneyValue);this.upgradePriceFunction=this.myWorld.ballanser.getBerthUpgradePrice;this.createAutoClicker()};$jscomp.inherits(Berth4FlyingMachine,BasicGameObject);
Berth4FlyingMachine.prototype.getValueOfMoneyFromTourists=function(){return this.param_moneyValue.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};Berth4FlyingMachine.prototype.onJustCreated=function(){var a=this.myWorld.createObject(Zeppelin,[this.x-511-1E3,this.y-268-300]);this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1])};
Berth4FlyingMachine.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new Berth4FlyingMachineVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};Berth4FlyingMachine.prototype.startPassengersAnimation=function(){this.visual.startPassengersAnimation()};
var Zeppelin=function(a,b,c){BasicGameObject.call(this,a,b,c);this.phi4FullCycle=this.ownPhiGeneration=1;this.pathLength=this.y1=this.x1=this.y0=this.x0=this.deliveryPhase=0;this.phi4Fly=100;this.phi4Unload=3;this.phi4Wait=30;this.connectedBerth=null;this.createAutoClicker()};$jscomp.inherits(Zeppelin,BasicGameObject);
Zeppelin.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new ZeppelinVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);3==this.deliveryPhase&&(this.visual.alpha=0)};
Zeppelin.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==Berth4FlyingMachine&&(this.connectedBerth=a.obFrom,b&&(this.deliveryPhase=0,this.x0=this.x,this.y0=this.y,this.x1=this.connectedBerth.x-511,this.y1=this.connectedBerth.y-268,a=this.x1-this.x0,b=this.y1-this.y0,this.pathLength=Math.sqrt(a*a+b*b),this.phi4FullCycle=this.phi4Fly=this.pathLength/100))};
Zeppelin.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));var a=2*this.phi4Fly+this.phi4Unload+this.phi4Wait;if(this.gatheredPhiInCurrentState>a){var b=Math.floor(this.gatheredPhiInCurrentState/a);this.gatheredPhiInCurrentState%=a;this.handleFullCyclesCompletion(b)}this.gatheredPhiInCurrentState>this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),
this.handleCycleCompletion(1))};Zeppelin.prototype.getValueOfMoneyFromTourists=function(){return this.connectedBerth?this.connectedBerth.getValueOfMoneyFromTourists():1};Zeppelin.prototype.handleFullCyclesCompletion=function(a){this.myWorld.receiveResource("money",a*this.getValueOfMoneyFromTourists())};
Zeppelin.prototype.handleCycleCompletion=function(a){var b=(this.deliveryPhase+1)%4,c=1;switch(this.deliveryPhase){case 0:b=1;c=this.phi4Unload;break;case 1:b=2;c=this.phi4Fly;var d=this.x1;this.x1=this.x0;this.x0=d;d=this.y1;this.y1=this.y0;this.y0=d;a*=this.getValueOfMoneyFromTourists();this.myWorld.receiveResource("money",a);this.myWorld.myEftController.showEffect(this.x+200,this.y,EffectMoney,{txt:window.bottleScreen.utils.showNumberAsText(a)});break;case 2:b=3;c=this.phi4Wait;break;case 3:b=
0,c=this.phi4Fly,d=this.x1,this.x1=this.x0,this.x0=d,d=this.y1,this.y1=this.y0,this.y0=d}this.deliveryPhase=b;this.phi4FullCycle=c;this.startVisualsOfPhase(this.deliveryPhase)};
Zeppelin.prototype.startVisualsOfPhase=function(a){switch(a){case 0:this.visual.runAnimId(2,1,0);this.visual.showFlightDirection(this.x1-this.x0);break;case 1:this.visual.runAnimId(0,1,0);this.connectedBerth&&this.connectedBerth.startPassengersAnimation();break;case 2:this.visual.runAnimId(1,1,0);this.visual.showFlightDirection(this.x1-this.x0);break;case 3:this.visual.runAnimId(3,1,0)}};
Zeppelin.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);if(0==this.deliveryPhase||2==this.deliveryPhase)a=this.gatheredPhiInCurrentState/this.phi4FullCycle,1<a&&(a=1),0>a&&(a=0),this.x=this.x0+(this.x1-this.x0)*a,this.y=this.y0+(this.y1-this.y0)*a,this.visual.setPosition(this.x,this.y);if(1==this.deliveryPhase||3==this.deliveryPhase)this.x=this.x1,this.y=this.y1,this.visual.setPosition(this.x,this.y)};
Zeppelin.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.deliveryPhase;a[b+1]=this.x0;a[b+2]=this.y0;a[b+3]=this.x1;a[b+4]=this.y1;a[b+5]=this.pathLength;a[b+6]=0;a[b+7]=this.phi4Fly;a[b+8]=this.phi4Unload;a[b+9]=this.phi4Wait;return b+10};
Zeppelin.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.deliveryPhase=a[b+0];this.x0=a[b+1];this.y0=a[b+2];this.x1=a[b+3];this.y1=a[b+4];this.pathLength=a[b+5];this.phi4Fly=a[b+7];this.phi4Unload=a[b+8];this.phi4Wait=a[b+9];return b+10};
var LiftEngine=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=10;this.phi4FullCycle=1E9;this.impulseFromTap=0;this.param_Power=this.myWorld.ballanser.elevatorEnginePowerUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_Power);this.upgradePriceFunction=this.myWorld.ballanser.getElevatorEnginePowerUpgradePrice;this.connectedElevator=null;this.createAutoClicker()};$jscomp.inherits(LiftEngine,BasicGameObject);
LiftEngine.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new LiftEngineVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};LiftEngine.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==Crane&&(this.connectedElevator=a.obTo)};
LiftEngine.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);this.connectedElevator&&(3==this.connectedElevator.deliveryPhase||6==this.connectedElevator.deliveryPhase)&&this.connectedElevator.receivePhi(this.timePassedSinceLastCheck*this.getOwnPhiGeneration()*this.connectedElevator.getSpeedBonus());this.impulseFromTap*=Math.pow(.5,this.timePassedSinceLastCheck/2)};
LiftEngine.prototype.clickEffect=function(){this.impulseFromTap+=4*this.param_Power.getValue4Level(this.currentLevel)*this.myWorld.getMasterTapCoef();this.myWorld.hud.animTap();this.playSound("cogTick",.2,!0)};LiftEngine.prototype.getOwnPhiGeneration=function(){return this.param_Power.getValue4Level(this.currentLevel)+this.impulseFromTap};
LiftEngine.prototype.actualizeVisuals=function(a){.01>this.phiAddedSinceLastCheck4Anim?BasicGameObject.prototype.actualizeVisuals.call(this,this.phiAddedSinceLastCheck4Anim):BasicGameObject.prototype.actualizeVisuals.call(this,(1+Math.log(100*this.phiAddedSinceLastCheck4Anim))/100)};LiftEngine.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.impulseFromTap;return b+1};
LiftEngine.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.impulseFromTap=a[b+0];return b+1};
var Elephant=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.foodStorage=this.storageTo=this.storageFrom=null;this.foodStorageId=this.storageToId=this.storageFromId=-1;this.resourceName="stone";this.currentlyTransportedVal=this.maxTransportCapacity=0;this.pathLength=1;this.foodRequired=this.y1=this.x1=this.y0=this.x0=this.destY=this.destX=this.storageY=this.storageX=this.baseY=this.baseX=this.deliveryPhase=0;this.eatingPhaseLength=4.5;this.createAutoClicker();this.lastClickBoostCheckMoment=
0;this.boostFromClicks=1;this.param_Capacity=this.myWorld.ballanser.elephantCapacityUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_Capacity);this.upgradePriceFunction=this.myWorld.ballanser.getElephantUpgradePrice};$jscomp.inherits(Elephant,BasicGameObject);Elephant.prototype.initProperties=function(a){a=BasicGameObject.prototype.initProperties.call(this,a);this.x1=this.x0=this.x;this.y1=this.y0=this.y;this.baseX=this.x;this.baseY=this.y;return a+0};
Elephant.prototype.getTransportCapacity=function(){return this.param_Capacity.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};Elephant.prototype.getOwnPhiGeneration=function(){return 1*this.boostFromClicks};Elephant.prototype.calcHungerAfterTransfer=function(a){return a/1E3};
Elephant.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new ElephantVisual(this.scene,this.grp,this.x,this.y,this.resourceName);this.visual.upgBtnCoords.x=this.baseX+150-this.x;this.visual.upgBtnCoords.y=this.baseY-this.y;this.visual.createUpgradeButton(this);this.startVisualsOfPhase(this.deliveryPhase);this.visual.setScale(this.x1>this.x0?-1:1,1)};
Elephant.prototype.clickEffect=function(){this.myWorld.hud.animTap();this.lastClickBoostCheckMoment=this.lastCalculatedGameMoment;this.boostFromClicks=1+.5*this.myWorld.getMasterTapCoef()};
Elephant.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);if(3==this.deliveryPhase||1==this.deliveryPhase||2==this.deliveryPhase){a=this.gatheredPhiInCurrentState/this.phi4FullCycle;1<a&&(a=1);0>a&&(a=0);var b=2==this.deliveryPhase?a:a*a*a;this.x=this.x0+(this.x1-this.x0)*a;this.y=this.y0+(this.y1-this.y0)*b;this.visual.setPosition(this.x,this.y)}};
Elephant.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));var a=window.bottleScreen.utils.getDistBetweenPoints(this.baseX,this.baseY,this.storageX,this.storageY)/50,b=window.bottleScreen.utils.getDistBetweenPoints(this.storageX,this.storageY,this.destX,this.destY)/25,c=window.bottleScreen.utils.getDistBetweenPoints(this.destX,this.destY,this.baseX,this.baseY)/50;a=
a+b+c+this.eatingPhaseLength;this.gatheredPhiInCurrentState>a&&(b=Math.floor(this.gatheredPhiInCurrentState/a),this.gatheredPhiInCurrentState%=a,b=this.handleFullCyclesCompletion(b),this.gatheredPhiInCurrentState+=a*b);this.gatheredPhiInCurrentState>this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),this.handleCycleCompletion(1));this.boostFromClicks=1};
Elephant.prototype.handleFullCyclesCompletion=function(a){var b=a*this.getTransportCapacity(),c=Math.min(b,this.storageFrom.getResVal(this.resourceName)),d=0<b?c/b:1,e=this.calcHungerAfterTransfer(c);b=Math.min(e,this.foodStorage.valInside);e=0<e?b/e:1;d=Math.ceil(a*d*e);d>a&&(d=a);this.storageFrom.modValueBy(-c*e);this.foodStorage.modValueBy(-b);this.totalProcessingsMade+=c;this.storageTo.modValueBy(c*e);return a-d};
Elephant.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case -1:0<this.foodStorage.valInside?(b=0,c=this.eatingPhaseLength,this.visual.startEatingAnimation()):b=-1;break;case 0:b=Math.min(this.foodStorage.valInside,this.foodRequired);this.foodRequired-=b;this.foodStorage.modValueBy(-b);0>=this.foodRequired?(0<this.storageFrom.valInside?(b=1,this.x0=this.x,this.y0=this.y,this.x1=this.storageX,this.y1=this.storageY,this.visual.setScale(this.x1>this.x0?-1:1,1),this.pathLength=
window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1),c=this.pathLength/50):b=0,this.visual.stopManifestation()):(this.visual.startManifestation(window.bottleScreen.utils.showNumberAsText(this.foodRequired)+" TXID_GOODS_HAY"),0<this.foodStorage.valInside?(b=0,c=this.eatingPhaseLength,this.visual.startEatingAnimation()):b=-1);break;case 1:0<this.storageFrom.valInside?(c=Math.min(this.getTransportCapacity(),this.storageFrom.valInside),this.storageFrom.modValueBy(-c),this.currentlyTransportedVal=
c,b=2,this.x0=this.x,this.y0=this.y,this.x1=this.destX,this.y1=this.destY,this.visual.setScale(this.x1>this.x0?-1:1,1),this.pathLength=window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1),c=this.pathLength/25):(b=1,this.x1=this.x0=this.x,this.y1=this.y0=this.y,c=1);break;case 2:this.storageTo.modValueBy(this.currentlyTransportedVal);this.foodRequired+=this.calcHungerAfterTransfer(this.currentlyTransportedVal);this.totalProcessingsMade+=this.currentlyTransportedVal;this.currentlyTransportedVal=
0;b=3;this.x0=this.x;this.y0=this.y;this.x1=this.baseX;this.y1=this.baseY;this.visual.setScale(this.x1>this.x0?-1:1,1);this.pathLength=window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1);c=this.pathLength/50;break;case 3:b=0,c=this.eatingPhaseLength,this.x1=this.x0=this.x,this.y1=this.y0=this.y,0<this.foodStorage.valInside&&this.visual.startEatingAnimation()}this.deliveryPhase=b;this.phi4FullCycle=c;this.startVisualsOfPhase(this.deliveryPhase);return a};
Elephant.prototype.startVisualsOfPhase=function(a){0==this.deliveryPhase||this.x1==this.x0&&this.y1==this.y0?this.visual.setMoveAnimations(!1):this.visual.setMoveAnimations(!0);this.visual.setLoadVisible(0<this.currentlyTransportedVal)};Elephant.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);b&&(this.foodStorage=a.obFrom)};
Elephant.prototype.takeRoleOfTransporter=function(a){this.storageFrom=a.storageFrom;this.storageTo=a.storageTo;this.storageX=this.storageFrom.x;this.storageY=this.storageFrom.y+60;this.destX=this.storageTo.x-150;this.destY=this.storageTo.y+20};
Elephant.prototype.onJustCreated=function(){var a=this.myWorld.createObject(GrassField,[this.x-527,this.y]),b=this.myWorld.createObject(HayStack,[this.x-200,this.y]);b.modValueBy(100);this.myWorld.createObject(SimpleConnection,[a.arId,b.arId,1,-1,-1]);this.myWorld.createObject(SimpleConnection,[b.arId,this.arId,1,-1,-1]);(a=this.myWorld.findObjectOfClass({cls:WheelBarrowTransporter}))&&this.takeRoleOfTransporter(a)};
Elephant.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);b=window.bottleScreen.utils.saveString2Ar(a,b,this.resourceName);a[b+0]=this.deliveryPhase;a[b+1]=this.x0;a[b+2]=this.y0;a[b+3]=this.x1;a[b+4]=this.y1;a[b+5]=this.pathLength;a[b+6]=this.baseX;a[b+7]=this.baseY;a[b+8]=this.storageX;a[b+9]=this.storageY;a[b+10]=this.destX;a[b+11]=this.destY;a[b+12]=this.foodRequired;a[b+13]=this.currentlyTransportedVal;a[b+14]=this.storageFrom.arId;a[b+15]=this.storageTo.arId;
a[b+16]=this.foodStorage.arId;return b+17};
Elephant.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);b=window.bottleScreen.utils.loadStringFromAr(a,b);this.resourceName=b.str;b=b.id;this.deliveryPhase=a[b+0];this.x0=a[b+1];this.y0=a[b+2];this.x1=a[b+3];this.y1=a[b+4];this.pathLength=a[b+5];this.baseX=a[b+6];this.baseY=a[b+7];this.storageX=a[b+8];this.storageY=a[b+9];this.destX=a[b+10];this.destY=a[b+11];this.foodRequired=a[b+12];this.currentlyTransportedVal=a[b+13];this.storageFromId=a[b+14];this.storageToId=
a[b+15];this.foodStorageId=a[b+16];return b+17};Elephant.prototype.afterLoadFunction=function(){this.storageFrom=this.myWorld.objects[this.storageFromId];this.storageTo=this.myWorld.objects[this.storageToId];this.foodStorage=this.myWorld.objects[this.foodStorageId];this.storageX=this.storageFrom.x;this.storageY=this.storageFrom.y+60;this.destX=this.storageTo.x-150;this.destY=this.storageTo.y+20;this.baseX=this.foodStorage.x+150;this.baseY=this.foodStorage.y};
var GrassField=function(a,b,c){BasicGameObject.call(this,a,b,c);this.connectedStorage=null;this.lastProductionMoment=this.value2Produce=0;this.timeBetweenProductions=.5;this.connectedFountain=null;this.phi4FullCycle=this.bonusFromFountain=1;this.param_tapMinePower=this.myWorld.ballanser.fieldTapUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_tapMinePower);this.upgradePriceFunction=this.myWorld.ballanser.getFieldUpgradePrice;this.param_numAutoMiners=this.myWorld.ballanser.fieldNumMinersUpgrader.clone4Machine(this);
this.upgradedParams.push(this.param_numAutoMiners);this.createAutoClicker()};$jscomp.inherits(GrassField,BasicGameObject);GrassField.prototype.onJustCreated=function(){var a=this.myWorld.findObjectOfClass({cls:FieldIrrigator});a&&this.myWorld.createObject(SimpleConnection,[a.arId,this.arId,1,-1,-1])};GrassField.prototype.updateAdditionalParams=function(){this.bonusFromFountain=this.connectedFountain?this.connectedFountain.getGrassGrowthBonus():1};
GrassField.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new GrassFieldVisual(this.scene,this.grp,this.x,this.y);this.visual.upgBtnCoords.x=0;this.visual.upgBtnCoords.y=-240;this.visual.createUpgradeButton(this);var a=this.param_numAutoMiners.getValue4Level(this.currentLevel);this.visual.createHumans(a)};GrassField.prototype.getOwnPhiGeneration=function(){return this.param_numAutoMiners.getValue4Level(this.currentLevel)*this.param_tapMinePower.getValue4Level(this.currentLevel)};
GrassField.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};GrassField.prototype.handleCycleCompletion=function(a){this.value2Produce+=a*this.bonusFromFountain*this.myWorld.getMasterProdCoef();return a};
GrassField.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);1<=this.value2Produce&&(this.lastCalculatedGameMoment-this.lastProductionMoment>=this.timeBetweenProductions||this.lastCalculatedGameMoment<this.lastProductionMoment)&&(a=Math.floor(this.value2Produce),this.connectedStorage&&(this.connectedStorage.modValueBy(a),this.totalProcessingsMade+=a),this.visual.runAnimId(1,1,0),this.value2Produce-=a,this.lastProductionMoment=this.lastCalculatedGameMoment)};
GrassField.prototype.clickEffect=function(){this.receivePhi(this.phi4FullCycle*this.param_tapMinePower.getValue4Level(this.currentLevel)*this.myWorld.getMasterTapCoef());this.visual.runAnimId(0,1,0);this.myWorld.hud.animTap()};GrassField.prototype.registerIncomingConnection=function(a,b){a.obFrom.myClass==FieldIrrigator&&(this.connectedFountain=a.obFrom)};
GrassField.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==HayStack&&(this.connectedStorage=a.obTo)};GrassField.prototype.performUpgrade=function(a,b){var c=this.param_numAutoMiners.getValue4Level(this.currentLevel);BasicGameObject.prototype.performUpgrade.call(this,a,b);a=this.param_numAutoMiners.getValue4Level(this.currentLevel);a>c&&this.visual.createHumans(a-c)};
GrassField.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.value2Produce;return b+1};GrassField.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.value2Produce=a[b+0];return b+1};var HayStack=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="hay";this.tradePointDelta.x=72;this.tradePointDelta.y=47};$jscomp.inherits(HayStack,BasicGoodsStorage);
HayStack.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new HayStackVisual(this.scene,this.grp,this.x,this.y)};var Clock=function(a,b,c){BasicGameObject.call(this,a,b,c);this.param_clockSpeed=this.myWorld.ballanser.clockSpeedUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_clockSpeed);this.upgradePriceFunction=this.myWorld.ballanser.getClockUpgradePrice;this.upgradeCurrency="science"};$jscomp.inherits(Clock,BasicGameObject);
Clock.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new ClockVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};Clock.prototype.getTimeSpeedBoost=function(){return 1+this.param_clockSpeed.getValue4Level(this.currentLevel)};var UndergroundWater=function(a,b,c){BasicGameObject.call(this,a,b,c);this.connectedExtractor=null;this.maxWaterInside=this.waterInside=1E9};$jscomp.inherits(UndergroundWater,BasicGameObject);
UndergroundWater.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new UndergroundWaterVisual(this.scene,this.grp,this.x,this.y)};UndergroundWater.prototype.onJustCreated=function(){var a=this.myWorld.findObjectOfClass({cls:FieldIrrigator});a&&this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1])};
UndergroundWater.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==WaterExtractor&&(this.connectedExtractor=a.obTo)};UndergroundWater.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.waterInside;a[b+1]=this.maxWaterInside;return b+2};
UndergroundWater.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.waterInside=a[b+0];this.maxWaterInside=a[b+1];return b+2};
var WaterExtractor=function(a,b,c){BasicGameObject.call(this,a,b,c);this.phi4FullCycle=this.ownPhiGeneration=1;this.param_extractionSpeed=this.myWorld.ballanser.waterExtractorUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_extractionSpeed);this.upgradePriceFunction=this.myWorld.ballanser.getWaterExtractorUpgradePrice;this.connectedWaterSource=this.connectedStorage=null};$jscomp.inherits(WaterExtractor,BasicGameObject);
WaterExtractor.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};WaterExtractor.prototype.handleCycleCompletion=function(a){var b=a*this.getExtractionSpeed()*this.myWorld.getMasterProdCoef();this.connectedStorage&&this.connectedStorage.modValueBy(b);return a};
WaterExtractor.prototype.getExtractionSpeed=function(){var a=this.param_extractionSpeed.getValue4Level(this.currentLevel);0<this.myWorld.countArtifactsOfCode("purch_bucket")&&(a*=5);return a};WaterExtractor.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new WaterExtractorVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
WaterExtractor.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==WaterStorage&&(this.connectedStorage=a.obTo)};WaterExtractor.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==UndergroundWater&&(this.connectedWaterSource=a.obFrom)};
WaterExtractor.prototype.onJustCreated=function(){var a=this.myWorld.findObjectOfClass({cls:WaterWell}),b=this.myWorld.createObject(UndergroundWater,[this.x+8,this.y+191]);this.visual.moveHigherOnLayer();var c=this.myWorld.createObject(WaterStorage,[this.x,this.y-125]);this.myWorld.createObject(SimpleConnection,[b.arId,this.arId,1,-1,-1]);this.myWorld.createObject(SimpleConnection,[this.arId,c.arId,1,-1,-1]);this.myWorld.createObject(SimpleConnection,[c.arId,a.arId,1,-1,-1])};
var WaterStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.connectedWell=null;this.goodsCode="water";this.tradePointDelta.x=-198;this.tradePointDelta.y=70};$jscomp.inherits(WaterStorage,BasicGoodsStorage);WaterStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new WaterStorageVisual(this.scene,this.grp,this.x,this.y)};
WaterStorage.prototype.registerOutgoingConnection=function(a,b){BasicGoodsStorage.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==WaterWell&&(this.connectedWell=a.obTo)};WaterStorage.prototype.calcStateAtGameMoment=function(a){BasicGoodsStorage.prototype.calcStateAtGameMoment.call(this,a);this.connectedWell&&this.valInside>this.connectedWell.waterInside&&this.connectedWell.receiveWaterFromDrillWithOverflow((this.valInside-this.connectedWell.waterInside)/2)};
var CarawanSarai=function(a,b,c){BasicGameObject.call(this,a,b,c);this.param_priceInc=this.myWorld.ballanser.carawanSaraiUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_priceInc);this.upgradePriceFunction=this.myWorld.ballanser.getCarawanUpgradePrice;this.res2SellList=[]};$jscomp.inherits(CarawanSarai,BasicGameObject);
CarawanSarai.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new CarawanSaraiVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);this.visual.createSettingsButton(this)};CarawanSarai.prototype.getMarketPriceModifier=function(){return 1+this.param_priceInc.getValue4Level(this.currentLevel)};
CarawanSarai.prototype.onJustCreated=function(){var a=this.myWorld.createObject(Camel,[this.x+221,this.y+100]);this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1])};CarawanSarai.prototype.updateStoragesList=function(){var a=this.myWorld.getListOfStoragesWithGoods();this.storagesRecordList=a;this.res2SellList.length>a.length&&(this.res2SellList.length=a.length);for(;this.res2SellList.length<a.length;)this.res2SellList.push(0)};
CarawanSarai.prototype.toggleAutoSellingOfResourceId=function(a){this.res2SellList[a]=1-this.res2SellList[a]};CarawanSarai.prototype.findNextDestination2Go=function(a){var b=-1;for(a+=1;a<this.res2SellList.length;a++)if(1==this.res2SellList[a]){b=a;break}return b};CarawanSarai.prototype.isSellingSetFrom=function(a){return 1==this.res2SellList[a]};
CarawanSarai.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);var c=this.res2SellList.length;a[b+0]=c;b++;for(var d=0;d<c;d++)a[b+0]=this.res2SellList[d],b++;return b+0};CarawanSarai.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);var c=a[b+0];b++;for(var d=this.res2SellList.length=0;d<c;d++)this.res2SellList.push(a[b+0]),b++;return b+0};
var Camel=function(a,b,c){BasicGameObject.call(this,a,b,c);this.connectedSarai=null;this.deliveryPhase=this.y1=this.x1=this.y0=this.x0=this.baseY=this.baseX=0;this.currentStorageDestinationId=-1;this.phi4FullCycle=this.ownPhiGeneration=1;this.pathSegments=[1,1,1];this.pathLambdas=[0,.33,.66,1]};$jscomp.inherits(Camel,BasicGameObject);
Camel.prototype.initProperties=function(a){a=BasicGameObject.prototype.initProperties.call(this,a);this.baseX=this.x0=this.x1=this.x;this.baseY=this.y0=this.y1=this.y;return a+0};Camel.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new CamelVisual(this.scene,this.grp,this.x,this.y);this.visual.setScale(this.x1>this.x0?-1:1,1);this.visual.setMoveAnimations(1==this.deliveryPhase||2==this.deliveryPhase)};
Camel.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==CarawanSarai&&(this.connectedSarai=a.obFrom)};Camel.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
Camel.prototype.handleCycleCompletion=function(a){var b=0,c=1;if(this.connectedSarai)switch(this.deliveryPhase){case 0:this.connectedSarai.updateStoragesList();this.currentStorageDestinationId=this.connectedSarai.findNextDestination2Go(this.currentStorageDestinationId);-1!=this.currentStorageDestinationId&&(b=1,this.x0=this.x,this.y0=this.y,c=this.connectedSarai.storagesRecordList[this.currentStorageDestinationId].storage,this.x1=c.x+c.tradePointDelta.x,this.y1=c.y+c.tradePointDelta.y,this.visual.setScale(this.x1>
this.x0?-1:1,1),window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1),this.pathSegments=[Math.abs(this.y0-this.baseY),Math.abs(this.x1-this.x0),Math.abs(this.y1-this.baseY)],this.calculatePathLambdas(),c=this.calculateTotalSegnemtsLength(),c=(c+1)/50);break;case 1:this.connectedSarai.updateStoragesList();this.connectedSarai.isSellingSetFrom(this.currentStorageDestinationId)&&(c=this.connectedSarai.storagesRecordList[this.currentStorageDestinationId].storage,b=this.myWorld.handleSellingFromStorage(c,
.5),0<b&&this.myWorld.myEftController.showEffect(c.x,c.y,EffectMoney,{txt:window.bottleScreen.utils.showNumberAsText(b)}));this.currentStorageDestinationId=this.connectedSarai.findNextDestination2Go(this.currentStorageDestinationId);-1!=this.currentStorageDestinationId?(b=1,this.x0=this.x,this.y0=this.y,c=this.connectedSarai.storagesRecordList[this.currentStorageDestinationId].storage,this.x1=c.x+c.tradePointDelta.x,this.y1=c.y+c.tradePointDelta.y):(b=2,this.x0=this.x,this.y0=this.y,this.x1=this.baseX,
this.y1=this.baseY);this.visual.setScale(this.x1>this.x0?-1:1,1);window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1);this.pathSegments=[Math.abs(this.y0-this.baseY),Math.abs(this.x1-this.x0),Math.abs(this.y1-this.baseY)];this.calculatePathLambdas();c=this.calculateTotalSegnemtsLength();c=(c+1)/50;break;case 2:b=0,c=1}this.deliveryPhase=b;this.phi4FullCycle=c;this.visual.setMoveAnimations(1==this.deliveryPhase||2==this.deliveryPhase);return a};
Camel.prototype.calculateTotalSegnemtsLength=function(){for(var a=0,b=0;b<this.pathSegments.length;b++)a+=this.pathSegments[b];return a};Camel.prototype.calculatePathLambdas=function(){this.pathLambdas=[0];for(var a=0,b=0;b<this.pathSegments.length;b++)a+=this.pathSegments[b]+1,this.pathLambdas.push(this.pathSegments[b]+1);for(b=0;b<this.pathLambdas.length-1;b++)this.pathLambdas[b+1]+=this.pathLambdas[b];for(b=0;b<this.pathLambdas.length;b++)this.pathLambdas[b]/=a};
Camel.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);if(1==this.deliveryPhase||2==this.deliveryPhase){var b=this.gatheredPhiInCurrentState/this.phi4FullCycle;1<b&&(b=1);0>b&&(b=0);a=this.pathLambdas.length-1;for(var c=1;c<this.pathLambdas.length-1;c++)if(b<this.pathLambdas[c]){a=c;break}var d=this.pathLambdas[a-1],e=this.pathLambdas[a];c=(b-d)/(e-d);isNaN(c)&&console.log("lambda = ",b,"pathSegmentId=",a,"prevL=",d,"nextL=",e,"segmentLambda=",c);b=this.x0;
d=this.y0;e=this.x1;var f=this.y1;switch(a){case 1:b=this.x0;d=this.y0;e=this.x0;f=this.baseY;break;case 2:b=this.x0;d=this.baseY;e=this.x1;f=this.baseY;break;case 3:b=this.x1,d=this.baseY,e=this.x1,f=this.y1}this.x=b+(e-b)*c;this.y=d+(f-d)*c;this.visual.setPosition(this.x,this.y)}};
Camel.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.baseX;a[b+1]=this.baseY;a[b+2]=this.x0;a[b+3]=this.y0;a[b+4]=this.x1;a[b+5]=this.y1;a[b+6]=this.deliveryPhase;a[b+7]=this.currentStorageDestinationId;return b=window.bottleScreen.utils.saveNumAr2Ar(a,b+8,this.pathLambdas)};
Camel.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.baseX=a[b+0];this.baseY=a[b+1];this.x0=a[b+2];this.y0=a[b+3];this.x1=a[b+4];this.y1=a[b+5];this.deliveryPhase=a[b+6];this.currentStorageDestinationId=a[b+7];b=window.bottleScreen.utils.loadNumArFromAr(a,b+8,this.pathLambdas);return b+0};
var Helicopter=function(a,b,c){BasicGameObject.call(this,a,b,c);this.connectedTargetQuarry=this.connectedBalcony=null;this.param_boomNumber=this.myWorld.ballanser.helicopterNumBoomsUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_boomNumber);this.param_boomPower=this.myWorld.ballanser.helicopterPowerBoomsUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_boomPower);this.upgradePriceFunction=this.myWorld.ballanser.getHelicopterUpgradePrice;this.deliveryPhase=-1;this.y1=
this.x1=this.y0=this.x0=this.targetY=this.targetX=this.baseY=this.baseX=this.numChargesDropped=0;this.phi4FullCycle=this.ownPhiGeneration=1};$jscomp.inherits(Helicopter,BasicGameObject);Helicopter.prototype.getMaxDrops=function(){return this.param_boomNumber.getValue4Level(this.currentLevel)};Helicopter.prototype.getStoneFromOneDrop=function(){return this.param_boomPower.getValue4Level(this.currentLevel)};
Helicopter.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new HelicopterVisual(this.scene,this.grp,this.x,this.y);this.visual.upgBtnCoords.x=this.baseX+150-this.x;this.visual.upgBtnCoords.y=this.baseY-this.y;this.visual.createUpgradeButton(this);this.visual.setScale(this.x1>this.x0?-1:1,1)};
Helicopter.prototype.initProperties=function(a){a=BasicGameObject.prototype.initProperties.call(this,a);this.baseX=this.x0=this.x1=this.x;this.baseY=this.y0=this.y1=this.y;return a+0};Helicopter.prototype.onJustCreated=function(){var a=this.myWorld.createObject(HelicopterBalcony,[this.x-267,this.y+89]);this.myWorld.createObject(SimpleConnection,[a.arId,this.arId,1,-1,-1]);a=this.myWorld.findObjectOfClass({cls:QuarryMine});this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1])};
Helicopter.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==HelicopterBalcony&&(this.connectedBalcony=a.obFrom)};Helicopter.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);a.obTo.myClass==QuarryMine&&(this.connectedTargetQuarry=a.obTo,this.targetX=this.connectedTargetQuarry.x,this.targetY=this.connectedTargetQuarry.y-700)};
Helicopter.prototype.handleCurrentStateCompletion=function(){this.gatheredPhiInCurrentState>this.phi4FullCycle&&(this.gatheredPhiInCurrentState-=this.phi4FullCycle,this.handleCycleCompletion(1));var a=window.bottleScreen.utils.getDistBetweenPoints(this.baseX,this.baseY,this.targetX,this.targetY)/25,b=1.5*this.getMaxDrops();a=a+b+1+a;this.gatheredPhiInCurrentState>a&&(b=Math.floor(this.gatheredPhiInCurrentState/a),this.gatheredPhiInCurrentState%=a,this.handleFullCyclesCompletion(b));this.gatheredPhiInCurrentState>
this.phi4FullCycle&&(BasicGameObject.prototype.handleCurrentStateCompletion.call(this),this.handleCycleCompletion(1))};
Helicopter.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case -1:case 0:this.x0=this.x;this.y0=this.y;this.x1=this.targetX;this.y1=this.targetY;b=1;this.visual.setScale(this.x1>this.x0?-1:1,1);c=window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1);c/=25;break;case 1:b=2;c=1.5;this.myWorld.myEftController.showEffect(this.x,this.y,EffectDynamiteDrop,{});break;case 2:this.makeEffectOnQuarry(1);this.numChargesDropped++;this.numChargesDropped>=
this.getMaxDrops()?(this.x0=this.x,this.y0=this.y,this.x1=this.baseX,this.y1=this.baseY,b=3,this.visual.setScale(this.x1>this.x0?-1:1,1),c=window.bottleScreen.utils.getDistBetweenPoints(this.x0,this.y0,this.x1,this.y1),c/=25,this.numChargesDropped=0):(b=2,c=1.5,this.myWorld.myEftController.showEffect(this.x,this.y,EffectDynamiteDrop,{}));break;case 3:this.visual.setScale(1,1),b=0,c=1}this.deliveryPhase=b;this.phi4FullCycle=c;return a};
Helicopter.prototype.handleFullCyclesCompletion=function(a){a*=this.getMaxDrops();this.connectedTargetQuarry&&this.makeEffectOnQuarry(a)};Helicopter.prototype.makeEffectOnQuarry=function(a){this.connectedTargetQuarry&&this.connectedTargetQuarry.receivePhi(this.connectedTargetQuarry.phi4FullCycle*a*this.getStoneFromOneDrop()*this.myWorld.getMasterProdCoef()*this.connectedTargetQuarry.param_tapMinePower.getValue4Level(this.connectedTargetQuarry.currentLevel))};
Helicopter.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);if(1==this.deliveryPhase||3==this.deliveryPhase){a=this.gatheredPhiInCurrentState/this.phi4FullCycle;1<a&&(a=1);0>a&&(a=0);var b=1==this.deliveryPhase?2.5*a*(a-.6):2.2222222*a*(1.45-a);this.x=this.x0+(this.x1-this.x0)*a;this.y=this.y0+(this.y1-this.y0)*b;this.visual.setPosition(this.x,this.y)}};
Helicopter.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.deliveryPhase;a[b+1]=this.numChargesDropped;a[b+2]=this.baseX;a[b+3]=this.baseY;a[b+4]=this.targetX;a[b+5]=this.targetY;a[b+6]=this.x0;a[b+7]=this.y0;a[b+8]=this.x1;a[b+9]=this.y1;return b+10};
Helicopter.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.deliveryPhase=a[b+0];this.numChargesDropped=a[b+1];this.baseX=a[b+2];this.baseY=a[b+3];this.targetX=a[b+4];this.targetY=a[b+5];this.x0=a[b+6];this.y0=a[b+7];this.x1=a[b+8];this.y1=a[b+9];return b+10};var HelicopterBalcony=function(a,b,c){BasicGameObject.call(this,a,b,c)};$jscomp.inherits(HelicopterBalcony,BasicGameObject);
HelicopterBalcony.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new HelicopterBalconyVisual(this.scene,this.grp,this.x,this.y)};
var Galileo=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.phi4FullCycle=9.2;this.param_scienceGeneration=this.myWorld.ballanser.galileoUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_scienceGeneration);this.upgradePriceFunction=this.myWorld.ballanser.getGalileoUpgradePrice;this.upgradeCurrency="science"};$jscomp.inherits(Galileo,BasicGameObject);Galileo.prototype.getOwnPhiGeneration=function(){return this.ownPhiGeneration};
Galileo.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};Galileo.prototype.handleCycleCompletion=function(a){var b=a*this.param_scienceGeneration.getValue4Level(this.currentLevel)*this.myWorld.getMasterScienceCoef();this.myWorld.receiveResource("science",b);return a};
Galileo.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new GalileoVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
var Telescope=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.phi4FullCycle=10;this.param_scienceGeneration=this.myWorld.ballanser.telescopeUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_scienceGeneration);this.upgradePriceFunction=this.myWorld.ballanser.getTelescopeUpgradePrice;this.upgradeCurrency="science"};$jscomp.inherits(Telescope,BasicGameObject);
Telescope.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};Telescope.prototype.handleCycleCompletion=function(a){var b=a*this.param_scienceGeneration.getValue4Level(this.currentLevel)*this.myWorld.getMasterScienceCoef();this.myWorld.receiveResource("science",b);return a};
Telescope.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new TelescopeVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
var MoonStairs=function(a,b,c){BasicGameObject.call(this,a,b,c);this.ownPhiGeneration=1;this.phi4FullCycle=20;this.tmpOmegaBonus=0;this.connectedTower=null;this.param_stoneProd=this.myWorld.ballanser.moonStoneUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_stoneProd);this.upgradePriceFunction=this.myWorld.ballanser.getMoonUpgradePrice;this.upgradeCurrency="science"};$jscomp.inherits(MoonStairs,BasicGameObject);
MoonStairs.prototype.updateAdditionalParams=function(){var a=1;0<this.myWorld.countArtifactsOfCode("purch_pickaxe")&&(a=5);this.param_stoneProd.masterCoef=a};MoonStairs.prototype.getMoonStoneIn1Transition=function(){return this.param_stoneProd.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};MoonStairs.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new MoonStairsVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
MoonStairs.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obTo.myClass==MoonStoneTower&&(this.connectedTower=a.obTo)};
MoonStairs.prototype.onJustCreated=function(){var a=this.myWorld.findObjectOfClass({cls:MainBabelTower}),b=this.myWorld.createObject(MoonStoneTower,[this.x-150,this.y-14]);this.myWorld.createObject(SimpleConnection,[b.arId,a.arId,1,-1,-1]);this.myWorld.createObject(SimpleConnection,[this.arId,b.arId,1,-1,-1]);a=this.myWorld.findObjectOfClass({cls:Moon});this.myWorld.createObject(SimpleConnection,[a.arId,this.arId,1,-1,-1])};
MoonStairs.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};MoonStairs.prototype.handleCycleCompletion=function(a){this.connectedTower&&this.connectedTower.receiveMoonStone(this.getMoonStoneIn1Transition()*a)};MoonStairs.prototype.getOwnPhiGeneration=function(){return 1+this.tmpOmegaBonus};
MoonStairs.prototype.calcStateAtGameMoment=function(a){BasicGameObject.prototype.calcStateAtGameMoment.call(this,a);1E-4<this.tmpOmegaBonus&&(this.tmpOmegaBonus*=Math.pow(.5,this.timePassedSinceLastCheck/.5))};MoonStairs.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,this.phiAddedSinceLastCheck4Anim)};MoonStairs.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.tmpOmegaBonus;return b+4};
MoonStairs.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.tmpOmegaBonus=a[b+0];return b+4};var Moon=function(a,b,c){BasicGameObject.call(this,a,b,c);this.connectedStairs=null};$jscomp.inherits(Moon,BasicGameObject);Moon.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new MoonVisual(this.scene,this.grp,this.x,this.y);this.createAutoClicker()};
Moon.prototype.registerOutgoingConnection=function(a,b){a.obTo.myClass==MoonStairs&&(this.connectedStairs=a.obTo)};Moon.prototype.clickEffect=function(){this.connectedStairs&&(this.connectedStairs.tmpOmegaBonus+=this.myWorld.getMasterTapCoef(),this.visual.runAnimId(0,1,0),this.myWorld.hud.animTap(),this.playSound("hammerHit",.2,!0))};var Stars=function(a,b,c){BasicGameObject.call(this,a,b,c)};$jscomp.inherits(Stars,BasicGameObject);
Stars.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new StarsVisual(this.scene,this.grp,this.x,this.y)};var Laboratory=function(a,b,c){BasicGameObject.call(this,a,b,c)};$jscomp.inherits(Laboratory,BasicGameObject);Laboratory.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new LaboratoryVisual(this.scene,this.grp,this.x,this.y);this.visual.createSettingsButton(this)};
var AdditionalParamsStorage=function(a,b,c){BasicGameObject.call(this,a,b,c);this.science=0;this.hasLab=!1;this.scienceUpgrades=[{uid:0,currentLevel:0,strCode:"num_floors",param:this.myWorld.ballanser.restartFloorsUpgrader.clone4Machine(null),lvlCap:10,priceFunc:this.myWorld.ballanser.getRestartFloorsUpgradePrice},{uid:1,currentLevel:0,strCode:"perc_time",param:this.myWorld.ballanser.restartTimeUpgrader.clone4Machine(null),lvlCap:8,priceFunc:this.myWorld.ballanser.getRestartTimeUpgradePrice},{uid:2,
currentLevel:0,strCode:"perc_money",param:this.myWorld.ballanser.restartMoneyUpgrader.clone4Machine(null),lvlCap:1E3,priceFunc:this.myWorld.ballanser.getRestartMoneyUpgradePrice},{uid:3,currentLevel:0,strCode:"perc_bricks",param:this.myWorld.ballanser.restartGBUpgrader.clone4Machine(null),lvlCap:-1,priceFunc:this.myWorld.ballanser.getRestartGBUpgradePrice},{uid:4,currentLevel:0,strCode:"science_coef",param:this.myWorld.ballanser.scienceBoostUpgrader.clone4Machine(null),lvlCap:-1,priceFunc:this.myWorld.ballanser.getScienceBoostUpgradePrice}]};
$jscomp.inherits(AdditionalParamsStorage,BasicGameObject);AdditionalParamsStorage.prototype.findScienceUpgradefUID=function(a){for(var b=null,c=0;c<this.scienceUpgrades.length;c++)if(this.scienceUpgrades[c].uid==a){b=this.scienceUpgrades[c];break}return b};AdditionalParamsStorage.prototype.getUpgradeParameterValueOfCode=function(a,b){b||(b=0);(a=this.findScienceUpgradefCode(a))&&(b=a.param.getValue4Level(a.currentLevel));return b};
AdditionalParamsStorage.prototype.findScienceUpgradefCode=function(a){for(var b=null,c=0;c<this.scienceUpgrades.length;c++)if(this.scienceUpgrades[c].strCode==a){b=this.scienceUpgrades[c];break}return b};AdditionalParamsStorage.prototype.performParamUpgrade=function(a,b,c){c||(c=0);var d=this.scienceUpgrades[a];a=this.getUpgradeParamsPrice(a,b)*(1-c);d.currentLevel+=b;this.myWorld.receiveResource("science",-a)};
AdditionalParamsStorage.prototype.getUpgradeParamsPrice=function(a,b){var c=0;a=this.scienceUpgrades[a];for(var d=0;d<b;d++)c+=a.priceFunc(a.currentLevel+d);return c};AdditionalParamsStorage.prototype.canUpgradeParam=function(a,b){a=this.getUpgradeParamsPrice(a,b);return this.myWorld.getResourceVal("science")>=a?!0:!1};
AdditionalParamsStorage.prototype.initFromLastSession=function(a){if(a){this.science=a.science;this.hasLab=a.hasLab;for(var b=0;b<a.scienceUpgrades.length;b++){var c=a.scienceUpgrades[b],d=this.findScienceUpgradefUID(c.uid);d&&(d.currentLevel=c.currentLevel)}}};AdditionalParamsStorage.prototype.clearAll=function(){for(var a=0;a<this.scienceUpgrades.length;a++)this.scienceUpgrades[a].currentLevel=0};
AdditionalParamsStorage.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.science;a[b+1]=this.hasLab?1:0;var c=0,d=b+9;b+=10;for(var e=0;e<this.scienceUpgrades.length;e++)0<this.scienceUpgrades[e].currentLevel&&(c++,a[b+0]=this.scienceUpgrades[e].uid,a[b+1]=this.scienceUpgrades[e].currentLevel,b+=2);a[d]=c;return b};
AdditionalParamsStorage.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.science=a[b+0];this.hasLab=1==a[b+1];var c=a[b+9];b+=10;for(var d=0;d<c;d++){var e=a[b+1],f=this.findScienceUpgradefUID(a[b]);f&&(f.currentLevel=e);b+=2}return b};
var GunpowderFactory=function(a,b,c){BasicGameObject.call(this,a,b,c);this.stoneValInProcessing=this.val2Produce=0;this.phi4FullCycle=10;this.ownPhiGeneration=1;this.planksStorage=this.connectedStorage=null;this.param_stoneProd=this.myWorld.ballanser.gunPowderFactoryUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_stoneProd);this.upgradePriceFunction=this.myWorld.ballanser.getGunPowderFactoryUpgradePrice};$jscomp.inherits(GunpowderFactory,BasicGameObject);
GunpowderFactory.prototype.getOwnPhiGeneration=function(){return 1};GunpowderFactory.prototype.getPlanks2PowderCoef=function(){return 1E-6};GunpowderFactory.prototype.getGunPowderProducedFromPlanks=function(){return this.param_stoneProd.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};
GunpowderFactory.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new GunpowderFactoryVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this);this.visual.showGPProductionProcess(this.stoneValInProcessing,this.phi4FullCycle/this.getOwnPhiGeneration())};
GunpowderFactory.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);if(0<this.stoneValInProcessing){this.val2Produce+=this.stoneValInProcessing*this.getGunPowderProducedFromPlanks();this.stoneValInProcessing=0;var a=this.numCyclesCompletedAfterLastCheck}else a=1;var b=this.getPlanks2PowderCoef();a=Math.min(Math.floor(this.planksStorage.valInside*b),a);0<a?(this.planksStorage.valInside-=a/b,this.stoneValInProcessing=a,this.phi4FullCycle=
10):this.phi4FullCycle=1;this.visual.showGPProductionProcess(this.stoneValInProcessing,this.phi4FullCycle/this.getOwnPhiGeneration())};GunpowderFactory.prototype.updateAdditionalParams=function(){0<this.val2Produce&&(this.connectedStorage.valInside+=this.val2Produce,this.val2Produce=0)};GunpowderFactory.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);BasicGoodsStorage.isPrototypeOf(a.obTo.myClass)&&(this.connectedStorage=a.obTo)};
GunpowderFactory.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);BasicGoodsStorage.isPrototypeOf(a.obFrom.myClass)&&(this.planksStorage=a.obFrom)};
GunpowderFactory.prototype.onJustCreated=function(){BasicGameObject.prototype.onJustCreated.call(this);var a=this.myWorld.findObjectOfClass({cls:Crane}),b=a.removeDesks2ReduceSize(29),c=this.myWorld.createObject(Cannon,[a.x+50,a.y+a.getStoreyFloorY(a.numStoriesBuilt)]);this.myWorld.createObject(SimpleConnection,[a.arId,c.arId,1,-1,-1]);c=this.myWorld.createObject(GunPowderStorage,[this.x+225,this.y+21]);this.myWorld.createObject(SimpleConnection,[c.arId,a.arId,1,-1,-1]);this.myWorld.createObject(SimpleConnection,
[this.arId,c.arId,1,-1,-1]);c.valInside=5+b*this.getPlanks2PowderCoef();a=this.myWorld.findObjectOfClass({cls:PlanksStorage});this.myWorld.createObject(SimpleConnection,[a.arId,this.arId,1,-1,-1])};GunpowderFactory.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.stoneValInProcessing;return b+1};GunpowderFactory.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.stoneValInProcessing=a[b+0];return b+1};
var Cannon=function(a,b,c){BasicGameObject.call(this,a,b,c);this.isCharged=!1};$jscomp.inherits(Cannon,BasicGameObject);Cannon.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new CannonVisual(this.scene,this.grp,this.x,this.y);this.visual.showCannonCharged(this.isCharged)};Cannon.prototype.getPowderCharge=function(a){return 1*Math.pow(10,a/3)};Cannon.prototype.getCharged=function(){this.isCharged=!0;this.visual.showCannonCharged(this.isCharged)};
Cannon.prototype.shootBrick2Tower=function(a){a.receiveUpBrick(1,"cannon");this.isCharged=!1;this.visual.runAnimId(0,1,0);this.visual.runAnimId(1,1,0);this.visual.runAnimId(2,1,0);this.visual.showCannonCharged(this.isCharged);this.playSound("cannon",.8,!0)};Cannon.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+1]=this.isCharged?1:0;return b+4};
Cannon.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.isCharged=1==a[b+1];return b+4};
var BungeeJumper=function(a,b,c){BasicGameObject.call(this,a,b,c);this.myTower=null;this.phi4FullCycle=this.ownPhiGeneration=1;this.x1=this.x0=this.deliveryPhase=0;this.y1=this.y0=-1;this.param_moneyIncPerc=this.myWorld.ballanser.jumperMoneyUpgrader.clone4Machine(this);this.param_windowOpenTime=this.myWorld.ballanser.jumperTimeUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_moneyIncPerc);this.upgradedParams.push(this.param_windowOpenTime);this.upgradePriceFunction=this.myWorld.ballanser.getJumperUpgradePrice};
$jscomp.inherits(BungeeJumper,BasicGameObject);BungeeJumper.prototype.getMoneyBonus=function(){return this.param_moneyIncPerc.getValue4Level(this.currentLevel)};BungeeJumper.prototype.getTimeCoef=function(){return 1/this.param_windowOpenTime.getValue4Level(this.currentLevel)};BungeeJumper.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new BungeeJumperVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
BungeeJumper.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerOutgoingConnection.call(this,a,b);console.log("registerOutgoingConnection")};BungeeJumper.prototype.registerIncomingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b);a.obFrom.myClass==MainBabelTower&&(this.myTower=a.obFrom)};BungeeJumper.prototype.handleCurrentStateCompletion=function(){BasicGameObject.prototype.handleCurrentStateCompletion.call(this);this.handleCycleCompletion(this.numCyclesCompletedAfterLastCheck)};
BungeeJumper.prototype.handleCycleCompletion=function(a){var b=0,c=1;switch(this.deliveryPhase){case 0:this.myTower.hasMoneyWindow()&&(b=this.myTower.getMoneyWindowCoords(),this.y0=this.x0=0,this.x1=b.x+this.myTower.x-this.x,this.y1=b.y+this.myTower.y-this.y,c=1.5,b=0<this.y1?1:4);break;case 1:this.myTower.hasMoneyWindow()&&this.myTower.giveWindowGold();this.x0=this.x1;this.y0=this.y1;this.x1=0;this.y1=-1;c=1.5;b=2;break;case 2:this.x0=this.x1;this.y0=this.y1;c=1.5;b=0;break;case 4:this.myTower.hasMoneyWindow()&&
this.myTower.giveWindowGold();this.x0=this.x1;this.y0=this.y1;this.x1=0;this.y1=-1;c=1.5;b=5;break;case 5:this.x0=this.x1,this.y0=this.y1,c=1.5,b=0}this.deliveryPhase=b;this.phi4FullCycle=c;this.startVisualsOfPhase(this.deliveryPhase);return a};BungeeJumper.prototype.startVisualsOfPhase=function(a){};
BungeeJumper.prototype.actualizeVisuals=function(a){BasicGameObject.prototype.actualizeVisuals.call(this,a);a=this.gatheredPhiInCurrentState/this.phi4FullCycle;0>a&&(a=0);1<a&&(a=1);var b=a,c=Math.sqrt(a);4==this.deliveryPhase&&(c=2.5*a*(a-.6),b=2.5*a*(a-.6));this.visual.showHumanAtCoords(this.x0+(this.x1-this.x0)*b,this.y0+(this.y1-this.y0)*c)};
BungeeJumper.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.deliveryPhase;a[b+1]=this.x0;a[b+2]=this.x1;a[b+3]=this.y0;a[b+4]=this.y1;return b+5};BungeeJumper.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.deliveryPhase=a[b+0];this.x0=a[b+1];this.x1=a[b+2];this.y0=a[b+3];this.y1=a[b+4];return b+5};
var GunPowderStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="gunpowder";this.tradePointDelta.x=72;this.tradePointDelta.y=200};$jscomp.inherits(GunPowderStorage,BasicGoodsStorage);GunPowderStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new GunPowderStorageVisual(this.scene,this.grp,this.x,this.y)};
var MoonStoneStorage=function(a,b,c){BasicGoodsStorage.call(this,a,b,c);this.goodsCode="moonstone";this.tradePointDelta.x=72;this.tradePointDelta.y=47};$jscomp.inherits(MoonStoneStorage,BasicGoodsStorage);MoonStoneStorage.prototype.initVisuals=function(){BasicGoodsStorage.prototype.initVisuals.call(this);this.visual=new MoonStoneStorageVisual(this.scene,this.grp,this.x,this.y)};
var MoonStoneTower=function(a,b,c){BasicGameObject.call(this,a,b,c);this.baseLevelOnTower=15;this.progressTillNext=this.numStoriesBuilt=0};$jscomp.inherits(MoonStoneTower,BasicGameObject);
MoonStoneTower.prototype.receiveMoonStone=function(a){for(0<this.myWorld.countArtifactsOfCode("purch_trowel")&&(a*=2);0<a;){var b=this.getMoonStone4FloorCompletion(this.numStoriesBuilt),c=(1-this.progressTillNext)*b;c<=a?(this.numStoriesBuilt++,this.progressTillNext=0):(c=a,this.progressTillNext+=a/b);a-=c}this.visual.showTowerHeight(this.numStoriesBuilt,this.progressTillNext)};MoonStoneTower.prototype.getMoonStone4FloorCompletion=function(a){return this.myWorld.ballanser.getMoonStone4FloorCompletion(a)};
MoonStoneTower.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new MoonStoneTowerVisual(this.scene,this.grp,this.x,this.y);this.visual.showTowerHeight(this.numStoriesBuilt,this.progressTillNext)};MoonStoneTower.prototype.highlightMainTower=function(a){this.visual.sendLightRayTowards(a.x,a.y+a.getStoreyFloorY(a.numStoriesBuilt))};
MoonStoneTower.prototype.registerOutgoingConnection=function(a,b){BasicGameObject.prototype.registerIncomingConnection.call(this,a,b)};MoonStoneTower.prototype.save2Ar=function(a,b){b=BasicGameObject.prototype.save2Ar.call(this,a,b);a[b+0]=this.baseLevelOnTower;a[b+1]=this.numStoriesBuilt;a[b+2]=this.progressTillNext;return b+4};
MoonStoneTower.prototype.loadFromAr=function(a,b){b=BasicGameObject.prototype.loadFromAr.call(this,a,b);this.baseLevelOnTower=a[b+0];this.numStoriesBuilt=a[b+1];this.progressTillNext=a[b+2];return b+4};var FieldIrrigator=function(a,b,c){BasicGameObject.call(this,a,b,c);this.param_grassBoost=this.myWorld.ballanser.irrigatorUpgrader.clone4Machine(this);this.upgradedParams.push(this.param_grassBoost);this.upgradePriceFunction=this.myWorld.ballanser.getIrrigatorUpgradePrice};
$jscomp.inherits(FieldIrrigator,BasicGameObject);FieldIrrigator.prototype.getGrassGrowthBonus=function(){return 1+this.param_grassBoost.getValue4Level(this.currentLevel)*this.myWorld.getMasterProdCoef()};FieldIrrigator.prototype.initVisuals=function(){BasicGameObject.prototype.initVisuals.call(this);this.visual=new FieldIrrigatorVisual(this.scene,this.grp,this.x,this.y);this.visual.createUpgradeButton(this)};
FieldIrrigator.prototype.onJustCreated=function(){var a=this.myWorld.findObjectOfClass({cls:GrassField});a&&this.myWorld.createObject(SimpleConnection,[this.arId,a.arId,1,-1,-1]);(a=this.myWorld.findObjectOfClass({cls:UndergroundWater}))&&this.myWorld.createObject(SimpleConnection,[a.arId,this.arId,1,-1,-1])};FieldIrrigator.prototype.registerIncomingConnection=function(a,b){a.obTo.myClass==UndergroundWater&&(this.connectedWater=a.obFrom)};
FieldIrrigator.prototype.registerOutgoingConnection=function(a,b){a.obTo.myClass==GrassField&&(this.connectedField=a.obTo)};FieldIrrigator.prototype.save2Ar=function(a,b){return BasicGameObject.prototype.save2Ar.call(this,a,b)+4};FieldIrrigator.prototype.loadFromAr=function(a,b){return BasicGameObject.prototype.loadFromAr.call(this,a,b)+4};var SimpleConnection=function(a,b,c){BasicConnection.call(this,a,b,c)};$jscomp.inherits(SimpleConnection,BasicConnection);
var UnderGroundBGD=function(a,b,c,d,e){UnmovableBGD.call(this,a,b,c);this.img=this.scene.add.image(d,e,"allGraphics2","w000_tmpSquare4new0000");this.img.setOrigin(.5,0);this.img.tint=6240045;this.img2=this.scene.add.image(d,e,"allGraphics2","w000_tmpSquare4new0000");this.img2.setOrigin(.5,0);this.img2.tint=4261635;this.img2.setScale(1,.5);this.y0=e;this.grp.add(this.img);this.grp.add(this.img2)};$jscomp.inherits(UnderGroundBGD,UnmovableBGD);
UnderGroundBGD.prototype.updateSize=function(a){var b=this.myWorld.containerGroup.x-a.leftMargin,c=this.myWorld.containerGroup.y-a.topMargin;this.img.displayWidth=a.gameWidth+10+2*Math.abs(b);this.img.displayHeight=a.h0-this.y0+a.topMargin-c;this.img2.displayWidth=a.gameWidth+10+2*Math.abs(b)};UnderGroundBGD.prototype.getFullyRemoved=function(){this.img.destroy();this.img2.destroy()};
var SpaceBGD=function(a,b,c,d,e){UnmovableBGD.call(this,a,b,c);this.img=this.scene.add.image(d,e-300,"allGraphics2","w000_tmpSquare4new0000");this.img.setOrigin(.5,1);this.img.tint=0;this.img2=this.scene.add.image(d,e,"allGraphics2","w001_sky2SpaceConversion4new0000");this.img2.setOrigin(.5,1);this.img2.setScale(1,4);this.y0=e;this.grp.add(this.img);this.grp.add(this.img2)};$jscomp.inherits(SpaceBGD,UnmovableBGD);
SpaceBGD.prototype.updateSize=function(a){var b=this.myWorld.containerGroup.x-a.leftMargin,c=this.myWorld.containerGroup.y-a.topMargin;this.img.displayWidth=a.gameWidth+10+2*Math.abs(b);this.img.displayHeight=a.gameHeight-(a.h0-this.y0+a.topMargin-c);this.img2.displayWidth=a.gameWidth+10+2*Math.abs(b)};SpaceBGD.prototype.getFullyRemoved=function(){this.img.destroy();this.img2.destroy()};
var GroundBGD=function(a,b,c,d,e){UnmovableBGD.call(this,a,b,c);this.img=this.scene.add.image(d,e,"allGraphics2","w000_tmpSquare4new0000");this.img.setOrigin(.5,0);this.img.tint=13428735;this.y0=e;this.grp.add(this.img)};$jscomp.inherits(GroundBGD,UnmovableBGD);GroundBGD.prototype.updateSize=function(a){var b=this.myWorld.containerGroup.y-a.topMargin;this.img.displayWidth=a.gameWidth+10+2*Math.abs(this.myWorld.containerGroup.x-a.leftMargin);this.img.displayHeight=a.h0-this.y0+a.topMargin-b};
GroundBGD.prototype.getFullyRemoved=function(){this.img.destroy()};var SkyBGD=function(a,b,c,d,e){UnmovableBGD.call(this,a,b,c);this.img=this.scene.add.image(d,e,"allGraphics2","w000_tmpSquare4new0000");this.img.setOrigin(.5,.5);this.img.tint=6461932;this.x0=d;this.y0=e;this.grp.add(this.img)};$jscomp.inherits(SkyBGD,UnmovableBGD);
SkyBGD.prototype.updateSize=function(a){var b=this.myWorld.containerGroup.x-a.leftMargin,c=this.myWorld.containerGroup.y-a.topMargin;this.img.displayWidth=a.gameWidth+10;this.img.displayHeight=a.gameHeight+10;this.img.x=a.gameWidth/2-a.leftMargin-b;this.img.y=a.gameHeight/2-a.topMargin-c};SkyBGD.prototype.getFullyRemoved=function(){this.img.destroy()};
var ThunderstormEffect=function(a,b,c){UnmovableBGD.call(this,a,b,c);a=window.bottleScreen;this.sqrtIm=this.scene.add.image(0,0,"allGraphics2","w000_tmpSquare4new0000");this.sqrtIm.tint=0;this.sqrtIm.alpha=0;this.sqrtIm.setOrigin(.5,.5);this.grp.add(this.sqrtIm);this.ligtningIm=this.scene.add.image(0,0,"allGraphics2","w001_thunderBolt4new0000");this.ligtningIm.alpha=.5;this.ligtningIm.setOrigin(.5,0);this.ligtningIm.setScale(4,4);this.grp.add(this.ligtningIm);this.ligtningIm.visible=!1;this.updateSize(a);
this.bgdIma=new ImageModifier};$jscomp.inherits(ThunderstormEffect,UnmovableBGD);ThunderstormEffect.prototype.updateSize=function(a){var b=this.myWorld.containerGroup.x-a.leftMargin,c=this.myWorld.containerGroup.y-a.topMargin;this.sqrtIm.displayWidth=a.gameWidth+10;this.sqrtIm.displayHeight=a.gameHeight+10;this.sqrtIm.x=a.gameWidth/2-a.leftMargin-b;this.sqrtIm.y=a.gameHeight/2-a.topMargin-c;this.ligtningIm.x=this.sqrtIm.x;this.ligtningIm.y=-a.topMargin-c};
ThunderstormEffect.prototype.getFullyRemoved=function(){this.sqrtIm.destroy()};ThunderstormEffect.prototype.doStep=function(a){this.sqrtIm.alpha=1-this.myWorld.countdownTillRestart;.25>Math.random()&&(this.sqrtIm.tint=.5>Math.random()?0:16777215);this.ligtningIm.visible?.5>Math.random()&&(this.ligtningIm.visible=!1):.1>Math.random()&&(this.ligtningIm.x=this.sqrtIm.x-200+400*Math.random(),this.ligtningIm.visible=!0)};var SimpleSquareVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.img=a.scene.add.sprite(0,0,"allGraphics2","w000_smallScreenButtons4new0001");a.add(a.img);return a};$jscomp.inherits(SimpleSquareVisual,BasicMachineVisual);
var WheelBarrowTransporterVisual=function(a,b,c,d,e){c=BasicMachineVisual.call(this,a,b,c,d)||this;e="stone"==e?"w001_roughStone4new0000":"w001_wood4new0000";c.upgBtnCoords.x=-250;c.upgBtnCoords.y=40;c.touchRect=new Phaser.Geom.Rectangle(0,0,0,0);c.humanWithCart=new HumanWithCart(a,b,0,0,e);c.humanWithCart.setScale(-1,1);c.humanWithCart.hideBrick();c.add(c.humanWithCart);c.humanWithCart.alpha=0;c.embedVisual(c.humanWithCart);c.dx2Beginning=-200;c.dy2Beginning=-100;a=c.createImageModifier(c.humanWithCart,
10);a.addAnimNode(0,c.humanWithCart.x,c.humanWithCart.y,0,-1,1,0,0,0);a.addAnimNode(.1,c.humanWithCart.x,c.humanWithCart.y,0,-1,1,0,0,1);a.addAnimNode(1,c.humanWithCart.x+c.dx2Beginning,c.humanWithCart.y+c.dy2Beginning,0,-1);a=c.createImageModifier(c.humanWithCart,10);a.addAnimNode(0,c.humanWithCart.x+c.dx2Beginning,c.humanWithCart.y+c.dy2Beginning);a.addAnimNode(.9,c.humanWithCart.x+1,c.humanWithCart.y);a.addAnimNode(1,c.humanWithCart.x+1,c.humanWithCart.y,0,1,1,0,0,0);return c};
$jscomp.inherits(WheelBarrowTransporterVisual,BasicMachineVisual);
WheelBarrowTransporterVisual.prototype.setMoveDeltas=function(a,b){this.dx2Beginning=a;this.dy2Beginning=b;this.imageModifiers[0].modNodeProperty(2,"x",this.humanWithCart.x+this.dx2Beginning);this.imageModifiers[0].modNodeProperty(2,"y",this.humanWithCart.y+this.dy2Beginning);this.imageModifiers[1].modNodeProperty(0,"x",this.humanWithCart.x+this.dx2Beginning);this.imageModifiers[1].modNodeProperty(0,"y",this.humanWithCart.y+this.dy2Beginning);0<=this.dx2Beginning?(this.imageModifiers[0].modNodeProperty(0,
"scaleX",1),this.imageModifiers[0].modNodeProperty(1,"scaleX",1),this.imageModifiers[0].modNodeProperty(2,"scaleX",1),this.imageModifiers[1].modNodeProperty(0,"scaleX",-1),this.imageModifiers[1].modNodeProperty(1,"scaleX",-1),this.imageModifiers[1].modNodeProperty(2,"scaleX",-1)):(this.imageModifiers[0].modNodeProperty(0,"scaleX",-1),this.imageModifiers[0].modNodeProperty(1,"scaleX",-1),this.imageModifiers[0].modNodeProperty(2,"scaleX",-1),this.imageModifiers[1].modNodeProperty(0,"scaleX",1),this.imageModifiers[1].modNodeProperty(1,
"scaleX",1),this.imageModifiers[1].modNodeProperty(2,"scaleX",1))};WheelBarrowTransporterVisual.prototype.startHumanMoveOut=function(a){this.humanWithCart.hideBrick();this.setAnimLength(0,a);this.runAnimId(0,1,0)};WheelBarrowTransporterVisual.prototype.startHumanBackMove=function(a,b){0<b&&this.humanWithCart.showBrick();this.setAnimLength(1,a);this.runAnimId(1,1,0)};
var QuarryVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.y=-400;a.touchRect=new Phaser.Geom.Rectangle(-200,-300,420,300);a.img=a.scene.add.image(0,30,"allGraphics2","w001_quarry4new0000");a.img.setOrigin(.5,1);a.add(a.img);a.brick=a.scene.add.image(0,0,"allGraphics2","w001_roughStone4new0000");a.brick.setOrigin(.5,.5);a.brick.alpha=0;a.add(a.brick);b=a.createImageModifier(a.img,.4);b.addAnimNode(.4,a.img.x,a.img.y,0,1.1,.95);b.addAnimNode(.8,a.img.x,a.img.y,
0,.95,1.1);b=a.createImageModifier(a.brick,.8);b.addAnimNode(0,0,0,0,1,1,1,1,0);b.addAnimNode(.25,210,-152,Math.PI,1,1,1,1,1);b.addAnimNode(.5,300,-17,2*Math.PI,1,1,1,1,1);b.addAnimNode(.8,300,-17,2*Math.PI,1,1,1,1,1);b.addAnimNode(1,300,-17,2*Math.PI,1,1,1,1,0);a.humanAnims=[];a.humansCoords=[{x:187,y:-66,scl:1},{x:134,y:-30,scl:1},{x:239,y:-16,scl:1},{x:-262,y:-7,scl:-1},{x:19,y:-290,scl:-1},{x:-99,y:-263,scl:-1},{x:-185,y:-170,scl:-1},{x:-22,y:-193,scl:-1},{x:79,y:-150,scl:1},{x:-108,y:-142,scl:-1},
{x:-191,y:-44,scl:-1},{x:-5,y:-53,scl:-1},{x:-87,y:-16,scl:-1}];return a};$jscomp.inherits(QuarryVisual,BasicMachineVisual);QuarryVisual.prototype.createMiners=function(a){for(var b=this.humanAnims.length,c=0;c<a;c++)if(this.humanAnims.length<3*this.humansCoords.length){var d=(b+c)%this.humansCoords.length,e=new HumanWithPickAxe(this.scene,this,this.humansCoords[d].x,this.humansCoords[d].y);e.setScale(this.humansCoords[d].scl,1);this.embedVisual(e);this.humanAnims.push(e)}};
var BasicStorageVisual=function(a,b,c,d){return BasicMachineVisual.call(this,a,b,c,d)||this};$jscomp.inherits(BasicStorageVisual,BasicMachineVisual);BasicStorageVisual.prototype.showCurrentValue=function(a){};
var QuarryStorageVisual=function(a,b,c,d){a=BasicStorageVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-110,-120,220,170);a.bricksImgs=[];a.brCoords=[{x:-37,y:-27,r:.5},{x:17,y:-50,r:1.5},{x:55,y:-18,r:-.3},{x:1,y:-44,r:-.1},{x:2,y:-7,r:.6}];for(b=0;b<a.brCoords.length;b++)c=a.scene.add.image(a.brCoords[b].x,a.brCoords[b].y,"allGraphics2","w001_roughStone4new0000"),c.setOrigin(.5,.5),c.rotation=a.brCoords[b].r,a.bricksImgs.push(c),a.add(c),c.visible=!1;a.draggedStonePiece=a.scene.add.image(0,
0,"allGraphics2","w001_roughStone4new0000");a.add(a.draggedStonePiece);a.draggedStonePiece.visible=!1;a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);a.returnedStoneAnim=new AnimatedImage(a.scene,a.grp,{key:"w001_roughStone4new0000"});a.registerAnimatedImage(a.returnedStoneAnim);a.upMoveDx=0;a.upMoveDy=-1;return a};$jscomp.inherits(QuarryStorageVisual,BasicStorageVisual);
QuarryStorageVisual.prototype.doAnimations=function(a){BasicStorageVisual.prototype.doAnimations.call(this,a);this.draggedStonePiece.visible&&(this.draggedStonePiece.y+=500*this.upMoveDy*a,this.draggedStonePiece.x+=500*this.upMoveDx*a)};QuarryStorageVisual.prototype.returnDraggedVal=function(){this.returnedStoneAnim.startFromPoint(this.draggedStonePiece.x,this.draggedStonePiece.y);this.draggedStonePiece.visible=!1};
QuarryStorageVisual.prototype.dropDraggedVal=function(){this.draggedStonePiece.visible=!1};QuarryStorageVisual.prototype.showDraggedVal=function(){this.draggedStonePiece.visible=!0;this.draggedStonePiece.x=0;this.draggedStonePiece.y=0};QuarryStorageVisual.prototype.showValDragging=function(a,b){this.draggedStonePiece.x=a-this.x;this.draggedStonePiece.y=b-this.y};QuarryStorageVisual.prototype.getWorldXOfDraggedStone=function(){return this.draggedStonePiece.x+this.x};
QuarryStorageVisual.prototype.getWorldYOfDraggedStone=function(){return this.draggedStonePiece.y+this.y};QuarryStorageVisual.prototype.showCurrentValue=function(a){var b=Math.sqrt(a/100);for(var c=0;c<this.bricksImgs.length;c++){var d=this.bricksImgs[c],e=b/(1/this.bricksImgs.length);e<c?d.visible=!1:(e>=c+1?(d.setScale(1,1),d.y=this.brCoords[c].y):(d.setScale(e-c,e-c),d.y=this.brCoords[c].y+50*(1-(e-c))),d.visible=!0)}0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var BricksStorageVisual=function(a,b,c,d){a=BasicStorageVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-120,-85,240,85);a.bricksImgs=[];b=[{x:-70,y:0},{x:1,y:0},{x:73,y:0},{x:-36,y:-40},{x:35,y:-40},{x:1,y:-73}];for(c=0;c<b.length;c++)d=a.scene.add.image(b[c].x,b[c].y,"allGraphics2","w001_brick4new0000"),d.setOrigin(.5,1),a.bricksImgs.push(d),a.add(d),d.visible=!1;a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});
a.text.mustTranslateShownText=!1;a.add(a.text);return a};$jscomp.inherits(BricksStorageVisual,BasicStorageVisual);BricksStorageVisual.prototype.showCurrentValue=function(a){var b=Math.sqrt(a/100);for(var c=0;c<this.bricksImgs.length;c++){var d=this.bricksImgs[c],e=b/(1/this.bricksImgs.length);e<c?d.visible=!1:(e>=c+1?d.setScale(1,1):d.setScale(e-c,e-c),d.visible=!0)}0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var BricksProducerTentVisual=function(a,b,c,d){c=BasicMachineVisual.call(this,a,b,c,d)||this;c.upgBtnCoords.x=25;c.upgBtnCoords.y=35;c.touchRect=new Phaser.Geom.Rectangle(-320,-185,440,185);c.workerIm=c.scene.add.image(32,-18,"allGraphics2","w001_workerSimple4new0000");c.workerIm.setOrigin(.5,1);c.add(c.workerIm);c.workerIm.setScale(-1,1);c.createdBrickIm=c.scene.add.image(3,-38,"allGraphics2","w001_brick4new0000");c.createdBrickIm.setOrigin(.5,1);c.add(c.createdBrickIm);c.createdBrickIm.visible=
!1;c.outBrickIm=c.scene.add.image(3,-38,"allGraphics2","w001_brick4new0000");c.outBrickIm.setOrigin(.5,1);c.add(c.outBrickIm);c.outBrickIm.visible=!1;c.baseIm=c.scene.add.image(0,-13,"allGraphics2","w001_brickMakerBottom4new0000");c.baseIm.setOrigin(.5,1);c.add(c.baseIm);c.stoneBufferIm=c.scene.add.image(-133,-41,"allGraphics2","w001_roughStone4new0000");c.stoneBufferIm.setOrigin(.5,.5);c.stoneBufferIm.rotation=-.4;c.add(c.stoneBufferIm);c.stoneBufferIm.visible=!1;c.stoneQuantityInf=new TFWithBGD(c.scene,
c,"",c.stoneBufferIm.x,c.stoneBufferIm.y+50,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});c.stoneQuantityInf.mustTranslateShownText=!1;c.transferredStoneIm=c.scene.add.image(-133,-41,"allGraphics2","w001_roughStone4new0000");c.transferredStoneIm.setOrigin(.5,.5);c.transferredStoneIm.rotation=-.4;c.add(c.transferredStoneIm);c.transferredStoneIm.visible=!1;c.cloudsAnim=new DustCloudsAnim(a,b,3,-38);c.add(c.cloudsAnim);c.sparklesAnim=new SparklesLineAnim(a,b,-20,-38);c.add(c.sparklesAnim);
c.embedVisual(c.cloudsAnim);c.embedVisual(c.sparklesAnim);c.tentIm=c.scene.add.image(0,0,"allGraphics2","w001_tent4new0000");c.tentIm.setOrigin(.5,1);c.add(c.tentIm);a=c.createImageModifier(c.outBrickIm,.8);a.addAnimNode(0,c.outBrickIm.x,c.outBrickIm.y,0,1,1,1,1,1);a.addAnimNode(.25,c.outBrickIm.x+54,c.outBrickIm.y-18,0,1,1,1,1,1);a.addAnimNode(.5,c.outBrickIm.x+143,c.outBrickIm.y+46,0,1,1,1,1,1);a.addAnimNode(.75,c.outBrickIm.x+143,c.outBrickIm.y+46,0,1,1,1,1,1);a.addAnimNode(1,c.outBrickIm.x+143,
c.outBrickIm.y+46,0,1,1,1,1,0);a=c.createImageModifier(c.transferredStoneIm,1);a.addAnimNode(0,c.transferredStoneIm.x,c.transferredStoneIm.y,c.transferredStoneIm.rotation,1,1,1,1,1);a.addAnimNode(.1,c.createdBrickIm.x,c.createdBrickIm.y-30,c.transferredStoneIm.rotation,1,1,1,1,1);a.addAnimNode(1,c.createdBrickIm.x,c.createdBrickIm.y-30,c.transferredStoneIm.rotation,1,1,1,1,0);a=c.createImageModifier(c.createdBrickIm,1);a.addAnimNode(0,c.createdBrickIm.x,c.createdBrickIm.y,0,1,1,1,1,0,1);a.addAnimNode(1,
c.createdBrickIm.x,c.createdBrickIm.y,0,1,1,1,1,1,0,1);a=c.createImageModifier(c.tentIm,.4);a.addAnimNode(.4,0,0,0,1.1,.95);a.addAnimNode(.8,0,0,0,.95,1.1);a=c.createImageModifier(c.workerIm,.6);a.addAnimNode(.4,c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,.95);a.addAnimNode(.8,c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,1.1);a=c.createImageModifier(c.workerIm,3.6);a.addAnimNode(.4999,c.workerIm.x-50,c.workerIm.y,0,-1);a.addAnimNode(.5,c.workerIm.x-50,c.workerIm.y,0,1);a.addAnimNode(.999,c.workerIm.x,
c.workerIm.y,0,1);c.returnedStoneAnim=new AnimatedImage(c.scene,c.grp,{key:"w001_roughStone4new0000"});c.registerAnimatedImage(c.returnedStoneAnim);c.returnedStoneAnim.placeInCoords(c.stoneBufferIm.x,c.stoneBufferIm.y);return c};$jscomp.inherits(BricksProducerTentVisual,BasicMachineVisual);
BricksProducerTentVisual.prototype.showStoneProcessingCompletion=function(){this.updateStoneProcessingAnimationsAtLambda(1);this.stopAnimId(1);this.stopAnimId(2);this.runAnimId(0,1,0);this.createdBrickIm.visible=!1;this.cloudsAnim.stopAnimations();this.sparklesAnim.stopAnimations();this.stopAnimId(4);this.stopAnimId(5)};
BricksProducerTentVisual.prototype.startStoneProcessing=function(a,b){this.imageModifiers[1].modNodeProperty(1,"lambda",.1/a);this.runAnimId(1,1,0);this.runAnimId(2,1,0);this.stoneBufferIm.visible=0<b;this.showProductionDebris(a);this.runAnimId(4,-1,0);this.runAnimId(5,-1,0)};
BricksProducerTentVisual.prototype.showProductionDebris=function(a){this.cloudsAnim.startAnimations(this.cloudsAnim.x,this.cloudsAnim.y,a,!1);this.sparklesAnim.startAnimations(this.sparklesAnim.x,this.sparklesAnim.y,a,!1);this.sparklesAnim.rotation=-Math.PI/4};BricksProducerTentVisual.prototype.updateStoneProcessingAnimationsAtLambda=function(a){this.setAnimLambda(1,a);this.setAnimLambda(2,a)};BricksProducerTentVisual.prototype.showInputBufferVal=function(a){this.stoneBufferIm.visible=0<a};
BricksProducerTentVisual.prototype.startCloudAnim=function(a,b){this.cloudsAnim.startAnimations(a,b,10,!1)};BricksProducerTentVisual.prototype.startSparklesAnim=function(a,b,c){this.sparklesAnim.startAnimations(a,b,10,!1);this.sparklesAnim.rotation=c};BricksProducerTentVisual.prototype.playReceivingAnimationFrom=function(a,b){this.returnedStoneAnim.startFromPoint(a-this.x,b-this.y)};
BricksProducerTentVisual.prototype.showStoneValue=function(a){0==a?(this.stoneQuantityInf.showText(""),this.stoneBufferIm.visible=!1,this.stoneQuantityInf.visible=!1):(this.stoneQuantityInf.visible=!0,this.stoneQuantityInf.showText(window.bottleScreen.utils.showNumberAsText(a)),this.stoneBufferIm.visible=!0)};
var CraneVisual=function(a,b,c,d){c=BasicMachineVisual.call(this,a,b,c,d)||this;c.touchRect=new Phaser.Geom.Rectangle(-80,-94,160,94);c.elevatorVis=new ElevatorOfBricks(a,b,0,0);c.embedVisual(c.elevatorVis);c.add(c.elevatorVis);c.elevatorVis.visible=!0;c.elevatorVis.x=-20;c.elevatorVis.setScale(1,1);c.elevatorVis.setNewDist2Floor(50);c.currentlyBuiltPart=new BuiltCraneVisual(a,b,0,0);c.add(c.currentlyBuiltPart);c.humanWithCart=new HumanWithCart(a,b,0,0,"w001_plank4new0000");c.humanWithCart.setScale(-1,
1);c.humanWithCart.hideBrick();c.add(c.humanWithCart);c.humanWithCart.alpha=0;c.humanWithManifest=new HumanManifestation(a,b,-30,20);c.add(c.humanWithManifest);c.embedVisual(c.humanWithManifest);c.humanWithManifest.visible=!1;c.sectionsImgs=[];c.animWaves=[];a=c.createImageModifier(c.humanWithCart,10);a.addAnimNode(0,c.humanWithCart.x,c.humanWithCart.y,0,-1,1,0,0,0);a.addAnimNode(.1,c.humanWithCart.x,c.humanWithCart.y,0,-1,1,0,0,1);a.addAnimNode(1,c.humanWithCart.x-100,c.humanWithCart.y+200,0,-1);
a=c.createImageModifier(c.humanWithCart,10);a.addAnimNode(0,c.humanWithCart.x-100,c.humanWithCart.y+200);a.addAnimNode(.9,c.humanWithCart.x+1,c.humanWithCart.y);a.addAnimNode(1,c.humanWithCart.x+1,c.humanWithCart.y,0,1,1,0,0,0);c.gunPowderSackAnim=new AnimatedImage(c.scene,c.grp,{key:"w011_gunpowderSack4new0000"});c.registerAnimatedImage(c.gunPowderSackAnim);c.gunPowderSackAnim.placeInCoords(-50,0);return c};$jscomp.inherits(CraneVisual,BasicMachineVisual);CraneVisual.prototype.addBricks=function(a){this.currentlyBuiltPart.addNewBrick()};
CraneVisual.prototype.getStoreyFloorY=function(a){return-a*this.currentlyBuiltPart.getWallH()};CraneVisual.prototype.getTotalBricksInStorey=function(){return this.currentlyBuiltPart.getTotalBricksInStorey()};CraneVisual.prototype.getNumBrick2CompleteStorey=function(){return this.currentlyBuiltPart.getNumBrick2CompleteStorey()};
CraneVisual.prototype.showReducedHeight=function(a){this.currentlyBuiltPart.resetAtNewHeight(a);var b=this.currentlyBuiltPart.getWallH();this.elevatorVis.visible=!0;this.elevatorVis.y=-a*b-10;for(this.elevatorVis.setNewDist2Floor(Math.abs(-(a-1)*b)+82);this.sectionsImgs.length>a;)this.sectionsImgs[this.sectionsImgs.length-1].destroy(),this.sectionsImgs.length--;this.touchRect.top=b*(a+1)};
CraneVisual.prototype.fixNewStorageBuildCompletion=function(a){this.currentlyBuiltPart.resetAtNewHeight(a);var b=this.currentlyBuiltPart.getWallH(),c=this.scene.add.image(0,-a*b+5,"allGraphics2","w001_craneBlock4new0000");c.setOrigin(.5,1);this.add(c);this.sectionsImgs.push(c);this.touchRect.top-=b;this.elevatorVis.visible=!0;this.elevatorVis.y=-(a+1)*b-10;this.elevatorVis.setNewDist2Floor(Math.abs(-a*b)+82);this.bringToTop(this.elevatorVis)};
CraneVisual.prototype.startGunPowderSackMove=function(a,b){0<b&&this.gunPowderSackAnim.startFromPoint(-168,39)};CraneVisual.prototype.startHumanMove=function(a){this.humanWithCart.setScale(-1,1);this.humanWithCart.hideBrick();this.setAnimLength(0,a);this.runAnimId(0,1,0)};CraneVisual.prototype.startHumanBackMove=function(a,b){this.humanWithCart.setScale(1,1);0<b&&this.humanWithCart.showBrick();this.setAnimLength(1,a);this.runAnimId(1,1,0)};
CraneVisual.prototype.startElevatorMove=function(a,b,c){this.elevatorVis.visible&&this.elevatorVis.startMovingUp(a,b,c)};CraneVisual.prototype.stopMovingUpAnimation=function(){this.elevatorVis.stopMovingUpAnimation()};CraneVisual.prototype.updateElevatorAnimationsAtLambda=function(a,b){this.elevatorVis.updateElevatorAnimationsAtLambda(a,b)};CraneVisual.prototype.startElevatorMoveDown=function(a){this.elevatorVis.visible&&this.elevatorVis.startMovingDown()};
CraneVisual.prototype.startManifestation=function(a){this.humanWithManifest.showPhrase(a);this.humanWithManifest.startAnimation();this.humanWithManifest.visible=!0};CraneVisual.prototype.stopManifestation=function(a){this.humanWithManifest.stopAnimation();this.humanWithManifest.visible=!1};CraneVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.humanWithCart.doAnimations(a);for(var b=0;b<this.animWaves.length;b++)this.animWaves[b].doStep(a)};
CraneVisual.prototype.startWave=function(){for(var a=null,b=0;b<this.animWaves.length;b++)if(!this.animWaves[b].isAnimationRunning){a=this.animWaves[b];break}a||(a=new WaveMover(this.sectionsImgs),this.animWaves.push(a));a.startAnimation()};
var WoodStorageVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-110,-120,220,170);a.bricksImgs=[];a.brCoords=[{x:-37,y:0},{x:0,y:0},{x:37,y:0},{x:-16,y:-30},{x:16,y:-30},{x:0,y:-60}];for(b=0;b<a.brCoords.length;b++)c=a.scene.add.image(a.brCoords[b].x,a.brCoords[b].y,"allGraphics2","w001_wood4new0000"),c.setOrigin(.5,1),a.bricksImgs.push(c),a.add(c),c.visible=!1;a.draggedStonePiece=a.scene.add.image(0,0,"allGraphics2","w001_wood4new0000");
a.add(a.draggedStonePiece);a.draggedStonePiece.visible=!1;a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);a.returnedStoneAnim=new AnimatedImage(a.scene,a.grp,{key:"w001_wood4new0000"});a.registerAnimatedImage(a.returnedStoneAnim);a.upMoveDx=0;a.upMoveDy=-1;return a};$jscomp.inherits(WoodStorageVisual,BasicMachineVisual);
WoodStorageVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.draggedStonePiece.visible&&(this.draggedStonePiece.y+=500*this.upMoveDy*a,this.draggedStonePiece.x+=500*this.upMoveDx*a)};WoodStorageVisual.prototype.returnDraggedVal=function(){this.returnedStoneAnim.startFromPoint(this.draggedStonePiece.x,this.draggedStonePiece.y);this.draggedStonePiece.visible=!1};WoodStorageVisual.prototype.dropDraggedVal=function(){this.draggedStonePiece.visible=!1};
WoodStorageVisual.prototype.showDraggedVal=function(){this.draggedStonePiece.visible=!0;this.draggedStonePiece.x=0;this.draggedStonePiece.y=0};WoodStorageVisual.prototype.showValDragging=function(a,b){this.draggedStonePiece.x=a-this.x;this.draggedStonePiece.y=b-this.y};WoodStorageVisual.prototype.getWorldXOfDraggedStone=function(){return this.draggedStonePiece.x+this.x};WoodStorageVisual.prototype.getWorldYOfDraggedStone=function(){return this.draggedStonePiece.y+this.y};
WoodStorageVisual.prototype.showCurrentValue=function(a){var b=Math.sqrt(a/100);for(var c=0;c<this.bricksImgs.length;c++){var d=this.bricksImgs[c],e=b/(1/this.bricksImgs.length);e<c?d.visible=!1:(e>=c+1?d.setScale(1,1):d.setScale(e-c,e-c),d.visible=!0)}0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var PlanksStorageVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-120,-85,240,85);a.bricksImgs=[];b=[{x:0,y:0},{x:0,y:-18},{x:0,y:-36},{x:0,y:-54},{x:0,y:-72},{x:0,y:-90}];for(c=0;c<b.length;c++)d=a.scene.add.image(b[c].x,b[c].y,"allGraphics2","w001_plank4new0000"),d.setOrigin(.5,1),a.bricksImgs.push(d),a.add(d),d.visible=!1;a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=
!1;a.add(a.text);return a};$jscomp.inherits(PlanksStorageVisual,BasicMachineVisual);PlanksStorageVisual.prototype.showCurrentValue=function(a){var b=Math.sqrt(a/100);for(var c=0;c<this.bricksImgs.length;c++){var d=this.bricksImgs[c],e=b/(1/this.bricksImgs.length);e<c?d.visible=!1:(e>=c+1?d.setScale(1,1):d.setScale(e-c,e-c),d.visible=!0)}0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var WaterWellVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-150,-120,300,200);a.wellBack=a.scene.add.image(-12,-62,"allGraphics2","w001_waterWellBack4new0000");a.wellBack.setOrigin(.5,.5);a.add(a.wellBack);a.waterIm=a.scene.add.image(-12,-55,"allGraphics2","w001_waterWellWater4new0000");a.waterIm.setOrigin(.5,.5);a.add(a.waterIm);a.waterImY0=a.waterIm.y;a.wellFront=a.scene.add.image(-13,-26,"allGraphics2","w001_waterWellFront4new0000");
a.wellFront.setOrigin(.5,.5);a.add(a.wellFront);a.draggedStonePiece=a.scene.add.image(0,0,"allGraphics2","w001_waterBucket4new0000");a.draggedStonePiece.setOrigin(.5,.5);a.add(a.draggedStonePiece);a.draggedStonePiece.visible=!1;a.returnedStoneAnim=new AnimatedImage(a.scene,a.grp,{key:"w001_waterBucketEmpty4new0000",mode:"withRotation"});a.registerAnimatedImage(a.returnedStoneAnim);return a};$jscomp.inherits(WaterWellVisual,BasicMachineVisual);
WaterWellVisual.prototype.returnDraggedVal=function(){this.returnedStoneAnim.startFromPoint(this.draggedStonePiece.x,this.draggedStonePiece.y);this.draggedStonePiece.visible=!1};WaterWellVisual.prototype.dropDraggedVal=function(){this.returnedStoneAnim.startFromPoint(this.draggedStonePiece.x,this.draggedStonePiece.y);this.draggedStonePiece.visible=!1};WaterWellVisual.prototype.showDraggedVal=function(){this.draggedStonePiece.visible=!0;this.draggedStonePiece.x=0;this.draggedStonePiece.y=0};
WaterWellVisual.prototype.showValDragging=function(a,b){this.draggedStonePiece.x=a-this.x;this.draggedStonePiece.y=b-this.y};WaterWellVisual.prototype.showWaterLevel=function(a,b){a/=b;0>a&&(a=0);1<a&&(a=1);this.waterIm.y=this.waterImY0+31*(1-a)};WaterWellVisual.prototype.getWorldXOfDraggedStone=function(){return this.draggedStonePiece.x+this.x};WaterWellVisual.prototype.getWorldYOfDraggedStone=function(){return this.draggedStonePiece.y+this.y};
var ForestVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-275,-250,550,270);a.upgBtnCoords.y=-287;a.treesCoords=[{x:207,y:-95},{x:-151,y:-90},{x:-11,y:-85},{x:135,y:-85},{x:-117,y:-78},{x:66,y:-68},{x:-222,y:-71},{x:170,y:-70},{x:242,y:-64},{x:22,y:-65},{x:-79,y:-64},{x:106,y:-52},{x:-37,y:-52},{x:-179,y:-57},{x:197,y:-45},{x:-170,y:-34},{x:-138,y:-22},{x:-28,y:-33},{x:121,y:-32},{x:-241,y:-21},{x:157,y:-19},{x:8,y:-16},{x:-202,y:-7},{x:233,
y:-15},{x:52,y:-8},{x:93,y:-8},{x:-98,y:2},{x:-58,y:-6}];a.forestGrp=a.scene.add.container();a.add(a.forestGrp);a.img=a.scene.add.image(0,26,"allGraphics2","w001_forestHill4new0000");a.img.setOrigin(.5,1);a.img.setScale(2,2);a.img.tint=14540287;a.forestGrp.add(a.img);a.treemsImgs=[];a.stumpsImgs=[];for(b=0;b<a.treesCoords.length;b++)c=a.scene.add.image(a.treesCoords[b].x,a.treesCoords[b].y,"allGraphics2","w001_singleTreeStump4new0000"),c.setOrigin(.5,1),a.stumpsImgs.push(c),a.forestGrp.add(c),c.visible=
!1,c=a.scene.add.image(a.treesCoords[b].x,a.treesCoords[b].y,"allGraphics2","w001_singleTree4new0000"),c.setOrigin(.5,1),a.treemsImgs.push(c),a.forestGrp.add(c);a.oldVisTrees=a.treemsImgs.length;a.brick=a.scene.add.image(0,0,"allGraphics2","w001_wood4new0000");a.brick.setOrigin(.5,.5);a.brick.alpha=0;a.add(a.brick);b=a.createImageModifier(a.forestGrp,.4);b.addAnimNode(.4,a.forestGrp.x,a.forestGrp.y,0,1.02,.95,.1);b.addAnimNode(.8,a.forestGrp.x,a.forestGrp.y,0,.95,1.1,-.1);b=a.createImageModifier(a.brick,
.8);b.addAnimNode(0,0,0,0,1,1,1,1,0);b.addAnimNode(.25,50,-152,Math.PI,1,1,1,1,1);b.addAnimNode(.5,160,127,2*Math.PI,1,1,1,1,1);b.addAnimNode(.8,160,127,2*Math.PI,1,1,1,1,1);b.addAnimNode(1,160,127,2*Math.PI,1,1,1,1,0);a.humanAnims=[];a.humansCoords=[{x:-307,y:2,scl:1},{x:-169,y:-8,scl:1},{x:-30,y:0,scl:1},{x:-237,y:26,scl:1},{x:-106,y:26,scl:1},{x:114,y:-5,scl:1},{x:22,y:46,scl:1},{x:183,y:21,scl:1}];return a};$jscomp.inherits(ForestVisual,BasicMachineVisual);
ForestVisual.prototype.showWoodValue=function(a,b){a/=b;0>a&&(a=0);1<a&&(a=1);a=Math.round(a*this.treemsImgs.length);if(a!=this.oldVisTrees){if(a<this.oldVisTrees){for(b=this.oldVisTrees-1;b>=a;b--)this.stumpsImgs[b].visible=!0,this.treemsImgs[b].visible=!1;if(0==a)for(b=0;b<this.humanAnims.length;b++)this.humanAnims[b].pauseAnimations()}else{for(b=this.oldVisTrees;b<a;b++)this.treemsImgs[b].visible=!0,this.stumpsImgs[b].visible=!1;if(0==this.oldVisTrees)for(b=0;b<this.humanAnims.length;b++)this.humanAnims[b].resumeAnimations()}this.oldVisTrees=
a}};ForestVisual.prototype.showMisleadTreeGrowth=function(a){if(this.oldVisTrees<this.treemsImgs.length-1&&(this.treemsImgs[this.oldVisTrees].visible=!0,this.stumpsImgs[this.oldVisTrees].visible=!1,this.oldVisTrees++,1==this.oldVisTrees))for(var b=0;b<this.humanAnims.length;b++)this.humanAnims[b].resumeAnimations();this.lastInterfaceUpdateMoment=a};
ForestVisual.prototype.createMiners=function(a){for(var b=this.humanAnims.length,c=0;c<a;c++)if(this.humanAnims.length<3*this.humansCoords.length){var d=(b+c)%this.humansCoords.length,e=new HumanWithAxe(this.scene,this,this.humansCoords[d].x,this.humansCoords[d].y);e.setScale(this.humansCoords[d].scl,1);this.embedVisual(e);this.humanAnims.push(e)}};
var LumbermillVisual=function(a,b,c,d){c=BasicMachineVisual.call(this,a,b,c,d)||this;c.upgBtnCoords.x=0;c.upgBtnCoords.y=35;c.touchRect=new Phaser.Geom.Rectangle(-320,-150,500,300);c.workerIm=c.scene.add.image(32,-18,"allGraphics2","w001_workerSimple4new0000");c.workerIm.setOrigin(.5,1);c.add(c.workerIm);c.workerIm.setScale(-1,1);c.createdBrickIm=c.scene.add.image(-10,-35,"allGraphics2","w001_plank4new0000");c.createdBrickIm.setOrigin(.5,1);c.add(c.createdBrickIm);c.createdBrickIm.visible=!1;c.createdBrickIm.rotation=
.5;c.outBrickIm=c.scene.add.image(-10,-35,"allGraphics2","w001_plank4new0000");c.outBrickIm.setOrigin(.5,1);c.add(c.outBrickIm);c.outBrickIm.visible=!1;c.outBrickIm.rotation=.5;c.baseBackIm=c.scene.add.image(-11,-21,"allGraphics2","w001_plankSawBack4new0000");c.baseBackIm.setOrigin(.5,1);c.add(c.baseBackIm);c.sawIm=c.scene.add.image(-20,-36,"allGraphics2","w001_plankSawSaw4new0000");c.sawIm.setOrigin(.5,.5);c.add(c.sawIm);c.baseIm=c.scene.add.image(4,0,"allGraphics2","w001_plankSawFront4new0000");
c.baseIm.setOrigin(.5,1);c.add(c.baseIm);c.stoneBufferIm=c.scene.add.image(120,-4,"allGraphics2","w001_wood4new0000");c.stoneBufferIm.setOrigin(.5,.5);c.add(c.stoneBufferIm);c.stoneBufferIm.visible=!1;c.stoneQuantityInf=new TFWithBGD(c.scene,c,"",c.stoneBufferIm.x,c.stoneBufferIm.y+50,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});c.stoneQuantityInf.mustTranslateShownText=!1;c.transferredStoneIm=c.scene.add.image(54,-28,"allGraphics2","w001_wood4new0000");c.transferredStoneIm.setOrigin(.5,
.5);c.add(c.transferredStoneIm);c.transferredStoneIm.visible=!1;c.cloudsAnim=new DustCloudsAnim(a,b,3,-38);c.add(c.cloudsAnim);c.sparklesAnim=new SparklesLineAnim(a,b,-20,-38);c.add(c.sparklesAnim);c.embedVisual(c.cloudsAnim);c.embedVisual(c.sparklesAnim);c.tentIm=c.scene.add.image(0,20,"allGraphics2","w001_tent4new0000");c.tentIm.setOrigin(.5,1);c.add(c.tentIm);a=c.createImageModifier(c.outBrickIm,.8);a.addAnimNode(0,c.outBrickIm.x,c.outBrickIm.y,c.outBrickIm.rotation,1,1,1,1,1);a.addAnimNode(.25,
c.outBrickIm.x-90,c.outBrickIm.y-18,.5*c.outBrickIm.rotation,1,1,1,1,1);a.addAnimNode(.5,c.outBrickIm.x-162,c.outBrickIm.y+54,0,1,1,1,1,1);a.addAnimNode(.75,c.outBrickIm.x-162,c.outBrickIm.y+54,0,1,1,1,1,1);a.addAnimNode(1,c.outBrickIm.x-162,c.outBrickIm.y+54,0,1,1,1,1,0);a=c.createImageModifier(c.transferredStoneIm,1);a.addAnimNode(0,c.stoneBufferIm.x,c.stoneBufferIm.y,c.transferredStoneIm.rotation,1,1,1,1,1);a.addAnimNode(.1,c.transferredStoneIm.x,c.transferredStoneIm.y,c.transferredStoneIm.rotation,
1,1,1,1,1);a.addAnimNode(1,c.createdBrickIm.x,c.createdBrickIm.y,c.transferredStoneIm.rotation,1,1,1,1,0);a=c.createImageModifier(c.createdBrickIm,1);a.addAnimNode(0,c.createdBrickIm.x,c.createdBrickIm.y,0,1,1,1,1,0,1);a.addAnimNode(1,c.createdBrickIm.x,c.createdBrickIm.y,0,1,1,1,1,1,0,1);a=c.createImageModifier(c.tentIm,.4);a.addAnimNode(.4,0,0,0,1.1,.95);a.addAnimNode(.8,0,0,0,.95,1.1);a=c.createImageModifier(c.workerIm,.6);a.addAnimNode(.4,c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,.95);a.addAnimNode(.8,
c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,1.1);a=c.createImageModifier(c.workerIm,3.6);a.addAnimNode(.4999,c.workerIm.x-50,c.workerIm.y,0,-1);a.addAnimNode(.5,c.workerIm.x-50,c.workerIm.y,0,1);a.addAnimNode(.999,c.workerIm.x,c.workerIm.y,0,1);a=c.createImageModifier(c.sawIm,.6);a.addAnimNode(.4,c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,.95);a.addAnimNode(.8,c.workerIm.x,c.workerIm.y,0,c.workerIm.scaleX,1.1);c.returnedStoneAnim=new AnimatedImage(c.scene,c.grp,{key:"w001_wood4new0000"});c.registerAnimatedImage(c.returnedStoneAnim);
c.returnedStoneAnim.placeInCoords(c.stoneBufferIm.x,c.stoneBufferIm.y);return c};$jscomp.inherits(LumbermillVisual,BasicMachineVisual);LumbermillVisual.prototype.showStoneProcessingCompletion=function(){this.updateStoneProcessingAnimationsAtLambda(1);this.stopAnimId(1);this.stopAnimId(2);this.runAnimId(0,1,0);this.createdBrickIm.visible=!1;this.cloudsAnim.stopAnimations();this.sparklesAnim.stopAnimations();this.stopAnimId(4);this.stopAnimId(5)};
LumbermillVisual.prototype.startStoneProcessing=function(a,b){this.imageModifiers[1].modNodeProperty(1,"lambda",.1/a);this.runAnimId(1,1,0);this.runAnimId(2,1,0);this.stoneBufferIm.visible=0<b;this.showProductionDebris(a);this.runAnimId(4,-1,0);this.runAnimId(5,-1,0)};
LumbermillVisual.prototype.showProductionDebris=function(a){this.cloudsAnim.startAnimations(this.cloudsAnim.x,this.cloudsAnim.y,a,!1);this.sparklesAnim.startAnimations(this.sparklesAnim.x,this.sparklesAnim.y,a,!1);this.sparklesAnim.rotation=-Math.PI/4-Math.PI/2};LumbermillVisual.prototype.updateStoneProcessingAnimationsAtLambda=function(a){this.setAnimLambda(1,a);this.setAnimLambda(2,a)};LumbermillVisual.prototype.showInputBufferVal=function(a){this.stoneBufferIm.visible=0<a};
LumbermillVisual.prototype.startCloudAnim=function(a,b){this.cloudsAnim.startAnimations(a,b,10,!1)};LumbermillVisual.prototype.startSparklesAnim=function(a,b,c){this.sparklesAnim.startAnimations(a,b,10,!1);this.sparklesAnim.rotation=c};LumbermillVisual.prototype.playReceivingAnimationFrom=function(a,b){this.returnedStoneAnim.startFromPoint(a-this.x,b-this.y)};
LumbermillVisual.prototype.showStoneValue=function(a){0==a?(this.stoneQuantityInf.showText(""),this.stoneBufferIm.visible=!1,this.stoneQuantityInf.visible=!1):(this.stoneQuantityInf.showText(window.bottleScreen.utils.showNumberAsText(a)),this.stoneQuantityInf.visible=!0,this.stoneBufferIm.visible=!0)};
var WaterPumpVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-80,-130,160,130);a.upgBtnCoords.x=0;a.upgBtnCoords.y=-200;a.hoseCoords=[{x:97,y:3,r:Math.PI/2},{x:95,y:-16,r:99},{x:88,y:-32,r:99},{x:74,y:-39,r:99},{x:57,y:-37,r:-Math.PI/6},{x:-56,y:-24,r:.1},{x:-74,y:-30,r:99},{x:-86,y:-43,r:99},{x:-91,y:-62,r:99},{x:-98,y:-79,r:99},{x:-111,y:-90,r:99},{x:-130,y:-96,r:.2}];a.leftWorkerIm=a.scene.add.image(-53,-25,"allGraphics2","w001_workerSimple4new0000").setOrigin(.5,
1);a.rightWorkerIm=a.scene.add.image(58,-27,"allGraphics2","w001_workerSimple4new0000").setOrigin(.5,1).setScale(-1,1);a.leftPusherIm=a.scene.add.image(-22,-66,"allGraphics2","w001_pumpPusher4new0000").setOrigin(.5,0);a.rightPusherIm=a.scene.add.image(22,-67,"allGraphics2","w001_pumpPusher4new0000").setOrigin(.5,0);a.botIm=a.scene.add.image(2,-3,"allGraphics2","w001_pumpBottom4new0000").setOrigin(.5,.5);a.axleIm=a.scene.add.image(0,-58,"allGraphics2","w001_pumpAxle4new0000").setOrigin(.5,.5);a.levelIm=
a.scene.add.image(0,-68,"allGraphics2","w001_pumpLever4new0000").setOrigin(.5,.5);a.leftTankIm=a.scene.add.image(-24,-31,"allGraphics2","w001_pumpTankLeft4new0000").setOrigin(.5,.5);a.rightTankIm=a.scene.add.image(26,-31,"allGraphics2","w001_pumpTankRight4new0000").setOrigin(.5,.5);a.add(a.leftWorkerIm);a.add(a.rightWorkerIm);a.add(a.leftPusherIm);a.add(a.rightPusherIm);a.add(a.botIm);a.add(a.axleIm);a.add(a.levelIm);a.add(a.leftTankIm);a.add(a.rightTankIm);a.hoseSegments=[];for(b=0;b<a.hoseCoords.length;b++)c=
a.hoseCoords[b],d=a.scene.add.image(c.x,c.y,"allGraphics2","w001_hoseSegment4new0000").setOrigin(.5,.5),a.hoseSegments.push(d),a.add(d),d.rotation=99==c.r?Math.atan2(a.hoseSegments[b-1].y-c.y,a.hoseSegments[b-1].x-c.x):c.r;a.hoseEndIm=a.scene.add.image(-141,-97,"allGraphics2","w001_hoseEnd4new0000").setOrigin(.75,.5);a.hoseSegments.push(a.hoseEndIm);a.waterIm=a.scene.add.image(-157,-97,"allGraphics2","w001_waterFromHose4new0000").setOrigin(1,.5);a.waterIm.scaleX=0;a.add(a.hoseEndIm);a.add(a.waterIm);
a.sectionsImgs=[];a.animWaves=[];for(b=0;5>b;b++)a.sectionsImgs.push(a.hoseSegments[b]);for(b=5;b<a.hoseSegments.length;b++)a.sectionsImgs.push(a.hoseSegments[b]);b=a.createImageModifier(a.levelIm,2);b.addAnimNode(.25,a.levelIm.x,a.levelIm.y,Math.PI/12);b.addAnimNode(.75,a.levelIm.x,a.levelIm.y,-Math.PI/12);b.startAnimation(-1,0);b=a.createImageModifier(a.leftPusherIm,2);b.addAnimNode(.25,a.leftPusherIm.x,a.leftPusherIm.y-7);b.addAnimNode(.75,a.leftPusherIm.x,a.leftPusherIm.y+7);b.startAnimation(-1,
0);b=a.createImageModifier(a.rightPusherIm,2);b.addAnimNode(.25,a.rightPusherIm.x,a.leftPusherIm.y+7);b.addAnimNode(.75,a.rightPusherIm.x,a.leftPusherIm.y-7);b.startAnimation(-1,0);b=a.createImageModifier(a.leftWorkerIm,2);b.addAnimNode(.25,a.leftWorkerIm.x,a.leftWorkerIm.y-14,0,a.leftWorkerIm.scaleX);b.addAnimNode(.75,a.leftWorkerIm.x,a.leftWorkerIm.y+14,0,a.leftWorkerIm.scaleX);b.startAnimation(-1,0);b=a.createImageModifier(a.rightWorkerIm,2);b.addAnimNode(.25,a.rightWorkerIm.x,a.rightWorkerIm.y+
14,0,a.rightWorkerIm.scaleX);b.addAnimNode(.75,a.rightWorkerIm.x,a.rightWorkerIm.y-14,0,a.rightWorkerIm.scaleX);b.startAnimation(-1,0);b=a.createImageModifier(a.leftTankIm,2);b.addAnimNode(.25,a.leftTankIm.x,a.leftTankIm.y,0,a.leftTankIm.scaleX);b.addAnimNode(.75,a.leftTankIm.x,a.leftTankIm.y,0,1.1*a.leftTankIm.scaleX);b.startAnimation(-1,0);b=a.createImageModifier(a.rightTankIm,2);b.addAnimNode(.25,a.rightTankIm.x,a.rightTankIm.y,0,1.1*a.rightTankIm.scaleX);b.addAnimNode(.75,a.rightTankIm.x,a.rightTankIm.y,
0,a.rightTankIm.scaleX);b.startAnimation(-1,0);b=a.createImageModifier(a.waterIm,.5);b.addAnimNode(.25,a.waterIm.x,a.waterIm.y,0,1);b.addAnimNode(.75,a.waterIm.x-30,a.waterIm.y,0,0);b.startAnimation(-1,0);a.timeAfterLastWave=0;b=a.createImageModifier(a.leftTankIm,.3);b.addAnimNode(.5,a.leftTankIm.x,a.leftTankIm.y,0,a.leftTankIm.scaleX,1.2);b=a.createImageModifier(a.rightTankIm,.3);b.addAnimNode(.5,a.rightTankIm.x,a.rightTankIm.y,0,a.rightTankIm.scaleX,1.2);b=a.createImageModifier(a.botIm,.3);b.addAnimNode(.5,
a.botIm.x,a.botIm.y,0,1.1*a.botIm.scaleX,1.5);return a};$jscomp.inherits(WaterPumpVisual,BasicMachineVisual);WaterPumpVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);for(var b=0;b<this.animWaves.length;b++)this.animWaves[b].doStep(a);this.timeAfterLastWave+=a;2<this.timeAfterLastWave&&(this.startWave(),this.timeAfterLastWave-=2)};
WaterPumpVisual.prototype.startWave=function(){for(var a=null,b=0;b<this.animWaves.length;b++)if(!this.animWaves[b].isAnimationRunning){a=this.animWaves[b];break}a||(a=new WaveMover(this.sectionsImgs),a.animationSpeedCoef=this.sectionsImgs.length/2,a.sectionSizeAddCoef=.5,this.animWaves.push(a));a.startAnimation()};
var MainBabelTowerVisual=function(a,b,c,d){var e=BasicMachineVisual.call(this,a,b,c,d)||this;e.touchRect=new Phaser.Geom.Rectangle(-30,100,560,100);e.currentlyBuiltPart=new BuiltTowerVisual(a,b,0,-15);e.add(e.currentlyBuiltPart);e.embedVisual(e.currentlyBuiltPart);var f=e.scene.add.image(-15,0,"allGraphics2","w001_floorBasement4new0000");f.setOrigin(0,1);e.add(f);e.leftGrass=e.scene.add.image(25,11,"allGraphics2","w001_grassPart4new0000");e.leftGrass.setOrigin(.5,1);e.add(e.leftGrass);e.rightGrass=
e.scene.add.image(e.leftGrass.x+490,e.leftGrass.y,"allGraphics2","w001_grassPart4new0000");e.rightGrass.setOrigin(.5,1);e.rightGrass.setScale(-1,1);e.add(e.rightGrass);e.humanWithCart=new HumanWithCart(a,e,c+550,d+0,"w001_brick4new0000");e.humanWithCart.setScale(-1,1);e.humanWithCart.hideBrick();e.humanWithCart.alpha=0;e.humanWithManifest=new HumanManifestation(a,e,c+350,d+20);e.embedVisual(e.humanWithManifest);e.humanWithManifest.visible=!1;e.distributedSprites.push(e.humanWithCart,e.humanWithManifest);
e.openedWindow=new OpenedWindow(e.scene,b,0,0);e.add(e.openedWindow);e.embedVisual(e.openedWindow);e.windowsCoords=[];a=e.createImageModifier(e.humanWithCart,10);a.addAnimNode(0,e.humanWithCart.x,e.humanWithCart.y,0,-1,1,0,0,0);a.addAnimNode(.1,e.humanWithCart.x,e.humanWithCart.y,0,-1,1,0,0,1);a.addAnimNode(1,e.humanWithCart.x-100,e.humanWithCart.y+200,0,-1);a=e.createImageModifier(e.humanWithCart,10);a.addAnimNode(0,e.humanWithCart.x-100,e.humanWithCart.y+200);a.addAnimNode(.9,e.humanWithCart.x+
1,e.humanWithCart.y);a.addAnimNode(1,e.humanWithCart.x+1,e.humanWithCart.y,0,1,1,0,0,0);return e};$jscomp.inherits(MainBabelTowerVisual,BasicMachineVisual);MainBabelTowerVisual.prototype.addBricks=function(a,b){this.currentlyBuiltPart.addNewBrick(b)};MainBabelTowerVisual.prototype.getNumBrick2CompleteStorey=function(){return this.currentlyBuiltPart.getNumBrick2CompleteStorey()};MainBabelTowerVisual.prototype.getStoreyFloorY=function(a){return-a*(this.currentlyBuiltPart.getWallH()+15)};
MainBabelTowerVisual.prototype.fixNewStorageBuildCompletion=function(a){this.currentlyBuiltPart.resetAtNewHeight(a);var b=this.scene.add.image(0,this.getStoreyFloorY(a)-15,"allGraphics2","w001_completeWall4new0000");b.setOrigin(0,1);this.add(b);if(0==a){var c=this.scene.add.image(b.x+310,b.y+0,"allGraphics2","w001_groundDoor4new0000");c.setOrigin(0,1);this.add(c);b=this.scene.add.image(b.x+168,b.y-129,"allGraphics2","w001_groundWindow4new0000");b.setOrigin(.5,.5);this.add(b);this.bringToTop(this.leftGrass);
this.bringToTop(this.rightGrass)}else{var d=135;10==a&&(d=175);14!=a&&(c={x:b.x+275-d,y:b.y-116},this.windowsCoords.push(c),c=this.scene.add.image(c.x,c.y,"allGraphics2","w001_roundWindow4new0000"),c.setOrigin(.5,.5),this.add(c));c={x:b.x+275+d,y:b.y-116};this.windowsCoords.push(c);b=this.scene.add.image(c.x,c.y,"allGraphics2","w001_roundWindow4new0000");b.setOrigin(.5,.5);this.add(b)}this.bringToTop(this.humanWithCart);this.bringToTop(this.humanWithManifest);this.bringToTop(this.openedWindow);b=
this.scene.add.image(-15,-(a+1)*(this.currentlyBuiltPart.getWallH()+15),"allGraphics2","w001_floorBasement4new0000");b.setOrigin(0,1);this.add(b);this.touchRect.top-=this.currentlyBuiltPart.getWallH()+15};MainBabelTowerVisual.prototype.showOpenedWindow=function(a,b){if(!this.openedWindow.isShowing&&0<this.windowsCoords.length){var c=this.windowsCoords[Math.floor(Math.random()*this.windowsCoords.length)];this.openedWindow.startShowing(c.x,c.y,a,b)}};
MainBabelTowerVisual.prototype.hasTappedOnSecretGold=function(a,b){a-=this.x;b-=this.y;var c=!1;this.openedWindow.isShowing&&this.openedWindow.hasPurse&&(a-=this.openedWindow.x,b-=this.openedWindow.y-31,c=1600>=a*a+b*b);return c};MainBabelTowerVisual.prototype.hasMoneyWindow=function(){return this.openedWindow.isShowing&&this.openedWindow.hasPurse};MainBabelTowerVisual.prototype.getMoneyWindowCoords=function(){return{x:this.openedWindow.x,y:this.openedWindow.y-31}};
MainBabelTowerVisual.prototype.showGoldGrab=function(a,b){this.openedWindow.showGoldGrab()};MainBabelTowerVisual.prototype.startHumanMove=function(a){this.humanWithCart.setScale(-1,1);this.humanWithCart.hideBrick();this.setAnimLength(0,a);this.runAnimId(0,1,0)};MainBabelTowerVisual.prototype.startHumanBackMove=function(a,b){this.humanWithCart.setScale(1,1);0<b&&this.humanWithCart.showBrick();this.setAnimLength(1,a);this.runAnimId(1,1,0)};
MainBabelTowerVisual.prototype.startManifestation=function(a){this.humanWithManifest.showPhrase(a);this.humanWithManifest.startAnimation();this.humanWithManifest.visible=!0};MainBabelTowerVisual.prototype.stopManifestation=function(a){this.humanWithManifest.stopAnimation();this.humanWithManifest.visible=!1};MainBabelTowerVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.humanWithCart.doAnimations(a)};
var HumanWithCart=function(a,b,c,d,e,f){a=BasicMachineVisual.call(this,a,b,c,d)||this;f||(f="w001_workerSimple4new0000");a.humanIm=a.scene.add.image(0,0,"allGraphics2",f);a.humanIm.setOrigin(.5,1);a.add(a.humanIm);e=e?e:"w001_brick4new0000";f=-5;b=0;"w001_brick4new0000"==e&&(f=-33);"w001_plank4new0000"==e&&(f=-60,b=-Math.PI/3);"w001_wood4new0000"==e&&(f=-25,b=Math.PI/4);a.brickIm=a.scene.add.image(66,f,"allGraphics2",e);a.brickIm.setOrigin(.5,1);a.brickIm.rotation=b;a.add(a.brickIm);a.cartIm=a.scene.add.image(8,
-41,"allGraphics2","w001_cart4new0000");a.cartIm.setOrigin(0,0);a.add(a.cartIm);e=a.createImageModifier(a.humanIm,.5);e.addAnimNode(.2,a.humanIm.x,a.humanIm.y-15);e.addAnimNode(.4,a.humanIm.x,a.humanIm.y);e.startAnimation(-1,0);return a};$jscomp.inherits(HumanWithCart,BasicMachineVisual);HumanWithCart.prototype.hideBrick=function(){this.brickIm.visible=!1};HumanWithCart.prototype.showBrick=function(){this.brickIm.visible=!0};
var BuiltTowerVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.brickW=71;a.brickH=37;a.maxWallWidth=7.5;a.currentlyBuildLineId=0;a.maxLinesInWalls=6;a.brickIdInCurrentLine=0;a.bluePrintIm=a.scene.add.image(-16,16,"allGraphics2","w001_wallBlueprint4new0000");a.bluePrintIm.setScale(2,2);a.bluePrintIm.setOrigin(0,1);a.bluePrintIm.alpha=.5;a.add(a.bluePrintIm);a.bluePrintIm.visible=!1;a.bricksPool=[];a.animatedBrick=a.scene.add.image(0,0,"allGraphics2","w001_brick4new0000");a.animatedBrick.setOrigin(.5,
1);b=a.createImageModifier(a.animatedBrick,.4);b.addAnimNode(.4,0,0,0,1.1,.95);b.addAnimNode(.8,0,0,0,.95,1.1);a.brickIMA=a.createImageModifier(a.animatedBrick,.5);a.brickIMA.addAnimNode(0,a.animatedBrick.x+1,a.animatedBrick.y+1,0,1,1,0,0,0);a.brickIMA.addAnimNode(.5,a.animatedBrick.x+1,a.animatedBrick.y+1,0,1,1,0,0,1);a.animatedBrick.visible=!1;a.animatedBrick.tint=0;return a};$jscomp.inherits(BuiltTowerVisual,BasicMachineVisual);
BuiltTowerVisual.prototype.addNewBrick=function(a){if(this.brickIdInCurrentLine<Math.floor(this.maxWallWidth))var b=(.5+this.brickIdInCurrentLine)*this.brickW,c=1;else b=(.5+this.brickIdInCurrentLine-.25)*this.brickW,c=.5;1==this.currentlyBuildLineId%2&&(b=this.maxWallWidth*this.brickW-b);var d=-this.currentlyBuildLineId*this.brickH,e=this.getBrickFromPool();this.animateBrickTo(e,b,d,c,a);this.bluePrintIm.visible=!0;this.brickIdInCurrentLine++;this.brickIdInCurrentLine>=Math.ceil(this.maxWallWidth)&&
(this.brickIdInCurrentLine=0,this.currentlyBuildLineId++)};
BuiltTowerVisual.prototype.animateBrickTo=function(a,b,c,d,e){this.brickIMA.isAnimating&&this.brickIMA.setLambdaDirectly(1);a.setScale(d,1);switch(e){case "none":a.x=b;a.y=c;a.setScale(d,1);break;case "ground":this.brickIMA.setCycle(0,.5);this.brickIMA.changeDob(a);this.brickIMA.modNodeProperty(0,"x",620);this.brickIMA.modNodeProperty(0,"y",-12);this.brickIMA.modNodeProperty(0,"alpha",1);this.brickIMA.modNodeProperty(1,"x",b);this.brickIMA.modNodeProperty(1,"y",c-200);this.brickIMA.modNodeProperty(1,
"alpha",1);this.brickIMA.modNodeProperty(2,"x",b);this.brickIMA.modNodeProperty(2,"y",c);this.brickIMA.startAnimation(1,0);break;case "crane":this.brickIMA.setCycle(0,.5);this.brickIMA.changeDob(a);this.brickIMA.modNodeProperty(0,"x",590);this.brickIMA.modNodeProperty(0,"y",8);this.brickIMA.modNodeProperty(0,"alpha",1);this.brickIMA.modNodeProperty(1,"x",b);this.brickIMA.modNodeProperty(1,"y",c-200);this.brickIMA.modNodeProperty(1,"alpha",1);this.brickIMA.modNodeProperty(2,"x",b);this.brickIMA.modNodeProperty(2,
"y",c);this.brickIMA.startAnimation(1,0);break;case "cannon":this.brickIMA.changeDob(a),this.brickIMA.setCycle(0,1.5),this.brickIMA.modNodeProperty(0,"x",b),this.brickIMA.modNodeProperty(0,"y",c-1E3),this.brickIMA.modNodeProperty(0,"alpha",0),this.brickIMA.modNodeProperty(1,"x",b),this.brickIMA.modNodeProperty(1,"y",c-1E3),this.brickIMA.modNodeProperty(1,"alpha",0),this.brickIMA.modNodeProperty(2,"x",b),this.brickIMA.modNodeProperty(2,"y",c),this.brickIMA.startAnimation(1,0)}};
BuiltTowerVisual.prototype.resetAtNewHeight=function(a){this.y=-(a+1)*(this.getWallH()+15)-15;this.returnBricks2Pool();this.bluePrintIm.visible=!1};BuiltTowerVisual.prototype.getWallH=function(){return this.maxLinesInWalls*this.brickH};BuiltTowerVisual.prototype.getNumBrick2CompleteStorey=function(){return Math.ceil(this.maxWallWidth)*this.maxLinesInWalls-(Math.ceil(this.maxWallWidth)*this.currentlyBuildLineId+this.brickIdInCurrentLine)};
BuiltTowerVisual.prototype.getBrickFromPool=function(){for(var a=null,b=0;b<this.bricksPool.length;b++)if(this.bricksPool[b].isInPool){a=this.bricksPool[b];break}a||(a=this.scene.add.image(0,0,"allGraphics2","w001_brick4new0000"),a.setOrigin(.5,1),this.add(a),this.bricksPool.push(a));a.visible=!0;a.isInPool=!1;return a};
BuiltTowerVisual.prototype.returnBricks2Pool=function(){for(var a=0;a<this.bricksPool.length;a++)this.bricksPool[a].isInPool=!0,this.bricksPool[a].visible=!1;this.brickIdInCurrentLine=this.currentlyBuildLineId=0};
var BuiltCraneVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.brickCoords=[{x:0,y:0,r:0,s:1},{x:48,y:-48,r:75/180*Math.PI,s:.8},{x:-15,y:-48,r:-40/180*Math.PI,s:1},{x:15,y:-48,r:40/180*Math.PI,s:1},{x:-48,y:-48,r:-75/180*Math.PI,s:.8}];a.currentlyBuildPlankId=0;a.bricksPool=[];a.animatedBrick=a.scene.add.image(0,0,"allGraphics2","w001_plank4Building4new0000");a.animatedBrick.setOrigin(.5,.5);a.animatedBrick.visible=!1;b=a.createImageModifier(a.animatedBrick,.4);b.addAnimNode(.4,
0,0,0,1.1,.95);b.addAnimNode(.8,0,0,0,.95,1.1);return a};$jscomp.inherits(BuiltCraneVisual,BasicMachineVisual);BuiltCraneVisual.prototype.addNewBrick=function(){var a=this.brickCoords[this.currentlyBuildPlankId%this.brickCoords.length],b=this.getBrickFromPool();b.x=a.x;b.y=a.y;b.setScale(a.s,1);b.rotation=a.r;this.currentlyBuildPlankId++};BuiltCraneVisual.prototype.resetAtNewHeight=function(a){this.y=-(a+1)*this.getWallH();this.returnBricks2Pool()};BuiltCraneVisual.prototype.getWallH=function(){return 79};
BuiltCraneVisual.prototype.getTotalBricksInStorey=function(){return this.brickCoords.length};BuiltCraneVisual.prototype.getNumBrick2CompleteStorey=function(){return this.getTotalBricksInStorey()-this.currentlyBuildPlankId};
BuiltCraneVisual.prototype.getBrickFromPool=function(){for(var a=null,b=0;b<this.bricksPool.length;b++)if(this.bricksPool[b].isInPool){a=this.bricksPool[b];break}a||(a=this.scene.add.image(0,0,"allGraphics2","w001_plank4Building4new0000"),a.setOrigin(.5,1),this.add(a),this.bricksPool.push(a));a.visible=!0;a.isInPool=!1;a.rotation=0;return a};
BuiltCraneVisual.prototype.returnBricks2Pool=function(){for(var a=0;a<this.bricksPool.length;a++)this.bricksPool[a].isInPool=!0,this.bricksPool[a].visible=!1;this.currentlyBuildPlankId=0};
var DrummerOnBalconyVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-100;a.upgBtnCoords.y=-231;a.touchRect=new Phaser.Geom.Rectangle(-238,-164,265,194);a.drumIm=a.scene.add.image(-138,-11,"allGraphics2","w001_drum4new0000").setOrigin(.5,1);a.add(a.drumIm);a.humanIm=new HumanWithDrumSticks(a.scene,a,-48,-13);a.humanIm.setScale(1,1);a.balconyIm=a.scene.add.image(0,-2,"allGraphics2","w001_balcony4new0000").setOrigin(1,.5);a.add(a.balconyIm);a.embedVisual(a.humanIm);
b=a.createImageModifier(a.drumIm,1);b.addAnimNode(.3,a.drumIm.x,a.drumIm.y,a.drumIm.rotation,1.1*a.drumIm.scaleX,.9);b.addAnimNode(.5,a.drumIm.x,a.drumIm.y,a.drumIm.rotation,a.drumIm.scaleX,1);b.addAnimNode(.7,a.drumIm.x,a.drumIm.y,a.drumIm.rotation,1.1*a.drumIm.scaleX,.9);b.startAnimation(-1,0);return a};$jscomp.inherits(DrummerOnBalconyVisual,BasicMachineVisual);
var SmokeMachineVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=320;a.upgBtnCoords.y=-30;a.touchRect=new Phaser.Geom.Rectangle(-33,-164,277,194);a.pusherIm=a.scene.add.image(94,-128,"allGraphics2","w001_smokePusher4new0000").setOrigin(.5,0);a.smokeIm=a.scene.add.image(240,-114,"allGraphics2","w001_SteamCloud4new0000").setOrigin(.5,.5);a.machineIm=a.scene.add.image(143,-12,"allGraphics2","w001_smokeMachine4new0000").setOrigin(.5,1);a.humanIm=a.scene.add.image(50,
-28,"allGraphics2","w001_workerSimple4new0000").setOrigin(.5,1);a.balconyIm=a.scene.add.image(0,-2,"allGraphics2","w001_balcony4new0000").setOrigin(1,.5).setScale(-1,1);a.add(a.pusherIm);a.add(a.smokeIm);a.add(a.machineIm);a.add(a.humanIm);a.add(a.balconyIm);b=a.createImageModifier(a.pusherIm,1);b.addAnimNode(.5,a.pusherIm.x-5,a.pusherIm.y+40,0,1,1);b.startAnimation(-1,0);b=a.createImageModifier(a.humanIm,1);b.addAnimNode(.5,a.humanIm.x,a.humanIm.y+15,0,1,1);b.startAnimation(-1,0);b=a.createImageModifier(a.machineIm,
1);b.addAnimNode(.5,a.machineIm.x,a.machineIm.y,0,1.08*a.machineIm.scaleX,.95*a.machineIm.scaleY);b.startAnimation(-1,0);a.smokeIm.setScale(0,0);b=a.createImageModifier(a.smokeIm,1);b.addAnimNode(.8,a.smokeIm.x+288,a.smokeIm.y-160,0,1,1);b.addAnimNode(1,a.smokeIm.x+288,a.smokeIm.y-160,0,1,1,0,0,0);b.startAnimation(-1,0);return a};$jscomp.inherits(SmokeMachineVisual,BasicMachineVisual);
var RainCloudVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=0;a.upgBtnCoords.y=-180;a.touchRect=new Phaser.Geom.Rectangle(-170,-120,240,194);a.cloudIm=a.scene.add.image(0,0,"allGraphics2","w001_cloud4new0000").setOrigin(.5,.5);a.add(a.cloudIm);a.dropsAnim=new RainDropsAnim(a.scene,a,0,120,300,700);a.add(a.dropsAnim);a.embedVisual(a.dropsAnim);return a};$jscomp.inherits(RainCloudVisual,BasicMachineVisual);
RainCloudVisual.prototype.showWaterValueInCloud=function(a,b){a/=b;1<a&&(a=1);0>a&&(a=0);.5>a?(this.cloudIm.setScale(.5,.5),this.cloudIm.alpha=a/.5):(this.cloudIm.alpha=1,this.cloudIm.setScale(a,a))};RainCloudVisual.prototype.startRaining=function(){this.dropsAnim.startAnimations(this.dropsAnim.x,this.dropsAnim.y,999999999999,!1)};RainCloudVisual.prototype.stopRaining=function(){this.dropsAnim.stopAnimations()};
var Berth4FlyingMachineVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-100;a.upgBtnCoords.y=-231;a.touchRect=new Phaser.Geom.Rectangle(-452,-220,488,282);b=[{x:-521,y:-150},{x:-521,y:-120},{x:-411,y:-64},{x:-212,y:-64},{x:-156,y:-11},{x:-18,y:-11}];a.berthIm=a.scene.add.image(-205,-43,"allGraphics2","w001_airHarbor4new0000").setOrigin(1,1);a.stepsIm=a.scene.add.image(-227,-65,"allGraphics2","w001_airHarborSteps4new0000").setOrigin(0,0);a.balconyIm=a.scene.add.image(0,
-2,"allGraphics2","w001_balcony4new0000").setOrigin(1,.5);a.add(a.berthIm);a.add(a.stepsIm);a.add(a.balconyIm);a.humanIms=[];for(c=0;3>c;c++){var e=b[3>c?0:b.length-1].x,f=b[3>c?0:b.length-1].y;d=b[3<=c?0:b.length-1].x;var g=b[3<=c?0:b.length-1].y,h=3>c?1:-1,k=a.scene.add.image(e,f,"allGraphics2","w001_workerSimple4new000"+(c+3)).setOrigin(.5,1);a.add(k);a.humanIms.push(k);k.alpha=0;k.setScale(h,1);k=a.createImageModifier(k,2*(c+1));var n=3>c?1:-1,m=3>c?1:b.length-2;k.addAnimNode(.1,e,f,0,h,1,0,0,
1);e=.1;for(f=m;0<=f&&f<=b.length-1;f+=n)e+=.1,k.addAnimNode(e,b[f].x,b[f].y,0,h);k.addAnimNode(1,d,g,0,h,1,0,0,0)}a.entryIm=a.scene.add.image(5,-13,"allGraphics2","w001_berthEntry4new0000").setOrigin(1,1);a.add(a.entryIm);return a};$jscomp.inherits(Berth4FlyingMachineVisual,BasicMachineVisual);Berth4FlyingMachineVisual.prototype.startPassengersAnimation=function(){for(var a=0;3>a;a++)this.imageModifiers[a].startAnimation(1,0)};
var ZeppelinVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.stepsIm=a.scene.add.image(-25,135,"allGraphics2","w001_zeppelinDeck4new0000").setOrigin(0,.5);a.zepIm=a.scene.add.image(0,0,"allGraphics2","w001_zeppelin4new0000").setOrigin(.5,.5);a.add(a.stepsIm);a.add(a.zepIm);b=a.createImageModifier(a.stepsIm,.5);b.addAnimNode(1,a.stepsIm.x,a.stepsIm.y,Math.PI/6);b=a.createImageModifier(a.stepsIm,.5);b.addAnimNode(0,a.stepsIm.x,a.stepsIm.y,Math.PI/6);b=a.createImageModifier(a,
.5);b.addAnimNode(0,a.x,a.y,a.rotation,a.scaleX,a.scaleY,0,0,0);b=a.createImageModifier(a,.5);b.addAnimNode(1,a.x,a.y,a.rotation,a.scaleX,a.scaleY,0,0,0);return a};$jscomp.inherits(ZeppelinVisual,BasicMachineVisual);ZeppelinVisual.prototype.showFlightDirection=function(a){this.setScale(0>a?-1:1,1)};
var LiftEngineVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=370;a.upgBtnCoords.y=-270;a.touchRect=new Phaser.Geom.Rectangle(128,-234,280,280);a.standIm=a.scene.add.image(259,-89,"allGraphics2","w001_windMillStand4new0000").setOrigin(1,0);a.fanIm=a.scene.add.image(259,-89,"allGraphics2","w001_windMillFan4new0000").setOrigin(.5,.5);a.add(a.standIm);a.add(a.fanIm);b=a.createImageModifier(a.fanIm,4);b.addAnimNode(1,a.fanIm.x,a.fanIm.y,2*Math.PI);b.startAnimation(-1,
0);return a};$jscomp.inherits(LiftEngineVisual,BasicMachineVisual);
var ElephantVisual=function(a,b,c,d,e){c=BasicMachineVisual.call(this,a,b,c,d)||this;c.touchRect=new Phaser.Geom.Rectangle(-140,-180,280,180);c.elephantWithLoad=new ElephantWithLoad(a,b,0,0,"stone"==e?"w001_roughStone4new0000":"w001_wood4new0000");c.add(c.elephantWithLoad);c.embedVisual(c.elephantWithLoad);e=c.createImageModifier(c.elephantWithLoad,.5);e.addAnimNode(.4,c.elephantWithLoad.x,c.elephantWithLoad.y-10,.1);e.addAnimNode(.8,c.elephantWithLoad.x,c.elephantWithLoad.y-10,-.1);c.humanWithManifest=
new HumanManifestation(a,b,-30,20);c.add(c.humanWithManifest);c.embedVisual(c.humanWithManifest);c.humanWithManifest.visible=!1;return c};$jscomp.inherits(ElephantVisual,BasicMachineVisual);ElephantVisual.prototype.setMoveAnimations=function(a){a?this.imageModifiers[0].startAnimation(-1,0):this.imageModifiers[0].stopAfterThisRun()};ElephantVisual.prototype.setLoadVisible=function(a){this.elephantWithLoad.setLoadVisible(a)};ElephantVisual.prototype.startEatingAnimation=function(){this.elephantWithLoad.startEatingAnimation()};
ElephantVisual.prototype.startManifestation=function(a){this.humanWithManifest.showPhrase(a);this.humanWithManifest.startAnimationIfNotAnimating();this.humanWithManifest.visible=!0};ElephantVisual.prototype.stopManifestation=function(a){this.humanWithManifest.stopAnimation();this.humanWithManifest.visible=!1};
ElephantVisual.prototype.setPosition=function(a,b){var c=a-this.x,d=b-this.y;BasicMachineVisual.prototype.setPosition.call(this,a,b);this.upgradeButton&&(this.upgradeButton.x-=c,this.upgradeButton.y-=d)};ElephantVisual.prototype.setScale=function(a,b){this.elephantWithLoad.setScale(a,b)};
var ElephantWithLoad=function(a,b,c,d,e){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.trunkIm=a.scene.add.image(-109,-100,"allGraphics2","w001_elephantTrunk4new0000").setOrigin(0,0);a.add(a.trunkIm);a.img=a.scene.add.image(-15,0,"allGraphics2","w001_elephant4new0000").setOrigin(.5,1);a.add(a.img);a.loadIm=a.scene.add.image(25,-150,"allGraphics2",e).setOrigin(.5,1);a.add(a.loadIm);a.loadIm.visible=!1;a.createImageModifier(a.trunkIm,1.5).addAnimNode(.5,a.trunkIm.x,a.trunkIm.y,-.4);return a};
$jscomp.inherits(ElephantWithLoad,BasicMachineVisual);ElephantWithLoad.prototype.setLoadVisible=function(a){this.loadIm.visible=a};ElephantWithLoad.prototype.startEatingAnimation=function(){this.imageModifiers[0].startAnimation(3,0)};
var GrassFieldVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-50,-170,400,200);a.brick=a.scene.add.image(0,0,"allGraphics2","w001_grassPack4new0000");a.brick.setOrigin(.5,.5);a.brick.alpha=0;a.add(a.brick);a.createImageModifier(a,.4);b=a.createImageModifier(a.brick,.8);b.addAnimNode(0,0,0,0,1,1,1,1,0);b.addAnimNode(.25,210,-252,Math.PI,1,1,1,1,1);b.addAnimNode(.5,300,-117,2*Math.PI,1,1,1,1,1);b.addAnimNode(.8,300,-17,2*Math.PI,1,1,1,1,
1);b.addAnimNode(1,300,-17,2*Math.PI,1,1,1,1,0);a.grassPieces=[];for(b=0;12>b;b++)for(c=0;3>c;c++)d=a.scene.add.image(75-75/11*b+86*c-20+10*Math.random(),-120+10*b,"allGraphics2","w001_grassPart4new0000").setOrigin(.5,1),a.add(d),1==b%2&&(d.tint=9476458),0==c&&a.grassPieces.push(d);a.humanAnims=[];a.bringToTop(a.brick);return a};$jscomp.inherits(GrassFieldVisual,BasicMachineVisual);
GrassFieldVisual.prototype.createHumans=function(a){for(var b=0;b<a;b++){var c=Math.floor(Math.random()*this.grassPieces.length),d=new HumanWithLawnMower(this.scene,this,this.grassPieces[c].x-100,this.grassPieces[c].y-10);d.lineId=c;this.embedVisual(d);this.humanAnims.push(d);for(var e=0,f=0;f<this.humanAnims.length;f++)this.humanAnims[f].lineId>c&&e++;for(f=0;f<3*(this.grassPieces.length-c)+e;f++)this.moveDown(d);c=10+Math.random();e=this.createImageModifier(d,c);e.addAnimNode(.499999,d.x+300,d.y);
e.addAnimNode(.5,d.x+300,d.y,0,-1);e.addAnimNode(.999999,d.x,d.y,0,-1);e.startAnimation(-1,Math.random()*c)}this.bringToTop(this.brick)};var HayStackVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.img=a.scene.add.image(0,0,"allGraphics2","w001_hayStack4new0000").setOrigin(.5,143/161);a.add(a.img);a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);return a};
$jscomp.inherits(HayStackVisual,BasicMachineVisual);HayStackVisual.prototype.showCurrentValue=function(a){var b=a/100;1<b&&(b=1);b=Math.sqrt(b);this.img.setScale(b,b);0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var ClockVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-200;a.bgImg=a.scene.add.image(0,0,"allGraphics2","w001_bigBenBack4new0000").setOrigin(.5,.5);a.add(a.bgImg);a.longHandImg=a.scene.add.image(0,0,"allGraphics2","w001_bigBenLongHand4new0000").setOrigin(.5,1);a.add(a.longHandImg);a.smallHandImg=a.scene.add.image(0,0,"allGraphics2","w001_bigBenShortHand4new0000").setOrigin(.5,1);a.add(a.smallHandImg);b=a.createImageModifier(a.longHandImg,60);b.addAnimNode(1,
a.longHandImg.x,a.longHandImg.y,2*Math.PI);b.startAnimation(-1,0);b=a.createImageModifier(a.smallHandImg,720);b.addAnimNode(1,a.smallHandImg.x,a.smallHandImg.y,2*Math.PI);b.startAnimation(-1,0);return a};$jscomp.inherits(ClockVisual,BasicMachineVisual);var UndergroundWaterVisual=function(a,b,c,d){return BasicMachineVisual.call(this,a,b,c,d)||this};$jscomp.inherits(UndergroundWaterVisual,BasicMachineVisual);
var WaterExtractorVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=100;a.upgBtnCoords.y=-100;a.waterImg=a.scene.add.image(0,190,"allGraphics2","w001_waterCavern4new0000").setOrigin(.5,.5);a.waterImg.setScale(2,2);a.add(a.waterImg);a.pipeImg=a.scene.add.image(-29,-17,"allGraphics2","w001_drillTube4new0000").setOrigin(1,1);a.add(a.pipeImg);a.bodyImg=a.scene.add.image(0,0,"allGraphics2","w001_drillBottom4new0000").setOrigin(.5,151/173);a.screwIms=[];for(b=0;4>b;b++)c=
a.scene.add.image(0,9+31*b,"allGraphics2","w001_drillScrewSmall4new0000").setOrigin(.5,0),a.add(c),a.screwIms.push(c);a.extractorImg=a.scene.add.image(0,99,"allGraphics2","w001_drillExtractor4new0000").setOrigin(.5,0);a.add(a.extractorImg);a.add(a.bodyImg);a.shakerGrp=a.scene.add.container();a.add(a.shakerGrp);a.shakerGrp.setScale(1,.5);a.shakerGrp.y=-128;a.shakerIm=a.scene.add.image(0,0,"allGraphics2","w001_drillHandle4new0000").setOrigin(.5,.5);a.shakerGrp.add(a.shakerIm);a.screwImas=[];for(b=0;b<
a.screwIms.length;b++)c=a.createImageModifier(a.screwIms[b],1),c.addAnimNode(1,a.screwIms[b].x,a.screwIms[b].y-32),a.screwImas.push(c),c.startAnimation(-1,0);c=a.createImageModifier(a.shakerIm,10);c.addAnimNode(1,a.shakerIm.x,a.shakerIm.y,2*Math.PI);c.startAnimation(-1,0);c=a.createImageModifier(a.extractorImg,1);c.addAnimNode(.25,a.extractorImg.x,a.extractorImg.y,0,1.1);c.addAnimNode(.5,a.extractorImg.x,a.extractorImg.y,0,1.1,1.1);c.addAnimNode(.75,a.extractorImg.x,a.extractorImg.y,0,1,1.1);c.startAnimation(-1,
0);return a};$jscomp.inherits(WaterExtractorVisual,BasicMachineVisual);
var WaterStorageVisual=function(a,b,c,d){a=BasicStorageVisual.call(this,a,b,c,d)||this;a.bgImg=a.scene.add.image(23,-21,"allGraphics2","w001_waterLevelInside4new0000").setOrigin(0,1);a.add(a.bgImg);a.bgImg.tint=16777215;a.waterImg=a.scene.add.image(23,-21,"allGraphics2","w001_waterLevelInside4new0000").setOrigin(0,1);a.add(a.waterImg);a.waterImg.tint=353731;a.bodyImg=a.scene.add.image(0,0,"allGraphics2","w001_drillReservoir4new0000").setOrigin(.5,303/317);a.add(a.bodyImg);a.text=new TFWithBGD(a.scene,
a.grp,"",0,-30,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);return a};$jscomp.inherits(WaterStorageVisual,BasicStorageVisual);WaterStorageVisual.prototype.showCurrentValue=function(a){var b=a/1E8;1<b&&(b=1);b=Math.sqrt(b);this.waterImg.setScale(1,b);0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var CarawanSaraiVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.bodyImg=a.scene.add.image(0,0,"allGraphics2","w001_carawanSarai4new0000").setOrigin(.5,220/241);a.add(a.bodyImg);a.sacksImg=a.scene.add.image(-144,61,"allGraphics2","w001_sackPack4new0000").setOrigin(.5,1);a.add(a.sacksImg);a.settingsButton=null;a.upgBtnCoords.x=94;a.upgBtnCoords.y=-214;return a};$jscomp.inherits(CarawanSaraiVisual,BasicMachineVisual);
CarawanSaraiVisual.prototype.createSettingsButton=function(a){this.settingsButton=new ButtonWithIcon(this.scene,this,"w000_settingsIcon4new0000",-94,-214);this.settingsButton.registerHandler(this.setBtnHandler);this.settingsButton.myMachine=a};CarawanSaraiVisual.prototype.setBtnHandler=function(){this.myMachine.myWorld.hud.showSettingsPanel4Carawan(this.myMachine)};
var CamelVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.camelImg=a.scene.add.image(0,0,"allGraphics2","w001_camel4new0000").setOrigin(.5,1);a.add(a.camelImg);b=a.createImageModifier(a.camelImg,.5);b.addAnimNode(.4,a.camelImg.x,a.camelImg.y-10,.1);b.addAnimNode(.8,a.camelImg.x,a.camelImg.y-10,-.1);return a};$jscomp.inherits(CamelVisual,BasicMachineVisual);CamelVisual.prototype.setMoveAnimations=function(a){a?this.imageModifiers[0].startAnimation(-1,0):this.imageModifiers[0].stopAfterThisRun()};
var HelicopterVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.heliContainer=a.scene.add.container();a.add(a.heliContainer);a.pilotImg=a.scene.add.image(11,50,"allGraphics2","w001_workerSimple4new0000").setOrigin(.5,1).setScale(-1,1);a.heliContainer.add(a.pilotImg);a.bodyImg=a.scene.add.image(0,0,"allGraphics2","w001_helicopterBody4new0000").setOrigin(74/316,.5);a.heliContainer.add(a.bodyImg);a.tailScrewImg=a.scene.add.image(242,-77,"allGraphics2","w001_windMillFan4new0000");
a.tailScrewImg.setScale(.56);a.heliContainer.add(a.tailScrewImg);a.topScrews=[];for(b=0;5>b;b++)c=a.scene.add.image(39,-66-2*b,"allGraphics2","w001_heicopterScrew4new0000").setOrigin(1,1),a.topScrews.push(c),a.heliContainer.add(c);a.screwImas=[];for(b=0;b<a.topScrews.length;b++)c=a.createImageModifier(a.topScrews[b],1),c.addAnimNode(.5,a.topScrews[b].x,a.topScrews[b].y,0,-1),a.screwImas.push(c),c.startAnimation(-1,1*b/a.topScrews.length);c=a.createImageModifier(a.tailScrewImg,1);c.addAnimNode(1,a.tailScrewImg.x,
a.tailScrewImg.y,2*Math.PI,.56,.56);c.startAnimation(-1,0);return a};$jscomp.inherits(HelicopterVisual,BasicMachineVisual);HelicopterVisual.prototype.setPosition=function(a,b){var c=a-this.x,d=b-this.y;BasicMachineVisual.prototype.setPosition.call(this,a,b);this.upgradeButton&&(this.upgradeButton.x-=c,this.upgradeButton.y-=d)};HelicopterVisual.prototype.setScale=function(a,b){this.heliContainer.setScale(a,b)};
var HelicopterBalconyVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.dynImg=a.scene.add.image(69,-9,"allGraphics2","w001_dynamitePack4new0000").setOrigin(.5,1);a.add(a.dynImg);a.bodyImg=a.scene.add.image(0,0,"allGraphics2","w001_longBalcony4new0000").setOrigin(0,64/159);a.add(a.bodyImg);return a};$jscomp.inherits(HelicopterBalconyVisual,BasicMachineVisual);
var GalileoVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-192;a.upgBtnCoords.y=18;a.bgWindowImg=a.scene.add.image(0,0,"allGraphics2","w001_roundWindow4new0000").setOrigin(.5,1).setScale(1.66);a.galileoImg=a.scene.add.image(0,0,"allGraphics2","w001_galileo4new0000").setOrigin(.5,1);a.atlantImg=a.scene.add.image(0,0,"allGraphics2","w001_atlant4new0000").setOrigin(.5,0);a.appleImg=a.scene.add.image(96,-77,"allGraphics2","w001_apple4new0000").setOrigin(.5,1);
a.balconyImg=a.scene.add.image(0,0,"allGraphics2","w001_frontBalcony4new0000").setOrigin(.5,1);a.bulbImg=a.scene.add.image(0,0,"allGraphics2","w001_ideaBulb4new0000").setOrigin(.5,1);a.add(a.bgWindowImg);a.add(a.galileoImg);a.add(a.atlantImg);a.add(a.appleImg);a.add(a.balconyImg);a.add(a.bulbImg);a.bulbImg.alpha=0;b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(.4,a.galileoImg.x,a.galileoImg.y-10);b=a.createImageModifier(a.galileoImg,2);b.addAnimNode(1,a.galileoImg.x+80,a.galileoImg.y);b=a.createImageModifier(a.appleImg,
.4);b.addAnimNode(0,a.appleImg.x,a.appleImg.y);b.addAnimNode(.5,a.appleImg.x+42,a.appleImg.y-34);b.addAnimNode(1,a.appleImg.x+84,a.appleImg.y);b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(0,a.galileoImg.x+80,a.galileoImg.y);b.addAnimNode(1,a.galileoImg.x+96,a.galileoImg.y-25);b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(0,a.galileoImg.x+96,a.galileoImg.y-25);b.addAnimNode(1,a.galileoImg.x+80,a.galileoImg.y);b=a.createImageModifier(a.galileoImg,4);b.addAnimNode(0,a.galileoImg.x+
80,a.galileoImg.y,0,-1,1);b.addAnimNode(1,a.galileoImg.x-80,a.galileoImg.y,0,-1,1);b=a.createImageModifier(a.appleImg,.4);b.addAnimNode(0,a.appleImg.x-205,a.appleImg.y);b.addAnimNode(.5,a.appleImg.x-205-42,a.appleImg.y-34);b.addAnimNode(1,a.appleImg.x-205-84,a.appleImg.y);b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(0,a.galileoImg.x-80,a.galileoImg.y,0,-1,1);b.addAnimNode(1,a.galileoImg.x-96,a.galileoImg.y-25,0,-1,1);b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(0,a.galileoImg.x-
96,a.galileoImg.y-25);b.addAnimNode(1,a.galileoImg.x-80,a.galileoImg.y);b=a.createImageModifier(a.galileoImg,2);b.addAnimNode(0,a.galileoImg.x-80,a.galileoImg.y);b.addAnimNode(1,a.galileoImg.x,a.galileoImg.y);b.modNodeProperty(0,"scaleX",1);b=a.createImageModifier(a.appleImg,2.4);for(c=0;1>c;c+=.1)b.addAnimNode(c,a.appleImg.x+84,a.appleImg.y+c*c*2E3+500*c);b.addAnimNode(.999999,a.appleImg.x+84,a.appleImg.y+2E3+500,0,1,1,0,0,0);b.addAnimNode(1,a.appleImg.x-205,a.appleImg.y);b=a.createImageModifier(a.appleImg,
2.4);for(c=0;1>c;c+=.1)b.addAnimNode(c,a.appleImg.x-205-84,a.appleImg.y+c*c*2E3+500*c);b.addAnimNode(.999999,a.appleImg.x-205-84,a.appleImg.y+2E3+500,0,1,1,0,0,0);b.addAnimNode(1,a.appleImg.x,a.appleImg.y);b=a.createImageModifier(a.bulbImg,2);b.addAnimNode(0,a.bulbImg.x+98,a.bulbImg.y-130,0,0,0);b.addAnimNode(.2,a.bulbImg.x+98,a.bulbImg.y-130,0,1.2,1.2);b.addAnimNode(.4,a.bulbImg.x+98,a.bulbImg.y-130,0,.8,.8);b.addAnimNode(.6,a.bulbImg.x+98,a.bulbImg.y-130,0,1,1);b.addAnimNode(1,a.bulbImg.x+98,a.bulbImg.y-
130,0,1,1,0,0,0);b=a.createImageModifier(a.bulbImg,2);b.addAnimNode(0,a.bulbImg.x-98,a.bulbImg.y-130,0,0,0);b.addAnimNode(.2,a.bulbImg.x-98,a.bulbImg.y-130,0,1.2,1.2);b.addAnimNode(.4,a.bulbImg.x-98,a.bulbImg.y-130,0,.8,.8);b.addAnimNode(.6,a.bulbImg.x-98,a.bulbImg.y-130,0,1,1);b.addAnimNode(1,a.bulbImg.x-98,a.bulbImg.y-130,0,1,1,0,0,0);a.animPhases=[[1],[2,3],[10],[12],[4],[5],[6,7],[11],[13],[8],[9]];a.animatioPhaseId=a.animPhases.length-1;a.ima2CheckPhase=a.imageModifiers[a.animPhases[a.animatioPhaseId][0]];
return a};$jscomp.inherits(GalileoVisual,BasicMachineVisual);GalileoVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.ima2CheckPhase.isAnimating||this.startNewAnimationPhase()};
GalileoVisual.prototype.startNewAnimationPhase=function(){this.animatioPhaseId=(this.animatioPhaseId+1)%this.animPhases.length;for(var a=this.animPhases[this.animatioPhaseId],b=0;b<a.length;b++)this.imageModifiers[a[b]].startAnimation(1,0);1==a[0]||5==a[0]||9==a[0]?this.imageModifiers[0].startAnimation(-1,0):this.imageModifiers[0].pauseAnimation();this.ima2CheckPhase=this.imageModifiers[this.animPhases[this.animatioPhaseId][0]]};
var TelescopeVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-300;a.upgBtnCoords.y=-60;a.galileoImg=a.scene.add.image(-35,-14,"allGraphics2","w001_galileo4new0000").setOrigin(.5,1);a.galileoImg.setScale(-1,1);a.roofImg=a.scene.add.image(4,-65,"allGraphics2","w001_observatoryRoof4new0000").setOrigin(1,1);a.telescopeImg=a.scene.add.image(-201,-142,"allGraphics2","w001_teleascope4new0000").setOrigin(.5,.5);a.telescopeImg.rotation=-.8*Math.PI/2;a.telescopeStandImg=
a.scene.add.image(-145,-57,"allGraphics2","w001_observatoryFarm4new0000").setOrigin(1,1);a.balconyImg=a.scene.add.image(0,0,"allGraphics2","w001_balcony4new0000").setOrigin(1,.5);a.bulbImg=a.scene.add.image(a.galileoImg.x,a.galileoImg.y-110,"allGraphics2","w001_ideaBulb4new0000").setOrigin(.5,1);a.cometImg=a.scene.add.image(-400,-400,"allGraphics2","w001_shootingStar4new0000").setOrigin(0,.5);a.cometImg.alpha=0;a.cometImg.setScale(0,1);a.cometImg.rotation=-1;a.add(a.galileoImg);a.add(a.roofImg);a.add(a.telescopeImg);
a.add(a.telescopeStandImg);a.add(a.balconyImg);a.add(a.bulbImg);a.add(a.cometImg);b=a.createImageModifier(a.telescopeImg,8);b.addAnimNode(.25,a.telescopeImg.x,a.telescopeImg.y,a.telescopeImg.rotation+.05);b.addAnimNode(.75,a.telescopeImg.x,a.telescopeImg.y,a.telescopeImg.rotation-.05);b=a.createImageModifier(a.galileoImg,8);b.addAnimNode(.25,a.galileoImg.x,a.galileoImg.y,0,-1,.9);b.addAnimNode(.75,a.galileoImg.x,a.galileoImg.y,0,-1,1.1);b=a.createImageModifier(a.telescopeImg,.5);b.addAnimNode(.4,
a.telescopeImg.x,a.telescopeImg.y,a.telescopeImg.rotation,1.05,1.05);b=a.createImageModifier(a.galileoImg,.5);b.addAnimNode(0,a.galileoImg.x,a.galileoImg.y,0,-1,1);b.addAnimNode(.2,a.galileoImg.x,a.galileoImg.y,0,-1.1,.9);b.addAnimNode(.4,a.galileoImg.x,a.galileoImg.y-20,0,-1,1);b=a.createImageModifier(a.bulbImg,2);b.addAnimNode(0,a.bulbImg.x,a.bulbImg.y,0,0,0);b.addAnimNode(.2,a.bulbImg.x,a.bulbImg.y,0,1.2,1.2);b.addAnimNode(.4,a.bulbImg.x,a.bulbImg.y,0,.8,.8);b.addAnimNode(.6,a.bulbImg.x,a.bulbImg.y,
0,1,1);b.addAnimNode(1,a.bulbImg.x,a.bulbImg.y,0,1,1,0,0,0);b=a.createImageModifier(a.cometImg,8);b.addAnimNode(0,a.cometImg.x,a.cometImg.y,-1,0,1,0,0,0);b.addAnimNode(.8,a.cometImg.x,a.cometImg.y,-1,0,1,0,0,0);b.addAnimNode(.9,a.cometImg.x-50,a.cometImg.y+100,-1,1,1,0,0,1);b.addAnimNode(1,a.cometImg.x-100,a.cometImg.y+200,-1,1,1,0,0,0);a.animPhases=[[0,1,5],[4,3,2]];a.animatioPhaseId=a.animPhases.length-1;a.ima2CheckPhase=a.imageModifiers[a.animPhases[a.animatioPhaseId][0]];return a};
$jscomp.inherits(TelescopeVisual,BasicMachineVisual);TelescopeVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.ima2CheckPhase.isAnimating||this.startNewAnimationPhase()};TelescopeVisual.prototype.startNewAnimationPhase=function(){this.animatioPhaseId=(this.animatioPhaseId+1)%this.animPhases.length;for(var a=this.animPhases[this.animatioPhaseId],b=0;b<a.length;b++)this.imageModifiers[a[b]].startAnimation(1,0);this.ima2CheckPhase=this.imageModifiers[this.animPhases[this.animatioPhaseId][0]]};
var MoonStairsVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=-900;a.upgBtnCoords.y=-220;a.bloonsCoords=[{x:-394,y:-108},{x:-603,y:-175},{x:-842,y:-272}];a.balconyImg=a.scene.add.image(0,0,"allGraphics2","w001_balcony4new0000").setOrigin(1,.5);a.stairsImg=a.scene.add.image(-202,-38,"allGraphics2","w001_moonStairs4new0000").setOrigin(0,1);a.add(a.balconyImg);a.add(a.stairsImg);a.stairsImg.rotation=-1.23;a.worker=new HumanWithPickAxe(a.scene,a,-945,-315,"w001_workerSimple4new0002");
a.embedVisual(a.worker);a.humanWithCart=new HumanWithCart(a.scene,a,-905,-310,"w001_moonStone4new0000","w001_workerSimple4new0002");a.embedVisual(a.humanWithCart);for(b=0;b<a.bloonsCoords.length;b++)c=a.scene.add.image(a.bloonsCoords[b].x,a.bloonsCoords[b].y,"allGraphics2","w001_balloonStairsHolder4new0000").setOrigin(.5,1),a.add(c);b=a.createImageModifier(a.humanWithCart,20);b.addAnimNode(.3,a.humanWithCart.x+684,a.humanWithCart.y+238,0);b.addAnimNode(.3001,a.humanWithCart.x+684+50,a.humanWithCart.y+
238,0,-1);b.addAnimNode(.9999,a.humanWithCart.x,a.humanWithCart.y,0,-1);b.startAnimation(-1,0);return a};$jscomp.inherits(MoonStairsVisual,BasicMachineVisual);MoonStairsVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.imageModifiers[0].hasJustCrossedLambda(.3)&&this.humanWithCart.hideBrick();this.imageModifiers[0].hasJustCrossedLambda(1)&&this.humanWithCart.showBrick()};
var MoonVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.touchRect=new Phaser.Geom.Rectangle(-150,-150,300,300);a.moonImg=a.scene.add.image(0,0,"allGraphics2","w001_moon4new0000").setOrigin(.5,.5);a.add(a.moonImg);b=a.createImageModifier(a.moonImg,.4);b.addAnimNode(.4,a.moonImg.x,a.moonImg.y,0,1.1,.95);b.addAnimNode(.8,a.moonImg.x,a.moonImg.y,0,.95,1.1);return a};$jscomp.inherits(MoonVisual,BasicMachineVisual);
var StarsVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.starsCoords=[{x:-11,y:0},{x:46,y:-53},{x:-64,y:-162},{x:117,y:-162}];for(b=0;b<a.starsCoords.length;b++)c=a.scene.add.image(a.starsCoords[b].x,a.starsCoords[b].y,"allGraphics2","w001_singleStar4new0000").setOrigin(.5,.5),a.add(c);return a};$jscomp.inherits(StarsVisual,BasicMachineVisual);
var LaboratoryVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.backImg=a.scene.add.image(0,0,"allGraphics2","w001_labBack4new0000").setOrigin(.5,1);a.add(a.backImg);a.galileoImg=a.scene.add.image(-83,-40,"allGraphics2","w001_galileo4new0000").setOrigin(.5,1);a.add(a.galileoImg);a.frontImg=a.scene.add.image(16,-14,"allGraphics2","w001_labFront4new0000").setOrigin(.5,1);a.add(a.frontImg);b=a.createImageModifier(a.galileoImg,.4);b.addAnimNode(.4,a.galileoImg.x,a.galileoImg.y-
10);b.startAnimation(-1,0);b=a.createImageModifier(a.galileoImg,16);b.addAnimNode(.499,a.galileoImg.x+302,a.galileoImg.y);b.addAnimNode(.499,a.galileoImg.x+302,a.galileoImg.y,0,1);b.addAnimNode(.5,a.galileoImg.x+302,a.galileoImg.y,0,-1);b.addAnimNode(.999,a.galileoImg.x,a.galileoImg.y,0,-1);b.startAnimation(-1,0);a.settingsButton=null;return a};$jscomp.inherits(LaboratoryVisual,BasicMachineVisual);
LaboratoryVisual.prototype.createSettingsButton=function(a){this.settingsButton=new ButtonWithIcon(this.scene,this,"w000_upgradeIcon4new0000",342,-140);this.settingsButton.registerHandler(this.setBtnHandler);this.settingsButton.myMachine=a};LaboratoryVisual.prototype.setBtnHandler=function(){this.myMachine.myWorld.additionalParamsStorage&&this.myMachine.myWorld.hud.showSettingsPanel4Laboratory(this.myMachine.myWorld.additionalParamsStorage)};
var GunpowderFactoryVisual=function(a,b,c,d){c=BasicMachineVisual.call(this,a,b,c,d)||this;c.upgBtnCoords.x=-200;c.upgBtnCoords.y=-100;c.bgImg=c.scene.add.image(0,0,"allGraphics2","w011_gunPowderLab4new0000").setOrigin(.5,1);c.add(c.bgImg);c.cog0=c.scene.add.image(126,-91,"allGraphics2","w011_rotatingCog4new0000").setOrigin(.5,.5);c.cog0.tint=6506003;c.add(c.cog0);c.drop=c.scene.add.image(131,-195,"allGraphics2","w011_liquidDrop4new0000").setOrigin(.5,0);c.add(c.drop);c.mch=c.scene.add.image(109,
-97,"allGraphics2","w011_gunpowderMill4new0000").setOrigin(.5,.5);c.add(c.mch);c.cloudsAnim=new DustCloudsAnim(a,b,119,-99);c.add(c.cloudsAnim);c.embedVisual(c.cloudsAnim);c.cog1=c.scene.add.image(119,-99,"allGraphics2","w011_rotatingCog4new0000").setOrigin(.5,.5);c.cog1.tint=11894820;c.add(c.cog1);c.stand=c.scene.add.image(129,-13,"allGraphics2","w011_gunpowderMillStand4new0000").setOrigin(.5,1);c.add(c.stand);c.plank=c.scene.add.image(-30,9,"allGraphics2","w001_plank4new0000").setOrigin(.5,1);c.add(c.plank);
a=c.createImageModifier(c.cog0,4);a.addAnimNode(1,c.cog0.x,c.cog0.y,2*Math.PI);a.startAnimation(-1,0);a=c.createImageModifier(c.cog1,4);a.addAnimNode(1,c.cog1.x,c.cog1.y,-2*Math.PI);a.startAnimation(-1,0);c.drop.setScale(0);a=c.createImageModifier(c.drop,4);a.addAnimNode(.95,c.drop.x,c.drop.y,0,1,1);a.addAnimNode(1,c.drop.x,c.drop.y+50,0,1,1);a.startAnimation(-1,0);a=c.createImageModifier(c.plank,.8);a.addAnimNode(0,c.plank.x+420,c.plank.y+260,c.plank.rotation,1,1,1,1,1);a.addAnimNode(.25,c.plank.x+
240,c.plank.y-200,c.plank.rotation,1,1,1,1,1);a.addAnimNode(.5,c.plank.x,c.plank.y,c.plank.rotation,1,1,1,1,1);a.addAnimNode(.75,c.plank.x+35,c.plank.y-64,c.plank.rotation-1,.8,.8,1,1,1);a.addAnimNode(1,c.plank.x+149,c.plank.y-108,c.plank.rotation-1,.8,.8,1,1,0);return c};$jscomp.inherits(GunpowderFactoryVisual,BasicMachineVisual);
GunpowderFactoryVisual.prototype.showGPProductionProcess=function(a,b){0<a?(this.cloudsAnim.startAnimations(this.cloudsAnim.x,this.cloudsAnim.y,b,!1),this.imageModifiers[0].isAnimating=!0,this.imageModifiers[1].isAnimating=!0,this.imageModifiers[2].isAnimating=!0,this.runAnimId(3,1,0)):(this.cloudsAnim.stopAnimations(),this.imageModifiers[0].isAnimating=!1,this.imageModifiers[1].isAnimating=!1,this.imageModifiers[2].isAnimating=!1)};
var CannonVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.brickImg=a.scene.add.image(15,-150,"allGraphics2","w001_brick4new0000").setOrigin(.5,.5);a.add(a.brickImg);a.fireImg=a.scene.add.image(15,-200,"allGraphics2","w011_cannonFire4new0000").setOrigin(.5,1);a.add(a.fireImg);a.cannonImg=a.scene.add.image(13,-86,"allGraphics2","w011_cannon4new0000").setOrigin(.5,123/163);a.add(a.cannonImg);a.fuseImg=a.scene.add.image(47,-55,"allGraphics2","w011_cannonFuse4new0000").setOrigin(0,
0);a.add(a.fuseImg);a.standImg=a.scene.add.image(0,0,"allGraphics2","w011_cannonStand4new0000").setOrigin(.5,.5);a.add(a.standImg);a.fireImg.setScale(1,0);a.fireImg.alpha=0;b=a.createImageModifier(a.fireImg,.5);b.addAnimNode(.2,a.fireImg.x,a.fireImg.y,0,1,.5,0,0,1);b.addAnimNode(.6,a.fireImg.x,a.fireImg.y,0,1,1,0,0,1);b.addAnimNode(1,a.fireImg.x,a.fireImg.y,0,1,1.5,0,0,0);b=a.createImageModifier(a.cannonImg,.5);b.addAnimNode(.2,a.cannonImg.x,a.cannonImg.y,0,1.1,.9);b.addAnimNode(.8,a.cannonImg.x,
a.cannonImg.y,0,.9,1.1);b=a.createImageModifier(a.brickImg,1);b.addAnimNode(.1,a.brickImg.x,a.brickImg.y);b.addAnimNode(.7,a.brickImg.x,a.brickImg.y-400,0,1,1);b.addAnimNode(1,a.brickImg.x,a.brickImg.y-600,0,1,1,0,0,0);return a};$jscomp.inherits(CannonVisual,BasicMachineVisual);CannonVisual.prototype.showCannonCharged=function(a){this.fuseImg.visible=a};
var BungeeJumperVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=0;a.upgBtnCoords.y=100;a.brickImg=a.scene.add.image(0,32,"allGraphics2","w011_bungeeJumperStand4new0000").setOrigin(.5,1);a.add(a.brickImg);a.workerIm=a.scene.add.image(0,0,"allGraphics2","w001_workerSimple4new0002");a.workerIm.setOrigin(.5,1);a.add(a.workerIm);a.ropeSegments=[];for(b=0;4>b;b++)c=a.scene.add.image(0,0,"allGraphics2","w001_rope4new0000").setOrigin(.5,1),a.add(c),a.ropeSegments.push(c);
a.ropePoints=[];for(b=0;b<a.ropeSegments.length+1;b++)a.ropePoints.push({x:0,y:0});return a};$jscomp.inherits(BungeeJumperVisual,BasicMachineVisual);
BungeeJumperVisual.prototype.showHumanAtCoords=function(a,b){this.workerIm.x=a;this.workerIm.y=b;this.workerIm.rotation=.9*this.workerIm.rotation+.1*Math.atan2(a,-b);var c=Math.sqrt(a*a+b*b),d=this.ropePoints.length;this.ropePoints[d-1].x=a;this.ropePoints[d-1].y=b;for(var e=1;e<d-1;e++){var f=e/(d-1);this.ropePoints[e].x=.5*this.ropePoints[e].x+.5*(a*f+.1*c*(Math.random()-.5));this.ropePoints[e].y=.5*this.ropePoints[e].y+.5*(b*f+.1*c*(Math.random()-.5))}for(e=0;e<d-1;e++){a=this.ropeSegments[e];
b=this.ropePoints[e].x;f=this.ropePoints[e].y;var g=this.ropePoints[e+1].x-b,h=this.ropePoints[e+1].y-f;c=Math.sqrt(g*g+h*h);a.x=b;a.y=f;a.rotation=0;a.setScale(1,c/100);a.rotation=Math.atan2(g,-h)}};
var MoonStoneTowerVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.brickImg=a.scene.add.image(0,0,"allGraphics2","w011_crystalBase4new0000").setOrigin(.5,1);a.add(a.brickImg);a.crystImg=a.scene.add.image(0,-207,"allGraphics2","w011_crystalBody4new0000").setOrigin(.5,.5);a.add(a.crystImg);a.rayImg=a.scene.add.image(0,-317,"allGraphics2","w011_crystallRay4new0000").setOrigin(1,1);a.add(a.rayImg);a.rayImg.rotation=0;a.rayImg.setScale(100/639);a.rayImg.alpha=0;a.percImg=a.scene.add.image(0,
0,"allGraphics2","w011_moonTowerSection4new0000").setOrigin(.5,1);a.add(a.percImg);a.txt=new TextField(a.scene,a,"%",-100,-1E3);a.add(a.txt);a.txt.mustTranslateShownText=!1;a.sectionsImgs=[];b=a.createImageModifier(a.rayImg,1.5);b.addAnimNode(.1,a.rayImg.x,a.rayImg.y,0,1,1,0,0,1);b.addAnimNode(.5,a.rayImg.x,a.rayImg.y,0,1,1,0,0,1);b.addAnimNode(.9,a.rayImg.x,a.rayImg.y,0,1,1,0,0,1);return a};$jscomp.inherits(MoonStoneTowerVisual,BasicMachineVisual);
MoonStoneTowerVisual.prototype.getStoreyFloorY=function(a){return a*-this.getStoreyHeight()};MoonStoneTowerVisual.prototype.getStoreyHeight=function(){return 237};
MoonStoneTowerVisual.prototype.showTowerHeight=function(a,b){var c=this.sectionsImgs.length;if(a>c)for(;c<a;c++){var d=this.getStoreyFloorY(c);d=this.scene.add.image(0,d,"allGraphics2","w011_moonTowerSection4new0000").setOrigin(.5,1);this.add(d);this.sectionsImgs.push(d)}this.percImg.y=this.getStoreyFloorY(a);this.percImg.setScale(1,b);d=this.getStoreyFloorY(a)-this.getStoreyHeight()*b;this.brickImg.y=d;this.crystImg.y=d-207;this.rayImg.y=d-317;this.txt.setY(d+.5*this.getStoreyHeight()*b);this.txt.showText(window.bottleScreen.utils.showNumberAsText(100*
b)+"%")};
MoonStoneTowerVisual.prototype.sendLightRayTowards=function(a,b){a-=this.x+this.rayImg.x;var c=b-(this.y+this.rayImg.y);b=Math.atan2(a,-c);var d=Math.atan2(a+550,-c),e=Math.sqrt(a*a+c*c)/639;a=Math.sqrt((a+350)*(a+350)+c*c)/639;this.imageModifiers[0].modNodeProperty(1,"rotation",b);this.imageModifiers[0].modNodeProperty(1,"scaleX",e);this.imageModifiers[0].modNodeProperty(1,"scaleY",e);this.imageModifiers[0].modNodeProperty(2,"rotation",d);this.imageModifiers[0].modNodeProperty(2,"scaleX",a);this.imageModifiers[0].modNodeProperty(2,
"scaleY",a);this.imageModifiers[0].modNodeProperty(3,"rotation",b);this.imageModifiers[0].modNodeProperty(3,"scaleX",e);this.imageModifiers[0].modNodeProperty(3,"scaleY",e);this.runAnimId(0,1,0)};
var FieldIrrigatorVisual=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.upgBtnCoords.x=0;a.upgBtnCoords.y=250;a.baseImg=a.scene.add.image(0,0,"allGraphics2","w011_fountainBase4new0000").setOrigin(.5,1);a.add(a.baseImg);a.dropsAnim=new RainDropsAnim(a.scene,a,0,-320,440,250);a.dropsAnim.registerDropsLine(0,-94,0,-301);a.dropsAnim.registerDropsLine(-40,-95,-187,-260);a.dropsAnim.registerDropsLine(40,-95,187,-260);a.add(a.dropsAnim);a.embedVisual(a.dropsAnim);a.dropsAnim.startAnimations(a.dropsAnim.x,
a.dropsAnim.y,999999999999,!1);a.tubesCoords=[{x:2364,y:375,r:Math.PI/2,tp:1},{x:2309,y:483,r:-Math.PI/2,tp:1},{x:2133,y:507,r:0,tp:0},{x:1892,y:507,r:0,tp:0},{x:1652,y:507,r:0,tp:0},{x:1411,y:507,r:0,tp:0},{x:1169,y:507,r:0,tp:0},{x:928,y:507,r:0,tp:0},{x:688,y:507,r:0,tp:0},{x:446,y:507,r:0,tp:0},{x:205,y:507,r:0,tp:0},{x:29,y:481,r:0,tp:1},{x:4,y:307,r:Math.PI/2,tp:0}];b=["w001_waterPipeStraight4new0000","w011_waterPipeCorner4new0000"];a.sectionsImgs=[];for(c=0;c<a.tubesCoords.length;c++){d=a.tubesCoords[c];
var e=a.scene.add.image(d.x,d.y,"allGraphics2",b[d.tp]).setOrigin(.5,.5);a.add(e);e.rotation=d.r;a.sectionsImgs.push(e)}a.coverIm2=a.scene.add.image(2,170,"allGraphics2","w000_tmpSquare4new0000").setOrigin(.5,.5);a.coverIm2.tint=4261635;a.add(a.coverIm2);a.coverIm=a.scene.add.image(2,215,"allGraphics2","w000_tmpSquare4new0000").setOrigin(.5,.5);a.coverIm.tint=6240045;a.add(a.coverIm);a.animWaves=[];a.timeAfterLastWave=0;return a};$jscomp.inherits(FieldIrrigatorVisual,BasicMachineVisual);
FieldIrrigatorVisual.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);for(var b=0;b<this.animWaves.length;b++)this.animWaves[b].doStep(a);this.timeAfterLastWave+=a;5<this.timeAfterLastWave&&(this.startWave(),this.timeAfterLastWave-=2)};
FieldIrrigatorVisual.prototype.startWave=function(){for(var a=null,b=0;b<this.animWaves.length;b++)if(!this.animWaves[b].isAnimationRunning){a=this.animWaves[b];break}a||(a=new WaveMover(this.sectionsImgs),a.animationSpeedCoef=this.sectionsImgs.length/2,a.sectionSizeAddCoef=.5,this.animWaves.push(a));a.startAnimation()};
var GunPowderStorageVisual=function(a,b,c,d){a=BasicStorageVisual.call(this,a,b,c,d)||this;a.img=a.scene.add.image(0,0,"allGraphics2","w011_gunpowderSack4new0000").setOrigin(.5,1);a.add(a.img);a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);return a};$jscomp.inherits(GunPowderStorageVisual,BasicStorageVisual);
GunPowderStorageVisual.prototype.showCurrentValue=function(a){var b=a/100;1<b&&(b=1);b=Math.sqrt(b);this.img.setScale(1,b);0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var MoonStoneStorageVisual=function(a,b,c,d){a=BasicStorageVisual.call(this,a,b,c,d)||this;a.img=a.scene.add.image(0,0,"allGraphics2","w001_hayStack4new0000").setOrigin(.5,143/161);a.add(a.img);a.text=new TFWithBGD(a.scene,a.grp,"",0,32,{texKey:"w001_bgdOfInformer4new0000",bgdOx:.5,bgdOy:.5,dx:0,dy:-22});a.text.mustTranslateShownText=!1;a.add(a.text);return a};$jscomp.inherits(MoonStoneStorageVisual,BasicStorageVisual);
MoonStoneStorageVisual.prototype.showCurrentValue=function(a){var b=a/100;1<b&&(b=1);b=Math.sqrt(b);this.img.setScale(b,b);0==a?(this.text.showText(""),this.text.visible=!1):(this.text.visible=!0,this.text.showText(window.bottleScreen.utils.showNumberAsText(a)))};
var HumanWithPickAxe=function(a,b,c,d,e){a=BasicMachineVisual.call(this,a,b,c,d)||this;e||(e="w001_workerSimple4new0000");a.humanIm=a.scene.add.image(0,0,"allGraphics2",e);a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(-1,1);a.pickIm=a.scene.add.image(-21,-34,"allGraphics2","w001_pickaxe4new0000");a.pickIm.setOrigin(.5,1);a.add(a.pickIm);a.pickIm.rotation=Math.PI/4;e=.5+.1*Math.random();b=a.createImageModifier(a.humanIm,e);b.addAnimNode(.1,0,0,a.humanIm.rotation+.2,-1,a.humanIm.scale.y);
b.addAnimNode(.4,7,6,a.humanIm.rotation-Math.PI/4,-1,a.humanIm.scale.y);b.startAnimation(-1,0);b=a.createImageModifier(a.pickIm,e);b.addAnimNode(.1,a.pickIm.x+10,a.pickIm.y+3,a.pickIm.rotation+.3,1,1);b.addAnimNode(.4,a.pickIm.x+6,a.pickIm.y+8,-Math.PI/2,1,1);b.startAnimation(-1,0);return a};$jscomp.inherits(HumanWithPickAxe,BasicMachineVisual);
var HumanWithDrumSticks=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.stickIm1=a.scene.add.image(7,-46,"allGraphics2","w001_drumStick4new0000");a.stickIm1.setOrigin(.5,1);a.add(a.stickIm1);a.stickIm1.rotation=-Math.PI/4;a.humanIm=a.scene.add.image(0,0,"allGraphics2","w001_workerSimple4new0000");a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(-1,1);a.stickIm2=a.scene.add.image(5,-45,"allGraphics2","w001_drumStick4new0000");a.stickIm2.setOrigin(.25,1);a.add(a.stickIm2);
a.stickIm2.rotation=-Math.PI/6;b=a.createImageModifier(a.stickIm1,1);b.addAnimNode(.3,a.stickIm1.x,a.stickIm1.y+3,-Math.PI/2);b.addAnimNode(.6,a.stickIm1.x,a.stickIm1.y,a.stickIm1.rotation);b.startAnimation(-1,0);b=a.createImageModifier(a.stickIm2,1);b.addAnimNode(.4,a.stickIm1.x,a.stickIm2.y,a.stickIm1.rotation);b.addAnimNode(.7,a.stickIm1.x,a.stickIm2.y+3,-Math.PI/2);b.startAnimation(-1,0);b=a.createImageModifier(a.humanIm,1);b.addAnimNode(.3,a.humanIm.x,a.humanIm.y,a.humanIm.rotation,a.humanIm.scaleX,
.9);b.addAnimNode(.5,a.humanIm.x,a.humanIm.y,a.humanIm.rotation,a.humanIm.scaleX,1);b.addAnimNode(.7,a.humanIm.x,a.humanIm.y,a.humanIm.rotation,a.humanIm.scaleX,.9);b.startAnimation(-1,0);return a};$jscomp.inherits(HumanWithDrumSticks,BasicMachineVisual);
var HumanWithLawnMower=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.lineId=0;a.humanIm=a.scene.add.image(0,0,"allGraphics2","w001_workerSimple4new0000");a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(1,1);a.mowerIm=a.scene.add.image(0,-50,"allGraphics2","w001_lawnMover4new0000");a.mowerIm.setOrigin(0,0);a.add(a.mowerIm);b=.5+.1*Math.random();c=a.createImageModifier(a.humanIm,b);c.addAnimNode(.5,a.humanIm.x,a.humanIm.y-10,0,1,a.humanIm.scale.y);c.startAnimation(-1,
0);c=a.createImageModifier(a.mowerIm,b);c.addAnimNode(.5,a.mowerIm.x,a.mowerIm.y,0,1.05,a.humanIm.scale.y);c.startAnimation(-1,0);return a};$jscomp.inherits(HumanWithLawnMower,BasicMachineVisual);
var HumanWithAxe=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.humanIm=a.scene.add.image(0,0,"allGraphics2","w001_workerSimple4new0001");a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(1,1);a.pickIm=a.scene.add.image(15,-47,"allGraphics2","w001_axe4new0000");a.pickIm.setOrigin(.25,1);a.add(a.pickIm);a.pickIm.rotation=-Math.PI/2.5;b=.5+.1*Math.random();c=a.createImageModifier(a.humanIm,b);c.addAnimNode(.1,0,0,a.humanIm.rotation-Math.PI/16,1,a.humanIm.scale.y);c.addAnimNode(.4,
7,6,a.humanIm.rotation+Math.PI/16,1,a.humanIm.scale.y);c.startAnimation(-1,0);c=a.createImageModifier(a.pickIm,b);c.addAnimNode(.1,a.pickIm.x-13,a.pickIm.y-3,a.pickIm.rotation-.3,1,1);c.addAnimNode(.4,20,-32,Math.PI/2.2,1,1);c.startAnimation(-1,0);return a};$jscomp.inherits(HumanWithAxe,BasicMachineVisual);HumanWithAxe.prototype.pauseAnimations=function(){this.stopAnimId(0);this.stopAnimId(1)};HumanWithAxe.prototype.resumeAnimations=function(){this.runAnimId(0,-1,0);this.runAnimId(1,-1,0)};
var HumanManifestation=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.txIm=new TFWithBGD(a.scene,a,"1 Brick",10,-140,{texKey:"w001_placate4new0000",originX:.5,originY:0,dx:0,dy:-50});a.humanIm=a.scene.add.image(0,0,"allGraphics2","w001_workerSimple4new0000");a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(1,1);b=a.createImageModifier(a.humanIm,.5);b.addAnimNode(.2,a.humanIm.x,a.humanIm.y-15);b.addAnimNode(.4,a.humanIm.x,a.humanIm.y);b=a.createImageModifier(a.humanIm,
4);b.addAnimNode(.4999,a.humanIm.x+100,a.humanIm.y,0,1);b.addAnimNode(.5,a.humanIm.x+100,a.humanIm.y,0,-1);b.addAnimNode(.99,a.humanIm.x,a.humanIm.y,0,-1);b=a.createImageModifier(a.txIm,.5);b.addAnimNode(.2,a.txIm.x,a.txIm.y-10);b.addAnimNode(.4,a.txIm.x,a.txIm.y);b=a.createImageModifier(a.txIm,4);b.addAnimNode(.5,a.txIm.x+100,a.txIm.y);return a};$jscomp.inherits(HumanManifestation,BasicMachineVisual);HumanManifestation.prototype.showPhrase=function(a){this.txIm.showText(a)};
HumanManifestation.prototype.startAnimationIfNotAnimating=function(){this.imageModifiers[0].isAnimating||this.startAnimation()};HumanManifestation.prototype.startAnimation=function(){this.runAnimId(0,-1,0);this.runAnimId(1,-1,0);this.runAnimId(2,-1,0);this.runAnimId(3,-1,0)};HumanManifestation.prototype.stopAnimation=function(){this.stopAnimId(0);this.stopAnimId(1);this.stopAnimId(2);this.stopAnimId(3)};
var ElevatorOfBricks=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.ropeZeroLength=50;a.humanIm=a.scene.add.image(36,-5,"allGraphics2","w001_workerSimple4new0000");a.humanIm.setOrigin(.5,1);a.add(a.humanIm);a.humanIm.setScale(-1,1);a.rollIm=a.scene.add.image(-11,-62,"allGraphics2","w001_elevatorRoll4new0000");a.rollIm.setOrigin(.5,.5);a.add(a.rollIm);a.baseIm=a.scene.add.image(16,0,"allGraphics2","w001_elevatorStand4new0000");a.baseIm.setOrigin(.5,1);a.add(a.baseIm);a.ropeIm=a.scene.add.image(-46,
-104,"allGraphics2","w001_rope4new0000");a.ropeIm.setOrigin(.5,0);a.add(a.ropeIm);a.ropeZeroLength=a.ropeIm.height;a.ropeNullLength=50;a.ropeIm.setScale(1,a.ropeNullLength/a.ropeIm.height);a.moverIm=a.scene.add.image(-46,a.ropeIm.y+a.ropeNullLength,"allGraphics2","w001_elevatorMover4new0000");a.moverIm.setOrigin(.5,0);a.add(a.moverIm);a.lastPayloadCode="brick";a.brickIm=a.scene.add.image(-49,a.ropeIm.y+a.ropeNullLength+55,"allGraphics2","w001_brick4new0000");a.brickIm.setOrigin(.5,1);a.add(a.brickIm);
a.brickIm.setScale(.6);a.brickIm.visible=!1;a.heightToBottom=200;a.moverZeroY=a.moverIm.y;a.brickZeroY=a.brickIm.y;b=a.createImageModifier(a.ropeIm,1);b.addAnimNode(1,a.ropeIm.x,a.ropeIm.y,0,1,(a.heightToBottom+a.ropeNullLength)/a.ropeZeroLength);b=a.createImageModifier(a.moverIm,1);b.addAnimNode(1,a.moverIm.x,a.moverZeroY+a.heightToBottom,0,1,1);b=a.createImageModifier(a.brickIm,1);b.addAnimNode(1,a.brickIm.x,a.brickZeroY+a.heightToBottom,0,a.brickIm.scale.x,a.brickIm.scale.y);b=a.createImageModifier(a.ropeIm,
1);b.addAnimNode(0,a.ropeIm.x,a.ropeIm.y,0,1,(a.heightToBottom+a.ropeNullLength)/a.ropeZeroLength);b.addAnimNode(1,a.ropeIm.x,a.ropeIm.y,0,1,.999*a.ropeNullLength/a.ropeZeroLength);b=a.createImageModifier(a.moverIm,1);b.addAnimNode(0,a.moverIm.x,a.moverZeroY+a.heightToBottom,0,1,1);b.addAnimNode(1,a.moverIm.x,a.moverIm.y-1,0,1,1);b=a.createImageModifier(a.brickIm,1);b.addAnimNode(0,a.brickIm.x,a.brickZeroY+a.heightToBottom,0,a.brickIm.scale.x,a.brickIm.scale.y);b.addAnimNode(.999999,a.brickIm.x,a.brickIm.y-
1,0,a.brickIm.scale.x,a.brickIm.scale.y,0,0,1,0);b.addAnimNode(1,a.brickIm.x,a.brickIm.y-1,0,a.brickIm.scale.x,a.brickIm.scale.y,0,0,1,0);b=a.createImageModifier(a.humanIm,.5);b.addAnimNode(.3,a.humanIm.x,a.humanIm.y,-.2,a.humanIm.scaleX,.9);b.addAnimNode(.6,a.humanIm.x,a.humanIm.y,.2,a.humanIm.scaleX,1);b=a.createImageModifier(a.rollIm,5);b.addAnimNode(1,a.rollIm.x,a.rollIm.y,2*Math.PI);b=a.createImageModifier(a.humanIm,.4);b.addAnimNode(.3,a.humanIm.x,a.humanIm.y,0,a.humanIm.scaleX,.9);b.addAnimNode(.6,
a.humanIm.x,a.humanIm.y-10,0,a.humanIm.scaleX,1);b=a.createImageModifier(a.rollIm,1);b.addAnimNode(1,a.rollIm.x,a.rollIm.y,-12*Math.PI);a.wasLastOrderDown=!1;return a};$jscomp.inherits(ElevatorOfBricks,BasicMachineVisual);
ElevatorOfBricks.prototype.setNewDist2Floor=function(a){this.heightToBottom=a;this.imageModifiers[0].modNodeProperty(1,"scaleY",(this.heightToBottom+this.ropeNullLength)/this.ropeZeroLength);this.imageModifiers[1].modNodeProperty(1,"y",this.moverZeroY+this.heightToBottom);this.imageModifiers[2].modNodeProperty(1,"y",this.brickZeroY+this.heightToBottom);this.imageModifiers[3].modNodeProperty(0,"scaleY",(this.heightToBottom+this.ropeNullLength)/this.ropeZeroLength);this.imageModifiers[4].modNodeProperty(0,
"y",this.moverZeroY+this.heightToBottom);this.imageModifiers[5].modNodeProperty(0,"y",this.brickZeroY+this.heightToBottom)};
ElevatorOfBricks.prototype.startMovingUp=function(a,b,c){if(this.lastPayloadCode!=c){this.lastPayloadCode=c;var d="brick"==c?"w001_brick4new0000":"w001_plank4new0000";"gunpowder"==c&&(d="w011_gunpowderSack4new0000");this.brickIm.setTexture("allGraphics2",d)}this.setAnimLength(3,a);this.runAnimId(3,1,0);this.setAnimLength(4,a);this.runAnimId(4,1,0);0<b&&(this.setAnimLength(5,a),this.runAnimId(5,1,0));this.runAnimId(6,Math.round(a/.5),0);this.runAnimId(7,Math.round(a/5),0);this.wasLastOrderDown=!1};
ElevatorOfBricks.prototype.updateElevatorAnimationsAtLambda=function(a,b){this.interpolateAnimLambda(3,a,b);this.interpolateAnimLambda(4,a,b);this.imageModifiers[5].isAnimating&&this.interpolateAnimLambda(5,a,b)};ElevatorOfBricks.prototype.stopMovingUpAnimation=function(){this.updateElevatorAnimationsAtLambda(1,1);this.stopAnimId(6);this.stopAnimId(7);this.wasLastOrderDown=!1};
ElevatorOfBricks.prototype.startMovingDown=function(){this.wasLastOrderDown||(this.runAnimId(0,1,0),this.runAnimId(1,1,0),this.runAnimId(2,1,0),this.runAnimId(8,1,0),this.runAnimId(9,1,0),this.wasLastOrderDown=!0)};var BasicParticlesAnimation=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.isAnimating=!1;a.animationTimeLeft=0;a.mustImmediatelyStopAnimationAfterTimeOver=!1;a.particlesPool=[];a.particleModifiers=[];a.initParticlesPool();return a};
$jscomp.inherits(BasicParticlesAnimation,BasicMachineVisual);BasicParticlesAnimation.prototype.initParticlesPool=function(){};BasicParticlesAnimation.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.isAnimating&&(this.doParticleAnimations(a),this.animationTimeLeft-=a,0>=this.animationTimeLeft&&(this.isAnimating=!1,this.mustImmediatelyStopAnimationAfterTimeOver&&this.immediatelyStopAnimations()))};
BasicParticlesAnimation.prototype.stopAnimations=function(){this.animationTimeLeft=0;this.isAnimating=!1};BasicParticlesAnimation.prototype.startAnimations=function(a,b,c,d){this.x=a;this.y=b;this.animationTimeLeft=c;this.mustImmediatelyStopAnimationAfterTimeOver=d;this.isAnimating=!0;this.immediatelyStartAnimation()};
BasicParticlesAnimation.prototype.doParticleAnimations=function(a){for(a=0;a<this.particlesPool.length;a++){var b=this.particlesPool[a];b.isInPool?this.startSingleParticleAnimation(a):this.particleModifiers[a].isAnimating||(b.isInPool=!0,b.visible=!1)}};BasicParticlesAnimation.prototype.startSingleParticleAnimation=function(a){};BasicParticlesAnimation.prototype.immediatelyStartAnimation=function(){};BasicParticlesAnimation.prototype.immediatelyStopAnimations=function(){};
var RainDropsAnim=function(a,b,c,d,e,f){a=BasicParticlesAnimation.call(this,a,b,c,d)||this;a.rainW=e;a.rainH=f;a.dropLines=[];return a};$jscomp.inherits(RainDropsAnim,BasicParticlesAnimation);RainDropsAnim.prototype.registerDropsLine=function(a,b,c,d){this.dropLines.push([a,b,c,d])};
RainDropsAnim.prototype.initParticlesPool=function(){for(var a=0;15>a;a++){var b=this.scene.add.image(0,0,"allGraphics2","w001_snowflake4new0000");b.setOrigin(1,.5);b.rotation=-Math.PI/2;this.add(b);this.particlesPool.push(b);b.isInPool=!0;b.visible=!1;var c=this.createImageModifier(b,1);c.addAnimNode(0,b.x,b.y,b.rotation,1,0,0,0,0);c.addAnimNode(.5,b.x,b.y,b.rotation,1,2,0,0,1);c.addAnimNode(1,b.x,b.y+60,b.rotation,1,0,0,0,0);this.particleModifiers.push(c)}};
RainDropsAnim.prototype.startSingleParticleAnimation=function(a){if(.1>Math.random()){var b=this.particlesPool[a];a=this.particleModifiers[a];b.isInPool=!1;b.visible=!0;var c=-1;0<this.dropLines.length&&.5>Math.random()&&(c=Math.floor(Math.random()*this.dropLines.length));if(-1==c)b.x=this.rainW*(Math.random()-.5),b.y=this.rainH*Math.random(),b.rotation=-Math.PI/2,a.modNodeProperty(0,"x",b.x),a.modNodeProperty(0,"y",b.y),a.modNodeProperty(1,"x",b.x),a.modNodeProperty(1,"y",b.y),a.modNodeProperty(2,
"x",b.x),a.modNodeProperty(2,"y",b.y+60);else{var d=this.dropLines[c][0]-this.x,e=this.dropLines[c][1]-this.y,f=this.dropLines[c][2]-this.x+(100*Math.random()-.5);c=this.dropLines[c][3]-this.y+(100*Math.random()-.5);var g=.5*Math.random();b.x=d+(f-d)*g;b.y=e+(c-e)*g;b.rotation=Math.atan2(c-e,f-d)+Math.PI;a.modNodeProperty(0,"x",b.x);a.modNodeProperty(0,"y",b.y);a.modNodeProperty(1,"x",b.x);a.modNodeProperty(1,"y",b.y);a.modNodeProperty(2,"x",b.x);a.modNodeProperty(2,"x",d+(f-d)*(g+.5));a.modNodeProperty(2,
"y",e+(c-e)*(g+.5))}a.setCycle(0,.2+.3*Math.random());a.startAnimation(1,0)}};var DustCloudsAnim=function(a,b,c,d){return BasicParticlesAnimation.call(this,a,b,c,d)||this};$jscomp.inherits(DustCloudsAnim,BasicParticlesAnimation);
DustCloudsAnim.prototype.initParticlesPool=function(){for(var a=0;5>a;a++){var b=this.scene.add.image(0,0,"allGraphics2","w001_cloudPart4new0000");b.setOrigin(.5,.5);b.rotation=Math.random()*Math.PI;this.add(b);this.particlesPool.push(b);b.isInPool=!0;b.visible=!1;var c=this.createImageModifier(b,1);c.addAnimNode(0,b.x,b.y,b.rotation,0,0,0,0,0);c.addAnimNode(.3,b.x,b.y,b.rotation+1,1,1,0,0,1);c.addAnimNode(1,b.x,b.y,b.rotation+2,2,2,0,0,0);this.particleModifiers.push(c)}};
DustCloudsAnim.prototype.doAnimations=function(a){BasicParticlesAnimation.prototype.doAnimations.call(this,a)};DustCloudsAnim.prototype.startSingleParticleAnimation=function(a){if(.1>Math.random()){var b=this.particlesPool[a];a=this.particleModifiers[a];b.isInPool=!1;b.visible=!0;b.x=60*Math.random()-30;b.y=60*Math.random()-30;a.modNodeProperty(0,"x",b.x);a.modNodeProperty(0,"y",b.y);a.modNodeProperty(2,"x",-b.x);a.modNodeProperty(2,"y",-b.y);a.setCycle(0,.2+.3*Math.random());a.startAnimation(1,0)}};
var SparklesLineAnim=function(a,b,c,d){return BasicParticlesAnimation.call(this,a,b,c,d)||this};$jscomp.inherits(SparklesLineAnim,BasicParticlesAnimation);
SparklesLineAnim.prototype.initParticlesPool=function(){for(var a=0;5>a;a++){var b=this.scene.add.image(0,0,"allGraphics2","w001_starWithTrack4new0000");b.setOrigin(1,.5);this.add(b);this.particlesPool.push(b);b.isInPool=!0;b.visible=!1;var c=this.createImageModifier(b,1);c.addAnimNode(0,b.x,b.y,b.rotation,0,1,0,0,0);c.addAnimNode(.2,b.x+67,b.y,b.rotation,1,1,0,0,1);c.addAnimNode(1,b.x+130,b.y,b.rotation,1,1,0,0,0);this.particleModifiers.push(c)}};
SparklesLineAnim.prototype.startSingleParticleAnimation=function(a){if(.1>Math.random()){var b=this.particlesPool[a];a=this.particleModifiers[a];b.isInPool=!1;b.visible=!0;b.x=20*Math.random()-10;b.y=20*Math.random()-10;var c=.2*Math.random()-.1;a.modNodeProperty(0,"x",b.x);a.modNodeProperty(0,"y",b.y);a.modNodeProperty(1,"x",b.x+67);a.modNodeProperty(1,"y",b.y-67*Math.sin(c));a.modNodeProperty(1,"rotation",c);a.modNodeProperty(2,"x",b.x+130);a.modNodeProperty(2,"y",b.y-130*Math.sin(c));a.modNodeProperty(2,
"rotation",c);a.setCycle(0,.1+.1*Math.random());a.startAnimation(1,0)}};
var AnimatedImage=function(a,b,c){this.scene=a;a=c.key;c=c.mode;a||(a="w001_roughStone4new0000");c||(c="linear");this.mode=c;this.im=this.scene.add.image(0,0,"allGraphics2",a);this.ima=new ImageModifier;this.ima.registerDob(this.im,.4);this.ima.addAnimNode(0,-1,-1,0,1,1,0,0,1);"withRotation"==this.mode&&this.ima.addAnimNode(.1,-1,-1,-Math.PI,1,1,0,0,1);this.ima.addAnimNode(.9,0,0,0,1,1,0,0,1);this.ima.addAnimNode(1,0,0,0,1,1,0,0,0)};
AnimatedImage.prototype.startFromPoint=function(a,b){this.im.x=a;this.im.y=b;this.im.visible=!0;this.ima.modNodeProperty(0,"x",a);this.ima.modNodeProperty(0,"y",b);"withRotation"==this.mode&&(this.ima.modNodeProperty(1,"x",a),this.ima.modNodeProperty(1,"y",b));this.ima.startAnimation(1,0)};
AnimatedImage.prototype.placeInCoords=function(a,b){this.im.x=a;this.im.y=b;this.ima.modNodeProperty(this.ima.viewsSnapshots.length-2,"x",a);this.ima.modNodeProperty(this.ima.viewsSnapshots.length-2,"y",b);this.ima.modNodeProperty(this.ima.viewsSnapshots.length-1,"x",a);this.ima.modNodeProperty(this.ima.viewsSnapshots.length-1,"y",b)};
var OpenedWindow=function(a,b,c,d){a=BasicMachineVisual.call(this,a,b,c,d)||this;a.isShowing=!1;a.visible=!1;a.hasPurse=!1;a.bgdIm=a.scene.add.image(0,0,"allGraphics2","w001_windowInnerPart4new0000");a.bgdIm.setOrigin(.5,1);a.add(a.bgdIm);a.purseIm=a.scene.add.image(0,-31,"allGraphics2","w001_purseWithDiamonds4new0000");a.purseIm.setOrigin(.5,.5);a.add(a.purseIm);a.leftPartIm=a.scene.add.image(-31,0,"allGraphics2","w001_windowsHalf4new0000");a.leftPartIm.setOrigin(1,1);a.leftPartIm.setScale(-1,1);
a.add(a.leftPartIm);a.rightPartIm=a.scene.add.image(31,0,"allGraphics2","w001_windowsHalf4new0000");a.rightPartIm.setOrigin(1,1);a.add(a.rightPartIm);b=a.createImageModifier(a.leftPartIm,2);b.addAnimNode(.1,a.leftPartIm.x,a.leftPartIm.y,0,1,1);b.addAnimNode(.9,a.leftPartIm.x,a.leftPartIm.y,0,1,1);b=a.createImageModifier(a.rightPartIm,2);b.addAnimNode(.1,a.rightPartIm.x,a.rightPartIm.y,0,-1,1);b.addAnimNode(.9,a.rightPartIm.x,a.rightPartIm.y,0,-1,1);return a};$jscomp.inherits(OpenedWindow,BasicMachineVisual);
OpenedWindow.prototype.startShowing=function(a,b,c,d){this.x=a;this.y=b+47;(this.hasPurse=.5>Math.random())&&(d=Math.max(5,d));this.setAnimLength(0,d*c);this.setAnimLength(1,d*c);this.imageModifiers[0].modNodeProperty(1,"lambda",.2/(d*c));this.imageModifiers[0].modNodeProperty(2,"lambda",1-.2/(d*c));this.imageModifiers[1].modNodeProperty(1,"lambda",.2/(d*c));this.imageModifiers[1].modNodeProperty(2,"lambda",1-.2/(d*c));this.runAnimId(0,1,0);this.runAnimId(1,1,0);this.visible=this.isShowing=!0;this.purseIm.visible=
this.hasPurse};OpenedWindow.prototype.stopShowing=function(){this.visible=this.isShowing=!1};OpenedWindow.prototype.doAnimations=function(a){BasicMachineVisual.prototype.doAnimations.call(this,a);this.isShowing&&(this.imageModifiers[0].isAnimating||this.stopShowing())};
OpenedWindow.prototype.showGoldGrab=function(){this.hasPurse=!1;this.purseIm.visible=this.hasPurse;this.imageModifiers[0].phiGathered<.8*this.imageModifiers[0].phiCycleLength&&(this.setAnimLambda(0,this.imageModifiers[0].viewsSnapshots[2].momentLambda),this.setAnimLambda(1,this.imageModifiers[1].viewsSnapshots[2].momentLambda))};
var EffectMoney=function(a,b,c){SimplePooledEffect.call(this,a,b,c);this.txt=new TextField(this.scene,this.grp,"",0,0);this.txt.changeAlign("left");this.visObjects.push(this.txt);this.txt.mustTranslateShownText=!1;this.iconIm=this.scene.add.image(0,0,"allGraphics2","w001_eftCoinsPack4new0000");this.grp.add(this.iconIm);this.visObjects.push(this.iconIm);new ImageModifier};$jscomp.inherits(EffectMoney,SimplePooledEffect);
EffectMoney.prototype.doStep=function(a){SimplePooledEffect.prototype.doStep.call(this,a);for(var b=0;b<this.visObjects.length;b++)this.visObjects[b].y-=50*a,1<this.timeExisting&&(this.visObjects[b].alpha=1-2*(this.timeExisting-1));2<this.timeExisting&&this.back2Pool()};
EffectMoney.prototype.startEffect=function(a,b,c){SimplePooledEffect.prototype.startEffect.call(this,a,b,c);this.iconIm.x=a;this.iconIm.y=b;this.txt.x=a+30;this.txt.y=b;this.txt.showText(c.txt);this.txt.visible=!0;this.iconIm.visible=!0;this.txt.alpha=1;this.iconIm.alpha=1};
var EffectDynamiteDrop=function(a,b,c){SimplePooledEffect.call(this,a,b,c);this.dynIm=this.scene.add.image(0,0,"allGraphics2","w001_dynamite4new0000");this.grp.add(this.dynIm);this.visObjects.push(this.dynIm);this.explIm=this.scene.add.image(0,0,"allGraphics2","w001_eftExplosion4new0000");this.grp.add(this.explIm);this.visObjects.push(this.explIm);a=this.createImageModifier(this.dynIm,.5);a.addAnimNode(.99999,this.dynIm.x,this.dynIm.y+720,0,1,1,0,0,1,0);this.explIm.setScale(0,0);a=this.createImageModifier(this.explIm,
1.5);a.addAnimNode(.33,this.explIm.x,this.explIm.y,0,0,0,0,0,1);a.addAnimNode(.66,this.explIm.x,this.explIm.y,0,1,1,0,0,1);a.addAnimNode(1,this.explIm.x,this.explIm.y,0,2,2,0,0,0)};$jscomp.inherits(EffectDynamiteDrop,SimplePooledEffect);EffectDynamiteDrop.prototype.doStep=function(a){SimplePooledEffect.prototype.doStep.call(this,a);1.5<this.timeExisting&&this.back2Pool()};
EffectDynamiteDrop.prototype.startEffect=function(a,b,c){SimplePooledEffect.prototype.startEffect.call(this,a,b,c);this.dynIm.x=a;this.dynIm.y=b;this.explIm.x=a;this.explIm.y=b+720;this.dynIm.visible=!0;this.explIm.visible=!0;this.explIm.setScale(0);this.explIm.alpha=1;this.imageModifiers[0].modNodeProperty(0,"y",this.dynIm.y);this.imageModifiers[0].modNodeProperty(1,"y",this.dynIm.y+720);this.imageModifiers[0].modNodeProperty(2,"y",this.dynIm.y+720);this.imageModifiers[0].startAnimation(1,0);this.imageModifiers[1].startAnimation(1,
0)};
