webpackJsonp([1],{3:function(e){var t={cancelcolorbox:function(){$("#myModal").foundation("reveal","close")},initializeModal:function(e){var t=void 0!=e?e:"myModal";if(0==$("#"+t).size()){var i=null;i=$(0==$("#widget-layout").size()?"body":"#widget-layout"),i.prepend('<div id="'+t+'" style="padding-right:0px !important;" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"></div>')}},revealModal:function(e){if(t.initializeModal("myModal"),"undefined"==typeof e.iframe)jQuery.get(e.url,function(t){"undefined"!=typeof e.showcallback&&$("#myModal").on("shown.bs.modal",e.showcallback),"undefined"!=typeof e.hidecallback&&$("#myModal").on("hide.bs.modal",e.hidecallback),$("#myModal").html(t).modal("show")});else{var i="",r="";"undefined"==typeof e.hideheader?i='<div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button><h4 class="modal-title" id="myModalLabel"><span class="material-icons">info</span>'+("undefined"==typeof e.title?"":e.title)+"</h4></div>":r=("undefined"==typeof e.title?"":"<b>"+e.title+"</b>")+'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>';var a="undefined"==typeof e.modalbodyclass?"":" "+e.modalbodyclass;$("#myModal").html('<div class="modal-dialog modal-lg"><div class="modal-content">'+i+'<div class="modal-body'+a+'">'+r+'<iframe src="'+e.url+'" frameborder="0" style="width:100%" height="'+e.height+'" /></div></div></div>').modal("show")}}};e.exports=t}});