Cube(580,[],function(a){function b(){}return b.extend=function(a,b){"function"===typeof a||b?!a&&(a=function(){}):(b=a,a=function(){});var c,d,e=this;if(Object.create?c=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}):(c=new e,c.constructor=a),b)for(d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c._super=e,a.prototype=c,a.extend=arguments.callee,a},a.exports=b,a.exports});
Cube(577,[],function(a,b,c){function d(){}var e=c(580),f=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};d=e.extend(d),a.exports=d,b.EventEmitter=d;return d.prototype.setMaxListeners=function(a){this._events||(this._events={}),this._maxListeners=a},d.prototype.emit=function(){var a=arguments[0];if("error"===a&&(!this._events||!this._events.error||f(this._events.error)&&!this._events.error.length)){if(arguments[1]instanceof Error)throw arguments[1];else throw new Error("Uncaught, unspecified 'error' event.");return!1}if(!this._events)return!1;var b=this._events[a];if(!b)return!1;if("function"==typeof b){switch(arguments.length){case 1:b.call(this);break;case 2:b.call(this,arguments[1]);break;case 3:b.call(this,arguments[1],arguments[2]);break;default:for(var c=arguments.length,d=Array(c-1),e=1;e<c;e++)d[e-1]=arguments[e];b.apply(this,d);}return!0}if(f(b)){for(var c=arguments.length,d=Array(c-1),e=1;e<c;e++)d[e-1]=arguments[e];for(var g=b.slice(),e=0,c=g.length;e<c;e++)g[e].apply(this,d);return!0}return!1},d.prototype.addListener=function(a,b){if("function"!==typeof b)throw new Error("addListener only takes instances of Function");if(this._events||(this._events={}),this.emit("newListener",a,b),this._events[a]?f(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,f(this._events[a])&&!this._events[a].warned){var c;c=void 0===this._maxListeners?20:this._maxListeners,c&&0<c&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("Possible mem-leak detected. event["+a+"] %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),console.trace())}return this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){d.removeListener(a,c),b.apply(this,arguments)}if("function"!==typeof b)throw new Error(".once only takes instances of Function");var d=this;return c.listener=b,d.on(a,c),this},d.prototype.removeListener=function(a,b){if("function"!==typeof b)throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[a])return this;var c=this._events[a];if(f(c)){for(var d=-1,e=0,g=c.length;e<g;e++)if(c[e]===b||c[e].listener&&c[e].listener===b){d=e;break}if(0>d)return this;c.splice(d,1),0==c.length&&delete this._events[a]}else(c===b||c.listener&&c.listener===b)&&delete this._events[a];return this},d.prototype.removeAllListeners=function(a){return 0===arguments.length?(this._events={},this):(a&&this._events&&this._events[a]&&(this._events[a]=null),this)},d.prototype.listeners=function(a){return this._events||(this._events={}),this._events[a]||(this._events[a]=[]),f(this._events[a])||(this._events[a]=[this._events[a]]),this._events[a]},d.prototype.off=d.prototype.removeAllListeners,d.prototype.on=d.prototype.addListener,d.prototype.fire=d.prototype.fireEvent=d.prototype.emit,d.prototype.clearAllEventListeners=d.prototype.removeAllListeners,a.exports});
Cube(578,["static:/57.js"],function(a,b,c){function d(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var f=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},g=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),h=c("static:/57.js"),i=function(a){return a&&a.__esModule?a:{default:a}}(h),j=function(){function a(b){var c,g=this;e(this,a),this._attr=(c={},d(c,b.name,f({},b.datav,{name:b.name,version:b.version})),d(c,"__parent",b.name),c),b.children&&b.children.forEach(function(a){g._attr[a.name]=f({},a.datav,{name:a.name,version:a.version})})}return g(a,[{key:"set",value:function(a,b){i.default.set(this._attr,a,b)}},{key:"get",value:function(a){return i.default.get(this._attr,a)}},{key:"getAllChildren",value:function(){var a=this;return i.default.filter(this._attr,function(b){return b.name&&b.name!==a._attr.__parent})}},{key:"getParent",value:function(){return this._attr.__parent}}]),a}();return a.exports=j,a.exports});
Cube(579,["static:/57.js"],function(a,b,c){function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var e=c("static:/57.js");return a.exports=function a(b,c){var f=this;d(this,a),this.setLocale=function(a){f._config.locale=a},this.getI18N=function(a,b){var c=e.get(f._i18nMap,[f._config.locale,a]);return b?c.replace(/\{\s*(?:([^}\s]+)\s+)?([^}\s]+)(?:\s+([^}]+))*\s*\}/g,function(a,c,d){return e.has(b,d)?b[d]:a}):c},this.get=function(a,b){return f.getI18N("command."+a,b)||f.getI18N("common."+a,b)},this._i18nMap=b,this._config=c},a.exports});
Cube("static:/js/share.js",["static:/57.js"],function(a,b,c,d){var e=c("static:/57.js"),f=c(577),g=c(578),h=c(579);window.share={event:new f};var i=f.extend(function(a){this._attr={},this._init(a)},{_init:function(a){var b=this;e.forIn(a,function(a,c){b.set(c,a)}),this._attr.layers=new g(this.get("com")),this._attr.i18n=new h(this.get("i18nMap"),{locale:this.get("locale")})},setLocale:function(a){this.set("locale",a),this._attr.i18n.setLocale(a)},getComponentClass:function(a,b){var c=this,e=a.children,f=a._dir,g=this.getComClass(a.name);g?this.getChildComponentClass(e,b&&b.bind(b,g)):f&&d(f,function(d){d&&c.setComClass(a.name,d),c.getChildComponentClass(e,b&&b.bind(b,d))})},getChildComponentClass:function(a,b){var c=this;if(!a||!a.length)return b&&b();var d=0,f=a.length;e.map(a,function(a){c.getComponentClass(a,function(){d++,d>=f&&b&&b()})})},getComClass:function(a){return this.get("comClasses."+a.replace(/\./g,"_"))},setComClass:function(a,b){return this.set("comClasses."+a.replace(/\./g,"_"),b)},set:function(a,b){e.set(this._attr,a,b)},get:function(a){return e.get(this._attr,a)},getAll:function(){return this._attr},setDataV:function(a,b){e.set(this._attr,"datav."+a,b)},getDataV:function(a){return e.get(this._attr,a&&"datav."+a||"datav")}}),j=null;return a.exports=function(a,b){return j||(j=new i(a,b)),j},a.exports});