{ "pandav:/index.js": { "cubeCode": "Cube('pandav:/com/trackLine/1.0.1',['pandav:/npm/bcore/0.0.18/event','pandav:/npm/react/16.13.1','pandav:/npm/react-dom/16.13.1','pandav:/com/trackLine/1.0.1/line','pandav:/npm/jquery/2.1.4','pandav:/npm/lodash/4.6.1'],function(a,b,c){var d=c('pandav:/npm/bcore/0.0.18/event'),e=c('pandav:/npm/react/16.13.1'),f=c('pandav:/npm/react-dom/16.13.1'),g=c('pandav:/com/trackLine/1.0.1/line'),h=c('pandav:/npm/jquery/2.1.4'),i=c('pandav:/npm/lodash/4.6.1');return a.exports=d.extend(function(a,b){this.config={theme:{}},this.container=a,this.apis=b.apis,this.containSize={boxWidth:h(a)&&h(a).width(),boxHeight:h(a)&&h(a).height()},this.init(b)},{init:function(a){this.mergeConfig(a)},mergeConfig:function(a){return a?(this.config.theme=i.defaultsDeep(a.theme||{},this.config.theme),this.setColors(),this.config=i.defaultsDeep(a||{},this.config),this.config):this.config},updateOptions:function(a){this.render(this._data,a)},data:function(a){return a&&(this._data=a),this._data},setColors:function(){},resize:function(a,b){this.containSize={boxWidth:a,boxHeight:b},this.render(this._data,this.config)},render:function(a,b){a=this.data(a);var c=this.mergeConfig(b);f.render(e.createElement(g,Object.assign({width:this.containSize.boxWidth,height:this.containSize.boxHeight,emitEvent:this.emit.bind(this)},{config:c},{data:a})),this.container)},destroy:function(){return!!this.container&&void(f.unmountComponentAtNode(this.container),this.container.innerHTML='')}}),a.exports});", "requires": [ "pandav:/line.js" ], "buildLevel": 1, "outputDir": "/com/trackLine/1.0.1", "outputPath": "/com/trackLine/1.0.1/index.js", "fileName": "/index.js" }, "pandav:/line.js": { "cubeCode": "Cube('pandav:/com/trackLine/1.0.1/line',['pandav:/npm/react/16.13.1','pandav:/npm/lodash/4.6.1'],function(a,b,c){function d(a){\"@babel/helpers - typeof\";return d='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},d(a)}function e(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}function f(a,b){for(var c,d=0;d