You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
125 KiB
JavaScript

!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=12)}([function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r={air:{type:"air",hp:0,walkable:!0},grass:{type:"grass",hp:1,walkable:!1},tree_top_left:{type:"tree_top_left",hp:5,walkable:!0},tree_top_middle:{type:"tree_top_middle",hp:5,walkable:!0},tree_top_right:{type:"tree_top_right",hp:5,walkable:!0},tree_crown_left:{type:"tree_crown_left",hp:5,walkable:!0},tree_crown_middle:{type:"tree_crown_middle",hp:5,walkable:!0,climbable:!0},tree_crown_right:{type:"tree_crown_right",hp:5,walkable:!0},tree_trunk_left:{type:"tree_trunk_left",hp:5,walkable:!0},tree_trunk_middle:{type:"tree_trunk_middle",hp:5,walkable:!0,climbable:!0},tree_trunk_right:{type:"tree_trunk_right",hp:5,walkable:!0},tree_root_left:{type:"tree_root_left",hp:5,walkable:!0},tree_root_middle:{type:"tree_root_middle",hp:5,walkable:!0,climbable:!0},tree_root_right:{type:"tree_root_right",hp:5,walkable:!0},tree_top_left_mixed:{type:"tree_top_left_mixed",hp:5,walkable:!0},tree_crown_left_mixed:{type:"tree_crown_left_mixed",hp:5,walkable:!0},tree_trunk_left_mixed:{type:"tree_trunk_left_mixed",hp:5,walkable:!0},tree_root_left_mixed:{type:"tree_root_left_mixed",hp:5,walkable:!0},tree_top_right_mixed:{type:"tree_top_right_mixed",hp:5,walkable:!0},tree_crown_right_mixed:{type:"tree_crown_right_mixed",hp:5,walkable:!0},tree_trunk_right_mixed:{type:"tree_trunk_right_mixed",hp:5,walkable:!0},tree_root_right_mixed:{type:"tree_root_right_mixed",hp:5,walkable:!0},soil:{type:"soil",hp:2,walkable:!1},soil_gravel:{type:"soil_gravel",hp:5,walkable:!1},stone_gravel:{type:"stone_gravel",hp:5,walkable:!1},stone:{type:"stone",hp:10,walkable:!1},bedrock:{type:"bedrock",hp:25,walkable:!1},cave:{type:"cave",hp:0,walkable:!0},player:{type:"player",hp:10,background:"air"}},i={treeTop:24,ground:28,rock:32,underground:48,cave_max:250},o={tree:.2,soil_hole:.3,soil_gravel:.2,stone_gravel:.1,cave:.5,fray:.4}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else
* Vue.js v2.5.16
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
var ao=Object.freeze({}),so=Object.prototype.toString,co=h("slot,component",!0),uo=h("key,ref,slot,slot-scope,is"),lo=Object.prototype.hasOwnProperty,fo=/-(\w)/g,po=g(function(e){return e.replace(fo,function(e,t){return t?t.toUpperCase():""})}),ho=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),vo=/\B([A-Z])/g,mo=g(function(e){return e.replace(vo,"-$1").toLowerCase()}),go=Function.prototype.bind?_:y,yo=function(e,t,n){return!1},_o=function(e){return e},bo="data-server-rendered",wo=["component","directive","filter"],xo=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ko={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:yo,isReservedAttr:yo,isUnknownElement:yo,getTagNamespace:k,parsePlatformTagName:_o,mustUseProp:yo,_lifecycleHooks:xo},$o=/[^\w.$]/,Co="__proto__"in{},Ao="undefined"!=typeof window,Oo="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,To=Oo&&WXEnvironment.platform.toLowerCase(),So=Ao&&window.navigator.userAgent.toLowerCase(),Mo=So&&/msie|trident/.test(So),Eo=So&&So.indexOf("msie 9.0")>0,Do=So&&So.indexOf("edge/")>0,jo=(So&&So.indexOf("android"),So&&/iphone|ipad|ipod|ios/.test(So)||"ios"===To),Io=(So&&/chrome\/\d+/.test(So),{}.watch),Po=!1;if(Ao)try{var Lo={};Object.defineProperty(Lo,"passive",{get:function(){Po=!0}}),window.addEventListener("test-passive",null,Lo)}catch(e){}var No,Ro,Fo=function(){return void 0===No&&(No=!Ao&&!Oo&&void 0!==e&&"server"===e.process.env.VUE_ENV),No},Go=Ao&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Uo="undefined"!=typeof Symbol&&M(Symbol)&&"undefined"!=typeof Reflect&&M(Reflect.ownKeys);Ro="undefined"!=typeof Set&&M(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Bo=k,Ho=0,qo=function(){this.id=Ho++,this.subs=[]};qo.prototype.addSub=function(e){this.subs.push(e)},qo.prototype.removeSub=function(e){v(this.subs,e)},qo.prototype.depend=function(){qo.target&&qo.target.addDep(this)},qo.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},qo.target=null;var zo=[],Vo=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ko={child:{configurable:!0}};Ko.child.get=function(){return this.componentInstance},Object.defineProperties(Vo.prototype,Ko);var Jo=function(e){void 0===e&&(e="");var t=new Vo;return t.text=e,t.isComment=!0,t},Wo=Array.prototype,Xo=Object.create(Wo);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Wo[e];T(Xo,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var Zo=Object.getOwnPropertyNames(Xo),Yo=!0,Qo=function(e){if(this.value=e,this.dep=new qo,this.vmCount=0,T(e,"__ob__",this),Array.isArray(e)){(Co?L:N)(e,Xo,Zo),this.observeArray(e)}else this.walk(e)};Qo.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)F(e,t[n])},Qo.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)R(e[t])};var ea=ko.optionMergeStrategies;ea.data=function(e,t,n){return n?q(e,t,n):t&&"function"!=typeof t?e:q(e,t)},xo.forEach(function(e){ea[e]=z}),wo.forEach(function(e){ea[e+"s"]=V}),ea.watch=function(e,t,n,r){if(e===Io&&(e=void 0),t===Io&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;va
//# sourceMappingURL=build.js.map