UNPKG

@kq_npm/client3d_webgl_vue

Version:

KQGIS Client3D for Vue.js

1 lines 21.2 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/_utils/util"),require("@kq_npm/client_common_vue/init.js")):"function"==typeof define&&define.amd?define("@kq_npm/client3d_webgl_vue",["vue","@kq_npm/client_common_vue/_utils/gis-utils","@kq_npm/client_common_vue/_utils/util","@kq_npm/client_common_vue/init.js"],t):"object"==typeof exports?exports["@kq_npm/client3d_webgl_vue"]=t(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/_utils/util"),require("@kq_npm/client_common_vue/init.js")):e["@kq_npm/client3d_webgl_vue"]=t(e.Vue,e["@kq_npm/client_common_vue/_utils/gis-utils"],e["@kq_npm/client_common_vue/_utils/util"],e["@kq_npm/client_common_vue/init.js"])}(this,(function(e,t,o,i){return function(){"use strict";var a={1705:function(e,t,o){var i=o(9389),a=o(7997),n=o.n(a);i.ElMessage.install=(e,t)=>{n()(e,t),e.component("KqMessage",i.ElMessage)},t.Z=i.ElMessage},7473:function(e,t,o){o.d(t,{Z:function(){return i}});class i{_viewer=null;_options={};_videoFusion=null;_videoFusionCollection=null;constructor(e,t){this._options=Object.assign({},t),this._viewer=e._viewer,this._videoFusionCollection=new Cesium.Kq3dVideoFusionCollection(this._viewer)}fusion(){let e=3;this._options.videoPath.indexOf(".m3u8")>0&&(e=5),this.clear();let t=Cesium.Cartographic.fromCartesian(this._viewer.camera.positionWC);this._options.heading=Cesium.Math.toDegrees(this._viewer.camera.heading),this._options.pitch=Cesium.Math.toDegrees(this._viewer.camera.pitch),this._options.roll=Cesium.Math.toDegrees(this._viewer.camera.roll);var o={url:this._options.videoPath,type:e,position:{x:Cesium.Math.toDegrees(t.longitude),y:Cesium.Math.toDegrees(t.latitude),z:t.height},hpr:{heading:this._options.heading,pitch:this._options.pitch,roll:this._options.roll},alpha:this._options.alpha,far:this._options.far,fov:this._options.fov,featheringDelta:this._options.eclosion,debugFrustum:this._options.showHideLine,k1:0,k2:0,cx:300,cy:60,f:3e3};this._videoFusion=this._videoFusionCollection.addVideoTarget(o)}getProjectCoordinate(){if(this._videoFusion)return this._videoFusion.param.position}getHeadingPitchRoll(){return{heading:Math.round(this._options.heading),pitch:Math.round(this._options.pitch),roll:Math.round(this._options.roll)}}flyTo(){if(this._videoFusion){let e=Cesium.Cartesian3.fromDegrees(this._videoFusion.param.position.x,this._videoFusion.param.position.y,this._videoFusion.param.position.z);this._viewer.camera.flyTo({destination:e,orientation:{heading:Cesium.Math.toRadians(this._options.heading),pitch:Cesium.Math.toRadians(this._options.pitch),roll:Cesium.Math.toRadians(this._options.roll)}})}}clear(){this._videoFusionCollection&&this._videoFusionCollection.removeAll(),this._videoFusion=null}destroy(){this._videoFusionCollection&&this._videoFusionCollection.destroy()}setPosition(e,t,o){let i=Cesium.Cartesian3.fromDegrees(e,t,o);this._videoFusion&&this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{cameraPosition:i})}setVideoPath(e){this._options.videoPath=e}setFov(e){this._options.fov=Number(e),this._videoFusion&&this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{fov:this._options.fov})}setFar(e){this._options.far=Number(e),this._videoFusion&&this._videoFusion._changeFar(this._options.far)}setHeading(e){if(this._options.heading=Number(e),this._videoFusion){let e=this._videoFusion.param;e.hpr.heading=this._options.heading,this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{position:e.position})}}setPitch(e){if(this._options.pitch=Number(e),this._videoFusion){let e=this._videoFusion.param;e.hpr.pitch=this._options.pitch,this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{position:e.position})}}setRoll(e){if(this._options.roll=Number(e),this._videoFusion){let e=this._videoFusion.param;e.hpr.roll=this._options.roll,this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{position:e.position})}}setAlpha(e){this._options.alpha=Number(e),this._videoFusion&&this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{alpha:this._options.alpha})}setEclosion(e){this._options.eclosion=Number(e),this._videoFusion&&this._videoFusionCollection.updateVideoTarget(this._videoFusion.id,{featheringDelta:this._options.eclosion})}showHideLine(e){this._options.showHideLine=e,this._videoFusion&&(this._videoFusion.debugFrustum=e)}}},348:function(e){e.exports=require("@kq_npm/client_icons_vue")},9389:function(e){e.exports=require("element-plus/dist/index.full.js")},7080:function(e){e.exports=require("vue-i18n/dist/vue-i18n.cjs.js")},7135:function(e){e.exports=t},3458:function(e){e.exports=o},7997:function(e){e.exports=i},1895:function(t){t.exports=e}},n={};function l(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return a[e](o,o.exports,l),o.exports}l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},l.d=function(e,t){for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){l.r(s),l.d(s,{VideoFusionViewModel:function(){return o.Z},default:function(){return p}});var e=l(1895),t=l(7135),o=l(7473),i=l(348),a=l(3458),n=l(7080),u=l(1705);const d={class:"kq3d-video-fusion-box"},r={class:"kq3d-video-fusion-span"},h={class:"kq3d-video-fusion-footer"},c={name:"Kq3dVideoFusion"};var p=Object.assign(c,{props:{settingParams:{type:Object},showShadow:{type:Boolean,default:!0},position:[String,Object],showHeaderTemp:{type:Boolean,default:!1},isCollapseHeaderTemp:{type:Boolean,default:!1},headerTempTitle:{type:String},headerTempIcon:{type:[Object,String],default:i.IconVideoFusion},isRight:{type:Boolean,default:!0}},setup(l,{expose:s}){const c=l,{proxy:p}=(0,e.getCurrentInstance)();let f=(0,e.ref)(p.$i18n.global.messages[p.$i18n.global.locale].webgl);const m=1e-5,_=10;let g=(0,e.reactive)({collapseValue:c.settingParams&&c.settingParams.collapseValue||(""==(c.settingParams&&c.settingParams.collapseValue)?"":"setting"),longitude:0,minLongitude:-1e-5,maxLongitude:m,latitude:0,minLatitude:-1e-5,maxLatitude:m,height:0,minHeight:-10,maxHeight:10,videoPath:c.settingParams&&c.settingParams.videoPath||"",fov:c.settingParams&&c.settingParams.fov||40,far:c.settingParams&&c.settingParams.far||50,heading:0,pitch:0,roll:0,alpha:c.settingParams&&c.settingParams.alpha||1,eclosion:c.settingParams&&c.settingParams.eclosion||.5,showHideLine:c.settingParams&&void 0!==c.settingParams.showHideLine||!1}),v=(0,e.ref)(!1),V=(0,e.ref)(!1),x=null,C=(0,e.ref)(null),w=(0,e.ref)(),N=(0,e.ref)(),{locale:y,messages:b}=(0,n.useI18n)(),F=(0,e.ref)(null);F.value=f.value.videoFusion,(0,e.watch)((()=>y.value),((e,t)=>{f.value=b.value[e].webgl,F.value=f.value.videoFusion})),(0,e.onMounted)((()=>{(0,a.updatePosition)(C.value,c),(0,e.watch)((()=>c.position),((e,t)=>{(0,a.updatePosition)(C.value,c)})),k(),(0,e.watch)((()=>c.showHeaderTemp),((t,o)=>{(0,e.nextTick)((()=>{k()}))})),t.utils.getWebMap(null,(e=>{if(e){let t={videoPath:g.videoPath,fov:g.fov,far:g.far,alpha:g.alpha,eclosion:g.eclosion,showHideLine:g.showHideLine};x=new o.Z(e,t)}}))}));const k=()=>{c.showHeaderTemp&&(w.value=(0,a.createHeaderTemp)(C.value,(0,e.toRefs)(c),N,F))};function P(e){g.videoPath=e.name;let t=URL.createObjectURL(e.raw);x.setVideoPath(t)}function q(e){switch(e){case"videoPath":x.setVideoPath(g.videoPath);break;case"fov":x.setFov(g.fov);break;case"far":x.setFar(g.far);break;case"heading":x.setHeading(g.heading);break;case"pitch":x.setPitch(g.pitch);break;case"roll":x.setRoll(g.roll);break;case"alpha":x.setAlpha(g.alpha);break;case"eclosion":x.setEclosion(g.eclosion);break;case"showHideLine":x.showHideLine(g.showHideLine);break;case"longitude":case"latitude":case"height":x.setPosition(g.longitude,g.latitude,g.height)}}function T(){""===g.videoPath?(0,u.Z)({message:f.value.videoPathEmpty,type:"warning"}):x&&(x.fusion(),function(){let e=x.getProjectCoordinate();e&&(g.longitude=Number(e.x.toFixed(6)),g.minLongitude=Number((g.longitude-m).toFixed(6)),g.maxLongitude=Number((g.longitude+m).toFixed(6)),g.latitude=Number(e.y.toFixed(6)),g.minLatitude=Number((g.latitude-m).toFixed(6)),g.maxLatitude=Number((g.latitude+m).toFixed(6)),g.height=Number(e.z.toFixed(1)),g.minHeight=g.height-_,g.maxHeight=g.height+_,v.value=!0)}(),function(){let e=x.getHeadingPitchRoll();e&&(g.heading=e.heading,g.pitch=e.pitch,g.roll=e.roll,V.value=!0)}())}function H(){x&&x.flyTo()}function L(){v.value=!1,V.value=!1,x&&x.clear()}return(0,e.onBeforeUnmount)((()=>{x&&x.destroy()})),s({paramsChanged:q,fusion:T,flyTo:H,clearResult:L}),(t,o)=>{const a=(0,e.resolveComponent)("kq-col"),n=(0,e.resolveComponent)("kq-icon"),s=(0,e.resolveComponent)("kq-button"),u=(0,e.resolveComponent)("kq-upload"),c=(0,e.resolveComponent)("kq-input"),p=(0,e.resolveComponent)("kq-row"),m=(0,e.resolveComponent)("kq-slider"),_=(0,e.resolveComponent)("kq-form-item"),x=(0,e.resolveComponent)("kq-input-number"),y=(0,e.resolveComponent)("kq-switch"),b=(0,e.resolveComponent)("kq-form"),F=(0,e.resolveComponent)("kq-collapse-item"),k=(0,e.resolveComponent)("kq-collapse");return(0,e.openBlock)(),(0,e.createElementBlock)("section",{class:(0,e.normalizeClass)(["kq3d-video-fusion",{"kq-box-shadow":l.showShadow}]),ref_key:"boxRef",ref:C},[l.showHeaderTemp?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)((0,e.unref)(w)),{key:0,ref_key:"headerTempRef",ref:N},null,512)):(0,e.createCommentVNode)("v-if",!0),(0,e.createElementVNode)("div",d,[(0,e.createVNode)(p,{gutter:20,class:"rowClass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:6,class:"colClass"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("span",r,(0,e.toDisplayString)((0,e.unref)(f).videoPath),1)])),_:1}),(0,e.createVNode)(a,{span:18},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(g).videoPath,"onUpdate:modelValue":o[0]||(o[0]=t=>(0,e.unref)(g).videoPath=t),onChange:o[1]||(o[1]=e=>q("videoPath")),placeholder:(0,e.unref)(f).videoPathPlace},{append:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{"on-change":P,"auto-upload":!1,"show-file-list":!1,accept:"video/mp4"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(s,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{size:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)((0,e.unref)(i.IconFolder2))])),_:1})])),_:1})])),_:1})])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),(0,e.createVNode)(p,{class:"kq3d-video-fusion-tip"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("p",null,(0,e.toDisplayString)((0,e.unref)(f).videoFusionTips),1)])),_:1}),(0,e.createVNode)(k,{"model-value":(0,e.unref)(g).collapseValue,class:"kq3d-video-fusion-collapse"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(F,{title:(0,e.unref)(f).analysisSettings,name:"setting"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(b,{"label-width":"110px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).longitude+"(°)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).longitude,"onUpdate:modelValue":o[2]||(o[2]=t=>(0,e.unref)(g).longitude=t),step:1e-6,min:(0,e.unref)(g).minLongitude,max:(0,e.unref)(g).maxLongitude,onChange:o[3]||(o[3]=e=>q("longitude"))},null,8,["modelValue","step","min","max"])])),_:1}),(0,e.createVNode)(a,{span:8,style:{"text-align":"left","padding-left":"8px"}},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("span",null,(0,e.toDisplayString)((0,e.unref)(g).longitude),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(v)]]),(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).latitude+"(°)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).latitude,"onUpdate:modelValue":o[4]||(o[4]=t=>(0,e.unref)(g).latitude=t),step:1e-6,min:(0,e.unref)(g).minLatitude,max:(0,e.unref)(g).maxLatitude,onChange:o[5]||(o[5]=e=>q("latitude"))},null,8,["modelValue","step","min","max"])])),_:1}),(0,e.createVNode)(a,{span:8,style:{"text-align":"left","padding-left":"8px"}},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("span",null,(0,e.toDisplayString)((0,e.unref)(g).latitude),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(v)]]),(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).height+"(m)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).height,"onUpdate:modelValue":o[6]||(o[6]=t=>(0,e.unref)(g).height=t),step:.1,min:(0,e.unref)(g).minHeight,max:(0,e.unref)(g).maxHeight,onChange:o[7]||(o[7]=e=>q("height"))},null,8,["modelValue","step","min","max"])])),_:1}),(0,e.createVNode)(a,{span:8,style:{"text-align":"left","padding-left":"8px"}},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("span",null,(0,e.toDisplayString)((0,e.unref)(g).height),1)])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(v)]]),(0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).videoFov},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).fov,"onUpdate:modelValue":o[8]||(o[8]=t=>(0,e.unref)(g).fov=t),step:1,min:10,max:120,onChange:o[9]||(o[9]=e=>q("fov"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).fov,"onUpdate:modelValue":o[10]||(o[10]=t=>(0,e.unref)(g).fov=t),step:1,min:10,max:120,"controls-position":"right",onChange:o[11]||(o[11]=e=>q("fov"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).farDistance},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).far,"onUpdate:modelValue":o[12]||(o[12]=t=>(0,e.unref)(g).far=t),step:.1,min:10,max:200,onChange:o[13]||(o[13]=e=>q("far"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).far,"onUpdate:modelValue":o[14]||(o[14]=t=>(0,e.unref)(g).far=t),step:.1,min:10,max:200,"controls-position":"right",onChange:o[15]||(o[15]=e=>q("far"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).heading},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).heading,"onUpdate:modelValue":o[16]||(o[16]=t=>(0,e.unref)(g).heading=t),step:1,min:0,max:360,onChange:o[17]||(o[17]=e=>q("heading"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).heading,"onUpdate:modelValue":o[18]||(o[18]=t=>(0,e.unref)(g).heading=t),step:1,min:0,max:360,"controls-position":"right",onChange:o[19]||(o[19]=e=>q("heading"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(V)]]),(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).pitch},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).pitch,"onUpdate:modelValue":o[20]||(o[20]=t=>(0,e.unref)(g).pitch=t),step:1,min:-90,max:90,onChange:o[21]||(o[21]=e=>q("pitch"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).pitch,"onUpdate:modelValue":o[22]||(o[22]=t=>(0,e.unref)(g).pitch=t),step:1,min:-90,max:90,"controls-position":"right",onChange:o[23]||(o[23]=e=>q("pitch"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(V)]]),(0,e.withDirectives)((0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).roll},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).roll,"onUpdate:modelValue":o[24]||(o[24]=t=>(0,e.unref)(g).roll=t),step:1,min:0,max:360,onChange:o[25]||(o[25]=e=>q("roll"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).roll,"onUpdate:modelValue":o[26]||(o[26]=t=>(0,e.unref)(g).roll=t),step:1,min:0,max:360,"controls-position":"right",onChange:o[27]||(o[27]=e=>q("roll"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(V)]]),(0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).transparents},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).alpha,"onUpdate:modelValue":o[28]||(o[28]=t=>(0,e.unref)(g).alpha=t),step:.01,min:0,max:1,onChange:o[29]||(o[29]=e=>q("alpha"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).alpha,"onUpdate:modelValue":o[30]||(o[30]=t=>(0,e.unref)(g).alpha=t),step:.01,min:0,max:1,"controls-position":"right",onChange:o[31]||(o[31]=e=>q("alpha"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(p,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).eclosion},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(m,{modelValue:(0,e.unref)(g).eclosion,"onUpdate:modelValue":o[32]||(o[32]=t=>(0,e.unref)(g).eclosion=t),step:.01,min:0,max:1,onChange:o[33]||(o[33]=e=>q("eclosion"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(a,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(g).eclosion,"onUpdate:modelValue":o[34]||(o[34]=t=>(0,e.unref)(g).eclosion=t),step:.01,min:0,max:1,"controls-position":"right",onChange:o[35]||(o[35]=e=>q("eclosion"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(p,{style:{"margin-bottom":"8px"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(_,{label:(0,e.unref)(f).showHideLine},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{"text-align":"left"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(y,{modelValue:(0,e.unref)(g).showHideLine,"onUpdate:modelValue":o[36]||(o[36]=t=>(0,e.unref)(g).showHideLine=t),"controls-position":"left",onChange:o[37]||(o[37]=e=>q("showHideLine"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1})])),_:1})])),_:1},8,["title"])])),_:1},8,["model-value"]),(0,e.createElementVNode)("div",h,[(0,e.createVNode)(s,{onClick:o[38]||(o[38]=(0,e.withModifiers)((e=>T()),["stop"])),title:(0,e.unref)(f).fusion,type:"primary"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(f).fusion),1)])),_:1},8,["title"]),(0,e.createVNode)(s,{onClick:o[39]||(o[39]=(0,e.withModifiers)((e=>H()),["stop"])),title:(0,e.unref)(f).flyTo,type:"primary"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(f).flyTo),1)])),_:1},8,["title"]),(0,e.createVNode)(s,{onClick:o[40]||(o[40]=(0,e.withModifiers)((e=>L()),["stop"])),title:(0,e.unref)(f).clear},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(f).clear),1)])),_:1},8,["title"])])])],2)}}}),f=l(7997),m=l.n(f);p.install=(e,t)=>{m()(e,t),e.component(p.name,p)}}(),s}()}));