!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(require("vue")):"function"==typeofdefine&&define.amd?define(["vue"],t):t((e=e||self).Vue)}(this,(function(e){"use strict";functiont(e,t){return1===arguments.length?parseInt(Math.random()*e+1,10):parseInt(Math.random()*(t-e+1)+e,10)}functionn(e,t){constn=Math.abs(e[0]-t[0]),r=Math.abs(e[1]-t[1]);returnMath.sqrt(n*n+r*r)}functionr(e){return(e?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx").replace(/[xy]/g,(function(e){constt=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;vari={data:()=>({dom:"",width:0,height:0,debounceInitWHFun:"",domObserver:""}),methods:{asyncautoResizeMixinInit(){const{initWH:e,getDebounceInitWHFun:t,bindDomResizeCallback:n,afterAutoResizeMixinInit:r}=this;awaite(!1),t(),n(),"function"==typeofr&&r()},initWH(e=!0){const{$nextTick:t,$refs:n,ref:r,onResize:i}=this;returnnewPromise(o=>{t(t=>{consta=this.dom=n[r];this.width=a?a.clientWidth:0,this.height=a?a.clientHeight:0,a?this.width&&this.height||console.warn("DataV: Component width or height is 0px, rendering abnormality may occur!"):console.warn("DataV: Failed to get dom node, component rendering may be abnormal!"),"function"==typeofi&&e&&i(),o()})})},getDebounceInitWHFun(){const{initWH:e}=this;this.debounceInitWHFun=function(e,t){letn;returnfunction(){clearTimeout(n);const[r,i]=[this,arguments];n=setTimeout(()=>{t.apply(r,i)},e)}}(100,e)},bindDomResizeCallback(){const{dom:e,debounceInitWHFun:t}=this;this.domObserver=function(e,t){constn=new(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)(t);returnn.observe(e,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),n}(e,t),window.addEventListener("resize",t)},unbindDomResizeCallback(){let{domObserver:e,debounceInitWHFun:t}=this;e&&(e.disconnect(),e.takeRecords(),e=null,window.removeEventListener("resize",t))}},mounted(){const{autoResizeMixinInit:e}=this;e()},beforeDestroy(){const{unbindDomResizeCallback:e}=this;e()}},o={name:"DvFullScreenContainer",mixins:[i],data:()=>({ref:"full-screen-container",allWidth:0,scale:0,datavRoot:"",ready:!1}),methods:{afterAutoResizeMixinInit(){const{initConfig:e,setAppScale:t}=this;e(),t(),this.ready=!0},initConfig(){const{dom:e}=this,{width:t,height:n}=screen;this.allWidth=t,e.style.width=t+"px",e.style.height=n+"px"},setAppScale(){const{allWidth:e,dom:t}=this,n=document.body.clientWidth;t.style.transform=`scale(${n/e})`},onResize(){const{setAppScale:e}=this;e()}}};functiona(e,t,n,r,i,o,a,s,l,d){"boolean"!=typeofa&&(l=s,s=a,a=!1);constc="function"==typeofn?n.options:n;letu;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),r&&(c._scopeId=r),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof__VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):t&&(u=a?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(c.functional){conste=c.render;c.render=function(t,n){returnu.call(n),e(t,n)}}else{conste=c.beforeCreate;c.beforeCreate=e?[].concat(e,u):[u]}returnn}consts="undefined"!=typeofnavigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());functionl(e){return(e,t)=>function(e,t){constn=s?t.media||"default":e,r=c[n]||(c[n]={ids:newSet,styles:[]});if(!r.ids.has(e)){r.ids.add(e);letn=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),void0===d&&(d=document.head||document.getElementsByTagName("head")[0]),d.appendChild(r.element)),"styleSheet"inr.element)r.styles.push(n),r.element.s