')),document.body.classList.add("imp-fullscreen-mode"),this.store.getEventController().removeEvents(),ImageMapPro.init("#imp-fullscreen-image-map",n,{isFullscreen:!0,closeFullscreenCallback:function(){e.store.getEventController().createEvents()},artboardId:this.store.getArtboard().id})}},{key:"closeFullscreen",value:function(){var t;this.store.getIsFullscreen()&&(this.store.getEventController().removeEvents(),this.store.getMenuController().removeMenu(),this.store.getTooltipController().container.remove(),document.body.classList.remove("imp-fullscreen-mode"),null===(t=document.querySelector("#imp-fullscreen-container"))||void 0===t||t.remove(),this.closeFullscreenCallback())}}]),t}(),_t=function(){function t(e){(0,ut.Z)(this,t),ht(this,"store",void 0),ht(this,"image",void 0),ht(this,"element",void 0),ht(this,"window",{width:0,height:0}),ht(this,"ratio",1),this.store=e,this.element=(0,m.Bv)(this.html()),this.image=this.element.querySelector(".imp-ui-navigator-window-image")}return(0,pt.Z)(t,[{key:"html",value:function(){var t='
',"image"===this.store.getArtboard().background_type&&(t+='
.image_url,')
'),t+='
.image_url,')
'),t+='
.image_url,')
')),"color"===this.store.getArtboard().background_type&&(t+='
'),t+='
'),t+='
')),"none"===this.store.getArtboard().background_type&&(t+='
'),t+="
"}},{key:"adjustSize",value:function(){var t=(0,m.Yo)(this.store.getCanvasWrap()).width/(0,m.Yo)(this.store.getCanvasWrap()).height;t>=1?(this.window.width=150,this.window.height=this.window.width/t):(this.window.height=150,this.window.width=this.window.height*t),this.element.style.width=this.window.width+"px",this.element.style.height=this.window.height+"px",this.ratio=this.window.width/(0,m.Yo)(this.store.getCanvasWrap()).width}},{key:"redraw",value:function(){var t=-this.store.getPan().x*this.ratio/this.store.getZoom(),e=this.store.getCanvasWrapRect().width*this.ratio-(t+this.window.width/this.store.getZoom()),n=-this.store.getPan().y*this.ratio/this.store.getZoom(),o=this.store.getCanvasWrapRect().height*this.ratio-(n+this.window.height/this.store.getZoom());this.image&&(this.image.style.clipPath="inset(".concat(n,"px ").concat(e,"px ").concat(o,"px ").concat(t,"px)"))}}]),t}(),wt=function(){function t(e){(0,ut.Z)(this,t),ht(this,"store",void 0),ht(this,"navigator",void 0),ht(this,"ix",0),ht(this,"iy",0),this.store=e,this.store.state.zooming.enable_zooming&&this.store.state.zooming.enable_navigator?(this.store.subscribe(this.handleAction.bind(this)),this.createUI()):this.navigator={element:document.createElement("div"),adjustSize:function(){}}}return(0,pt.Z)(t,[{key:"createUI",value:function(){this.store.state.zooming.enable_zooming&&this.store.state.zooming.enable_navigator&&(this.navigator&&this.navigator.element.remove(),this.navigator=new _t(this.store))}},{key:"insertUI",value:function(){this.store.state.zooming.enable_zooming&&this.store.state.zooming.enable_navigator&&(this.store.state.object_list.enable_object_list&&"on-top"===this.store.state.object_list.menu_style&&"left"===this.store.state.object_list.menu_position?this.store.getUIWrap().querySelector(".imp-ui-bottom-right").appendChild(this.navigator.element):this.store.getUIWrap().querySelector(".imp-ui-bottom-left").appendChild(this.navigator.element),this.navigator.adjustSize())}},{key:"handleAction",value:function(t){var e=this;"resize"==t.type&&requestAnimationFrame((function(){requestAnimationFrame((function(){e.navigator.adjustSize(),e.navigator.redraw()}))})),"panOnNavigator"==t.type&&this.pan({x:t.payload.x,y:t.payload.y}),"zoomUpdate"==t.type&&this.navigator.redraw()}},{key:"pan",value:function(t){var e=t.x,n=t.y,o=(e-this.store.getNavigatorRect().offset.left)/this.navigator.ratio*this.store.getZoom(),i=(n-this.store.getNavigatorRect().offset.top)/this.navigator.ratio*this.store.getZoom();this.store.dispatch("panTo",{x:o,y:i})}}]),t}(),xt=__webpack_require__(971),kt=__webpack_require__(144),jt={id:"default-id",type:"artboard",title:"Artboard",background_type:"color",background_color:"#ffffff",image_url:"",width:848,height:480,use_image_size:!1,children:[]},Mt={id:"spot-0",title:"Object",type:"spot",x:0,y:0,width:44,height:44,static:!1,children:[],parent_id:"",single_object:!1,default_style:{opacity:1,background_type:"color",background_color:"#000000",background_opacity:.4,border_radius:4,border_width:0,border_style:"solid",border_color:"#ffffff",border_opacity:1,background_image_url:"",background_image_opacity:1,background_image_scale:1,background_image_offset_x:0,background_image_offset_y:0,stroke_color:"#ffffff",stroke_opacity:.75,stroke_width:0,stroke_dasharray:"0",stroke_linecap:"round",use_icon:!0,icon_size:44,icon_type:"library",icon_svg:'