@xtctwins/tctwins-bimx-engine 0.2.51 → 0.2.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AnnotationTool-CzCgucrx.mjs → AnnotationTool-BevJEQLf.mjs} +2 -2
- package/dist/BIMX_Viewer_Lib.es.js +1 -1
- package/dist/BIMX_Viewer_Lib.umd.js +1 -1
- package/dist/{CommentTool-K1AOpT2H.mjs → CommentTool-C3hDmNLC.mjs} +1 -1
- package/dist/{HiddenTool-Ct0wjOYB.mjs → HiddenTool-D26ih-kX.mjs} +1 -1
- package/dist/{InspectorTool-B32iW8aO.mjs → InspectorTool-B058fBid.mjs} +3 -3
- package/dist/{MeasureTool-CufGrvmX.mjs → MeasureTool-BgWpRhtI.mjs} +2 -2
- package/dist/{MouseTool-CZDJF4Kw.mjs → MouseTool-DyeMRpWi.mjs} +1 -1
- package/dist/{NavigateTool-ia6FJeGE.mjs → NavigateTool-6DcpLY_B.mjs} +1 -1
- package/dist/{RoamTool-DG1VN6nK.mjs → RoamTool-Bgdy4dAF.mjs} +1 -1
- package/dist/{ScreenShotTool-RVrs-Sy3.mjs → ScreenShotTool-BLdvCs--.mjs} +2 -2
- package/dist/{SectionTool-DOc-STdX.mjs → SectionTool-D4y-W2cu.mjs} +4 -4
- package/dist/{SettingTool-BXHMHF7a.mjs → SettingTool-D71E-pI1.mjs} +3 -3
- package/dist/{StructureTree-4wPmdkLq.mjs → StructureTree-vv8HnIii.mjs} +3 -3
- package/dist/{alert-Cz1XIhb0.mjs → alert-DjNWlk8Z.mjs} +1 -1
- package/dist/{el-input-number-C7beosVT.mjs → el-input-number-CuLIf7kb.mjs} +1 -1
- package/dist/{index-Bf93i19-.mjs → index-DjyQVMs9.mjs} +13 -13
- package/dist/{panel.vue_vue_type_style_index_0_lang-CuKtMYJ0.mjs → panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs} +1 -1
- package/dist/{tallPanel-Bu63Fblk.mjs → tallPanel-CAEQJ3Ko.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as X } from "./alert-
|
|
1
|
+
import { _ as X } from "./alert-DjNWlk8Z.mjs";
|
|
2
2
|
import { defineComponent as O, ref as p, watch as H, onMounted as q, onBeforeUnmount as R, createElementBlock as i, openBlock as a, withDirectives as U, unref as n, createCommentVNode as b, createElementVNode as c, normalizeClass as f, Fragment as V, renderList as C, toDisplayString as z, createVNode as F, vShow as j } from "vue";
|
|
3
|
-
import { A as G, B as J, C as o, D as v, O as r, I as K } from "./index-
|
|
3
|
+
import { A as G, B as J, C as o, D as v, O as r, I as K } from "./index-DjyQVMs9.mjs";
|
|
4
4
|
import { A as l } from "./const-DOnRsYpZ.mjs";
|
|
5
5
|
const Q = { class: "annotation_component" }, Y = {
|
|
6
6
|
key: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as e, M as t, au as o, aA as i, V as l, ax as n, ay as I, aD as r, av as C, az as f, aw as g, aB as u, aC as B, J as M } from "./index-
|
|
1
|
+
import { at as e, M as t, au as o, aA as i, V as l, ax as n, ay as I, aD as r, av as C, az as f, aw as g, aB as u, aC as B, J as M } from "./index-DjyQVMs9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
t as BIMX_CONFIGS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(wr,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("axios"),require("ali-oss"),require("element-plus"),require("@element-plus/icons-vue"),require("pinia"),require("mitt")):typeof define=="function"&&define.amd?define(["exports","vue","axios","ali-oss","element-plus","@element-plus/icons-vue","pinia","mitt"],s):(wr=typeof globalThis<"u"?globalThis:wr||self,s(wr.BIMX_Viewer_Lib={},wr.Vue,wr.axios,wr.AliOss,wr.ElementPlus,wr.ElementPlusIconsVue,wr.Pinia,wr.Mitt))})(this,function(wr,s,lc,qk,Sm,oi,km,eM){"use strict";var l_e=Object.defineProperty;var c_e=(wr,s,lc)=>s in wr?l_e(wr,s,{enumerable:!0,configurable:!0,writable:!0,value:lc}):wr[s]=lc;var Oi=(wr,s,lc)=>c_e(wr,typeof s!="symbol"?s+"":s,lc);const Mb={"zh-CN":{bimxViewer:{common:{confirm:"确认",cancel:"取消",delete:"删除",add:"添加",edit:"编辑",save:"保存",submit:"提交",close:"关闭",back:"返回",next:"下一个",previous:"上一个",search:"搜索",reset:"重置",export:"导出",import:"导入",upload:"上传",download:"下载",refresh:"刷新",placeholder_input:"请输入",placeholder_select:"请选择",all:"全部",placeholder_date:"请选择日期",placeholder_search:"请输入搜索内容",image:"图片",placeholder_comment:"请输入评论内容",title:"标题",view:"查看",created:"创建",done:"完成",lang_zh:"中文",lang_en:"英文",organization:"组织",date:"日期",unknown:"未知",loading:"加载中...",noData:"暂无数据",emptyPage:"这里空空的,快去上传文件吧~",areYouSureDelete:"您确认要删除",questionMark:"吗?",success:"操作成功",error:"操作失败",warning:"警告",info:"提示",confirmEdit:"确认修改"},toolbar:{tree:"结构树",reset:"复位",roam:"漫游",measure:"测量",section:"剖切",comment:"批注",anno:"标注",screenshot:"截图",inspector:"属性",setting:"设置",fullscreen:"全屏",exitFullscreen:"退出全屏",virtualMouse:"虚拟鼠标",enjoy:"共享",share:"分享",cooperate:"协同",bcf:"BCF",navigate:"视图方向",mouse:"迷你鼠标",hidden:"透视"},hidden:{hide:"隐藏",perspective:"透视",select:"选中",recover:"恢复"},bcf:{title:"BCF",addNew:"新建BCF",detail:"BCF详情",list:"BCF列表",filter:"筛选",type:"类别",priority:"优先级",status:"状态",stage:"阶段",assignedTo:"分配给",dueDate:"截止日期",description:"问题描述",comment:"评论",noComments:"暂无评论",thisComment:"这条评论",viewpoint:"视角",addViewpoint:"添加视角",addObject:"添加模型对象",addMarker:"添加标记",viewElements:"查看元素",labels:"标签",author:"创建者",createDate:"创建日期",modifiedDate:"修改日期",createNow:"立即创建",error_title_required:"请输入标题!",elements:"个元素",creator:"创建人",commentNow:"立即评论",addComment:"添加评论",editComment:"修改评论",snapshot:"快照截屏",screenshot:"立即截屏",index:"序号",time:"时间",createTime:"创建时间",emptyHint:"这里空空的,快去创建你的BCF吧~",addedObjects:"已添加对象共:",addedAnnotations:"已添加标注共:",hintClickToAddObject:"直接点击模型上的结构即可添加对象",hintHoldLeftClickMultiSelect:"按下鼠标左键可连续多选",types:{basic:"模型基本结构",conflict:"模型结构冲突",error:"模型错误"},priorities:{high:"高",middle:"中",low:"低"},statuses:{closed:"已关闭",inProgress:"进行中",resolved:"已解决"},stages:{planningEnd:"初步规划结束",constructionStart:"施工开始",constructionEnd:"施工结束"},tags:{architecture:"建筑",hvac:"暖通",mep:"MEP",structure:"结构"},messages:{pleaseInputTitle:"请输入标题!",deleteConfirm:"确认删除该BCF?",deleteCommentConfirm:"确认删除该评论?"}},mobileComments:{empty:"这里空空的,快去创建你的CMT吧~",filter:{title:"筛选",priority:"筛选优先级",status:"筛选状态",author:"筛选创建人",tag:"筛选标签(可多选)"},createText:"创建文字批注",pleaseInputContent:"请输入内容",backToModel:"返回模型",deleteComment:"删除批注",newComment:"新建批注",list:"批注列表",createSuccess:"批注创建成功",notice:{title:"提示"}},mobileBcf:{selectPanel:{titleSuffix:"标题"},add:{continueScreenshot:"继续截屏",createNow:"立即创建",confirmEdit:"确认修改"},filter:{tag:"筛选标签(可多选)"}},setting:{title:"设置",effect:"效果",bgColor:"背景颜色",showEdges:"显示边缘",lightIntensity:"光源强度",appearance:"外观模式",skybox:"天空盒",perspective:"透视/正交",ortho:"正交",mode2d3d:"2D/3D",modelInvert:"模型倒置",zAxisUp:"Z轴向上",modelSpace:"显示模型空间",spaceEffect:"空间效果",language:"语言",modelViewSwitch:"模型视角切换",zoomSpeed:"缩放速率",colors:{white:"白色",lightGray:"浅灰",gray:"灰色",darkGray:"深灰",black:"黑色"},spaceEffects:{transparent:"透明",wireframe:"线框",hide:"隐藏",bright:"亮",dark:"暗"}},bgColor:{gradientBlue:"渐变蓝",gray:"纯灰度",dimSky:"昏暗天空",white:"纯白色",milkBlue:"奶白蓝"},roles:{guest:"游客",user:"普通用户",admin:"管理员",creator:"创建者"},measure:{title:"测量",settings:"测量设置",distance:"距离",area:"面积",angle:"角度",angleLabel:"角度",totalLength:"总长度:",x:"X值:",y:"Y值:",z:"Z值:",scaleLabel:"比例:",unitLabel:"单位:",unitPlaceholder:"单位",precisionLabel:"精度:",precisionPlaceholder:"精度",clear:"清除",clearAll:"清除所有"},structure:{title:"结构树",search:"搜索构件",expand:"展开",collapse:"收起",showAll:"显示全部",hideAll:"隐藏全部",objects:"对象",categories:"类别",floors:"楼层",files:"文件",all:"全部"},inspector:{title:"属性",basic:"基本信息",properties:"属性",materials:"材质",noSelection:"未选中任何对象,请单击模型对象以查看构件属性。",name:"名称",type:"类型",objectCount:"对象数量",pSetsCount:"属性集数量",author:"作者",instanceProperties:"实例属性",typeProperties:"类型属性"},roam:{title:"漫游",courseTitle:"在第一视角中导航",dontRemind:"不要再提醒我",gotIt:"好的,我知道了",speedLabel:"移动速度:",firstPerson:"第一人称",thirdPerson:"第三人称",speed:"速度",height:"高度",dontShowCourseMessage:"不要再显示漫游教程"},screenshot:{title:"截图",capture:"截取",save:"保存",widthPlaceholder:"请输入长度",heightPlaceholder:"请输入宽度",custom:"自定义"},annotation:{title:"标注",text:"文本",line:"线条",arrow:"箭头",clear:"清除",image:"图片",record:"语音",video:"视频",file:"文档"},section:{allSections:"全部剖切",sectionPrefix:"剖切面#",xAxis:"X轴",yAxis:"Y轴",zAxis:"Z轴",bulk:{deleteAll:"删除所有剖切面",flipAll:"翻转所有剖切面",showAll:"显示所有剖切效果",hideAll:"隐藏所有剖切效果"}},validity:{"1day":"1天","7day":"7天","14day":"14天",permanent:"永久有效"},roleList:{viewOnly:"仅查看",viewDownload:"查看、下载文件"},navigate:{top:"俯视图",bottom:"仰视图",left:"左视图",right:"右视图",front:"前视图",back:"后视图",leftBottom:"西南",rightBottom:"东南",rightTop:"东北",leftTop:"西北"},enjoy:{annotation:"批注"},allocationRole:{viewOnly:"仅查看",editable:"可编辑"},project:{recentlyUsed:"最近使用",myProjects:"我参与的"},directory:{rename:"重命名",exit:"退出"},fontSize:{large:"大",medium:"中",small:"小"},commentTool:{pencil:"铅笔",arrow:"箭头",rectangle:"矩形",circle:"圆形",text:"文本"},alert:{selectPoint:"请先在模型上选择一个点"},clickEvent:{focus:"聚焦",hide:"隐藏",onlyShow:"仅显示",cancel:"取消",edge:"线框",fill:"填充",transparent:"透明",solid:"实体",multiSelect:"多选"}}},"en-US":{bimxViewer:{common:{confirm:"Confirm",cancel:"Cancel",delete:"Delete",add:"Add",edit:"Edit",save:"Save",submit:"Submit",close:"Close",back:"Back",next:"Next",previous:"Previous",search:"Search",reset:"Reset",export:"Export",import:"Import",upload:"Upload",download:"Download",refresh:"Refresh",placeholder_input:"Please input",placeholder_select:"Please select",all:"All",placeholder_date:"Please select date",placeholder_search:"Please input search content",image:"Image",placeholder_comment:"Please input comment content",title:"Title",view:"View",created:"Created",done:"Done",lang_zh:"Chinese",lang_en:"English",organization:"Organization",date:"Date",unknown:"Unknown",loading:"Loading...",noData:"No Data",emptyPage:"It's empty here, upload some files~",areYouSureDelete:"Are you sure you want to delete",questionMark:"?",success:"Success",error:"Error",warning:"Warning",info:"Info",confirmEdit:"Confirm Edit"},toolbar:{tree:"Structure Tree",reset:"Reset",roam:"Roaming",measure:"Measure",section:"Section",comment:"Comment",anno:"Mark",screenshot:"Screenshot",inspector:"Properties",setting:"Settings",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",virtualMouse:"Mouse",enjoy:"Teamwork",share:"Share",cooperate:"Collaborate",bcf:"BCF",navigate:"Navigate",mouse:"Mini Mouse",hidden:"Perspective"},hidden:{hide:"Hide",perspective:"Perspective",select:"Selected",recover:"Recover"},bcf:{title:"BCF",addNew:"New BCF",detail:"BCF Detail",list:"BCF List",filter:"Filter",type:"Type",priority:"Priority",status:"Status",stage:"Stage",assignedTo:"Assigned To",dueDate:"Due Date",description:"Description",comment:"Comment",noComments:"No comments",thisComment:"This comment",viewpoint:"Viewpoint",addViewpoint:"Add Viewpoint",addObject:"Add Model Object",addMarker:"Add Marker",viewElements:"View Elements",labels:"Labels",author:"Author",createDate:"Create Date",modifiedDate:"Modified Date",createNow:"Create Now",error_title_required:"Please input title!",elements:"Elements",creator:"Creator",commentNow:"Comment Now",addComment:"Add Comment",editComment:"Edit Comment",snapshot:"Snapshot",screenshot:"Take Screenshot",index:"Index",time:"Time",createTime:"Create Time",emptyHint:"No BCF here, create your first BCF now~",addedObjects:"Added objects:",addedAnnotations:"Added annotations:",hintClickToAddObject:"Click on structure in the model to add objects",hintHoldLeftClickMultiSelect:"Hold left mouse button to multi-select",types:{basic:"Model Basic Structure",conflict:"Model Structure Conflict",error:"Model Error"},priorities:{high:"High",middle:"Medium",low:"Low"},statuses:{closed:"Closed",inProgress:"In Progress",resolved:"Resolved"},stages:{planningEnd:"Planning End",constructionStart:"Construction Start",constructionEnd:"Construction End"},tags:{architecture:"Architecture",hvac:"HVAC",mep:"MEP",structure:"Structure"},messages:{pleaseInputTitle:"Please input title!",deleteConfirm:"Confirm to delete this BCF?",deleteCommentConfirm:"Confirm to delete this comment?"}},mobileComments:{empty:"No comments here, create your CMT now~",filter:{title:"Filter",priority:"Filter by priority",status:"Filter by status",author:"Filter by author",tag:"Filter by tags (multiple)"},createText:"Create text comment",pleaseInputContent:"Please input content",backToModel:"Back to Model",deleteComment:"Delete comment",newComment:"New Comment",list:"Comment List",createSuccess:"Comment created successfully",notice:{title:"Notice"}},mobileBcf:{selectPanel:{titleSuffix:"Title"},add:{continueScreenshot:"Continue screenshot",createNow:"Create Now",confirmEdit:"Confirm Edit"},filter:{tag:"Filter by tags (multiple)"}},setting:{title:"Settings",effect:"Effect",bgColor:"Background Color",showEdges:"Show Edges",lightIntensity:"Light Intensity",appearance:"Appearance",skybox:"Skybox",perspective:"Perspective/Orthogonal",ortho:"Orthogonal",mode2d3d:"2D/3D",modelInvert:"Model Invert",zAxisUp:"Z-Axis Up",modelSpace:"Show Model Space",spaceEffect:"Space Effect",language:"Language",modelViewSwitch:"Model View Switch",zoomSpeed:"Zoom Speed",colors:{white:"White",lightGray:"Light Gray",gray:"Gray",darkGray:"Dark Gray",black:"Black"},spaceEffects:{transparent:"Transparent",wireframe:"Wireframe",hide:"Hide",bright:"Bright",dark:"Dark"}},bgColor:{gradientBlue:"Gradient Blue",gray:"Gray",dimSky:"Dim Sky",white:"White",milkBlue:"Milk Blue"},roles:{guest:"Guest",user:"User",admin:"Administrator",creator:"Creator"},measure:{title:"Measure",settings:"Measure Settings",distance:"Distance",area:"Area",angle:"Angle",angleLabel:"Angle",totalLength:"Total Length:",x:"X:",y:"Y:",z:"Z:",scaleLabel:"Scale:",unitLabel:"Unit:",unitPlaceholder:"Unit",precisionLabel:"Precision:",precisionPlaceholder:"Precision",clear:"Clear",clearAll:"Clear All"},structure:{title:"Structure Tree",search:"Search Components",expand:"Expand",collapse:"Collapse",showAll:"Show All",hideAll:"Hide All",objects:"Objects",categories:"Categories",floors:"Floors",files:"Files",all:"All"},inspector:{title:"Properties",basic:"Basic Info",properties:"Properties",materials:"Materials",noSelection:"No object selected, please click on a model object to view component properties.",name:"Name",type:"Type",objectCount:"Object Count",pSetsCount:"Property Sets Count",author:"Author",instanceProperties:"Instance Properties",typeProperties:"Type Properties"},roam:{title:"Roaming",courseTitle:"Navigate in First Person",dontRemind:"Don't remind me",gotIt:"Got it",speedLabel:"Move speed:",firstPerson:"First Person",thirdPerson:"Third Person",speed:"Speed",height:"Height",dontShowCourseMessage:"Do not show roaming tutorial again"},screenshot:{title:"Screenshot",capture:"Capture",save:"Save",widthPlaceholder:"Please input width",heightPlaceholder:"Please input height",custom:"Custom"},annotation:{title:"Annotation",text:"Text",line:"Line Annotation",arrow:"Arrow Annotation",clear:"Clear Annotation",image:"Image",record:"Voice",video:"Video",file:"Document"},section:{allSections:"All Sections",sectionPrefix:"Section #",xAxis:"X Axis",yAxis:"Y Axis",zAxis:"Z Axis",bulk:{deleteAll:"Delete all sections",flipAll:"Flip all sections",showAll:"Show all section effects",hideAll:"Hide all section effects"}},validity:{"1day":"1 day","7day":"7 days","14day":"14 days",permanent:"Permanent"},roleList:{viewOnly:"View only",viewDownload:"View & Download"},navigate:{top:"Top View",bottom:"Bottom View",left:"Left View",right:"Right View",front:"Front View",back:"Back View",leftBottom:"Southwest",rightBottom:"Southeast",rightTop:"Northeast",leftTop:"Northwest"},enjoy:{annotation:"Annotation"},allocationRole:{viewOnly:"View Only",editable:"Editable"},project:{recentlyUsed:"Recently Used",myProjects:"My Projects"},directory:{rename:"Rename",exit:"Exit"},fontSize:{large:"Large",medium:"Medium",small:"Small"},commentTool:{pencil:"Pencil",arrow:"Arrow",rectangle:"Rectangle",circle:"Circle",text:"Text"},alert:{selectPoint:"Please select a point on the model"},clickEvent:{focus:"Focus",hide:"Hide",onlyShow:"Only Show",cancel:"Cancel",edge:"Wireframe",fill:"Fill",transparent:"Transparent",solid:"Solid",multiSelect:"Multi-select"}}}},tM={legacy:!1,locale:"zh-CN",fallbackLocale:"zh-CN",messages:Mb,globalInjection:!0};let Mm=null;const rM=k=>{Mm=k},Tb=()=>Mm||(console.warn("Global i18n instance is not initialized yet"),null),cc=()=>{const k=Tb();return k?(U,...a)=>k.global.t(`bimxViewer.${U}`,...a):U=>U},pi=()=>{const k=Tb();return k?(U,...a)=>k.global.t(`bimxViewer.${U}`,...a):U=>U},iM="https://bimkk-api-test.tcbim.com",It="https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com",nM="https://convert-test.tcbim.com",ir=eM();let ja={BIMX_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const sM={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},oM={file:!1,image:!1,record:!1,text:!1,video:!1},Ib={offsetX:0,offsetY:0},aM={pos:"right-bottom",posNum:[0,0]},lM=120,cM="light-gray",uM=!1,dM="right",hM="left",fM=0,pM=0,mM=0,AM=0,gM={pos:"bottom",posNum:[18]},vM={pos:"bottom",posNum:[70]},yM={pos:"bottom",posNum:[70]},bM="linear-gradient(180deg, #fffefb 0%, #daebff 100%)",_M=0;wr.BIMX_CONFIGS=void 0;function wM(){wr.BIMX_CONFIGS={isMobile:!1,loadMeta:!0,multiModel:!1,outliersDetect:!0,showRoam:!0,showTree:!1,showInspector:!1,userInfo:sM,annoLimit:oM,commentOffset:Ib,measureOffset:Ib,skyboxImg:void 0,topHeight:fM,leftWidth:AM,bottomHeight:mM,rightWidth:pM,inspectorPos:dM,treePos:hM,commentPos:gM,annotationPos:vM,roamPos:yM,showNavCube:!0,navCubePos:aM,navCubeSize:lM,themeColor:cM,hideTool:uM,backButton:!1,backgroundColor:bM,editPrivilege:_M,locale:void 0,hideLogo:!1}}wM();function Db(k=""){ir.emit("BIMX_CONFIGS",k)}function Fb(k){for(const U in k)Ci(U,k[U],!1);Db()}function Ci(k,U,a=!0){U!==void 0&&(wr.BIMX_CONFIGS[k]=U,a&&(k=="isMobile"||k=="measureOffset"||k=="commentOffset"||k=="navCubePos"||k=="navCubeSize"||k=="locale")&&Db(k))}function Ot(k){return wr.BIMX_CONFIGS[k]}const Qi=km.defineStore("toolbar",{state:()=>({isPc:!0,pTools:[{id:0,key:"tree",name:"toolbar.tree",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"ptree",imgActive:"ptree-active",position:1,isActive:!1},{id:1,key:"reset",name:"toolbar.reset",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"preset",imgActive:"preset",position:0,isActive:!1},{id:2,key:"roam",name:"toolbar.roam",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"proam",imgActive:"proam-active",position:0,isActive:!1},{id:3,key:"measure",name:"toolbar.measure",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"pmeasure",imgActive:"pmeasure-active",position:0,isActive:!1},{id:4,key:"section",name:"toolbar.section",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"pslicing",imgActive:"pslicing-active",position:0,isActive:!1},{id:5,key:"comment",name:"toolbar.comment",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"pcomment",imgActive:"pcomment-active",position:0,isActive:!1},{id:6,key:"anno",name:"toolbar.anno",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"panno",imgActive:"panno-active",position:0,isActive:!1},{id:7,key:"screenshot",name:"toolbar.screenshot",hasActiveState:!0,component:"ScreenShotTool",isShowDelimiter:!1,img:"pscreenshot",imgActive:"pscreenshot-active",position:0,isActive:!1},{id:8,key:"inspector",name:"toolbar.inspector",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"pinspector",imgActive:"pinspector-active",position:0,isActive:!1},{id:9,key:"setting",name:"toolbar.setting",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"psetting",imgActive:"psetting-active",position:0,isActive:!1},{id:10,key:"fullscreen",name:"toolbar.fullscreen",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pfullscreen",imgActive:"pfullscreen-active",position:0,isActive:!1},{id:11,key:"enjoy",name:"toolbar.enjoy",hasActiveState:!0,component:"",isShowDelimiter:!1,img:"penjoy",imgActive:"penjoy-active",position:2,isActive:!1},{id:12,key:"share",name:"toolbar.share",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pshare",imgActive:"pshare-active",position:2,isActive:!1},{id:13,key:"cooperate",name:"toolbar.cooperate",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pcooperate",imgActive:"pcooperate",position:2,isActive:!1},{id:14,key:"bcf",name:"toolbar.bcf",hasActiveState:!0,component:"BCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",position:1,isActive:!1}],mTools:[{id:0,key:"reset",name:"toolbar.reset",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"reset",imgActive:"reset",isActive:!1},{id:1,key:"navigate",name:"toolbar.navigate",hasActiveState:!0,component:"NavigateTool",isShowDelimiter:!1,img:"navigate",imgActive:"navigate-active",isActive:!1},{id:2,key:"measure",name:"toolbar.measure",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"measure",imgActive:"measure-active",isActive:!1},{id:3,key:"comment",name:"toolbar.comment",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"comment",imgActive:"comment-active",isActive:!1},{id:4,key:"anno",name:"toolbar.anno",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"anno",imgActive:"anno-active",isActive:!1},{id:5,key:"enjoy",name:"toolbar.enjoy",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"enjoy",imgActive:"enjoy",isActive:!1},{id:6,key:"tree",name:"toolbar.tree",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"tree",imgActive:"tree-active",isActive:!1},{id:7,key:"inspector",name:"toolbar.inspector",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"inspector",imgActive:"inspector-active",isActive:!1},{id:8,key:"section",name:"toolbar.section",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"section",imgActive:"section-active",isActive:!1},{id:9,key:"roam",name:"toolbar.roam",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"roam",imgActive:"roam-active",isActive:!1},{id:10,key:"hidden",name:"toolbar.hidden",hasActiveState:!0,component:"HiddenTool",isShowDelimiter:!1,img:"hidden",imgActive:"hidden-active",isActive:!1},{id:11,key:"setting",name:"toolbar.setting",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"setting",imgActive:"setting-active",isActive:!1},{id:12,key:"share",name:"toolbar.share",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"share",imgActive:"share",isActive:!1},{id:13,key:"fullscreen",name:"toolbar.fullscreen",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"fullscreen",imgActive:"fullscreen-active",isActive:!1},{id:14,key:"cooperate",name:"toolbar.cooperate",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"cooperate",imgActive:"cooperate",isActive:!1},{id:15,key:"bcf",name:"toolbar.bcf",hasActiveState:!0,component:"MobileBCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",isActive:!1},{id:16,key:"mouse",name:"toolbar.mouse",hasActiveState:!0,component:"MouseTool",isShowDelimiter:!1,img:"mouse",imgActive:"mouse-active",isActive:!1}],visibleToolIds:[],readyToolIds:[]}),actions:{setDevice(k){this.isPc=k=="pc"},toggleToolVisibility(k){const U=this.visibleToolIds.indexOf(k);U===-1?this.visibleToolIds.push(k):this.visibleToolIds.splice(U,1)},setEnableTools(k){this.visibleToolIds=k},setEnableToolsByKey(k){let U=[];Ot("isMobile")?U=Rb(k,CM):U=Rb(k,BM);const a=[];for(let x=0;x<U.length;x++){const P=(this.isPc?this.pTools:this.mTools).find(v=>v.key===U[x]);P&&a.push(P.id)}this.visibleToolIds=this.visibleToolIds.concat(a)},setToolActiveStatus(k,U){const a=(this.isPc?this.pTools:this.mTools).find(x=>x.id===k);a&&(a.isActive=U!==void 0?U:!a.isActive)},setToolActiveStatusBykey(k,U){const a=(this.isPc?this.pTools:this.mTools).find(x=>x.key===k);a&&(a.isActive=U!==void 0?U:!a.isActive)},setAllToolClose(k=[]){if(k.length>0)for(let U=0;U<this.visibleToolIds.length;U++)k.includes(this.visibleToolIds[U])||(this.tools[this.visibleToolIds[U]].isActive=!1);else for(let U=0;U<this.visibleToolIds.length;U++)this.tools[this.visibleToolIds[U]].isActive=!1},setReadyById(k){(this.isPc?this.pTools:this.mTools).find(a=>a.id===k)&&this.readyToolIds.push(k)},ifToolAllReady(){for(let k=0;k<this.visibleTools.length;k++){const U=this.visibleTools[k];if(!(U.component==""||U.key=="bcf")&&!this.readyTools.includes(U.id))return!1}return!0},setReadyTools(k){this.readyToolIds=[]}},getters:{tools:k=>k.isPc?k.pTools:k.mTools,visibleTools:k=>k.visibleToolIds.map(U=>(k.isPc?k.pTools:k.mTools).find(a=>a.id===U)).filter(U=>!!U),readyTools:k=>k.readyToolIds,visibleComponents:k=>(k.isPc?k.pTools:k.mTools).filter(U=>k.visibleToolIds.includes(U.id)).map(U=>U.component),getKeyById:k=>U=>{var a;return(a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U))==null?void 0:a.key},getToolById:k=>U=>(k.isPc?k.pTools:k.mTools).find(a=>a.id===U),hasActiveState:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?a.hasActiveState:!1},isToolEnable:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?k.visibleToolIds.includes(a.id):!1},isToolEnableBykey:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.key===U);return a?k.visibleToolIds.includes(a.id):!1},isToolActive:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?a.isActive:!1},isToolActiveBykey:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.key===U);return a?a.isActive:!1}}});function mh(){return Qi()}function xM(){Qi().setAllToolClose(),Qi().setReadyTools([]),Qi().setEnableTools([])}let CM=["reset","navigate","measure","comment","anno","enjoy","tree","inspector","section","roam","hidden","setting","share","fullscreen","cooperate","bcf","mouse"],BM=["tree","reset","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreen","enjoy","share","cooperate","bcf"];function Rb(k,U){const a={};U.forEach((P,v)=>{a[P]=v});const x=k.filter(P=>a.hasOwnProperty(P)).map(P=>({value:P,index:a[P]}));return x.sort((P,v)=>P.index-v.index),x.map(P=>P.value)}let yl=null;const EM=k=>{yl=k},wu=km.defineStore("locale",()=>{const k=()=>{const x=Ot("locale");if(x&&(x==="zh-CN"||x==="en-US"))return x;const P=localStorage.getItem("BIMX_LOCALE");if(P&&(P==="zh-CN"||P==="en-US"))return P;const v=navigator.language;return v.startsWith("zh")?"zh-CN":v.startsWith("en")?"en-US":"zh-CN"},U=s.ref(k()),a=x=>{U.value=x,yl&&yl.global&&(yl.global.locale.value=x),localStorage.setItem("BIMX_LOCALE",x)};return s.watch(U,x=>{yl&&yl.global&&(yl.global.locale.value=x)}),{locale:U,setLocale:a}});let Ob=!1;ja.BIMX_CONFIGS.viewerManager||(ir.on("BIMX_CONFIGS",k=>{window.bimViewer?Bi.ConfigViewer(k):Ob=!0}),ja.BIMX_CONFIGS.viewerManager=!0);const PM=()=>{Bi.SetAllClose(),Ob&&Bi.ConfigViewer()};ja.BimViewer.viewerManager||(ir.on("BimViewer",PM),ja.BimViewer.viewerManager=!0);class Bi{static ConfigViewer(U=""){if(U==""){if(wr.BIMX_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),wr.BIMX_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Ot("measureOffset").offsetX,Ot("measureOffset").offsetY),wr.BIMX_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Ot("commentOffset").offsetX,Ot("commentOffset").offsetY),wr.BIMX_CONFIGS.navCubePos){let a=function(){let v=0,p=0;return Ot("navCubePos").pos.includes("left")?v+=parseInt(Ot("leftWidth")):Ot("navCubePos").pos.includes("right")&&(v+=parseInt(Ot("rightWidth"))),Ot("navCubePos").pos.includes("top")?p+=parseInt(Ot("topHeight")):Ot("navCubePos").pos.includes("bottom")&&(p+=parseInt(Ot("bottomHeight"))),[v,p]};const x=Ot("navCubePos").pos?Ot("navCubePos").pos:"right-bottom",P=a();x.includes("right")&&window.bimViewer.setNavCubePosition("right",P[0]),x.includes("top")&&window.bimViewer.setNavCubePosition("top",P[1]),x.includes("left")&&window.bimViewer.setNavCubePosition("left",P[0]),x.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",P[1])}wr.BIMX_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Ot("navCubeSize")),wr.BIMX_CONFIGS.locale&&wu().setLocale(Ot("locale"));return}switch(U){case"isMobile":window.bimViewer.setIsTouch(wr.BIMX_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!wr.BIMX_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Ot("measureOffset").offsetX,Ot("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Ot("commentOffset").offsetX,Ot("commentOffset").offsetY);break;case"navCubePos":const a=Ot("navCubePos").pos?Ot("navCubePos").pos:"right-bottom",x=Ot("navCubePos").posNum?Ot("navCubePos").posNum:[0,a.includes("top")?Ot("topHeight"):0];a.includes("right")&&window.bimViewer.setNavCubePosition("right",x[0]),a.includes("left")&&window.bimViewer.setNavCubePosition("left",x[0]),a.includes("top")&&window.bimViewer.setNavCubePosition("top",x[1]),a.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",x[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Ot("navCubeSize"));break;case"locale":wu().setLocale(Ot("locale"));break}}static SaveViewerState(U){U.measure&&(this.viewerState.measureType=U.measure)}static SetToolActiveById(U,a=!Qi().isToolActive(U)){const x=Qi().getKeyById(U);x?this.SetToolActiveByKey(x,a):console.log("no such key:",U)}static SetToolActiveByKey(U,a=!Qi().isToolActiveBykey(U)){switch(U){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(a);break;case"measure":window.bimViewer.measureTool.setActive(a),a&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,a);break;case"section":window.bimViewer.SetSectionToolActive(a);break;case"comment":a?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(a)},100):window.bimViewer.SetCommentsToolActive(a);break;case"anno":window.bimViewer.SetAnnotationToolActive(a);break;case"screenshot":break;case"inspector":break;case"fullscreen":a?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen();break;case"hidden":window.bimViewer.disableClickEvent=a;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(U,a){window.bimViewer.showSpinner(U),a&&a()}}Oi(Bi,"viewerState",{measureType:"distance"}),Oi(Bi,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const SM=["src"],kM=["src"],MM=["src"],TM=["src"],IM=["src"],DM=["src"],FM=["src"],RM=s.defineComponent({__name:"ClickEvent",setup(k,{expose:U}){const a=pi();Qi();const x=s.ref(!0);s.onMounted(()=>{});let P="",v,p;const u=()=>{p=window.bimViewer,p.eventTrigger.on("pickedNothing",()=>{x.value&&(c.value=!1,B.value=[],Bi.entityState.selectedObjectIds=[],p.setAllObjectsSelected(!1))}),p.eventTrigger.on("touchEntity",L=>{x.value&&(v=L,P=v.id,g(P))}),p.viewer.cameraControl.on("touchmoveCanvas",()=>{})};ir.on("BimViewer",u);const d=s.ref(0),l=s.ref(0),c=s.ref(!1),h=s.ref(!0),f=s.ref(!0),m=s.ref(!1),g=L=>{(!v||v&&L!==v.id)&&(v=p.viewer.scene.objects[L]),P=L,B.value.length>0&&!B.value.find(j=>j==P)&&B.value.push(P),h.value=!v.xrayed,f.value=!v.highlighted;const{aabb:G}=v,$=[(G[0]+G[3])/2,(G[1]+G[4])/2,(G[2]+G[5])/2],K=p.viewer.scene.camera.projectWorldPos($);let W=K[0]-172/2,I=K[1]-198/2;W<0?W=0:W>window.innerWidth-198&&(W=window.innerWidth-198),I<0?I=0:I>window.innerHeight-172-72&&(I=window.innerHeight-172-72),d.value=W,l.value=I,c.value=!0,p.setEntitySelected(v,!0)},_=()=>{B.value.find(L=>L==v.id)||(B.value=B.value.filter(L=>L!=v.id),Bi.entityState.selectedObjectIds=B.value),y()},y=()=>{v=null,P="",h.value=!0,f.value=!0,c.value=!1,w.value=-1,ir.emit("unFocus")},w=s.ref(-1),B=s.ref([]),M=L=>{w.value=L},T=L=>{switch(B.value.length>0&&(B.value.push(P),Bi.entityState.selectedObjectIds.find(G=>G==v.id)||Bi.entityState.selectedObjectIds.push(v.id)),L!==5&&L!==0&&(window.bimViewer.disableClickEvent=!1,p.setAllObjectsSelected(!1)),L==5&&B.value.length==0&&(window.bimViewer.disableClickEvent=!0),L){case 0:B.value.length>0?p.viewFitObjects(B.value):p.viewFitEntity(v),setTimeout(()=>{p.setAllObjectsSelected(!1)},1e3);break;case 1:B.value.length>0?p.setObjectsVisible(Bi.entityState.selectedObjectIds,!1):p.setEntityVisible(v,!1);break;case 2:m.value?p.setAllObjectsVisible(!0):(p.setAllObjectsVisible(!1),B.value.length>0?p.setObjectsVisible(Bi.entityState.selectedObjectIds,!0):p.setEntityVisible(v,!0),p.setAllObjectsSelected(!1)),m.value=!m.value;break;case 3:B.value.length>0?(p.viewer.scene.setObjectsXRayed(B.value,h.value),B.value.forEach(G=>{const $=p.viewer.scene.objects[G];$.edges=$.xrayed?!0:p.edgesActive,p.setEntityHighlighted($,!1)})):(p.setEntityXRayed(v),v.edges=v.xrayed?!0:p.edgesActive,p.setEntityHighlighted(v,!1));break;case 4:B.value.length>0?B.value.forEach(G=>{const $=p.viewer.scene.objects[G];p.setEntityHighlighted($,f.value),$.xrayed&&(p.setEntityXRayed($,!1),$.edges=p.edgesActive)}):(p.setEntityHighlighted(v),v.xrayed&&(p.setEntityXRayed(v,!1),v.edges=p.edgesActive));break;case 5:B.value.find(G=>G==P)||(B.value.push(P),p.setObjectsSelected(B.value,!0)),Bi.entityState.selectedObjectIds=B.value,ir.emit("multiSelect");break}L!==5&&L!==0&&(p.setEntitySelected(v,!1),B.value=[],Bi.entityState.selectedObjectIds=B.value),Bi.entityState.xrayedObjectIds=p.viewer.scene.xrayedObjectIds,Bi.entityState.highlightedObjectIds=p.viewer.scene.highlightedObjectIds,Bi.entityState.selectedObjectIds=p.viewer.scene.selectedObjectIds,Bi.entityState.visibleObjectIds=p.viewer.scene.visibleObjectIds,Bi.entityState.edgesObjectIds=p.viewer.scene.edgesObjectIds,setTimeout(()=>{y()},300)},N=()=>{y()},H=()=>{x.value=!1},Q=()=>{x.value=!0};return ir.on("focusEntity",g),s.onBeforeUnmount(()=>{ir.off("BimViewer",u),ir.off("focusEntity",g)}),U({reset:N,enable:Q,disable:H}),(L,G)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:"entity_tools",style:s.normalizeStyle({left:`${d.value}px`,top:`${l.value}px`})},[s.createElementVNode("div",{class:"close_btns",onClick:_},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,SM)]),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==0},"detail_btn fit"]),onPointerdown:G[0]||(G[0]=$=>M(0)),onPointerup:G[1]||(G[1]=$=>T(0))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/fit.svg`},null,8,kM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.focus")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==1},"detail_btn hide_self"]),onPointerdown:G[2]||(G[2]=$=>M(1)),onPointerup:G[3]||(G[3]=$=>T(1))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/hide-self.svg`},null,8,MM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.hide")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==2},"detail_btn hide_other"]),onPointerdown:G[4]||(G[4]=$=>M(2)),onPointerup:G[5]||(G[5]=$=>T(2))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/hide-other.svg`},null,8,TM),s.createElementVNode("span",null,s.toDisplayString(m.value?s.unref(a)("clickEvent.cancel"):s.unref(a)("clickEvent.onlyShow")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==3},"detail_btn edge_solid"]),onPointerdown:G[6]||(G[6]=$=>M(3)),onPointerup:G[7]||(G[7]=$=>T(3))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/${h.value?"edge":"solid"}.svg`},null,8,IM),s.createElementVNode("span",null,s.toDisplayString(h.value?s.unref(a)("clickEvent.edge"):s.unref(a)("clickEvent.fill")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==4},"detail_btn opacity_fill"]),onPointerdown:G[8]||(G[8]=$=>M(4)),onPointerup:G[9]||(G[9]=$=>T(4))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/${f.value?"opacity":"fill"}.svg`},null,8,DM),s.createElementVNode("span",null,s.toDisplayString(f.value?s.unref(a)("clickEvent.transparent"):s.unref(a)("clickEvent.solid")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==5},"detail_btn multi_select"]),onPointerdown:G[10]||(G[10]=$=>M(5)),onPointerup:G[11]||(G[11]=$=>T(5))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,FM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.multiSelect")),1)],34)],4)),[[s.vShow,c.value]])}}),OM=Symbol();var Nb=typeof global=="object"&&global&&global.Object===Object&&global,NM=typeof self=="object"&&self&&self.Object===Object&&self,Bo=Nb||NM||Function("return this")(),no=Bo.Symbol,Lb=Object.prototype,LM=Lb.hasOwnProperty,jM=Lb.toString,xu=no?no.toStringTag:void 0;function VM(k){var U=LM.call(k,xu),a=k[xu];try{k[xu]=void 0;var x=!0}catch{}var P=jM.call(k);return x&&(U?k[xu]=a:delete k[xu]),P}var UM=Object.prototype,HM=UM.toString;function zM(k){return HM.call(k)}var GM="[object Null]",QM="[object Undefined]",jb=no?no.toStringTag:void 0;function bl(k){return k==null?k===void 0?QM:GM:jb&&jb in Object(k)?VM(k):zM(k)}function ua(k){return k!=null&&typeof k=="object"}var $M="[object Symbol]";function Ah(k){return typeof k=="symbol"||ua(k)&&bl(k)==$M}function Vb(k,U){for(var a=-1,x=k==null?0:k.length,P=Array(x);++a<x;)P[a]=U(k[a],a,k);return P}var so=Array.isArray,Ub=no?no.prototype:void 0,Hb=Ub?Ub.toString:void 0;function zb(k){if(typeof k=="string")return k;if(so(k))return Vb(k,zb)+"";if(Ah(k))return Hb?Hb.call(k):"";var U=k+"";return U=="0"&&1/k==-1/0?"-0":U}var WM=/\s/;function KM(k){for(var U=k.length;U--&&WM.test(k.charAt(U)););return U}var XM=/^\s+/;function YM(k){return k&&k.slice(0,KM(k)+1).replace(XM,"")}function jo(k){var U=typeof k;return k!=null&&(U=="object"||U=="function")}var Gb=NaN,JM=/^[-+]0x[0-9a-f]+$/i,ZM=/^0b[01]+$/i,qM=/^0o[0-7]+$/i,eT=parseInt;function Cu(k){if(typeof k=="number")return k;if(Ah(k))return Gb;if(jo(k)){var U=typeof k.valueOf=="function"?k.valueOf():k;k=jo(U)?U+"":U}if(typeof k!="string")return k===0?k:+k;k=YM(k);var a=ZM.test(k);return a||qM.test(k)?eT(k.slice(2),a?2:8):JM.test(k)?Gb:+k}function Qb(k){return k}var tT="[object AsyncFunction]",rT="[object Function]",iT="[object GeneratorFunction]",nT="[object Proxy]";function $b(k){if(!jo(k))return!1;var U=bl(k);return U==rT||U==iT||U==tT||U==nT}var Tm=Bo["__core-js_shared__"],Wb=function(){var k=/[^.]+$/.exec(Tm&&Tm.keys&&Tm.keys.IE_PROTO||"");return k?"Symbol(src)_1."+k:""}();function sT(k){return!!Wb&&Wb in k}var oT=Function.prototype,aT=oT.toString;function _l(k){if(k!=null){try{return aT.call(k)}catch{}try{return k+""}catch{}}return""}var lT=/[\\^$.*+?()[\]{}|]/g,cT=/^\[object .+?Constructor\]$/,uT=Function.prototype,dT=Object.prototype,hT=uT.toString,fT=dT.hasOwnProperty,pT=RegExp("^"+hT.call(fT).replace(lT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mT(k){if(!jo(k)||sT(k))return!1;var U=$b(k)?pT:cT;return U.test(_l(k))}function AT(k,U){return k==null?void 0:k[U]}function wl(k,U){var a=AT(k,U);return mT(a)?a:void 0}var Im=wl(Bo,"WeakMap");function gT(k,U,a){switch(a.length){case 0:return k.call(U);case 1:return k.call(U,a[0]);case 2:return k.call(U,a[0],a[1]);case 3:return k.call(U,a[0],a[1],a[2])}return k.apply(U,a)}var vT=800,yT=16,bT=Date.now;function _T(k){var U=0,a=0;return function(){var x=bT(),P=yT-(x-a);if(a=x,P>0){if(++U>=vT)return arguments[0]}else U=0;return k.apply(void 0,arguments)}}function wT(k){return function(){return k}}var gh=function(){try{var k=wl(Object,"defineProperty");return k({},"",{}),k}catch{}}(),xT=gh?function(k,U){return gh(k,"toString",{configurable:!0,enumerable:!1,value:wT(U),writable:!0})}:Qb,CT=_T(xT);function BT(k,U){for(var a=-1,x=k==null?0:k.length;++a<x&&U(k[a],a,k)!==!1;);return k}function ET(k,U,a,x){k.length;for(var P=a+1;P--;)if(U(k[P],P,k))return P;return-1}var PT=9007199254740991,ST=/^(?:0|[1-9]\d*)$/;function Dm(k,U){var a=typeof k;return U=U??PT,!!U&&(a=="number"||a!="symbol"&&ST.test(k))&&k>-1&&k%1==0&&k<U}function Kb(k,U,a){U=="__proto__"&&gh?gh(k,U,{configurable:!0,enumerable:!0,value:a,writable:!0}):k[U]=a}function Fm(k,U){return k===U||k!==k&&U!==U}var kT=Object.prototype,MT=kT.hasOwnProperty;function Rm(k,U,a){var x=k[U];(!(MT.call(k,U)&&Fm(x,a))||a===void 0&&!(U in k))&&Kb(k,U,a)}function TT(k,U,a,x){var P=!a;a||(a={});for(var v=-1,p=U.length;++v<p;){var u=U[v],d=void 0;d===void 0&&(d=k[u]),P?Kb(a,u,d):Rm(a,u,d)}return a}var Xb=Math.max;function IT(k,U,a){return U=Xb(U===void 0?k.length-1:U,0),function(){for(var x=arguments,P=-1,v=Xb(x.length-U,0),p=Array(v);++P<v;)p[P]=x[U+P];P=-1;for(var u=Array(U+1);++P<U;)u[P]=x[P];return u[U]=a(p),gT(k,this,u)}}var DT=9007199254740991;function Om(k){return typeof k=="number"&&k>-1&&k%1==0&&k<=DT}function Yb(k){return k!=null&&Om(k.length)&&!$b(k)}var FT=Object.prototype;function Jb(k){var U=k&&k.constructor,a=typeof U=="function"&&U.prototype||FT;return k===a}function RT(k,U){for(var a=-1,x=Array(k);++a<k;)x[a]=U(a);return x}var OT="[object Arguments]";function Zb(k){return ua(k)&&bl(k)==OT}var qb=Object.prototype,NT=qb.hasOwnProperty,LT=qb.propertyIsEnumerable,Nm=Zb(function(){return arguments}())?Zb:function(k){return ua(k)&&NT.call(k,"callee")&&!LT.call(k,"callee")};function jT(){return!1}var e_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,t_=e_&&typeof module=="object"&&module&&!module.nodeType&&module,VT=t_&&t_.exports===e_,r_=VT?Bo.Buffer:void 0,UT=r_?r_.isBuffer:void 0,vh=UT||jT,HT="[object Arguments]",zT="[object Array]",GT="[object Boolean]",QT="[object Date]",$T="[object Error]",WT="[object Function]",KT="[object Map]",XT="[object Number]",YT="[object Object]",JT="[object RegExp]",ZT="[object Set]",qT="[object String]",e3="[object WeakMap]",t3="[object ArrayBuffer]",r3="[object DataView]",i3="[object Float32Array]",n3="[object Float64Array]",s3="[object Int8Array]",o3="[object Int16Array]",a3="[object Int32Array]",l3="[object Uint8Array]",c3="[object Uint8ClampedArray]",u3="[object Uint16Array]",d3="[object Uint32Array]",on={};on[i3]=on[n3]=on[s3]=on[o3]=on[a3]=on[l3]=on[c3]=on[u3]=on[d3]=!0,on[HT]=on[zT]=on[t3]=on[GT]=on[r3]=on[QT]=on[$T]=on[WT]=on[KT]=on[XT]=on[YT]=on[JT]=on[ZT]=on[qT]=on[e3]=!1;function h3(k){return ua(k)&&Om(k.length)&&!!on[bl(k)]}function Lm(k){return function(U){return k(U)}}var i_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,Bu=i_&&typeof module=="object"&&module&&!module.nodeType&&module,f3=Bu&&Bu.exports===i_,jm=f3&&Nb.process,uc=function(){try{var k=Bu&&Bu.require&&Bu.require("util").types;return k||jm&&jm.binding&&jm.binding("util")}catch{}}(),n_=uc&&uc.isTypedArray,s_=n_?Lm(n_):h3,p3=Object.prototype,m3=p3.hasOwnProperty;function o_(k,U){var a=so(k),x=!a&&Nm(k),P=!a&&!x&&vh(k),v=!a&&!x&&!P&&s_(k),p=a||x||P||v,u=p?RT(k.length,String):[],d=u.length;for(var l in k)(U||m3.call(k,l))&&!(p&&(l=="length"||P&&(l=="offset"||l=="parent")||v&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Dm(l,d)))&&u.push(l);return u}function a_(k,U){return function(a){return k(U(a))}}var A3=a_(Object.keys,Object),g3=Object.prototype,v3=g3.hasOwnProperty;function y3(k){if(!Jb(k))return A3(k);var U=[];for(var a in Object(k))v3.call(k,a)&&a!="constructor"&&U.push(a);return U}function l_(k){return Yb(k)?o_(k):y3(k)}function b3(k){var U=[];if(k!=null)for(var a in Object(k))U.push(a);return U}var _3=Object.prototype,w3=_3.hasOwnProperty;function x3(k){if(!jo(k))return b3(k);var U=Jb(k),a=[];for(var x in k)x=="constructor"&&(U||!w3.call(k,x))||a.push(x);return a}function C3(k){return Yb(k)?o_(k,!0):x3(k)}var B3=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E3=/^\w*$/;function Vm(k,U){if(so(k))return!1;var a=typeof k;return a=="number"||a=="symbol"||a=="boolean"||k==null||Ah(k)?!0:E3.test(k)||!B3.test(k)||U!=null&&k in Object(U)}var Eu=wl(Object,"create");function P3(){this.__data__=Eu?Eu(null):{},this.size=0}function S3(k){var U=this.has(k)&&delete this.__data__[k];return this.size-=U?1:0,U}var k3="__lodash_hash_undefined__",M3=Object.prototype,T3=M3.hasOwnProperty;function I3(k){var U=this.__data__;if(Eu){var a=U[k];return a===k3?void 0:a}return T3.call(U,k)?U[k]:void 0}var D3=Object.prototype,F3=D3.hasOwnProperty;function R3(k){var U=this.__data__;return Eu?U[k]!==void 0:F3.call(U,k)}var O3="__lodash_hash_undefined__";function N3(k,U){var a=this.__data__;return this.size+=this.has(k)?0:1,a[k]=Eu&&U===void 0?O3:U,this}function xl(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}xl.prototype.clear=P3,xl.prototype.delete=S3,xl.prototype.get=I3,xl.prototype.has=R3,xl.prototype.set=N3;function L3(){this.__data__=[],this.size=0}function yh(k,U){for(var a=k.length;a--;)if(Fm(k[a][0],U))return a;return-1}var j3=Array.prototype,V3=j3.splice;function U3(k){var U=this.__data__,a=yh(U,k);if(a<0)return!1;var x=U.length-1;return a==x?U.pop():V3.call(U,a,1),--this.size,!0}function H3(k){var U=this.__data__,a=yh(U,k);return a<0?void 0:U[a][1]}function z3(k){return yh(this.__data__,k)>-1}function G3(k,U){var a=this.__data__,x=yh(a,k);return x<0?(++this.size,a.push([k,U])):a[x][1]=U,this}function da(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}da.prototype.clear=L3,da.prototype.delete=U3,da.prototype.get=H3,da.prototype.has=z3,da.prototype.set=G3;var Pu=wl(Bo,"Map");function Q3(){this.size=0,this.__data__={hash:new xl,map:new(Pu||da),string:new xl}}function $3(k){var U=typeof k;return U=="string"||U=="number"||U=="symbol"||U=="boolean"?k!=="__proto__":k===null}function bh(k,U){var a=k.__data__;return $3(U)?a[typeof U=="string"?"string":"hash"]:a.map}function W3(k){var U=bh(this,k).delete(k);return this.size-=U?1:0,U}function K3(k){return bh(this,k).get(k)}function X3(k){return bh(this,k).has(k)}function Y3(k,U){var a=bh(this,k),x=a.size;return a.set(k,U),this.size+=a.size==x?0:1,this}function ha(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}ha.prototype.clear=Q3,ha.prototype.delete=W3,ha.prototype.get=K3,ha.prototype.has=X3,ha.prototype.set=Y3;var J3="Expected a function";function Um(k,U){if(typeof k!="function"||U!=null&&typeof U!="function")throw new TypeError(J3);var a=function(){var x=arguments,P=U?U.apply(this,x):x[0],v=a.cache;if(v.has(P))return v.get(P);var p=k.apply(this,x);return a.cache=v.set(P,p)||v,p};return a.cache=new(Um.Cache||ha),a}Um.Cache=ha;var Z3=500;function q3(k){var U=Um(k,function(x){return a.size===Z3&&a.clear(),x}),a=U.cache;return U}var e4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t4=/\\(\\)?/g,r4=q3(function(k){var U=[];return k.charCodeAt(0)===46&&U.push(""),k.replace(e4,function(a,x,P,v){U.push(P?v.replace(t4,"$1"):x||a)}),U});function i4(k){return k==null?"":zb(k)}function dc(k,U){return so(k)?k:Vm(k,U)?[k]:r4(i4(k))}function hc(k){if(typeof k=="string"||Ah(k))return k;var U=k+"";return U=="0"&&1/k==-1/0?"-0":U}function _h(k,U){U=dc(U,k);for(var a=0,x=U.length;k!=null&&a<x;)k=k[hc(U[a++])];return a&&a==x?k:void 0}function oo(k,U,a){var x=k==null?void 0:_h(k,U);return x===void 0?a:x}function Hm(k,U){for(var a=-1,x=U.length,P=k.length;++a<x;)k[P+a]=U[a];return k}var c_=no?no.isConcatSpreadable:void 0;function n4(k){return so(k)||Nm(k)||!!(c_&&k&&k[c_])}function s4(k,U,a,x,P){var v=-1,p=k.length;for(a||(a=n4),P||(P=[]);++v<p;){var u=k[v];a(u)?Hm(P,u):P[P.length]=u}return P}function u_(k){var U=k==null?0:k.length;return U?s4(k):[]}function d_(k){return CT(IT(k,void 0,u_),k+"")}var h_=a_(Object.getPrototypeOf,Object),o4="[object Object]",a4=Function.prototype,l4=Object.prototype,f_=a4.toString,c4=l4.hasOwnProperty,u4=f_.call(Object);function d4(k){if(!ua(k)||bl(k)!=o4)return!1;var U=h_(k);if(U===null)return!0;var a=c4.call(U,"constructor")&&U.constructor;return typeof a=="function"&&a instanceof a&&f_.call(a)==u4}function h4(k,U,a){var x=-1,P=k.length;U<0&&(U=-U>P?0:P+U),a=a>P?P:a,a<0&&(a+=P),P=U>a?0:a-U>>>0,U>>>=0;for(var v=Array(P);++x<P;)v[x]=k[x+U];return v}function Va(){if(!arguments.length)return[];var k=arguments[0];return so(k)?k:[k]}function f4(k,U,a){return k===k&&(a!==void 0&&(k=k<=a?k:a),U!==void 0&&(k=k>=U?k:U)),k}function p_(k,U,a){return a===void 0&&(a=U,U=void 0),a!==void 0&&(a=Cu(a),a=a===a?a:0),U!==void 0&&(U=Cu(U),U=U===U?U:0),f4(Cu(k),U,a)}function p4(){this.__data__=new da,this.size=0}function m4(k){var U=this.__data__,a=U.delete(k);return this.size=U.size,a}function A4(k){return this.__data__.get(k)}function g4(k){return this.__data__.has(k)}var v4=200;function y4(k,U){var a=this.__data__;if(a instanceof da){var x=a.__data__;if(!Pu||x.length<v4-1)return x.push([k,U]),this.size=++a.size,this;a=this.__data__=new ha(x)}return a.set(k,U),this.size=a.size,this}function Vo(k){var U=this.__data__=new da(k);this.size=U.size}Vo.prototype.clear=p4,Vo.prototype.delete=m4,Vo.prototype.get=A4,Vo.prototype.has=g4,Vo.prototype.set=y4;var m_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,A_=m_&&typeof module=="object"&&module&&!module.nodeType&&module,b4=A_&&A_.exports===m_,g_=b4?Bo.Buffer:void 0;g_&&g_.allocUnsafe;function _4(k,U){return k.slice()}function w4(k,U){for(var a=-1,x=k==null?0:k.length,P=0,v=[];++a<x;){var p=k[a];U(p,a,k)&&(v[P++]=p)}return v}function v_(){return[]}var x4=Object.prototype,C4=x4.propertyIsEnumerable,y_=Object.getOwnPropertySymbols,b_=y_?function(k){return k==null?[]:(k=Object(k),w4(y_(k),function(U){return C4.call(k,U)}))}:v_,B4=Object.getOwnPropertySymbols,E4=B4?function(k){for(var U=[];k;)Hm(U,b_(k)),k=h_(k);return U}:v_;function __(k,U,a){var x=U(k);return so(k)?x:Hm(x,a(k))}function w_(k){return __(k,l_,b_)}function x_(k){return __(k,C3,E4)}var zm=wl(Bo,"DataView"),Gm=wl(Bo,"Promise"),Qm=wl(Bo,"Set"),C_="[object Map]",P4="[object Object]",B_="[object Promise]",E_="[object Set]",P_="[object WeakMap]",S_="[object DataView]",S4=_l(zm),k4=_l(Pu),M4=_l(Gm),T4=_l(Qm),I4=_l(Im),Eo=bl;(zm&&Eo(new zm(new ArrayBuffer(1)))!=S_||Pu&&Eo(new Pu)!=C_||Gm&&Eo(Gm.resolve())!=B_||Qm&&Eo(new Qm)!=E_||Im&&Eo(new Im)!=P_)&&(Eo=function(k){var U=bl(k),a=U==P4?k.constructor:void 0,x=a?_l(a):"";if(x)switch(x){case S4:return S_;case k4:return C_;case M4:return B_;case T4:return E_;case I4:return P_}return U});var D4=Object.prototype,F4=D4.hasOwnProperty;function R4(k){var U=k.length,a=new k.constructor(U);return U&&typeof k[0]=="string"&&F4.call(k,"index")&&(a.index=k.index,a.input=k.input),a}var wh=Bo.Uint8Array;function $m(k){var U=new k.constructor(k.byteLength);return new wh(U).set(new wh(k)),U}function O4(k,U){var a=$m(k.buffer);return new k.constructor(a,k.byteOffset,k.byteLength)}var N4=/\w*$/;function L4(k){var U=new k.constructor(k.source,N4.exec(k));return U.lastIndex=k.lastIndex,U}var k_=no?no.prototype:void 0,M_=k_?k_.valueOf:void 0;function j4(k){return M_?Object(M_.call(k)):{}}function V4(k,U){var a=$m(k.buffer);return new k.constructor(a,k.byteOffset,k.length)}var U4="[object Boolean]",H4="[object Date]",z4="[object Map]",G4="[object Number]",Q4="[object RegExp]",$4="[object Set]",W4="[object String]",K4="[object Symbol]",X4="[object ArrayBuffer]",Y4="[object DataView]",J4="[object Float32Array]",Z4="[object Float64Array]",q4="[object Int8Array]",eI="[object Int16Array]",tI="[object Int32Array]",rI="[object Uint8Array]",iI="[object Uint8ClampedArray]",nI="[object Uint16Array]",sI="[object Uint32Array]";function oI(k,U,a){var x=k.constructor;switch(U){case X4:return $m(k);case U4:case H4:return new x(+k);case Y4:return O4(k);case J4:case Z4:case q4:case eI:case tI:case rI:case iI:case nI:case sI:return V4(k);case z4:return new x;case G4:case W4:return new x(k);case Q4:return L4(k);case $4:return new x;case K4:return j4(k)}}var aI="[object Map]";function lI(k){return ua(k)&&Eo(k)==aI}var T_=uc&&uc.isMap,cI=T_?Lm(T_):lI,uI="[object Set]";function dI(k){return ua(k)&&Eo(k)==uI}var I_=uc&&uc.isSet,hI=I_?Lm(I_):dI,D_="[object Arguments]",fI="[object Array]",pI="[object Boolean]",mI="[object Date]",AI="[object Error]",F_="[object Function]",gI="[object GeneratorFunction]",vI="[object Map]",yI="[object Number]",R_="[object Object]",bI="[object RegExp]",_I="[object Set]",wI="[object String]",xI="[object Symbol]",CI="[object WeakMap]",BI="[object ArrayBuffer]",EI="[object DataView]",PI="[object Float32Array]",SI="[object Float64Array]",kI="[object Int8Array]",MI="[object Int16Array]",TI="[object Int32Array]",II="[object Uint8Array]",DI="[object Uint8ClampedArray]",FI="[object Uint16Array]",RI="[object Uint32Array]",qi={};qi[D_]=qi[fI]=qi[BI]=qi[EI]=qi[pI]=qi[mI]=qi[PI]=qi[SI]=qi[kI]=qi[MI]=qi[TI]=qi[vI]=qi[yI]=qi[R_]=qi[bI]=qi[_I]=qi[wI]=qi[xI]=qi[II]=qi[DI]=qi[FI]=qi[RI]=!0,qi[AI]=qi[F_]=qi[CI]=!1;function xh(k,U,a,x,P,v){var p;if(a&&(p=P?a(k,x,P,v):a(k)),p!==void 0)return p;if(!jo(k))return k;var u=so(k);if(u)p=R4(k);else{var d=Eo(k),l=d==F_||d==gI;if(vh(k))return _4(k);if(d==R_||d==D_||l&&!P)p={};else{if(!qi[d])return P?k:{};p=oI(k,d)}}v||(v=new Vo);var c=v.get(k);if(c)return c;v.set(k,p),hI(k)?k.forEach(function(m){p.add(xh(m,U,a,m,k,v))}):cI(k)&&k.forEach(function(m,g){p.set(g,xh(m,U,a,g,k,v))});var h=x_,f=u?void 0:h(k);return BT(f||k,function(m,g){f&&(g=m,m=k[g]),Rm(p,g,xh(m,U,a,g,k,v))}),p}var OI="__lodash_hash_undefined__";function NI(k){return this.__data__.set(k,OI),this}function LI(k){return this.__data__.has(k)}function Ch(k){var U=-1,a=k==null?0:k.length;for(this.__data__=new ha;++U<a;)this.add(k[U])}Ch.prototype.add=Ch.prototype.push=NI,Ch.prototype.has=LI;function jI(k,U){for(var a=-1,x=k==null?0:k.length;++a<x;)if(U(k[a],a,k))return!0;return!1}function VI(k,U){return k.has(U)}var UI=1,HI=2;function O_(k,U,a,x,P,v){var p=a&UI,u=k.length,d=U.length;if(u!=d&&!(p&&d>u))return!1;var l=v.get(k),c=v.get(U);if(l&&c)return l==U&&c==k;var h=-1,f=!0,m=a&HI?new Ch:void 0;for(v.set(k,U),v.set(U,k);++h<u;){var g=k[h],_=U[h];if(x)var y=p?x(_,g,h,U,k,v):x(g,_,h,k,U,v);if(y!==void 0){if(y)continue;f=!1;break}if(m){if(!jI(U,function(w,B){if(!VI(m,B)&&(g===w||P(g,w,a,x,v)))return m.push(B)})){f=!1;break}}else if(!(g===_||P(g,_,a,x,v))){f=!1;break}}return v.delete(k),v.delete(U),f}function zI(k){var U=-1,a=Array(k.size);return k.forEach(function(x,P){a[++U]=[P,x]}),a}function GI(k){var U=-1,a=Array(k.size);return k.forEach(function(x){a[++U]=x}),a}var QI=1,$I=2,WI="[object Boolean]",KI="[object Date]",XI="[object Error]",YI="[object Map]",JI="[object Number]",ZI="[object RegExp]",qI="[object Set]",eD="[object String]",tD="[object Symbol]",rD="[object ArrayBuffer]",iD="[object DataView]",N_=no?no.prototype:void 0,Wm=N_?N_.valueOf:void 0;function nD(k,U,a,x,P,v,p){switch(a){case iD:if(k.byteLength!=U.byteLength||k.byteOffset!=U.byteOffset)return!1;k=k.buffer,U=U.buffer;case rD:return!(k.byteLength!=U.byteLength||!v(new wh(k),new wh(U)));case WI:case KI:case JI:return Fm(+k,+U);case XI:return k.name==U.name&&k.message==U.message;case ZI:case eD:return k==U+"";case YI:var u=zI;case qI:var d=x&QI;if(u||(u=GI),k.size!=U.size&&!d)return!1;var l=p.get(k);if(l)return l==U;x|=$I,p.set(k,U);var c=O_(u(k),u(U),x,P,v,p);return p.delete(k),c;case tD:if(Wm)return Wm.call(k)==Wm.call(U)}return!1}var sD=1,oD=Object.prototype,aD=oD.hasOwnProperty;function lD(k,U,a,x,P,v){var p=a&sD,u=w_(k),d=u.length,l=w_(U),c=l.length;if(d!=c&&!p)return!1;for(var h=d;h--;){var f=u[h];if(!(p?f in U:aD.call(U,f)))return!1}var m=v.get(k),g=v.get(U);if(m&&g)return m==U&&g==k;var _=!0;v.set(k,U),v.set(U,k);for(var y=p;++h<d;){f=u[h];var w=k[f],B=U[f];if(x)var M=p?x(B,w,f,U,k,v):x(w,B,f,k,U,v);if(!(M===void 0?w===B||P(w,B,a,x,v):M)){_=!1;break}y||(y=f=="constructor")}if(_&&!y){var T=k.constructor,N=U.constructor;T!=N&&"constructor"in k&&"constructor"in U&&!(typeof T=="function"&&T instanceof T&&typeof N=="function"&&N instanceof N)&&(_=!1)}return v.delete(k),v.delete(U),_}var cD=1,L_="[object Arguments]",j_="[object Array]",Bh="[object Object]",uD=Object.prototype,V_=uD.hasOwnProperty;function dD(k,U,a,x,P,v){var p=so(k),u=so(U),d=p?j_:Eo(k),l=u?j_:Eo(U);d=d==L_?Bh:d,l=l==L_?Bh:l;var c=d==Bh,h=l==Bh,f=d==l;if(f&&vh(k)){if(!vh(U))return!1;p=!0,c=!1}if(f&&!c)return v||(v=new Vo),p||s_(k)?O_(k,U,a,x,P,v):nD(k,U,d,a,x,P,v);if(!(a&cD)){var m=c&&V_.call(k,"__wrapped__"),g=h&&V_.call(U,"__wrapped__");if(m||g){var _=m?k.value():k,y=g?U.value():U;return v||(v=new Vo),P(_,y,a,x,v)}}return f?(v||(v=new Vo),lD(k,U,a,x,P,v)):!1}function Eh(k,U,a,x,P){return k===U?!0:k==null||U==null||!ua(k)&&!ua(U)?k!==k&&U!==U:dD(k,U,a,x,Eh,P)}var hD=1,fD=2;function pD(k,U,a,x){var P=a.length,v=P;if(k==null)return!v;for(k=Object(k);P--;){var p=a[P];if(p[2]?p[1]!==k[p[0]]:!(p[0]in k))return!1}for(;++P<v;){p=a[P];var u=p[0],d=k[u],l=p[1];if(p[2]){if(d===void 0&&!(u in k))return!1}else{var c=new Vo,h;if(!(h===void 0?Eh(l,d,hD|fD,x,c):h))return!1}}return!0}function U_(k){return k===k&&!jo(k)}function mD(k){for(var U=l_(k),a=U.length;a--;){var x=U[a],P=k[x];U[a]=[x,P,U_(P)]}return U}function H_(k,U){return function(a){return a==null?!1:a[k]===U&&(U!==void 0||k in Object(a))}}function AD(k){var U=mD(k);return U.length==1&&U[0][2]?H_(U[0][0],U[0][1]):function(a){return a===k||pD(a,k,U)}}function gD(k,U){return k!=null&&U in Object(k)}function vD(k,U,a){U=dc(U,k);for(var x=-1,P=U.length,v=!1;++x<P;){var p=hc(U[x]);if(!(v=k!=null&&a(k,p)))break;k=k[p]}return v||++x!=P?v:(P=k==null?0:k.length,!!P&&Om(P)&&Dm(p,P)&&(so(k)||Nm(k)))}function z_(k,U){return k!=null&&vD(k,U,gD)}var yD=1,bD=2;function _D(k,U){return Vm(k)&&U_(U)?H_(hc(k),U):function(a){var x=oo(a,k);return x===void 0&&x===U?z_(a,k):Eh(U,x,yD|bD)}}function wD(k){return function(U){return U==null?void 0:U[k]}}function xD(k){return function(U){return _h(U,k)}}function CD(k){return Vm(k)?wD(hc(k)):xD(k)}function BD(k){return typeof k=="function"?k:k==null?Qb:typeof k=="object"?so(k)?_D(k[0],k[1]):AD(k):CD(k)}var Km=function(){return Bo.Date.now()},ED="Expected a function",PD=Math.max,SD=Math.min;function Xm(k,U,a){var x,P,v,p,u,d,l=0,c=!1,h=!1,f=!0;if(typeof k!="function")throw new TypeError(ED);U=Cu(U)||0,jo(a)&&(c=!!a.leading,h="maxWait"in a,v=h?PD(Cu(a.maxWait)||0,U):v,f="trailing"in a?!!a.trailing:f);function m(H){var Q=x,L=P;return x=P=void 0,l=H,p=k.apply(L,Q),p}function g(H){return l=H,u=setTimeout(w,U),c?m(H):p}function _(H){var Q=H-d,L=H-l,G=U-Q;return h?SD(G,v-L):G}function y(H){var Q=H-d,L=H-l;return d===void 0||Q>=U||Q<0||h&&L>=v}function w(){var H=Km();if(y(H))return B(H);u=setTimeout(w,_(H))}function B(H){return u=void 0,f&&x?m(H):(x=P=void 0,p)}function M(){u!==void 0&&clearTimeout(u),l=0,x=d=P=u=void 0}function T(){return u===void 0?p:B(Km())}function N(){var H=Km(),Q=y(H);if(x=arguments,P=this,d=H,Q){if(u===void 0)return g(d);if(h)return clearTimeout(u),u=setTimeout(w,U),m(d)}return u===void 0&&(u=setTimeout(w,U)),p}return N.cancel=M,N.flush=T,N}function kD(k){var U=k==null?0:k.length;return U?k[U-1]:void 0}function MD(k,U,a){var x=k==null?0:k.length;if(!x)return-1;var P=x-1;return ET(k,BD(U),P)}function Ph(k){for(var U=-1,a=k==null?0:k.length,x={};++U<a;){var P=k[U];x[P[0]]=P[1]}return x}function TD(k,U){return U.length<2?k:_h(k,h4(U,0,-1))}function _s(k,U){return Eh(k,U)}function ws(k){return k==null}function ID(k){return k===void 0}var DD=Object.prototype,FD=DD.hasOwnProperty;function RD(k,U){U=dc(U,k);var a=-1,x=U.length;if(!x)return!0;for(var P=k==null||typeof k!="object"&&typeof k!="function";++a<x;){var v=U[a];if(typeof v=="string"){if(v==="__proto__"&&!FD.call(k,"__proto__"))return!1;if(v==="constructor"&&a+1<x&&typeof U[a+1]=="string"&&U[a+1]==="prototype"){if(P&&a===0)continue;return!1}}}var p=TD(k,U);return p==null||delete p[hc(kD(U))]}function OD(k){return d4(k)?void 0:k}var ND=1,LD=2,jD=4,Ym=d_(function(k,U){var a={};if(k==null)return a;var x=!1;U=Vb(U,function(v){return v=dc(v,k),x||(x=v.length>1),v}),TT(k,x_(k),a),x&&(a=xh(a,ND|LD|jD,OD));for(var P=U.length;P--;)RD(a,U[P]);return a});function VD(k,U,a,x){if(!jo(k))return k;U=dc(U,k);for(var P=-1,v=U.length,p=v-1,u=k;u!=null&&++P<v;){var d=hc(U[P]),l=a;if(d==="__proto__"||d==="constructor"||d==="prototype")return k;if(P!=p){var c=u[d];l=void 0,l===void 0&&(l=jo(c)?c:Dm(U[P+1])?[]:{})}Rm(u,d,l),u=u[d]}return k}function UD(k,U,a){for(var x=-1,P=U.length,v={};++x<P;){var p=U[x],u=_h(k,p);a(u,p)&&VD(v,dc(p,k),u)}return v}function HD(k,U){return UD(k,U,function(a,x){return z_(k,x)})}var G_=d_(function(k,U){return k==null?{}:HD(k,U)}),zD={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const GD=k=>(U,a)=>QD(U,a,s.unref(k)),QD=(k,U,a)=>oo(a,k,k).replace(/\{(\w+)\}/g,(x,P)=>{var v;return`${(v=U==null?void 0:U[P])!=null?v:`{${P}}`}`}),$D=k=>{const U=s.computed(()=>s.unref(k).name),a=s.isRef(k)?k:s.ref(k);return{lang:U,locale:a,t:GD(k)}},WD=Symbol("localeContextKey"),Un=k=>{const U=s.inject(WD,s.ref());return $D(s.computed(()=>U.value||zD))},Jm="el",KD="is-",Cl=(k,U,a,x,P)=>{let v=`${k}-${U}`;return a&&(v+=`-${a}`),x&&(v+=`__${x}`),P&&(v+=`--${P}`),v},XD=Symbol("namespaceContextKey"),Zm=k=>{const U=s.getCurrentInstance()?s.inject(XD,s.ref(Jm)):s.ref(Jm);return s.computed(()=>s.unref(U)||Jm)},$r=(k,U)=>{const a=Zm();return{namespace:a,b:(_="")=>Cl(a.value,k,_,"",""),e:_=>_?Cl(a.value,k,"",_,""):"",m:_=>_?Cl(a.value,k,"","",_):"",be:(_,y)=>_&&y?Cl(a.value,k,_,y,""):"",em:(_,y)=>_&&y?Cl(a.value,k,"",_,y):"",bm:(_,y)=>_&&y?Cl(a.value,k,_,"",y):"",bem:(_,y,w)=>_&&y&&w?Cl(a.value,k,_,y,w):"",is:(_,...y)=>{const w=y.length>=1?y[0]:!0;return _&&w?`${KD}${_}`:""},cssVar:_=>{const y={};for(const w in _)_[w]&&(y[`--${a.value}-${w}`]=_[w]);return y},cssVarName:_=>`--${a.value}-${_}`,cssVarBlock:_=>{const y={};for(const w in _)_[w]&&(y[`--${a.value}-${k}-${w}`]=_[w]);return y},cssVarBlockName:_=>`--${a.value}-${k}-${_}`}};/**
|
|
1
|
+
(function(wr,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("axios"),require("ali-oss"),require("element-plus"),require("@element-plus/icons-vue"),require("pinia"),require("mitt")):typeof define=="function"&&define.amd?define(["exports","vue","axios","ali-oss","element-plus","@element-plus/icons-vue","pinia","mitt"],s):(wr=typeof globalThis<"u"?globalThis:wr||self,s(wr.BIMX_Viewer_Lib={},wr.Vue,wr.axios,wr.AliOss,wr.ElementPlus,wr.ElementPlusIconsVue,wr.Pinia,wr.Mitt))})(this,function(wr,s,lc,qk,Sm,oi,km,eM){"use strict";var l_e=Object.defineProperty;var c_e=(wr,s,lc)=>s in wr?l_e(wr,s,{enumerable:!0,configurable:!0,writable:!0,value:lc}):wr[s]=lc;var Oi=(wr,s,lc)=>c_e(wr,typeof s!="symbol"?s+"":s,lc);const Mb={"zh-CN":{bimxViewer:{common:{confirm:"确认",cancel:"取消",delete:"删除",add:"添加",edit:"编辑",save:"保存",submit:"提交",close:"关闭",back:"返回",next:"下一个",previous:"上一个",search:"搜索",reset:"重置",export:"导出",import:"导入",upload:"上传",download:"下载",refresh:"刷新",placeholder_input:"请输入",placeholder_select:"请选择",all:"全部",placeholder_date:"请选择日期",placeholder_search:"请输入搜索内容",image:"图片",placeholder_comment:"请输入评论内容",title:"标题",view:"查看",created:"创建",done:"完成",lang_zh:"中文",lang_en:"英文",organization:"组织",date:"日期",unknown:"未知",loading:"加载中...",noData:"暂无数据",emptyPage:"这里空空的,快去上传文件吧~",areYouSureDelete:"您确认要删除",questionMark:"吗?",success:"操作成功",error:"操作失败",warning:"警告",info:"提示",confirmEdit:"确认修改"},toolbar:{tree:"结构树",reset:"复位",roam:"漫游",measure:"测量",section:"剖切",comment:"批注",anno:"标注",screenshot:"截图",inspector:"属性",setting:"设置",fullscreen:"全屏",exitFullscreen:"退出全屏",virtualMouse:"虚拟鼠标",enjoy:"共享",share:"分享",cooperate:"协同",bcf:"BCF",navigate:"视图方向",mouse:"迷你鼠标",hidden:"透视"},hidden:{hide:"隐藏",perspective:"透视",select:"选中",recover:"恢复"},bcf:{title:"BCF",addNew:"新建BCF",detail:"BCF详情",list:"BCF列表",filter:"筛选",type:"类别",priority:"优先级",status:"状态",stage:"阶段",assignedTo:"分配给",dueDate:"截止日期",description:"问题描述",comment:"评论",noComments:"暂无评论",thisComment:"这条评论",viewpoint:"视角",addViewpoint:"添加视角",addObject:"添加模型对象",addMarker:"添加标记",viewElements:"查看元素",labels:"标签",author:"创建者",createDate:"创建日期",modifiedDate:"修改日期",createNow:"立即创建",error_title_required:"请输入标题!",elements:"个元素",creator:"创建人",commentNow:"立即评论",addComment:"添加评论",editComment:"修改评论",snapshot:"快照截屏",screenshot:"立即截屏",index:"序号",time:"时间",createTime:"创建时间",emptyHint:"这里空空的,快去创建你的BCF吧~",addedObjects:"已添加对象共:",addedAnnotations:"已添加标注共:",hintClickToAddObject:"直接点击模型上的结构即可添加对象",hintHoldLeftClickMultiSelect:"按下鼠标左键可连续多选",types:{basic:"模型基本结构",conflict:"模型结构冲突",error:"模型错误"},priorities:{high:"高",middle:"中",low:"低"},statuses:{closed:"已关闭",inProgress:"进行中",resolved:"已解决"},stages:{planningEnd:"初步规划结束",constructionStart:"施工开始",constructionEnd:"施工结束"},tags:{architecture:"建筑",hvac:"暖通",mep:"MEP",structure:"结构"},messages:{pleaseInputTitle:"请输入标题!",deleteConfirm:"确认删除该BCF?",deleteCommentConfirm:"确认删除该评论?"}},mobileComments:{empty:"这里空空的,快去创建你的CMT吧~",filter:{title:"筛选",priority:"筛选优先级",status:"筛选状态",author:"筛选创建人",tag:"筛选标签(可多选)"},createText:"创建文字批注",pleaseInputContent:"请输入内容",backToModel:"返回模型",deleteComment:"删除批注",newComment:"新建批注",list:"批注列表",createSuccess:"批注创建成功",notice:{title:"提示"}},mobileBcf:{selectPanel:{titleSuffix:"标题"},add:{continueScreenshot:"继续截屏",createNow:"立即创建",confirmEdit:"确认修改"},filter:{tag:"筛选标签(可多选)"}},setting:{title:"设置",effect:"效果",bgColor:"背景颜色",showEdges:"显示边缘",lightIntensity:"光源强度",appearance:"外观模式",skybox:"天空盒",perspective:"透视/正交",ortho:"正交",mode2d3d:"2D/3D",modelInvert:"模型倒置",zAxisUp:"Z轴向上",modelSpace:"显示模型空间",spaceEffect:"空间效果",language:"语言",modelViewSwitch:"模型视角切换",zoomSpeed:"缩放速率",colors:{white:"白色",lightGray:"浅灰",gray:"灰色",darkGray:"深灰",black:"黑色"},spaceEffects:{transparent:"透明",wireframe:"线框",hide:"隐藏",bright:"亮",dark:"暗"}},bgColor:{gradientBlue:"渐变蓝",gray:"纯灰度",dimSky:"昏暗天空",white:"纯白色",milkBlue:"奶白蓝"},roles:{guest:"游客",user:"普通用户",admin:"管理员",creator:"创建者"},measure:{title:"测量",settings:"测量设置",distance:"距离",area:"面积",angle:"角度",angleLabel:"角度",totalLength:"总长度:",x:"X值:",y:"Y值:",z:"Z值:",scaleLabel:"比例:",unitLabel:"单位:",unitPlaceholder:"单位",precisionLabel:"精度:",precisionPlaceholder:"精度",clear:"清除",clearAll:"清除所有"},structure:{title:"结构树",search:"搜索构件",expand:"展开",collapse:"收起",showAll:"显示全部",hideAll:"隐藏全部",objects:"对象",categories:"类别",floors:"楼层",files:"文件",all:"全部"},inspector:{title:"属性",basic:"基本信息",properties:"属性",materials:"材质",noSelection:"未选中任何对象,请单击模型对象以查看构件属性。",name:"名称",type:"类型",objectCount:"对象数量",pSetsCount:"属性集数量",author:"作者",instanceProperties:"实例属性",typeProperties:"类型属性"},roam:{title:"漫游",courseTitle:"在第一视角中导航",dontRemind:"不要再提醒我",gotIt:"好的,我知道了",speedLabel:"移动速度:",firstPerson:"第一人称",thirdPerson:"第三人称",speed:"速度",height:"高度",dontShowCourseMessage:"不要再显示漫游教程"},screenshot:{title:"截图",capture:"截取",save:"保存",widthPlaceholder:"请输入长度",heightPlaceholder:"请输入宽度",custom:"自定义"},annotation:{title:"标注",text:"文本",line:"线条",arrow:"箭头",clear:"清除",image:"图片",record:"语音",video:"视频",file:"文档"},section:{allSections:"全部剖切",sectionPrefix:"剖切面#",xAxis:"X轴",yAxis:"Y轴",zAxis:"Z轴",bulk:{deleteAll:"删除所有剖切面",flipAll:"翻转所有剖切面",showAll:"显示所有剖切效果",hideAll:"隐藏所有剖切效果"}},validity:{"1day":"1天","7day":"7天","14day":"14天",permanent:"永久有效"},roleList:{viewOnly:"仅查看",viewDownload:"查看、下载文件"},navigate:{top:"俯视图",bottom:"仰视图",left:"左视图",right:"右视图",front:"前视图",back:"后视图",leftBottom:"西南",rightBottom:"东南",rightTop:"东北",leftTop:"西北"},enjoy:{annotation:"批注"},allocationRole:{viewOnly:"仅查看",editable:"可编辑"},project:{recentlyUsed:"最近使用",myProjects:"我参与的"},directory:{rename:"重命名",exit:"退出"},fontSize:{large:"大",medium:"中",small:"小"},commentTool:{pencil:"铅笔",arrow:"箭头",rectangle:"矩形",circle:"圆形",text:"文本"},alert:{selectPoint:"请先在模型上选择一个点"},clickEvent:{focus:"聚焦",hide:"隐藏",onlyShow:"仅显示",cancel:"取消",edge:"线框",fill:"填充",transparent:"透明",solid:"实体",multiSelect:"多选"}}},"en-US":{bimxViewer:{common:{confirm:"Confirm",cancel:"Cancel",delete:"Delete",add:"Add",edit:"Edit",save:"Save",submit:"Submit",close:"Close",back:"Back",next:"Next",previous:"Previous",search:"Search",reset:"Reset",export:"Export",import:"Import",upload:"Upload",download:"Download",refresh:"Refresh",placeholder_input:"Please input",placeholder_select:"Please select",all:"All",placeholder_date:"Please select date",placeholder_search:"Please input search content",image:"Image",placeholder_comment:"Please input comment content",title:"Title",view:"View",created:"Created",done:"Done",lang_zh:"Chinese",lang_en:"English",organization:"Organization",date:"Date",unknown:"Unknown",loading:"Loading...",noData:"No Data",emptyPage:"It's empty here, upload some files~",areYouSureDelete:"Are you sure you want to delete",questionMark:"?",success:"Success",error:"Error",warning:"Warning",info:"Info",confirmEdit:"Confirm Edit"},toolbar:{tree:"Structure Tree",reset:"Reset",roam:"Roaming",measure:"Measure",section:"Section",comment:"Comment",anno:"Mark",screenshot:"Screenshot",inspector:"Properties",setting:"Settings",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",virtualMouse:"Mouse",enjoy:"Teamwork",share:"Share",cooperate:"Collaborate",bcf:"BCF",navigate:"Navigate",mouse:"Mini Mouse",hidden:"Perspective"},hidden:{hide:"Hide",perspective:"Perspective",select:"Selected",recover:"Recover"},bcf:{title:"BCF",addNew:"New BCF",detail:"BCF Detail",list:"BCF List",filter:"Filter",type:"Type",priority:"Priority",status:"Status",stage:"Stage",assignedTo:"Assigned To",dueDate:"Due Date",description:"Description",comment:"Comment",noComments:"No comments",thisComment:"This comment",viewpoint:"Viewpoint",addViewpoint:"Add Viewpoint",addObject:"Add Model Object",addMarker:"Add Marker",viewElements:"View Elements",labels:"Labels",author:"Author",createDate:"Create Date",modifiedDate:"Modified Date",createNow:"Create Now",error_title_required:"Please input title!",elements:"Elements",creator:"Creator",commentNow:"Comment Now",addComment:"Add Comment",editComment:"Edit Comment",snapshot:"Snapshot",screenshot:"Take Screenshot",index:"Index",time:"Time",createTime:"Create Time",emptyHint:"No BCF here, create your first BCF now~",addedObjects:"Added objects:",addedAnnotations:"Added annotations:",hintClickToAddObject:"Click on structure in the model to add objects",hintHoldLeftClickMultiSelect:"Hold left mouse button to multi-select",types:{basic:"Model Basic Structure",conflict:"Model Structure Conflict",error:"Model Error"},priorities:{high:"High",middle:"Medium",low:"Low"},statuses:{closed:"Closed",inProgress:"In Progress",resolved:"Resolved"},stages:{planningEnd:"Planning End",constructionStart:"Construction Start",constructionEnd:"Construction End"},tags:{architecture:"Architecture",hvac:"HVAC",mep:"MEP",structure:"Structure"},messages:{pleaseInputTitle:"Please input title!",deleteConfirm:"Confirm to delete this BCF?",deleteCommentConfirm:"Confirm to delete this comment?"}},mobileComments:{empty:"No comments here, create your CMT now~",filter:{title:"Filter",priority:"Filter by priority",status:"Filter by status",author:"Filter by author",tag:"Filter by tags (multiple)"},createText:"Create text comment",pleaseInputContent:"Please input content",backToModel:"Back to Model",deleteComment:"Delete comment",newComment:"New Comment",list:"Comment List",createSuccess:"Comment created successfully",notice:{title:"Notice"}},mobileBcf:{selectPanel:{titleSuffix:"Title"},add:{continueScreenshot:"Continue screenshot",createNow:"Create Now",confirmEdit:"Confirm Edit"},filter:{tag:"Filter by tags (multiple)"}},setting:{title:"Settings",effect:"Effect",bgColor:"Background Color",showEdges:"Show Edges",lightIntensity:"Light Intensity",appearance:"Appearance",skybox:"Skybox",perspective:"Perspective/Orthogonal",ortho:"Orthogonal",mode2d3d:"2D/3D",modelInvert:"Model Invert",zAxisUp:"Z-Axis Up",modelSpace:"Show Model Space",spaceEffect:"Space Effect",language:"Language",modelViewSwitch:"Model View Switch",zoomSpeed:"Zoom Speed",colors:{white:"White",lightGray:"Light Gray",gray:"Gray",darkGray:"Dark Gray",black:"Black"},spaceEffects:{transparent:"Transparent",wireframe:"Wireframe",hide:"Hide",bright:"Bright",dark:"Dark"}},bgColor:{gradientBlue:"Gradient Blue",gray:"Gray",dimSky:"Dim Sky",white:"White",milkBlue:"Milk Blue"},roles:{guest:"Guest",user:"User",admin:"Administrator",creator:"Creator"},measure:{title:"Measure",settings:"Measure Settings",distance:"Distance",area:"Area",angle:"Angle",angleLabel:"Angle",totalLength:"Total Length:",x:"X:",y:"Y:",z:"Z:",scaleLabel:"Scale:",unitLabel:"Unit:",unitPlaceholder:"Unit",precisionLabel:"Precision:",precisionPlaceholder:"Precision",clear:"Clear",clearAll:"Clear All"},structure:{title:"Structure Tree",search:"Search Components",expand:"Expand",collapse:"Collapse",showAll:"Show All",hideAll:"Hide All",objects:"Objects",categories:"Categories",floors:"Floors",files:"Files",all:"All"},inspector:{title:"Properties",basic:"Basic Info",properties:"Properties",materials:"Materials",noSelection:"No object selected, please click on a model object to view component properties.",name:"Name",type:"Type",objectCount:"Object Count",pSetsCount:"Property Sets Count",author:"Author",instanceProperties:"Instance Properties",typeProperties:"Type Properties"},roam:{title:"Roaming",courseTitle:"Navigate in First Person",dontRemind:"Don't remind me",gotIt:"Got it",speedLabel:"Move speed:",firstPerson:"First Person",thirdPerson:"Third Person",speed:"Speed",height:"Height",dontShowCourseMessage:"Do not show roaming tutorial again"},screenshot:{title:"Screenshot",capture:"Capture",save:"Save",widthPlaceholder:"Please input width",heightPlaceholder:"Please input height",custom:"Custom"},annotation:{title:"Annotation",text:"Text",line:"Line Annotation",arrow:"Arrow Annotation",clear:"Clear Annotation",image:"Image",record:"Voice",video:"Video",file:"Document"},section:{allSections:"All Sections",sectionPrefix:"Section #",xAxis:"X Axis",yAxis:"Y Axis",zAxis:"Z Axis",bulk:{deleteAll:"Delete all sections",flipAll:"Flip all sections",showAll:"Show all section effects",hideAll:"Hide all section effects"}},validity:{"1day":"1 day","7day":"7 days","14day":"14 days",permanent:"Permanent"},roleList:{viewOnly:"View only",viewDownload:"View & Download"},navigate:{top:"Top View",bottom:"Bottom View",left:"Left View",right:"Right View",front:"Front View",back:"Back View",leftBottom:"Southwest",rightBottom:"Southeast",rightTop:"Northeast",leftTop:"Northwest"},enjoy:{annotation:"Annotation"},allocationRole:{viewOnly:"View Only",editable:"Editable"},project:{recentlyUsed:"Recently Used",myProjects:"My Projects"},directory:{rename:"Rename",exit:"Exit"},fontSize:{large:"Large",medium:"Medium",small:"Small"},commentTool:{pencil:"Pencil",arrow:"Arrow",rectangle:"Rectangle",circle:"Circle",text:"Text"},alert:{selectPoint:"Please select a point on the model"},clickEvent:{focus:"Focus",hide:"Hide",onlyShow:"Only Show",cancel:"Cancel",edge:"Wireframe",fill:"Fill",transparent:"Transparent",solid:"Solid",multiSelect:"Multi-select"}}}},tM={legacy:!1,locale:"zh-CN",fallbackLocale:"zh-CN",messages:Mb,globalInjection:!0};let Mm=null;const rM=k=>{Mm=k},Tb=()=>Mm||(console.warn("Global i18n instance is not initialized yet"),null),cc=()=>{const k=Tb();return k?(U,...a)=>k.global.t(`bimxViewer.${U}`,...a):U=>U},pi=()=>{const k=Tb();return k?(U,...a)=>k.global.t(`bimxViewer.${U}`,...a):U=>U},iM="https://bimkk-api.tcbim.com",It="https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com",nM="https://convert.tcbim.com",ir=eM();let ja={BIMX_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const sM={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},oM={file:!1,image:!1,record:!1,text:!1,video:!1},Ib={offsetX:0,offsetY:0},aM={pos:"right-bottom",posNum:[0,0]},lM=120,cM="light-gray",uM=!1,dM="right",hM="left",fM=0,pM=0,mM=0,AM=0,gM={pos:"bottom",posNum:[18]},vM={pos:"bottom",posNum:[70]},yM={pos:"bottom",posNum:[70]},bM="linear-gradient(180deg, #fffefb 0%, #daebff 100%)",_M=0;wr.BIMX_CONFIGS=void 0;function wM(){wr.BIMX_CONFIGS={isMobile:!1,loadMeta:!0,multiModel:!1,outliersDetect:!0,showRoam:!0,showTree:!1,showInspector:!1,userInfo:sM,annoLimit:oM,commentOffset:Ib,measureOffset:Ib,skyboxImg:void 0,topHeight:fM,leftWidth:AM,bottomHeight:mM,rightWidth:pM,inspectorPos:dM,treePos:hM,commentPos:gM,annotationPos:vM,roamPos:yM,showNavCube:!0,navCubePos:aM,navCubeSize:lM,themeColor:cM,hideTool:uM,backButton:!1,backgroundColor:bM,editPrivilege:_M,locale:void 0,hideLogo:!1}}wM();function Db(k=""){ir.emit("BIMX_CONFIGS",k)}function Fb(k){for(const U in k)Ci(U,k[U],!1);Db()}function Ci(k,U,a=!0){U!==void 0&&(wr.BIMX_CONFIGS[k]=U,a&&(k=="isMobile"||k=="measureOffset"||k=="commentOffset"||k=="navCubePos"||k=="navCubeSize"||k=="locale")&&Db(k))}function Ot(k){return wr.BIMX_CONFIGS[k]}const Qi=km.defineStore("toolbar",{state:()=>({isPc:!0,pTools:[{id:0,key:"tree",name:"toolbar.tree",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"ptree",imgActive:"ptree-active",position:1,isActive:!1},{id:1,key:"reset",name:"toolbar.reset",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"preset",imgActive:"preset",position:0,isActive:!1},{id:2,key:"roam",name:"toolbar.roam",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"proam",imgActive:"proam-active",position:0,isActive:!1},{id:3,key:"measure",name:"toolbar.measure",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"pmeasure",imgActive:"pmeasure-active",position:0,isActive:!1},{id:4,key:"section",name:"toolbar.section",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"pslicing",imgActive:"pslicing-active",position:0,isActive:!1},{id:5,key:"comment",name:"toolbar.comment",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"pcomment",imgActive:"pcomment-active",position:0,isActive:!1},{id:6,key:"anno",name:"toolbar.anno",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"panno",imgActive:"panno-active",position:0,isActive:!1},{id:7,key:"screenshot",name:"toolbar.screenshot",hasActiveState:!0,component:"ScreenShotTool",isShowDelimiter:!1,img:"pscreenshot",imgActive:"pscreenshot-active",position:0,isActive:!1},{id:8,key:"inspector",name:"toolbar.inspector",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"pinspector",imgActive:"pinspector-active",position:0,isActive:!1},{id:9,key:"setting",name:"toolbar.setting",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"psetting",imgActive:"psetting-active",position:0,isActive:!1},{id:10,key:"fullscreen",name:"toolbar.fullscreen",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pfullscreen",imgActive:"pfullscreen-active",position:0,isActive:!1},{id:11,key:"enjoy",name:"toolbar.enjoy",hasActiveState:!0,component:"",isShowDelimiter:!1,img:"penjoy",imgActive:"penjoy-active",position:2,isActive:!1},{id:12,key:"share",name:"toolbar.share",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pshare",imgActive:"pshare-active",position:2,isActive:!1},{id:13,key:"cooperate",name:"toolbar.cooperate",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"pcooperate",imgActive:"pcooperate",position:2,isActive:!1},{id:14,key:"bcf",name:"toolbar.bcf",hasActiveState:!0,component:"BCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",position:1,isActive:!1}],mTools:[{id:0,key:"reset",name:"toolbar.reset",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"reset",imgActive:"reset",isActive:!1},{id:1,key:"navigate",name:"toolbar.navigate",hasActiveState:!0,component:"NavigateTool",isShowDelimiter:!1,img:"navigate",imgActive:"navigate-active",isActive:!1},{id:2,key:"measure",name:"toolbar.measure",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"measure",imgActive:"measure-active",isActive:!1},{id:3,key:"comment",name:"toolbar.comment",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"comment",imgActive:"comment-active",isActive:!1},{id:4,key:"anno",name:"toolbar.anno",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"anno",imgActive:"anno-active",isActive:!1},{id:5,key:"enjoy",name:"toolbar.enjoy",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"enjoy",imgActive:"enjoy",isActive:!1},{id:6,key:"tree",name:"toolbar.tree",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"tree",imgActive:"tree-active",isActive:!1},{id:7,key:"inspector",name:"toolbar.inspector",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"inspector",imgActive:"inspector-active",isActive:!1},{id:8,key:"section",name:"toolbar.section",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"section",imgActive:"section-active",isActive:!1},{id:9,key:"roam",name:"toolbar.roam",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"roam",imgActive:"roam-active",isActive:!1},{id:10,key:"hidden",name:"toolbar.hidden",hasActiveState:!0,component:"HiddenTool",isShowDelimiter:!1,img:"hidden",imgActive:"hidden-active",isActive:!1},{id:11,key:"setting",name:"toolbar.setting",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"setting",imgActive:"setting-active",isActive:!1},{id:12,key:"share",name:"toolbar.share",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"share",imgActive:"share",isActive:!1},{id:13,key:"fullscreen",name:"toolbar.fullscreen",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"fullscreen",imgActive:"fullscreen-active",isActive:!1},{id:14,key:"cooperate",name:"toolbar.cooperate",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"cooperate",imgActive:"cooperate",isActive:!1},{id:15,key:"bcf",name:"toolbar.bcf",hasActiveState:!0,component:"MobileBCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",isActive:!1},{id:16,key:"mouse",name:"toolbar.mouse",hasActiveState:!0,component:"MouseTool",isShowDelimiter:!1,img:"mouse",imgActive:"mouse-active",isActive:!1}],visibleToolIds:[],readyToolIds:[]}),actions:{setDevice(k){this.isPc=k=="pc"},toggleToolVisibility(k){const U=this.visibleToolIds.indexOf(k);U===-1?this.visibleToolIds.push(k):this.visibleToolIds.splice(U,1)},setEnableTools(k){this.visibleToolIds=k},setEnableToolsByKey(k){let U=[];Ot("isMobile")?U=Rb(k,CM):U=Rb(k,BM);const a=[];for(let x=0;x<U.length;x++){const P=(this.isPc?this.pTools:this.mTools).find(v=>v.key===U[x]);P&&a.push(P.id)}this.visibleToolIds=this.visibleToolIds.concat(a)},setToolActiveStatus(k,U){const a=(this.isPc?this.pTools:this.mTools).find(x=>x.id===k);a&&(a.isActive=U!==void 0?U:!a.isActive)},setToolActiveStatusBykey(k,U){const a=(this.isPc?this.pTools:this.mTools).find(x=>x.key===k);a&&(a.isActive=U!==void 0?U:!a.isActive)},setAllToolClose(k=[]){if(k.length>0)for(let U=0;U<this.visibleToolIds.length;U++)k.includes(this.visibleToolIds[U])||(this.tools[this.visibleToolIds[U]].isActive=!1);else for(let U=0;U<this.visibleToolIds.length;U++)this.tools[this.visibleToolIds[U]].isActive=!1},setReadyById(k){(this.isPc?this.pTools:this.mTools).find(a=>a.id===k)&&this.readyToolIds.push(k)},ifToolAllReady(){for(let k=0;k<this.visibleTools.length;k++){const U=this.visibleTools[k];if(!(U.component==""||U.key=="bcf")&&!this.readyTools.includes(U.id))return!1}return!0},setReadyTools(k){this.readyToolIds=[]}},getters:{tools:k=>k.isPc?k.pTools:k.mTools,visibleTools:k=>k.visibleToolIds.map(U=>(k.isPc?k.pTools:k.mTools).find(a=>a.id===U)).filter(U=>!!U),readyTools:k=>k.readyToolIds,visibleComponents:k=>(k.isPc?k.pTools:k.mTools).filter(U=>k.visibleToolIds.includes(U.id)).map(U=>U.component),getKeyById:k=>U=>{var a;return(a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U))==null?void 0:a.key},getToolById:k=>U=>(k.isPc?k.pTools:k.mTools).find(a=>a.id===U),hasActiveState:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?a.hasActiveState:!1},isToolEnable:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?k.visibleToolIds.includes(a.id):!1},isToolEnableBykey:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.key===U);return a?k.visibleToolIds.includes(a.id):!1},isToolActive:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.id===U);return a?a.isActive:!1},isToolActiveBykey:k=>U=>{const a=(k.isPc?k.pTools:k.mTools).find(x=>x.key===U);return a?a.isActive:!1}}});function mh(){return Qi()}function xM(){Qi().setAllToolClose(),Qi().setReadyTools([]),Qi().setEnableTools([])}let CM=["reset","navigate","measure","comment","anno","enjoy","tree","inspector","section","roam","hidden","setting","share","fullscreen","cooperate","bcf","mouse"],BM=["tree","reset","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreen","enjoy","share","cooperate","bcf"];function Rb(k,U){const a={};U.forEach((P,v)=>{a[P]=v});const x=k.filter(P=>a.hasOwnProperty(P)).map(P=>({value:P,index:a[P]}));return x.sort((P,v)=>P.index-v.index),x.map(P=>P.value)}let yl=null;const EM=k=>{yl=k},wu=km.defineStore("locale",()=>{const k=()=>{const x=Ot("locale");if(x&&(x==="zh-CN"||x==="en-US"))return x;const P=localStorage.getItem("BIMX_LOCALE");if(P&&(P==="zh-CN"||P==="en-US"))return P;const v=navigator.language;return v.startsWith("zh")?"zh-CN":v.startsWith("en")?"en-US":"zh-CN"},U=s.ref(k()),a=x=>{U.value=x,yl&&yl.global&&(yl.global.locale.value=x),localStorage.setItem("BIMX_LOCALE",x)};return s.watch(U,x=>{yl&&yl.global&&(yl.global.locale.value=x)}),{locale:U,setLocale:a}});let Ob=!1;ja.BIMX_CONFIGS.viewerManager||(ir.on("BIMX_CONFIGS",k=>{window.bimViewer?Bi.ConfigViewer(k):Ob=!0}),ja.BIMX_CONFIGS.viewerManager=!0);const PM=()=>{Bi.SetAllClose(),Ob&&Bi.ConfigViewer()};ja.BimViewer.viewerManager||(ir.on("BimViewer",PM),ja.BimViewer.viewerManager=!0);class Bi{static ConfigViewer(U=""){if(U==""){if(wr.BIMX_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),wr.BIMX_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Ot("measureOffset").offsetX,Ot("measureOffset").offsetY),wr.BIMX_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Ot("commentOffset").offsetX,Ot("commentOffset").offsetY),wr.BIMX_CONFIGS.navCubePos){let a=function(){let v=0,p=0;return Ot("navCubePos").pos.includes("left")?v+=parseInt(Ot("leftWidth")):Ot("navCubePos").pos.includes("right")&&(v+=parseInt(Ot("rightWidth"))),Ot("navCubePos").pos.includes("top")?p+=parseInt(Ot("topHeight")):Ot("navCubePos").pos.includes("bottom")&&(p+=parseInt(Ot("bottomHeight"))),[v,p]};const x=Ot("navCubePos").pos?Ot("navCubePos").pos:"right-bottom",P=a();x.includes("right")&&window.bimViewer.setNavCubePosition("right",P[0]),x.includes("top")&&window.bimViewer.setNavCubePosition("top",P[1]),x.includes("left")&&window.bimViewer.setNavCubePosition("left",P[0]),x.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",P[1])}wr.BIMX_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Ot("navCubeSize")),wr.BIMX_CONFIGS.locale&&wu().setLocale(Ot("locale"));return}switch(U){case"isMobile":window.bimViewer.setIsTouch(wr.BIMX_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!wr.BIMX_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Ot("measureOffset").offsetX,Ot("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Ot("commentOffset").offsetX,Ot("commentOffset").offsetY);break;case"navCubePos":const a=Ot("navCubePos").pos?Ot("navCubePos").pos:"right-bottom",x=Ot("navCubePos").posNum?Ot("navCubePos").posNum:[0,a.includes("top")?Ot("topHeight"):0];a.includes("right")&&window.bimViewer.setNavCubePosition("right",x[0]),a.includes("left")&&window.bimViewer.setNavCubePosition("left",x[0]),a.includes("top")&&window.bimViewer.setNavCubePosition("top",x[1]),a.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",x[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Ot("navCubeSize"));break;case"locale":wu().setLocale(Ot("locale"));break}}static SaveViewerState(U){U.measure&&(this.viewerState.measureType=U.measure)}static SetToolActiveById(U,a=!Qi().isToolActive(U)){const x=Qi().getKeyById(U);x?this.SetToolActiveByKey(x,a):console.log("no such key:",U)}static SetToolActiveByKey(U,a=!Qi().isToolActiveBykey(U)){switch(U){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(a);break;case"measure":window.bimViewer.measureTool.setActive(a),a&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,a);break;case"section":window.bimViewer.SetSectionToolActive(a);break;case"comment":a?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(a)},100):window.bimViewer.SetCommentsToolActive(a);break;case"anno":window.bimViewer.SetAnnotationToolActive(a);break;case"screenshot":break;case"inspector":break;case"fullscreen":a?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen();break;case"hidden":window.bimViewer.disableClickEvent=a;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(U,a){window.bimViewer.showSpinner(U),a&&a()}}Oi(Bi,"viewerState",{measureType:"distance"}),Oi(Bi,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const SM=["src"],kM=["src"],MM=["src"],TM=["src"],IM=["src"],DM=["src"],FM=["src"],RM=s.defineComponent({__name:"ClickEvent",setup(k,{expose:U}){const a=pi();Qi();const x=s.ref(!0);s.onMounted(()=>{});let P="",v,p;const u=()=>{p=window.bimViewer,p.eventTrigger.on("pickedNothing",()=>{x.value&&(c.value=!1,B.value=[],Bi.entityState.selectedObjectIds=[],p.setAllObjectsSelected(!1))}),p.eventTrigger.on("touchEntity",L=>{x.value&&(v=L,P=v.id,g(P))}),p.viewer.cameraControl.on("touchmoveCanvas",()=>{})};ir.on("BimViewer",u);const d=s.ref(0),l=s.ref(0),c=s.ref(!1),h=s.ref(!0),f=s.ref(!0),m=s.ref(!1),g=L=>{(!v||v&&L!==v.id)&&(v=p.viewer.scene.objects[L]),P=L,B.value.length>0&&!B.value.find(j=>j==P)&&B.value.push(P),h.value=!v.xrayed,f.value=!v.highlighted;const{aabb:G}=v,$=[(G[0]+G[3])/2,(G[1]+G[4])/2,(G[2]+G[5])/2],K=p.viewer.scene.camera.projectWorldPos($);let W=K[0]-172/2,I=K[1]-198/2;W<0?W=0:W>window.innerWidth-198&&(W=window.innerWidth-198),I<0?I=0:I>window.innerHeight-172-72&&(I=window.innerHeight-172-72),d.value=W,l.value=I,c.value=!0,p.setEntitySelected(v,!0)},_=()=>{B.value.find(L=>L==v.id)||(B.value=B.value.filter(L=>L!=v.id),Bi.entityState.selectedObjectIds=B.value),y()},y=()=>{v=null,P="",h.value=!0,f.value=!0,c.value=!1,w.value=-1,ir.emit("unFocus")},w=s.ref(-1),B=s.ref([]),M=L=>{w.value=L},T=L=>{switch(B.value.length>0&&(B.value.push(P),Bi.entityState.selectedObjectIds.find(G=>G==v.id)||Bi.entityState.selectedObjectIds.push(v.id)),L!==5&&L!==0&&(window.bimViewer.disableClickEvent=!1,p.setAllObjectsSelected(!1)),L==5&&B.value.length==0&&(window.bimViewer.disableClickEvent=!0),L){case 0:B.value.length>0?p.viewFitObjects(B.value):p.viewFitEntity(v),setTimeout(()=>{p.setAllObjectsSelected(!1)},1e3);break;case 1:B.value.length>0?p.setObjectsVisible(Bi.entityState.selectedObjectIds,!1):p.setEntityVisible(v,!1);break;case 2:m.value?p.setAllObjectsVisible(!0):(p.setAllObjectsVisible(!1),B.value.length>0?p.setObjectsVisible(Bi.entityState.selectedObjectIds,!0):p.setEntityVisible(v,!0),p.setAllObjectsSelected(!1)),m.value=!m.value;break;case 3:B.value.length>0?(p.viewer.scene.setObjectsXRayed(B.value,h.value),B.value.forEach(G=>{const $=p.viewer.scene.objects[G];$.edges=$.xrayed?!0:p.edgesActive,p.setEntityHighlighted($,!1)})):(p.setEntityXRayed(v),v.edges=v.xrayed?!0:p.edgesActive,p.setEntityHighlighted(v,!1));break;case 4:B.value.length>0?B.value.forEach(G=>{const $=p.viewer.scene.objects[G];p.setEntityHighlighted($,f.value),$.xrayed&&(p.setEntityXRayed($,!1),$.edges=p.edgesActive)}):(p.setEntityHighlighted(v),v.xrayed&&(p.setEntityXRayed(v,!1),v.edges=p.edgesActive));break;case 5:B.value.find(G=>G==P)||(B.value.push(P),p.setObjectsSelected(B.value,!0)),Bi.entityState.selectedObjectIds=B.value,ir.emit("multiSelect");break}L!==5&&L!==0&&(p.setEntitySelected(v,!1),B.value=[],Bi.entityState.selectedObjectIds=B.value),Bi.entityState.xrayedObjectIds=p.viewer.scene.xrayedObjectIds,Bi.entityState.highlightedObjectIds=p.viewer.scene.highlightedObjectIds,Bi.entityState.selectedObjectIds=p.viewer.scene.selectedObjectIds,Bi.entityState.visibleObjectIds=p.viewer.scene.visibleObjectIds,Bi.entityState.edgesObjectIds=p.viewer.scene.edgesObjectIds,setTimeout(()=>{y()},300)},N=()=>{y()},H=()=>{x.value=!1},Q=()=>{x.value=!0};return ir.on("focusEntity",g),s.onBeforeUnmount(()=>{ir.off("BimViewer",u),ir.off("focusEntity",g)}),U({reset:N,enable:Q,disable:H}),(L,G)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:"entity_tools",style:s.normalizeStyle({left:`${d.value}px`,top:`${l.value}px`})},[s.createElementVNode("div",{class:"close_btns",onClick:_},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,SM)]),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==0},"detail_btn fit"]),onPointerdown:G[0]||(G[0]=$=>M(0)),onPointerup:G[1]||(G[1]=$=>T(0))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/fit.svg`},null,8,kM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.focus")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==1},"detail_btn hide_self"]),onPointerdown:G[2]||(G[2]=$=>M(1)),onPointerup:G[3]||(G[3]=$=>T(1))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/hide-self.svg`},null,8,MM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.hide")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==2},"detail_btn hide_other"]),onPointerdown:G[4]||(G[4]=$=>M(2)),onPointerup:G[5]||(G[5]=$=>T(2))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/hide-other.svg`},null,8,TM),s.createElementVNode("span",null,s.toDisplayString(m.value?s.unref(a)("clickEvent.cancel"):s.unref(a)("clickEvent.onlyShow")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==3},"detail_btn edge_solid"]),onPointerdown:G[6]||(G[6]=$=>M(3)),onPointerup:G[7]||(G[7]=$=>T(3))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/${h.value?"edge":"solid"}.svg`},null,8,IM),s.createElementVNode("span",null,s.toDisplayString(h.value?s.unref(a)("clickEvent.edge"):s.unref(a)("clickEvent.fill")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==4},"detail_btn opacity_fill"]),onPointerdown:G[8]||(G[8]=$=>M(4)),onPointerup:G[9]||(G[9]=$=>T(4))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/${f.value?"opacity":"fill"}.svg`},null,8,DM),s.createElementVNode("span",null,s.toDisplayString(f.value?s.unref(a)("clickEvent.transparent"):s.unref(a)("clickEvent.solid")),1)],34),s.createElementVNode("div",{class:s.normalizeClass([{detail_btn_active:w.value==5},"detail_btn multi_select"]),onPointerdown:G[10]||(G[10]=$=>M(5)),onPointerup:G[11]||(G[11]=$=>T(5))},[s.createElementVNode("img",{src:`${s.unref(It)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,FM),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)("clickEvent.multiSelect")),1)],34)],4)),[[s.vShow,c.value]])}}),OM=Symbol();var Nb=typeof global=="object"&&global&&global.Object===Object&&global,NM=typeof self=="object"&&self&&self.Object===Object&&self,Bo=Nb||NM||Function("return this")(),no=Bo.Symbol,Lb=Object.prototype,LM=Lb.hasOwnProperty,jM=Lb.toString,xu=no?no.toStringTag:void 0;function VM(k){var U=LM.call(k,xu),a=k[xu];try{k[xu]=void 0;var x=!0}catch{}var P=jM.call(k);return x&&(U?k[xu]=a:delete k[xu]),P}var UM=Object.prototype,HM=UM.toString;function zM(k){return HM.call(k)}var GM="[object Null]",QM="[object Undefined]",jb=no?no.toStringTag:void 0;function bl(k){return k==null?k===void 0?QM:GM:jb&&jb in Object(k)?VM(k):zM(k)}function ua(k){return k!=null&&typeof k=="object"}var $M="[object Symbol]";function Ah(k){return typeof k=="symbol"||ua(k)&&bl(k)==$M}function Vb(k,U){for(var a=-1,x=k==null?0:k.length,P=Array(x);++a<x;)P[a]=U(k[a],a,k);return P}var so=Array.isArray,Ub=no?no.prototype:void 0,Hb=Ub?Ub.toString:void 0;function zb(k){if(typeof k=="string")return k;if(so(k))return Vb(k,zb)+"";if(Ah(k))return Hb?Hb.call(k):"";var U=k+"";return U=="0"&&1/k==-1/0?"-0":U}var WM=/\s/;function KM(k){for(var U=k.length;U--&&WM.test(k.charAt(U)););return U}var XM=/^\s+/;function YM(k){return k&&k.slice(0,KM(k)+1).replace(XM,"")}function jo(k){var U=typeof k;return k!=null&&(U=="object"||U=="function")}var Gb=NaN,JM=/^[-+]0x[0-9a-f]+$/i,ZM=/^0b[01]+$/i,qM=/^0o[0-7]+$/i,eT=parseInt;function Cu(k){if(typeof k=="number")return k;if(Ah(k))return Gb;if(jo(k)){var U=typeof k.valueOf=="function"?k.valueOf():k;k=jo(U)?U+"":U}if(typeof k!="string")return k===0?k:+k;k=YM(k);var a=ZM.test(k);return a||qM.test(k)?eT(k.slice(2),a?2:8):JM.test(k)?Gb:+k}function Qb(k){return k}var tT="[object AsyncFunction]",rT="[object Function]",iT="[object GeneratorFunction]",nT="[object Proxy]";function $b(k){if(!jo(k))return!1;var U=bl(k);return U==rT||U==iT||U==tT||U==nT}var Tm=Bo["__core-js_shared__"],Wb=function(){var k=/[^.]+$/.exec(Tm&&Tm.keys&&Tm.keys.IE_PROTO||"");return k?"Symbol(src)_1."+k:""}();function sT(k){return!!Wb&&Wb in k}var oT=Function.prototype,aT=oT.toString;function _l(k){if(k!=null){try{return aT.call(k)}catch{}try{return k+""}catch{}}return""}var lT=/[\\^$.*+?()[\]{}|]/g,cT=/^\[object .+?Constructor\]$/,uT=Function.prototype,dT=Object.prototype,hT=uT.toString,fT=dT.hasOwnProperty,pT=RegExp("^"+hT.call(fT).replace(lT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mT(k){if(!jo(k)||sT(k))return!1;var U=$b(k)?pT:cT;return U.test(_l(k))}function AT(k,U){return k==null?void 0:k[U]}function wl(k,U){var a=AT(k,U);return mT(a)?a:void 0}var Im=wl(Bo,"WeakMap");function gT(k,U,a){switch(a.length){case 0:return k.call(U);case 1:return k.call(U,a[0]);case 2:return k.call(U,a[0],a[1]);case 3:return k.call(U,a[0],a[1],a[2])}return k.apply(U,a)}var vT=800,yT=16,bT=Date.now;function _T(k){var U=0,a=0;return function(){var x=bT(),P=yT-(x-a);if(a=x,P>0){if(++U>=vT)return arguments[0]}else U=0;return k.apply(void 0,arguments)}}function wT(k){return function(){return k}}var gh=function(){try{var k=wl(Object,"defineProperty");return k({},"",{}),k}catch{}}(),xT=gh?function(k,U){return gh(k,"toString",{configurable:!0,enumerable:!1,value:wT(U),writable:!0})}:Qb,CT=_T(xT);function BT(k,U){for(var a=-1,x=k==null?0:k.length;++a<x&&U(k[a],a,k)!==!1;);return k}function ET(k,U,a,x){k.length;for(var P=a+1;P--;)if(U(k[P],P,k))return P;return-1}var PT=9007199254740991,ST=/^(?:0|[1-9]\d*)$/;function Dm(k,U){var a=typeof k;return U=U??PT,!!U&&(a=="number"||a!="symbol"&&ST.test(k))&&k>-1&&k%1==0&&k<U}function Kb(k,U,a){U=="__proto__"&&gh?gh(k,U,{configurable:!0,enumerable:!0,value:a,writable:!0}):k[U]=a}function Fm(k,U){return k===U||k!==k&&U!==U}var kT=Object.prototype,MT=kT.hasOwnProperty;function Rm(k,U,a){var x=k[U];(!(MT.call(k,U)&&Fm(x,a))||a===void 0&&!(U in k))&&Kb(k,U,a)}function TT(k,U,a,x){var P=!a;a||(a={});for(var v=-1,p=U.length;++v<p;){var u=U[v],d=void 0;d===void 0&&(d=k[u]),P?Kb(a,u,d):Rm(a,u,d)}return a}var Xb=Math.max;function IT(k,U,a){return U=Xb(U===void 0?k.length-1:U,0),function(){for(var x=arguments,P=-1,v=Xb(x.length-U,0),p=Array(v);++P<v;)p[P]=x[U+P];P=-1;for(var u=Array(U+1);++P<U;)u[P]=x[P];return u[U]=a(p),gT(k,this,u)}}var DT=9007199254740991;function Om(k){return typeof k=="number"&&k>-1&&k%1==0&&k<=DT}function Yb(k){return k!=null&&Om(k.length)&&!$b(k)}var FT=Object.prototype;function Jb(k){var U=k&&k.constructor,a=typeof U=="function"&&U.prototype||FT;return k===a}function RT(k,U){for(var a=-1,x=Array(k);++a<k;)x[a]=U(a);return x}var OT="[object Arguments]";function Zb(k){return ua(k)&&bl(k)==OT}var qb=Object.prototype,NT=qb.hasOwnProperty,LT=qb.propertyIsEnumerable,Nm=Zb(function(){return arguments}())?Zb:function(k){return ua(k)&&NT.call(k,"callee")&&!LT.call(k,"callee")};function jT(){return!1}var e_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,t_=e_&&typeof module=="object"&&module&&!module.nodeType&&module,VT=t_&&t_.exports===e_,r_=VT?Bo.Buffer:void 0,UT=r_?r_.isBuffer:void 0,vh=UT||jT,HT="[object Arguments]",zT="[object Array]",GT="[object Boolean]",QT="[object Date]",$T="[object Error]",WT="[object Function]",KT="[object Map]",XT="[object Number]",YT="[object Object]",JT="[object RegExp]",ZT="[object Set]",qT="[object String]",e3="[object WeakMap]",t3="[object ArrayBuffer]",r3="[object DataView]",i3="[object Float32Array]",n3="[object Float64Array]",s3="[object Int8Array]",o3="[object Int16Array]",a3="[object Int32Array]",l3="[object Uint8Array]",c3="[object Uint8ClampedArray]",u3="[object Uint16Array]",d3="[object Uint32Array]",on={};on[i3]=on[n3]=on[s3]=on[o3]=on[a3]=on[l3]=on[c3]=on[u3]=on[d3]=!0,on[HT]=on[zT]=on[t3]=on[GT]=on[r3]=on[QT]=on[$T]=on[WT]=on[KT]=on[XT]=on[YT]=on[JT]=on[ZT]=on[qT]=on[e3]=!1;function h3(k){return ua(k)&&Om(k.length)&&!!on[bl(k)]}function Lm(k){return function(U){return k(U)}}var i_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,Bu=i_&&typeof module=="object"&&module&&!module.nodeType&&module,f3=Bu&&Bu.exports===i_,jm=f3&&Nb.process,uc=function(){try{var k=Bu&&Bu.require&&Bu.require("util").types;return k||jm&&jm.binding&&jm.binding("util")}catch{}}(),n_=uc&&uc.isTypedArray,s_=n_?Lm(n_):h3,p3=Object.prototype,m3=p3.hasOwnProperty;function o_(k,U){var a=so(k),x=!a&&Nm(k),P=!a&&!x&&vh(k),v=!a&&!x&&!P&&s_(k),p=a||x||P||v,u=p?RT(k.length,String):[],d=u.length;for(var l in k)(U||m3.call(k,l))&&!(p&&(l=="length"||P&&(l=="offset"||l=="parent")||v&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Dm(l,d)))&&u.push(l);return u}function a_(k,U){return function(a){return k(U(a))}}var A3=a_(Object.keys,Object),g3=Object.prototype,v3=g3.hasOwnProperty;function y3(k){if(!Jb(k))return A3(k);var U=[];for(var a in Object(k))v3.call(k,a)&&a!="constructor"&&U.push(a);return U}function l_(k){return Yb(k)?o_(k):y3(k)}function b3(k){var U=[];if(k!=null)for(var a in Object(k))U.push(a);return U}var _3=Object.prototype,w3=_3.hasOwnProperty;function x3(k){if(!jo(k))return b3(k);var U=Jb(k),a=[];for(var x in k)x=="constructor"&&(U||!w3.call(k,x))||a.push(x);return a}function C3(k){return Yb(k)?o_(k,!0):x3(k)}var B3=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E3=/^\w*$/;function Vm(k,U){if(so(k))return!1;var a=typeof k;return a=="number"||a=="symbol"||a=="boolean"||k==null||Ah(k)?!0:E3.test(k)||!B3.test(k)||U!=null&&k in Object(U)}var Eu=wl(Object,"create");function P3(){this.__data__=Eu?Eu(null):{},this.size=0}function S3(k){var U=this.has(k)&&delete this.__data__[k];return this.size-=U?1:0,U}var k3="__lodash_hash_undefined__",M3=Object.prototype,T3=M3.hasOwnProperty;function I3(k){var U=this.__data__;if(Eu){var a=U[k];return a===k3?void 0:a}return T3.call(U,k)?U[k]:void 0}var D3=Object.prototype,F3=D3.hasOwnProperty;function R3(k){var U=this.__data__;return Eu?U[k]!==void 0:F3.call(U,k)}var O3="__lodash_hash_undefined__";function N3(k,U){var a=this.__data__;return this.size+=this.has(k)?0:1,a[k]=Eu&&U===void 0?O3:U,this}function xl(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}xl.prototype.clear=P3,xl.prototype.delete=S3,xl.prototype.get=I3,xl.prototype.has=R3,xl.prototype.set=N3;function L3(){this.__data__=[],this.size=0}function yh(k,U){for(var a=k.length;a--;)if(Fm(k[a][0],U))return a;return-1}var j3=Array.prototype,V3=j3.splice;function U3(k){var U=this.__data__,a=yh(U,k);if(a<0)return!1;var x=U.length-1;return a==x?U.pop():V3.call(U,a,1),--this.size,!0}function H3(k){var U=this.__data__,a=yh(U,k);return a<0?void 0:U[a][1]}function z3(k){return yh(this.__data__,k)>-1}function G3(k,U){var a=this.__data__,x=yh(a,k);return x<0?(++this.size,a.push([k,U])):a[x][1]=U,this}function da(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}da.prototype.clear=L3,da.prototype.delete=U3,da.prototype.get=H3,da.prototype.has=z3,da.prototype.set=G3;var Pu=wl(Bo,"Map");function Q3(){this.size=0,this.__data__={hash:new xl,map:new(Pu||da),string:new xl}}function $3(k){var U=typeof k;return U=="string"||U=="number"||U=="symbol"||U=="boolean"?k!=="__proto__":k===null}function bh(k,U){var a=k.__data__;return $3(U)?a[typeof U=="string"?"string":"hash"]:a.map}function W3(k){var U=bh(this,k).delete(k);return this.size-=U?1:0,U}function K3(k){return bh(this,k).get(k)}function X3(k){return bh(this,k).has(k)}function Y3(k,U){var a=bh(this,k),x=a.size;return a.set(k,U),this.size+=a.size==x?0:1,this}function ha(k){var U=-1,a=k==null?0:k.length;for(this.clear();++U<a;){var x=k[U];this.set(x[0],x[1])}}ha.prototype.clear=Q3,ha.prototype.delete=W3,ha.prototype.get=K3,ha.prototype.has=X3,ha.prototype.set=Y3;var J3="Expected a function";function Um(k,U){if(typeof k!="function"||U!=null&&typeof U!="function")throw new TypeError(J3);var a=function(){var x=arguments,P=U?U.apply(this,x):x[0],v=a.cache;if(v.has(P))return v.get(P);var p=k.apply(this,x);return a.cache=v.set(P,p)||v,p};return a.cache=new(Um.Cache||ha),a}Um.Cache=ha;var Z3=500;function q3(k){var U=Um(k,function(x){return a.size===Z3&&a.clear(),x}),a=U.cache;return U}var e4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t4=/\\(\\)?/g,r4=q3(function(k){var U=[];return k.charCodeAt(0)===46&&U.push(""),k.replace(e4,function(a,x,P,v){U.push(P?v.replace(t4,"$1"):x||a)}),U});function i4(k){return k==null?"":zb(k)}function dc(k,U){return so(k)?k:Vm(k,U)?[k]:r4(i4(k))}function hc(k){if(typeof k=="string"||Ah(k))return k;var U=k+"";return U=="0"&&1/k==-1/0?"-0":U}function _h(k,U){U=dc(U,k);for(var a=0,x=U.length;k!=null&&a<x;)k=k[hc(U[a++])];return a&&a==x?k:void 0}function oo(k,U,a){var x=k==null?void 0:_h(k,U);return x===void 0?a:x}function Hm(k,U){for(var a=-1,x=U.length,P=k.length;++a<x;)k[P+a]=U[a];return k}var c_=no?no.isConcatSpreadable:void 0;function n4(k){return so(k)||Nm(k)||!!(c_&&k&&k[c_])}function s4(k,U,a,x,P){var v=-1,p=k.length;for(a||(a=n4),P||(P=[]);++v<p;){var u=k[v];a(u)?Hm(P,u):P[P.length]=u}return P}function u_(k){var U=k==null?0:k.length;return U?s4(k):[]}function d_(k){return CT(IT(k,void 0,u_),k+"")}var h_=a_(Object.getPrototypeOf,Object),o4="[object Object]",a4=Function.prototype,l4=Object.prototype,f_=a4.toString,c4=l4.hasOwnProperty,u4=f_.call(Object);function d4(k){if(!ua(k)||bl(k)!=o4)return!1;var U=h_(k);if(U===null)return!0;var a=c4.call(U,"constructor")&&U.constructor;return typeof a=="function"&&a instanceof a&&f_.call(a)==u4}function h4(k,U,a){var x=-1,P=k.length;U<0&&(U=-U>P?0:P+U),a=a>P?P:a,a<0&&(a+=P),P=U>a?0:a-U>>>0,U>>>=0;for(var v=Array(P);++x<P;)v[x]=k[x+U];return v}function Va(){if(!arguments.length)return[];var k=arguments[0];return so(k)?k:[k]}function f4(k,U,a){return k===k&&(a!==void 0&&(k=k<=a?k:a),U!==void 0&&(k=k>=U?k:U)),k}function p_(k,U,a){return a===void 0&&(a=U,U=void 0),a!==void 0&&(a=Cu(a),a=a===a?a:0),U!==void 0&&(U=Cu(U),U=U===U?U:0),f4(Cu(k),U,a)}function p4(){this.__data__=new da,this.size=0}function m4(k){var U=this.__data__,a=U.delete(k);return this.size=U.size,a}function A4(k){return this.__data__.get(k)}function g4(k){return this.__data__.has(k)}var v4=200;function y4(k,U){var a=this.__data__;if(a instanceof da){var x=a.__data__;if(!Pu||x.length<v4-1)return x.push([k,U]),this.size=++a.size,this;a=this.__data__=new ha(x)}return a.set(k,U),this.size=a.size,this}function Vo(k){var U=this.__data__=new da(k);this.size=U.size}Vo.prototype.clear=p4,Vo.prototype.delete=m4,Vo.prototype.get=A4,Vo.prototype.has=g4,Vo.prototype.set=y4;var m_=typeof wr=="object"&&wr&&!wr.nodeType&&wr,A_=m_&&typeof module=="object"&&module&&!module.nodeType&&module,b4=A_&&A_.exports===m_,g_=b4?Bo.Buffer:void 0;g_&&g_.allocUnsafe;function _4(k,U){return k.slice()}function w4(k,U){for(var a=-1,x=k==null?0:k.length,P=0,v=[];++a<x;){var p=k[a];U(p,a,k)&&(v[P++]=p)}return v}function v_(){return[]}var x4=Object.prototype,C4=x4.propertyIsEnumerable,y_=Object.getOwnPropertySymbols,b_=y_?function(k){return k==null?[]:(k=Object(k),w4(y_(k),function(U){return C4.call(k,U)}))}:v_,B4=Object.getOwnPropertySymbols,E4=B4?function(k){for(var U=[];k;)Hm(U,b_(k)),k=h_(k);return U}:v_;function __(k,U,a){var x=U(k);return so(k)?x:Hm(x,a(k))}function w_(k){return __(k,l_,b_)}function x_(k){return __(k,C3,E4)}var zm=wl(Bo,"DataView"),Gm=wl(Bo,"Promise"),Qm=wl(Bo,"Set"),C_="[object Map]",P4="[object Object]",B_="[object Promise]",E_="[object Set]",P_="[object WeakMap]",S_="[object DataView]",S4=_l(zm),k4=_l(Pu),M4=_l(Gm),T4=_l(Qm),I4=_l(Im),Eo=bl;(zm&&Eo(new zm(new ArrayBuffer(1)))!=S_||Pu&&Eo(new Pu)!=C_||Gm&&Eo(Gm.resolve())!=B_||Qm&&Eo(new Qm)!=E_||Im&&Eo(new Im)!=P_)&&(Eo=function(k){var U=bl(k),a=U==P4?k.constructor:void 0,x=a?_l(a):"";if(x)switch(x){case S4:return S_;case k4:return C_;case M4:return B_;case T4:return E_;case I4:return P_}return U});var D4=Object.prototype,F4=D4.hasOwnProperty;function R4(k){var U=k.length,a=new k.constructor(U);return U&&typeof k[0]=="string"&&F4.call(k,"index")&&(a.index=k.index,a.input=k.input),a}var wh=Bo.Uint8Array;function $m(k){var U=new k.constructor(k.byteLength);return new wh(U).set(new wh(k)),U}function O4(k,U){var a=$m(k.buffer);return new k.constructor(a,k.byteOffset,k.byteLength)}var N4=/\w*$/;function L4(k){var U=new k.constructor(k.source,N4.exec(k));return U.lastIndex=k.lastIndex,U}var k_=no?no.prototype:void 0,M_=k_?k_.valueOf:void 0;function j4(k){return M_?Object(M_.call(k)):{}}function V4(k,U){var a=$m(k.buffer);return new k.constructor(a,k.byteOffset,k.length)}var U4="[object Boolean]",H4="[object Date]",z4="[object Map]",G4="[object Number]",Q4="[object RegExp]",$4="[object Set]",W4="[object String]",K4="[object Symbol]",X4="[object ArrayBuffer]",Y4="[object DataView]",J4="[object Float32Array]",Z4="[object Float64Array]",q4="[object Int8Array]",eI="[object Int16Array]",tI="[object Int32Array]",rI="[object Uint8Array]",iI="[object Uint8ClampedArray]",nI="[object Uint16Array]",sI="[object Uint32Array]";function oI(k,U,a){var x=k.constructor;switch(U){case X4:return $m(k);case U4:case H4:return new x(+k);case Y4:return O4(k);case J4:case Z4:case q4:case eI:case tI:case rI:case iI:case nI:case sI:return V4(k);case z4:return new x;case G4:case W4:return new x(k);case Q4:return L4(k);case $4:return new x;case K4:return j4(k)}}var aI="[object Map]";function lI(k){return ua(k)&&Eo(k)==aI}var T_=uc&&uc.isMap,cI=T_?Lm(T_):lI,uI="[object Set]";function dI(k){return ua(k)&&Eo(k)==uI}var I_=uc&&uc.isSet,hI=I_?Lm(I_):dI,D_="[object Arguments]",fI="[object Array]",pI="[object Boolean]",mI="[object Date]",AI="[object Error]",F_="[object Function]",gI="[object GeneratorFunction]",vI="[object Map]",yI="[object Number]",R_="[object Object]",bI="[object RegExp]",_I="[object Set]",wI="[object String]",xI="[object Symbol]",CI="[object WeakMap]",BI="[object ArrayBuffer]",EI="[object DataView]",PI="[object Float32Array]",SI="[object Float64Array]",kI="[object Int8Array]",MI="[object Int16Array]",TI="[object Int32Array]",II="[object Uint8Array]",DI="[object Uint8ClampedArray]",FI="[object Uint16Array]",RI="[object Uint32Array]",qi={};qi[D_]=qi[fI]=qi[BI]=qi[EI]=qi[pI]=qi[mI]=qi[PI]=qi[SI]=qi[kI]=qi[MI]=qi[TI]=qi[vI]=qi[yI]=qi[R_]=qi[bI]=qi[_I]=qi[wI]=qi[xI]=qi[II]=qi[DI]=qi[FI]=qi[RI]=!0,qi[AI]=qi[F_]=qi[CI]=!1;function xh(k,U,a,x,P,v){var p;if(a&&(p=P?a(k,x,P,v):a(k)),p!==void 0)return p;if(!jo(k))return k;var u=so(k);if(u)p=R4(k);else{var d=Eo(k),l=d==F_||d==gI;if(vh(k))return _4(k);if(d==R_||d==D_||l&&!P)p={};else{if(!qi[d])return P?k:{};p=oI(k,d)}}v||(v=new Vo);var c=v.get(k);if(c)return c;v.set(k,p),hI(k)?k.forEach(function(m){p.add(xh(m,U,a,m,k,v))}):cI(k)&&k.forEach(function(m,g){p.set(g,xh(m,U,a,g,k,v))});var h=x_,f=u?void 0:h(k);return BT(f||k,function(m,g){f&&(g=m,m=k[g]),Rm(p,g,xh(m,U,a,g,k,v))}),p}var OI="__lodash_hash_undefined__";function NI(k){return this.__data__.set(k,OI),this}function LI(k){return this.__data__.has(k)}function Ch(k){var U=-1,a=k==null?0:k.length;for(this.__data__=new ha;++U<a;)this.add(k[U])}Ch.prototype.add=Ch.prototype.push=NI,Ch.prototype.has=LI;function jI(k,U){for(var a=-1,x=k==null?0:k.length;++a<x;)if(U(k[a],a,k))return!0;return!1}function VI(k,U){return k.has(U)}var UI=1,HI=2;function O_(k,U,a,x,P,v){var p=a&UI,u=k.length,d=U.length;if(u!=d&&!(p&&d>u))return!1;var l=v.get(k),c=v.get(U);if(l&&c)return l==U&&c==k;var h=-1,f=!0,m=a&HI?new Ch:void 0;for(v.set(k,U),v.set(U,k);++h<u;){var g=k[h],_=U[h];if(x)var y=p?x(_,g,h,U,k,v):x(g,_,h,k,U,v);if(y!==void 0){if(y)continue;f=!1;break}if(m){if(!jI(U,function(w,B){if(!VI(m,B)&&(g===w||P(g,w,a,x,v)))return m.push(B)})){f=!1;break}}else if(!(g===_||P(g,_,a,x,v))){f=!1;break}}return v.delete(k),v.delete(U),f}function zI(k){var U=-1,a=Array(k.size);return k.forEach(function(x,P){a[++U]=[P,x]}),a}function GI(k){var U=-1,a=Array(k.size);return k.forEach(function(x){a[++U]=x}),a}var QI=1,$I=2,WI="[object Boolean]",KI="[object Date]",XI="[object Error]",YI="[object Map]",JI="[object Number]",ZI="[object RegExp]",qI="[object Set]",eD="[object String]",tD="[object Symbol]",rD="[object ArrayBuffer]",iD="[object DataView]",N_=no?no.prototype:void 0,Wm=N_?N_.valueOf:void 0;function nD(k,U,a,x,P,v,p){switch(a){case iD:if(k.byteLength!=U.byteLength||k.byteOffset!=U.byteOffset)return!1;k=k.buffer,U=U.buffer;case rD:return!(k.byteLength!=U.byteLength||!v(new wh(k),new wh(U)));case WI:case KI:case JI:return Fm(+k,+U);case XI:return k.name==U.name&&k.message==U.message;case ZI:case eD:return k==U+"";case YI:var u=zI;case qI:var d=x&QI;if(u||(u=GI),k.size!=U.size&&!d)return!1;var l=p.get(k);if(l)return l==U;x|=$I,p.set(k,U);var c=O_(u(k),u(U),x,P,v,p);return p.delete(k),c;case tD:if(Wm)return Wm.call(k)==Wm.call(U)}return!1}var sD=1,oD=Object.prototype,aD=oD.hasOwnProperty;function lD(k,U,a,x,P,v){var p=a&sD,u=w_(k),d=u.length,l=w_(U),c=l.length;if(d!=c&&!p)return!1;for(var h=d;h--;){var f=u[h];if(!(p?f in U:aD.call(U,f)))return!1}var m=v.get(k),g=v.get(U);if(m&&g)return m==U&&g==k;var _=!0;v.set(k,U),v.set(U,k);for(var y=p;++h<d;){f=u[h];var w=k[f],B=U[f];if(x)var M=p?x(B,w,f,U,k,v):x(w,B,f,k,U,v);if(!(M===void 0?w===B||P(w,B,a,x,v):M)){_=!1;break}y||(y=f=="constructor")}if(_&&!y){var T=k.constructor,N=U.constructor;T!=N&&"constructor"in k&&"constructor"in U&&!(typeof T=="function"&&T instanceof T&&typeof N=="function"&&N instanceof N)&&(_=!1)}return v.delete(k),v.delete(U),_}var cD=1,L_="[object Arguments]",j_="[object Array]",Bh="[object Object]",uD=Object.prototype,V_=uD.hasOwnProperty;function dD(k,U,a,x,P,v){var p=so(k),u=so(U),d=p?j_:Eo(k),l=u?j_:Eo(U);d=d==L_?Bh:d,l=l==L_?Bh:l;var c=d==Bh,h=l==Bh,f=d==l;if(f&&vh(k)){if(!vh(U))return!1;p=!0,c=!1}if(f&&!c)return v||(v=new Vo),p||s_(k)?O_(k,U,a,x,P,v):nD(k,U,d,a,x,P,v);if(!(a&cD)){var m=c&&V_.call(k,"__wrapped__"),g=h&&V_.call(U,"__wrapped__");if(m||g){var _=m?k.value():k,y=g?U.value():U;return v||(v=new Vo),P(_,y,a,x,v)}}return f?(v||(v=new Vo),lD(k,U,a,x,P,v)):!1}function Eh(k,U,a,x,P){return k===U?!0:k==null||U==null||!ua(k)&&!ua(U)?k!==k&&U!==U:dD(k,U,a,x,Eh,P)}var hD=1,fD=2;function pD(k,U,a,x){var P=a.length,v=P;if(k==null)return!v;for(k=Object(k);P--;){var p=a[P];if(p[2]?p[1]!==k[p[0]]:!(p[0]in k))return!1}for(;++P<v;){p=a[P];var u=p[0],d=k[u],l=p[1];if(p[2]){if(d===void 0&&!(u in k))return!1}else{var c=new Vo,h;if(!(h===void 0?Eh(l,d,hD|fD,x,c):h))return!1}}return!0}function U_(k){return k===k&&!jo(k)}function mD(k){for(var U=l_(k),a=U.length;a--;){var x=U[a],P=k[x];U[a]=[x,P,U_(P)]}return U}function H_(k,U){return function(a){return a==null?!1:a[k]===U&&(U!==void 0||k in Object(a))}}function AD(k){var U=mD(k);return U.length==1&&U[0][2]?H_(U[0][0],U[0][1]):function(a){return a===k||pD(a,k,U)}}function gD(k,U){return k!=null&&U in Object(k)}function vD(k,U,a){U=dc(U,k);for(var x=-1,P=U.length,v=!1;++x<P;){var p=hc(U[x]);if(!(v=k!=null&&a(k,p)))break;k=k[p]}return v||++x!=P?v:(P=k==null?0:k.length,!!P&&Om(P)&&Dm(p,P)&&(so(k)||Nm(k)))}function z_(k,U){return k!=null&&vD(k,U,gD)}var yD=1,bD=2;function _D(k,U){return Vm(k)&&U_(U)?H_(hc(k),U):function(a){var x=oo(a,k);return x===void 0&&x===U?z_(a,k):Eh(U,x,yD|bD)}}function wD(k){return function(U){return U==null?void 0:U[k]}}function xD(k){return function(U){return _h(U,k)}}function CD(k){return Vm(k)?wD(hc(k)):xD(k)}function BD(k){return typeof k=="function"?k:k==null?Qb:typeof k=="object"?so(k)?_D(k[0],k[1]):AD(k):CD(k)}var Km=function(){return Bo.Date.now()},ED="Expected a function",PD=Math.max,SD=Math.min;function Xm(k,U,a){var x,P,v,p,u,d,l=0,c=!1,h=!1,f=!0;if(typeof k!="function")throw new TypeError(ED);U=Cu(U)||0,jo(a)&&(c=!!a.leading,h="maxWait"in a,v=h?PD(Cu(a.maxWait)||0,U):v,f="trailing"in a?!!a.trailing:f);function m(H){var Q=x,L=P;return x=P=void 0,l=H,p=k.apply(L,Q),p}function g(H){return l=H,u=setTimeout(w,U),c?m(H):p}function _(H){var Q=H-d,L=H-l,G=U-Q;return h?SD(G,v-L):G}function y(H){var Q=H-d,L=H-l;return d===void 0||Q>=U||Q<0||h&&L>=v}function w(){var H=Km();if(y(H))return B(H);u=setTimeout(w,_(H))}function B(H){return u=void 0,f&&x?m(H):(x=P=void 0,p)}function M(){u!==void 0&&clearTimeout(u),l=0,x=d=P=u=void 0}function T(){return u===void 0?p:B(Km())}function N(){var H=Km(),Q=y(H);if(x=arguments,P=this,d=H,Q){if(u===void 0)return g(d);if(h)return clearTimeout(u),u=setTimeout(w,U),m(d)}return u===void 0&&(u=setTimeout(w,U)),p}return N.cancel=M,N.flush=T,N}function kD(k){var U=k==null?0:k.length;return U?k[U-1]:void 0}function MD(k,U,a){var x=k==null?0:k.length;if(!x)return-1;var P=x-1;return ET(k,BD(U),P)}function Ph(k){for(var U=-1,a=k==null?0:k.length,x={};++U<a;){var P=k[U];x[P[0]]=P[1]}return x}function TD(k,U){return U.length<2?k:_h(k,h4(U,0,-1))}function _s(k,U){return Eh(k,U)}function ws(k){return k==null}function ID(k){return k===void 0}var DD=Object.prototype,FD=DD.hasOwnProperty;function RD(k,U){U=dc(U,k);var a=-1,x=U.length;if(!x)return!0;for(var P=k==null||typeof k!="object"&&typeof k!="function";++a<x;){var v=U[a];if(typeof v=="string"){if(v==="__proto__"&&!FD.call(k,"__proto__"))return!1;if(v==="constructor"&&a+1<x&&typeof U[a+1]=="string"&&U[a+1]==="prototype"){if(P&&a===0)continue;return!1}}}var p=TD(k,U);return p==null||delete p[hc(kD(U))]}function OD(k){return d4(k)?void 0:k}var ND=1,LD=2,jD=4,Ym=d_(function(k,U){var a={};if(k==null)return a;var x=!1;U=Vb(U,function(v){return v=dc(v,k),x||(x=v.length>1),v}),TT(k,x_(k),a),x&&(a=xh(a,ND|LD|jD,OD));for(var P=U.length;P--;)RD(a,U[P]);return a});function VD(k,U,a,x){if(!jo(k))return k;U=dc(U,k);for(var P=-1,v=U.length,p=v-1,u=k;u!=null&&++P<v;){var d=hc(U[P]),l=a;if(d==="__proto__"||d==="constructor"||d==="prototype")return k;if(P!=p){var c=u[d];l=void 0,l===void 0&&(l=jo(c)?c:Dm(U[P+1])?[]:{})}Rm(u,d,l),u=u[d]}return k}function UD(k,U,a){for(var x=-1,P=U.length,v={};++x<P;){var p=U[x],u=_h(k,p);a(u,p)&&VD(v,dc(p,k),u)}return v}function HD(k,U){return UD(k,U,function(a,x){return z_(k,x)})}var G_=d_(function(k,U){return k==null?{}:HD(k,U)}),zD={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const GD=k=>(U,a)=>QD(U,a,s.unref(k)),QD=(k,U,a)=>oo(a,k,k).replace(/\{(\w+)\}/g,(x,P)=>{var v;return`${(v=U==null?void 0:U[P])!=null?v:`{${P}}`}`}),$D=k=>{const U=s.computed(()=>s.unref(k).name),a=s.isRef(k)?k:s.ref(k);return{lang:U,locale:a,t:GD(k)}},WD=Symbol("localeContextKey"),Un=k=>{const U=s.inject(WD,s.ref());return $D(s.computed(()=>U.value||zD))},Jm="el",KD="is-",Cl=(k,U,a,x,P)=>{let v=`${k}-${U}`;return a&&(v+=`-${a}`),x&&(v+=`__${x}`),P&&(v+=`--${P}`),v},XD=Symbol("namespaceContextKey"),Zm=k=>{const U=s.getCurrentInstance()?s.inject(XD,s.ref(Jm)):s.ref(Jm);return s.computed(()=>s.unref(U)||Jm)},$r=(k,U)=>{const a=Zm();return{namespace:a,b:(_="")=>Cl(a.value,k,_,"",""),e:_=>_?Cl(a.value,k,"",_,""):"",m:_=>_?Cl(a.value,k,"","",_):"",be:(_,y)=>_&&y?Cl(a.value,k,_,y,""):"",em:(_,y)=>_&&y?Cl(a.value,k,"",_,y):"",bm:(_,y)=>_&&y?Cl(a.value,k,_,"",y):"",bem:(_,y,w)=>_&&y&&w?Cl(a.value,k,_,y,w):"",is:(_,...y)=>{const w=y.length>=1?y[0]:!0;return _&&w?`${KD}${_}`:""},cssVar:_=>{const y={};for(const w in _)_[w]&&(y[`--${a.value}-${w}`]=_[w]);return y},cssVarName:_=>`--${a.value}-${_}`,cssVarBlock:_=>{const y={};for(const w in _)_[w]&&(y[`--${a.value}-${k}-${w}`]=_[w]);return y},cssVarBlockName:_=>`--${a.value}-${k}-${_}`}};/**
|
|
2
2
|
* @vue/shared v3.5.27
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as o, createElementBlock as c, openBlock as n, createElementVNode as e, unref as s, toDisplayString as a, createCommentVNode as A, createVNode as K, withModifiers as Z, Fragment as G, renderList as j, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createBlock as oe, createTextVNode as de, withDirectives as ye, vShow as we, onBeforeUnmount as fe, normalizeClass as ue } from "vue";
|
|
2
|
-
import { O as B, I as ie, U as be, A as ae, G as pe, W as Ie, X as xe, Y as Te, Z as De, $ as ge, a0 as ve, a1 as _e, C as Q, F as ke, a2 as $e, S as Pe, a3 as Me, a4 as Oe, a5 as ze, Q as Ee, R as Re, D as X, B as Ce } from "./index-
|
|
2
|
+
import { O as B, I as ie, U as be, A as ae, G as pe, W as Ie, X as xe, Y as Te, Z as De, $ as ge, a0 as ve, a1 as _e, C as Q, F as ke, a2 as $e, S as Pe, a3 as Me, a4 as Oe, a5 as ze, Q as Ee, R as Re, D as X, B as Ce } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
import { C as Se, F as Ne, L as Fe, T as Ue } from "./const-DOnRsYpZ.mjs";
|
|
4
4
|
import { T as Ae } from "./timer-DoTiGoWP.mjs";
|
|
5
5
|
const He = { class: "prompt_wrapper" }, We = { class: "prompt_box" }, Ye = ["src"], Je = { class: "text" }, Ze = /* @__PURE__ */ ne({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, createElementBlock as s, openBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
|
|
2
|
-
import { A as S, B as A, D as m, O, C as T, I as x } from "./index-
|
|
2
|
+
import { A as S, B as A, D as m, O, C as T, I as x } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
import { H as D } from "./const-DOnRsYpZ.mjs";
|
|
4
4
|
const j = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], N = ["src"], R = /* @__PURE__ */ y({
|
|
5
5
|
__name: "HiddenTool",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as ee, A as te, B as ne, D as E, C as v, T as N, G as oe, O as H, H as se, I as ie } from "./index-
|
|
2
|
-
import { _ as ae } from "./tallPanel-
|
|
3
|
-
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { J as ee, A as te, B as ne, D as E, C as v, T as N, G as oe, O as H, H as se, I as ie } from "./index-DjyQVMs9.mjs";
|
|
2
|
+
import { _ as ae } from "./tallPanel-CAEQJ3Ko.mjs";
|
|
3
|
+
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
4
4
|
import { defineComponent as ce, onMounted as re, ref as W, reactive as K, watch as _e, onBeforeUnmount as pe, createElementBlock as r, openBlock as c, Fragment as y, createBlock as Q, createCommentVNode as O, unref as n, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as C } from "vue";
|
|
5
5
|
const J = {
|
|
6
6
|
ExtendToStructure: "扩建物",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as De, B as Re, T as ae, D as ne, C as f, O as w, F as Ce, Q as Le, R as $e, G as Pe, V as ue, I as ze } from "./index-
|
|
2
|
-
import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { A as De, B as Re, T as ae, D as ne, C as f, O as w, F as Ce, Q as Le, R as $e, G as Pe, V as ue, I as ze } from "./index-DjyQVMs9.mjs";
|
|
2
|
+
import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
3
3
|
import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe, createElementBlock as c, openBlock as i, Fragment as E, createBlock as Xe, withDirectives as Ye, unref as t, withCtx as U, createElementVNode as s, renderList as F, normalizeClass as ce, toDisplayString as o, createVNode as T, createCommentVNode as He, normalizeStyle as re, vShow as Qe } from "vue";
|
|
4
4
|
import { M as O } from "./const-DOnRsYpZ.mjs";
|
|
5
5
|
const We = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, createElementBlock as M, openBlock as $, withDirectives as D, createElementVNode as g, normalizeStyle as F, unref as L, vShow as N } from "vue";
|
|
2
|
-
import { B as R, D as s, O as V, V as k } from "./index-
|
|
2
|
+
import { B as R, D as s, O as V, V as k } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
|
|
4
4
|
__name: "MouseTool",
|
|
5
5
|
props: ["componentId"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, onMounted as p, ref as w, createElementBlock as n, openBlock as i, createElementVNode as s, Fragment as g, renderList as f, unref as a, normalizeClass as h, toDisplayString as B } from "vue";
|
|
2
|
-
import { A as I, B as N, O as S } from "./index-
|
|
2
|
+
import { A as I, B as N, O as S } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
import { N as T } from "./const-DOnRsYpZ.mjs";
|
|
4
4
|
const k = { class: "best-view-box" }, A = { class: "best-view-list" }, V = ["onClick"], x = { class: "best-view-icon" }, y = ["src"], C = { class: "best-view-name" }, R = /* @__PURE__ */ b({
|
|
5
5
|
__name: "NavigateTool",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as H, ref as u, onMounted as j, onBeforeUnmount as q, watch as z, createElementBlock as h, openBlock as b, createCommentVNode as L, unref as r, createElementVNode as e, toDisplayString as m } from "vue";
|
|
2
|
-
import { B as J, A as K, C as c, M as S, D as M, O as l, P as V, I as Q } from "./index-
|
|
2
|
+
import { B as J, A as K, C as c, M as S, D as M, O as l, P as V, I as Q } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
const W = { class: "roam_container_wrapper" }, Y = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "roam_container"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as he } from "./panel.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { j as K, a6 as q, d as H, b as N, a7 as T, a8 as L, a9 as Y, l as W, a as Se, aa as Ve, ab as _e, u as U, ac as Ee, v as X, ad as Re, ae as Ie, af as ke, y as Be, o as Ce, ag as Pe, ah as J, w as xe, A as we, B as Ne, F as $e } from "./index-
|
|
1
|
+
import { _ as he } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
2
|
+
import { j as K, a6 as q, d as H, b as N, a7 as T, a8 as L, a9 as Y, l as W, a as Se, aa as Ve, ab as _e, u as U, ac as Ee, v as X, ad as Re, ae as Ie, af as ke, y as Be, o as Ce, ag as Pe, ah as J, w as xe, A as we, B as Ne, F as $e } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
import { ref as k, inject as ze, computed as S, defineComponent as $, createElementBlock as B, openBlock as R, normalizeClass as E, unref as e, createElementVNode as g, withDirectives as Q, withModifiers as x, isRef as Z, vModelRadio as ee, renderSlot as A, createTextVNode as w, toDisplayString as C, nextTick as oe, normalizeStyle as Ge, onMounted as ae, provide as Te, reactive as Le, toRefs as Ue, watch as te, Fragment as le, renderList as ne, createBlock as se, resolveDynamicComponent as Ae, mergeProps as De, withCtx as z, createVNode as P, createCommentVNode as Fe } from "vue";
|
|
4
4
|
import { a as G } from "./const-DOnRsYpZ.mjs";
|
|
5
5
|
const ie = N({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as me } from "./alert-
|
|
2
|
-
import { A as pe, B as fe, T as G, C as w, D as $, O as d, G as he, S as ke, H as ge, I as we } from "./index-
|
|
3
|
-
import { E as be } from "./el-input-number-
|
|
4
|
-
import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as me } from "./alert-DjNWlk8Z.mjs";
|
|
2
|
+
import { A as pe, B as fe, T as G, C as w, D as $, O as d, G as he, S as ke, H as ge, I as we } from "./index-DjyQVMs9.mjs";
|
|
3
|
+
import { E as be } from "./el-input-number-CuLIf7kb.mjs";
|
|
4
|
+
import { _ as ye } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
5
5
|
import { defineComponent as Se, ref as v, onMounted as Ce, watch as Ve, onBeforeUnmount as xe, createElementBlock as l, openBlock as s, Fragment as z, createBlock as Pe, withDirectives as H, unref as n, withCtx as E, createElementVNode as o, toDisplayString as u, renderList as K, vShow as W, createVNode as m, normalizeClass as Te, createTextVNode as Le, withModifiers as Be } from "vue";
|
|
6
6
|
import { B as $e } from "./const-DOnRsYpZ.mjs";
|
|
7
7
|
const ze = { class: "section_panel_middle" }, Ee = { class: "section_middle_title" }, Ie = { class: "section_control_button" }, Ae = ["src"], De = { class: "control_buttons" }, Oe = ["onClick"], Me = { class: "section_panel_cont" }, Ue = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as Fe, d as ee, j as ve, a6 as re, b as Re, ai as ge, a7 as he, a8 as ye, ac as We, v as je, t as Q, ae as He, a as Ke, u as Ge, af as Ye, aa as Ze, aj as _e, o as $e, E as F, ak as Ae, al as Je, w as qe, A as Qe, J as Xe, B as et, T as Be, C as N, D as W, G as tt, am as lt, n as ot, H as nt, V as it, I as st } from "./index-
|
|
2
|
-
import { _ as at } from "./panel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { E as ut } from "./el-input-number-
|
|
1
|
+
import { c as Fe, d as ee, j as ve, a6 as re, b as Re, ai as ge, a7 as he, a8 as ye, ac as We, v as je, t as Q, ae as He, a as Ke, u as Ge, af as Ye, aa as Ze, aj as _e, o as $e, E as F, ak as Ae, al as Je, w as qe, A as Qe, J as Xe, B as et, T as Be, C as N, D as W, G as tt, am as lt, n as ot, H as nt, V as it, I as st } from "./index-DjyQVMs9.mjs";
|
|
2
|
+
import { _ as at } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
3
|
+
import { E as ut } from "./el-input-number-CuLIf7kb.mjs";
|
|
4
4
|
import { defineComponent as Ue, computed as L, ref as y, shallowRef as dt, watch as pe, onMounted as De, createElementBlock as g, openBlock as s, withModifiers as ct, normalizeClass as C, createElementVNode as l, createCommentVNode as p, withKeys as vt, unref as n, renderSlot as j, createBlock as b, withCtx as I, resolveDynamicComponent as H, toDisplayString as a, normalizeStyle as _, createVNode as r, nextTick as rt, onBeforeUnmount as mt, Fragment as X, createTextVNode as U, renderList as me } from "vue";
|
|
5
5
|
import { b as K } from "./const-DOnRsYpZ.mjs";
|
|
6
6
|
import { T as ft } from "./timer-DoTiGoWP.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as ie, w as Pe, b as Re, c as tt, a as nt, i as ae, h as Ke, d as Te, e as Ne, f as Ie, g as _e, j as qe, N as ot, k as st, l as Me, r as we, m as dt, E as at, n as rt, o as it, _ as Ue, p as lt, q as ct, s as te, t as ut, v as Ce, x as ht, y as ft, z as pt, A as vt, B as yt, C as se, D as me, T as je, F as gt, G as kt, H as Nt, I as Ct } from "./index-
|
|
2
|
-
import { _ as mt } from "./tallPanel-
|
|
3
|
-
import { _ as bt } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { u as ie, w as Pe, b as Re, c as tt, a as nt, i as ae, h as Ke, d as Te, e as Ne, f as Ie, g as _e, j as qe, N as ot, k as st, l as Me, r as we, m as dt, E as at, n as rt, o as it, _ as Ue, p as lt, q as ct, s as te, t as ut, v as Ce, x as ht, y as ft, z as pt, A as vt, B as yt, C as se, D as me, T as je, F as gt, G as kt, H as Nt, I as Ct } from "./index-DjyQVMs9.mjs";
|
|
2
|
+
import { _ as mt } from "./tallPanel-CAEQJ3Ko.mjs";
|
|
3
|
+
import { _ as bt } from "./panel.vue_vue_type_style_index_0_lang-CX1KJ-Ml.mjs";
|
|
4
4
|
import { defineComponent as ce, createBlock as J, openBlock as I, Transition as Et, mergeProps as _t, unref as T, toHandlers as xt, withCtx as L, renderSlot as xe, ref as w, computed as Se, onMounted as Le, onUpdated as Ve, resolveDynamicComponent as Ye, normalizeStyle as We, normalizeClass as q, useAttrs as Dt, reactive as wt, nextTick as ye, inject as ge, h as He, onBeforeUnmount as Je, provide as ke, getCurrentInstance as Ge, watch as V, resolveComponent as de, withDirectives as X, createElementBlock as H, withModifiers as ne, createElementVNode as D, createVNode as P, createCommentVNode as he, Fragment as pe, renderList as ve, vShow as Z, toDisplayString as U } from "vue";
|
|
5
5
|
import { S as be } from "./const-DOnRsYpZ.mjs";
|
|
6
6
|
import { Loading as Kt, CaretRight as Tt } from "@element-plus/icons-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as c, O as _, H as l, I as a } from "./index-
|
|
1
|
+
import { A as c, O as _, H as l, I as a } from "./index-DjyQVMs9.mjs";
|
|
2
2
|
import { defineComponent as i, createElementBlock as r, openBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
|
|
3
3
|
const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "alert",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Se, ref as ae, reactive as Ce, computed as S, watch as se, onMounted as $e, onUpdated as Qe, createElementBlock as U, openBlock as C, withModifiers as Ke, normalizeClass as O, unref as t, withDirectives as Le, createCommentVNode as oe, createVNode as ve, withKeys as Te, renderSlot as ge, withCtx as ue, createBlock as le, createSlots as Ze, inject as _e, nextTick as ye, toRefs as Be, normalizeStyle as re, createElementVNode as ie, toDisplayString as De, h as et, shallowRef as tt, provide as lt, Fragment as he, renderList as ke } from "vue";
|
|
2
|
-
import { a6 as $, f as fe, b as pe, a8 as H, ai as ne, a7 as Ne, v as te, ac as Xe, a9 as Ie, x as Ye, u as Ee, ae as Ue, i as Ve, o as ee, a as Oe, aa as We, E as Fe, an as ze, F as nt, al as je, j as Pe, q as Ge, ao as at, s as J, w as qe, e as be, ap as He, p as we, aq as Ae, ar as rt, as as ot, af as ut } from "./index-
|
|
2
|
+
import { a6 as $, f as fe, b as pe, a8 as H, ai as ne, a7 as Ne, v as te, ac as Xe, a9 as Ie, x as Ye, u as Ee, ae as Ue, i as Ve, o as ee, a as Oe, aa as We, E as Fe, an as ze, F as nt, al as je, j as Pe, q as Ge, ao as at, s as J, w as qe, e as be, ap as He, p as we, aq as Ae, ar as rt, as as ot, af as ut } from "./index-DjyQVMs9.mjs";
|
|
3
3
|
import { ArrowDown as it, Minus as st, ArrowUp as dt, Plus as ct } from "@element-plus/icons-vue";
|
|
4
4
|
const mt = pe({
|
|
5
5
|
/**
|
|
@@ -793,7 +793,7 @@ const _fe = (M) => {
|
|
|
793
793
|
}, Fn = () => {
|
|
794
794
|
const M = zE();
|
|
795
795
|
return M ? (Q, ...a) => M.global.t(`bimxViewer.${Q}`, ...a) : (Q) => Q;
|
|
796
|
-
}, Gz = "https://bimkk-api
|
|
796
|
+
}, Gz = "https://bimkk-api.tcbim.com", cr = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", Wz = "https://convert.tcbim.com", _i = Dz();
|
|
797
797
|
let Bc = {
|
|
798
798
|
BIMX_CONFIGS: {
|
|
799
799
|
viewerManager: !1,
|
|
@@ -129395,19 +129395,19 @@ const whe = { class: "bcf_wrapper" }, xhe = { class: "bcf_content" }, Che = { cl
|
|
|
129395
129395
|
__proto__: null,
|
|
129396
129396
|
default: ZM
|
|
129397
129397
|
}, Symbol.toStringTag, { value: "Module" })), ife = {
|
|
129398
|
-
StructureTree: ma(() => import("./StructureTree-
|
|
129399
|
-
InspectorTool: ma(() => import("./InspectorTool-
|
|
129400
|
-
RoamTool: ma(() => import("./RoamTool-
|
|
129401
|
-
HiddenTool: ma(() => import("./HiddenTool-
|
|
129402
|
-
MeasureTool: ma(() => import("./MeasureTool-
|
|
129403
|
-
SectionTool: ma(() => import("./SectionTool-
|
|
129404
|
-
CommentTool: ma(() => import("./CommentTool-
|
|
129405
|
-
AnnotationTool: ma(() => import("./AnnotationTool-
|
|
129406
|
-
ScreenShotTool: ma(() => import("./ScreenShotTool-
|
|
129407
|
-
SettingTool: ma(() => import("./SettingTool-
|
|
129408
|
-
NavigateTool: ma(() => import("./NavigateTool-
|
|
129398
|
+
StructureTree: ma(() => import("./StructureTree-vv8HnIii.mjs")),
|
|
129399
|
+
InspectorTool: ma(() => import("./InspectorTool-B058fBid.mjs")),
|
|
129400
|
+
RoamTool: ma(() => import("./RoamTool-Bgdy4dAF.mjs")),
|
|
129401
|
+
HiddenTool: ma(() => import("./HiddenTool-D26ih-kX.mjs")),
|
|
129402
|
+
MeasureTool: ma(() => import("./MeasureTool-BgWpRhtI.mjs")),
|
|
129403
|
+
SectionTool: ma(() => import("./SectionTool-D4y-W2cu.mjs")),
|
|
129404
|
+
CommentTool: ma(() => import("./CommentTool-C3hDmNLC.mjs")),
|
|
129405
|
+
AnnotationTool: ma(() => import("./AnnotationTool-BevJEQLf.mjs")),
|
|
129406
|
+
ScreenShotTool: ma(() => import("./ScreenShotTool-BLdvCs--.mjs")),
|
|
129407
|
+
SettingTool: ma(() => import("./SettingTool-D71E-pI1.mjs")),
|
|
129408
|
+
NavigateTool: ma(() => import("./NavigateTool-6DcpLY_B.mjs")),
|
|
129409
129409
|
BCFTool: ma(() => Promise.resolve().then(() => rfe)),
|
|
129410
|
-
MouseTool: ma(() => import("./MouseTool-
|
|
129410
|
+
MouseTool: ma(() => import("./MouseTool-DyeMRpWi.mjs"))
|
|
129411
129411
|
}, nfe = qb("userInfo", {
|
|
129412
129412
|
state: () => ({
|
|
129413
129413
|
userId: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as r, T as o } from "./index-
|
|
1
|
+
import { H as r, T as o } from "./index-DjyQVMs9.mjs";
|
|
2
2
|
import { defineComponent as c, ref as u, onMounted as p, createBlock as m, openBlock as h, unref as l, withCtx as _, createElementVNode as e, normalizeStyle as g, toDisplayString as f, createVNode as w, renderSlot as k } from "vue";
|
|
3
3
|
import { ElDialog as v } from "element-plus";
|
|
4
4
|
const y = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as g, C as t, T as r, K as y, L as x, H as S, I as k } from "./index-
|
|
1
|
+
import { B as g, C as t, T as r, K as y, L as x, H as S, I as k } from "./index-DjyQVMs9.mjs";
|
|
2
2
|
import { defineComponent as P, ref as c, onMounted as W, watch as b, createElementBlock as f, openBlock as _, normalizeStyle as w, createElementVNode as o, createCommentVNode as C, toDisplayString as T, createVNode as N, unref as h, renderSlot as B } from "vue";
|
|
3
3
|
const E = { class: "tall_panel_content" }, H = { class: "panel_top" }, $ = { class: "panel_title" }, L = { class: "panel_close" }, I = { class: "panel_content" }, M = {
|
|
4
4
|
key: 0,
|