{ "pandav:/index.js": { "cubeCode": "Cube('pandav:/com/iframe/1.2.7',['pandav:/npm/bcore/0.0.18/event','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/jquery/2.1.4'),f=c('pandav:/npm/lodash/4.6.1'),g=function(){return'\\n<% if (closeButton) { %>\\n \\n<% } %>\\n'};return a.exports=d.extend(function(a,b){this.config={alwaysShowCloseButton:!1,theme:{}},this.container=e(a),this.template=f.template(g()),this.apis=null,this._data=null,this.chart=null,this.init(b)},{init:function(a){this.updateOptions(a)},render:function(a,b){a=this.data(a);var c=this.mergeConfig(b);c.closeButton&&this.container.show();var d=this.container.find('iframe'),e=a&&a[0]&&a[0].url||c.url;/^(http|https):\\/\\//.test(e)||(e=''),d.attr({src:e,scrolling:c.noScrolling?'no':'auto'}),c.allowTransparency&&d.attr({allowTransparency:c.allowTransparency})},resize:function(a,b){this.container.find('iframe').attr({width:a,height:b})},setColors:function(){},data:function(a){return a&&(this._data=f.clone(a)),this._data},updateOptions:function(a){var b=this,c=this.mergeConfig(a),d=this.container;d.find('iframe').off(),d.find('.close-button').off(),d.off(),d.html(this.template({cfg:c,width:d.width(),height:d.height(),closeButton:this.closeButton})).show();var g=d.find('iframe');if(g.on('load',function(){var a=g.attr('src'),c=a.indexOf('?'),d='',e={};-1