| 1 |
- (function(e){function t(t){for(var i,r,c=t[0],s=t[1],l=t[2],m=0,u=[];m<c.length;m++)r=c[m],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&u.push(n[r][0]),n[r]=0;for(i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i]);d&&d(t);while(u.length)u.shift()();return a.push.apply(a,l||[]),o()}function o(){for(var e,t=0;t<a.length;t++){for(var o=a[t],i=!0,c=1;c<o.length;c++){var s=o[c];0!==n[s]&&(i=!1)}i&&(a.splice(t--,1),e=r(r.s=o[0]))}return e}var i={},n={index:0},a=[];function r(t){if(i[t])return i[t].exports;var o=i[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=i,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(o,i,function(t){return e[t]}.bind(null,i));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var c=window["webpackJsonp"]=window["webpackJsonp"]||[],s=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var d=s;a.push([0,"chunk-vendors"]),o()})({0:function(e,t,o){e.exports=o("56d7")},"003a":function(e,t,o){"use strict";o("fa62")},"010d":function(e,t,o){"use strict";o("9dfa")},"0410":function(e,t,o){e.exports=o.p+"img/ico-voice-message-white.99202057.png"},"043d":function(e,t,o){"use strict";o("56da")},"04b3":function(e,t,o){e.exports=o.p+"img/close.0fb8dc6e.png"},"0795":function(e,t,o){e.exports=o.p+"img/face-check.451b5498.png"},"0d85":function(e,t,o){e.exports=o.p+"img/pic-default.1390d7c7.png"},"0de3":function(e,t,o){"use strict";o("c9144")},"0e31":function(e,t,o){e.exports=o.p+"img/ico-voice-message-play.1c474ffb.gif"},"0ec3":function(e,t,o){e.exports=o.p+"img/add-viewport.f96e9cfc.png"},"0fe9":function(e,t,o){},"103c":function(e,t,o){"use strict";o("34c5")},1326:function(e,t,o){"use strict";o("7043")},1361:function(e,t,o){"use strict";o("4896")},"13bf":function(e,t,o){"use strict";o("55c8")},1474:function(e,t,o){},1502:function(e,t,o){},1615:function(e,t,o){"use strict";o("58c3")},1619:function(e,t,o){"use strict";o("9d32")},1635:function(e,t,o){e.exports=o.p+"img/anno-edit-ico.da564943.png"},"1a3e":function(e,t,o){e.exports=o.p+"img/close.9a72d829.png"},"1a82":function(e,t,o){"use strict";o("3265")},"1bf9":function(e,t,o){"use strict";o("2cf2")},"1c56":function(e,t,o){"use strict";o("375f")},"1f58":function(e,t,o){},"1f9b":function(e,t,o){e.exports=o.p+"img/ico-arrow-right-blue.e18b7ce4.png"},"21ae":function(e,t,o){},2216:function(e,t,o){e.exports=o.p+"img/file-markTab.1ff8d17c.png"},2473:function(e,t,o){"use strict";o("5eeb")},"25db":function(e,t,o){},"260f":function(e,t,o){"use strict";o("8f0b")},"269f":function(e,t,o){},2700:function(e,t,o){},2748:function(e,t,o){e.exports=o.p+"img/icon-add.d2680a91.png"},"27ab":function(e,t,o){"use strict";o("54af")},"27f8":function(e,t,o){"use strict";o("a55d")},"2a24":function(e,t,o){"use strict";o("cc2b")},"2a77":function(e,t,o){e.exports=o.p+"img/return-icon.1cb36f98.png"},"2b82":function(e,t,o){e.exports=o.p+"img/ico-tag-line.ea7ac565.png"},"2cf2":function(e,t,o){},"30f3":function(e,t,o){e.exports=o.p+"img/ico-anno-nosee.7a6165ce.png"},3261:function(e,t,o){e.exports=o.p+"img/warn-icon.b36570cd.png"},3265:function(e,t,o){},"34c5":function(e,t,o){},"375f":function(e,t,o){},"37cf":function(e,t,o){"use strict";o("6bd3")},"388e":function(e,t,o){},3992:function(e,t,o){"use strict";o.r(t),t["default"]=[{groupName:"常用金属材料",materials:[{type:"铁",childs:[{name:"灰口铸铁",density:"6.6~7.4"},{name:"白口铸铁",density:"7.4~7.7"},{name:"可锻铸铁",density:"7.2~7.4"},{name:"工业纯铁",density:"7.87"}]},{type:"钢",childs:[{name:"铸钢",density:"7.80"},{name:"普通碳素钢",density:"7.85"},{name:"优质碳素钢",density:"7.85"},{name:"碳素工具钢",density:"7.85"},{name:"易切钢",density:"7.85"},{name:"锰钢",density:"7.81"},{name:"15CrA铬钢",density:"7.74"},{name:"20Cr铬钢",density:"7.82"},{name:"30Cr铬钢",density:"7.82"},{name:"40Cr铬钢",density:"7.82"},{name:"38CrA铬钢",density:"7.80"},{name:"铬钒钢",density:"7.85"},{name:"铬镍钢",density:"7.85"},{name:"铬镍钼钢",density:"7.85"},{name:"铬锰钢",density:"7.85"},{name:"硅钢",density:"7.85"},{name:"铬锰钢",density:"7.85"},{name:"硅镍钢",density:"7.85"},{name:"硅锰钢",density:"7.85"},{name:"硅铬钢",density:"7.85"},{name:"铬镍钨钢",density:"7.80"},{name:"铬钼铝钢",density:"7.65"},{name:"含钨9高速工具钢",density:"8.30"},{name:"含钨18高速工具钢",density:"8.70"},{name:"高强度合金钢",density:"7.82"},{name:"轴承钢",density:"7.81"}]},{type:"不锈钢",childs:[{name:"0Cr13不锈钢\t",density:"7.75"},{name:"1Cr13不锈钢",density:"7.75"},{name:"2Cr13不锈钢",density:"7.75"},{name:"3Cr13不锈钢",density:"7.75"},{name:"4Cr13不锈钢",density:"7.75"},{name:"Cr17Ni2不锈钢",density:"7.75"},{name:"Cr18不锈钢",density:"7.75"},{name:"9Cr18不锈钢",density:"7.75"},{name:"Cr25不锈钢",density:"7.75"},{name:"Cr28不锈钢",density:"7.75"},{name:"Cr14不锈钢",density:"7.70"},{name:"Cr17不锈钢",density:"7.70"},{name:"0Cr18Ni9不锈钢",density:"7.85"},{name:"1Cr18Ni9不锈钢",density:"7.85"},{name:"Cr18Ni9Ti不锈钢",density:"7.85"},{name:"2Cr18Ni9不锈钢",density:"7.85"},{name:"1Cr18Ni11Si4A1Ti不锈钢",density:"7.52"},{name:"1Crl8NillNb不锈钢",density:"7.90"},{name:"Cr23Ni18不锈钢",density:"7.90"},{name:"2Cr13Ni4Mn9不锈钢",density:"8.50"},{name:"3Cr13Ni7Si2不锈钢",density:"8.00"}]},{type:"纯铜材",childs:[{name:"纯铜材",density:"8.90"}]},{type:"青铜",childs:[{name:"7铝青铜",density:"7.80"},{name:"19-2铝青铜",density:"7.60"},{name:"9-4铝青铜",density:"7.50"},{name:"10-3-1.5铝青铜",density:"7.50"},{name:"10-4-4铝青铜",density:"7.46"},{name:"铍青铜",density:"8.30"},{name:"3-1硅青铜",density:"8.47"},{name:"1-3硅青铜",density:"8.60"},{name:"1铍青铜",density:"8.80"},{name:"0.5镉青铜",density:"8.90"},{name:"0.5铬青铜",density:"8.90"},{name:"1.5锰青铜",density:"8.80"},{name:"5锰青铜\t",density:"8.60"},{name:"5-5-5铸锡青铜",density:"8.80"},{name:"3-12-5铸锡青铜",density:"8.69"},{name:"6-6-3铸锡青铜",density:"8.82"},{name:"7-0.2锡青铜",density:"8.80"},{name:"6.5-0.4锡青铜",density:"8.80"},{name:"6.5-0.1锡青铜",density:"8.80"},{name:"4-3锡青铜",density:"8.80"},{name:"4-0.3锡青铜",density:"8.90"},{name:"4-4-4锡青铜",density:"8.90"},{name:"4-4-2.5锡青铜",density:"8.75"},{name:"5铝青铜",density:"8.20"}]},{type:"白铜",childs:[{name:"B5白铜",density:"8.90"},{name:"B19白铜",density:"8.90"},{name:"B30白铜",density:"8.90"},{name:"BMn40-1.5白铜",density:"8.90"},{name:"BMn3-12白铜",density:"8.40"},{name:"BZN15-20白铜",density:"8.60"},{name:"BA16-1.5白铜",density:"8.70"},{name:"BA113-3白铜",density:"8.50"}]},{type:"黄铜",childs:[{name:"59黄铜",density:"8.50"},{name:"62黄铜",density:"8.50"},{name:"65黄铜",density:"8.50"},{name:"68黄铜",density:"8.50"},{name:"80黄铜",density:"8.70"},{name:"85黄铜",density:"8.70"},{name:"90黄铜",density:"8.70"},{name:"96黄铜",density:"8.80"},{name:"59-1铅黄铜",density:"8.50"},{name:"63-3铅黄铜",density:"8.50"},{name:"74-3铅黄铜",density:"8.70"},{name:"90-1锡黄铜",density:"8.80"},{name:"70-1锡黄铜\t",density:"8.54"},{name:"60-1锡黄铜",density:"8.50"},{name:"62-1锡黄铜",density:"8.50"},{name:"77-2铝黄铜",density:"8.60"},{name:"67-2.5铝黄铜",density:"8.50"},{name:"66-6-3-2铝黄铜",density:"8.50"},{name:"60-1-1铝黄铜",density:"8.50"},{name:"镍黄铜",density:"8.50"},{name:"锰黄铜",density:"8.50"},{name:"硅黄铜",density:"8.50"},{name:"镍黄铜",density:"8.50"},{name:"铁黄铜",density:"8.50"}]},{type:"纯铝",childs:[{name:"纯铝",density:"2.70"}]},{type:"防锈铝",childs:[{name:"LF2防锈铝",density:"2.68"},{name:"LF43防锈铝",density:"2.68"},{name:"LF3防锈铝",density:"2.67"},{name:"LF5防锈铝",density:"2.65"},{name:"LF10防锈铝",density:"2.65"},{name:"LF11防锈铝",density:"2.65"},{name:"LF6防锈铝",density:"2.64"},{name:"LF21防锈铝",density:"2.73"}]},{type:"硬铝",childs:[{name:"LY1硬铝",density:"2.76"},{name:"LY2硬铝",density:"2.76"},{name:"LY4硬铝",density:"2.76"},{name:"LY6硬铝",density:"2.76"},{name:"LY3硬铝",density:"2.73"},{name:"LY7硬铝",density:"2.80"},{name:"LY8硬铝",density:"2.80"},{name:"LY10硬铝",density:"2.80"},{name:"LY11硬铝",density:"2.80"},{name:"LY14硬铝",density:"2.80"},{name:"LY9硬铝",density:"2.78"},{name:"LY12硬铝",density:"2.78"},{name:"LY16硬铝",density:"2.84"},{name:"LY17硬铝",density:"2.84"},{name:"超硬铝",density:"2.85"}]},{type:"锻铝",childs:[{name:"LD2锻铝",density:"2.70"},{name:"LD30锻铝",density:"2.70"},{name:"LD4锻铝",density:"2.65"},{name:"LD5锻铝",density:"2.75"},{name:"LD8锻铝",density:"2.77"},{name:"LD7锻铝",density:"2.80"},{name:"LD9锻铝",density:"2.80"},{name:"LD10锻铝",density:"2.80"}]},{type:"LT1特殊铝",childs:[{name:"LT1特殊铝",density:"2.75"}]},{type:"工业纯镁",childs:[{name:"工业纯镁",density:"1.74"}]},{type:"铸镁",childs:[{name:"铸镁",density:"1.80"}]},{type:"变形镁",childs:[{name:"MB1变形镁",density:"1.76"},{name:"MB2变形镁",density:"1.78"},{name:"MB8变形镁",density:"1.78"},{name:"MB3变形镁",density:"1.79"},{name:"MB5变形镁",density:"1.80"},{name:"MB6变形镁",density:"1.80"},{name:"MB7变形镁",density:"1.80"},{name:"MB15变形镁",density:"1.80"}]},{type:"工业纯钛",childs:[{name:"TA1工业纯钛",density:"4.50"},{name:"TA2工业纯钛",density:"4.50"},{name:"TA3工业纯钛",density:"4.50"}]},{type:"钛合金",childs:[{name:"TA4钛合金",density:"4.45"},{name:"TA5钛合金",density:"4.45"},{name:"TC6钛合金",density:"4.45"},{name:"TA6钛合金",density:"4.40"},{name:"TA7钛合金",density:"4.46"},{name:"TC5钛合金",density:"4.46"},{name:"TA8钛合金",density:"4.56"},{name:"TB1钛合金",density:"4.89"},{name:"TB2钛合金",density:"4.89"},{name:"TC1钛合金",density:"4.55"},{name:"TC2钛合金",density:"4.55"},{name:"TC3钛合金",density:"4.43"},{name:"TC4钛合金",density:"4.43"},{name:"TC7钛合金",density:"4.40"},{name:"TC8钛合金",density:"4.48"},{name:"TC9钛合金",density:"4.52"},{name:"TC10钛合金",density:"4.53"}]},{type:"镍、镍合金",childs:[{name:"纯镍",density:"8.85"},{name:"阳极镍",density:"8.85"},{name:"电真空镍",density:"8.85"},{name:"镍铜合金",density:"8.85"},{name:"镍镁合金",density:"8.85"},{name:"镍硅合金",density:"8.85"},{name:"镍铬合金",density:"8.72"}]},{type:"锌、锌合金",childs:[{name:"Zn0.1锌锭",density:"7.15"},{name:"Zn1锌锭",density:"7.15"},{name:"Zn2锌锭",density:"7.15"},{name:"Zn3锌锭",density:"7.15"},{name:"铸锌",density:"6.86"},{name:"4-1铸造锌铝合金",density:"6.90"},{name:"4-0.5铸造锌铝合金",density:"6.75"}]},{type:"铅、铅合金",childs:[{name:"铅和铅锑合金",density:"11.37"},{name:"铅阳极板",density:"11.33"}]}]},{groupName:"常用非金属材料",materials:[{type:"塑料",childs:[{name:"ABS 丙烯腈-丁二烯-苯乙烯",density:"1.05~1.18"},{name:"PA 尼龙",density:"1.15"},{name:"PE 聚乙烯",density:"0.92~0.95"},{name:"PVC 聚氯乙烯",density:"1.35~1.40"},{name:"PS 聚苯乙烯",density:"1.05~1.07"},{name:"PP 聚丙烯",density:"0.9~0.91"},{name:"POM 聚甲醛",density:"1.41~1.43"},{name:"PPO 聚苯醚",density:"1.06~1.07"},{name:"泡沫塑料",density:"0.2"},{name:"松香",density:"1.07"},{name:"天然树脂",density:"1.0~1.1"},{name:"赛璐珞",density:"1.35~1.4"},{name:"电木(胶木)",density:"1.3~1.4"}]},{type:"木材",childs:[{name:"红松",density:"0.44"},{name:"杉木",density:"0.376~0.417"},{name:"落叶松",density:"0.594~0.625"},{name:"铁杉",density:"0.5"},{name:"柏木",density:"0.45~0.59"},{name:"水曲柳",density:"0.686"},{name:"榆木",density:"0.548"},{name:"桦木",density:"0.615"},{name:"杨木",density:"0.486"},{name:"柞木",density:"0.766"},{name:"楠木",density:"0.61"},{name:"核桃木",density:"0.67"},{name:"黄杨木",density:"0.97"},{name:"软木",density:"0.1~0.4"},{name:"压制木材",density:"1.18"},{name:"胶合板",density:"0.56"},{name:"刨花板",density:"0.4"}]},{type:"石材",childs:[{name:"大理石",density:"2.6~2.7"},{name:"花岗石",density:"2.6~3.0"},{name:"金刚石",density:"3.5~3.6"},{name:"滑石",density:"2.6~2.8"},{name:"天然浮石",density:"0.4~0.9"},{name:"石灰石",density:"2.6~2.8"},{name:"砂岩",density:"2.2~2.5"},{name:"石英",density:"2.5~2.8"},{name:"普通砖",density:"1.7"},{name:"硅耐火砖",density:"1.8~1.9"},{name:"镁耐火砖",density:"2.6"},{name:"镁铬耐火砖",density:"2.8"},{name:"高铬耐火砖",density:"2.2~2.5"}]},{type:"橡胶",childs:[{name:"普通橡胶",density:"1.07~1.3"},{name:"工业橡胶",density:"1.3~1.8"},{name:"平胶板",density:"1.6~1.8"},{name:"电工用硬橡胶",density:"1.25"},{name:"硫化橡胶",density:"1"},{name:"橡胶石棉板",density:"2"},{name:"夹纸胶板",density:"1.3~1.4"}]},{type:"玻璃",childs:[{name:"有机玻璃",density:"1.18"},{name:"玻璃",density:"2.5~2.7"},{name:"石英玻璃",density:"2.2"},{name:"试验器皿玻璃",density:"2.45"},{name:"耐高温玻璃",density:"2.23"}]},{type:"石棉",childs:[{name:"石棉板",density:"1.3~1.4"},{name:"石棉线",density:"0.45~0.55"},{name:"石棉绳",density:"1.11"},{name:"纤维蛇纹石棉",density:"2.2~2.4"},{name:"角闪石石棉",density:"3.2~3.3"}]},{type:"竹材",childs:[{name:"竹材",density:"0.9"}]},{type:"陶瓷",childs:[{name:"陶瓷",density:"2.23~2.45"}]},{type:"其它",childs:[{name:"木炭",density:"0.3~0.5"},{name:"石墨",density:"1.9~2.3"},{name:"石膏",density:"2.3~2.4"},{name:"石灰",density:"1.1~1.2"},{name:"水泥",density:"0.82~1.95"},{name:"粘土",density:"1.6~2.9"},{name:"混凝土",density:"1.8~2.5"},{name:"金刚砂",density:"4"},{name:"普通刚玉",density:"3.85~3.9"},{name:"碳化硅",density:"3.1"},{name:"水晶",density:"2.6"},{name:"云母",density:"2.7~3.1"},{name:"无烟煤",density:"1.4~1.7"},{name:"烟煤",density:"1.2~1.5"},{name:"焦炭",density:"1.25~1.4"},{name:"沥青",density:"0.9~1.5"},{name:"石蜡",density:"0.9"},{name:"地蜡",density:"0.96"},{name:"衬垫纸",density:"0.9"},{name:"纤维纸板",density:"1.1~1.4"},{name:"防水纸",density:"1.0~1.1"},{name:"毛毡",density:"0.24~0.38"},{name:"干皮革",density:"0.86"},{name:"油皮革",density:"1.02"},{name:"尼龙",density:"1.04~1.4"},{name:"亚麻",density:"1.79"},{name:"碳化钙(电石)",density:"2.22"}]}]}]},"39d5":function(e,t,o){},"3b08":function(e,t,o){"use strict";o("64cb")},"3c3a":function(e,t,o){},"3c8f":function(e,t,o){var i={"./nomsg-en.png":"9175","./nomsg-zh.png":"e5e0"};function n(e){var t=a(e);return o(t)}function a(e){if(!o.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}n.keys=function(){return Object.keys(i)},n.resolve=a,e.exports=n,n.id="3c8f"},"3da7":function(e,t,o){},"41c8":function(e,t,o){e.exports=o.p+"img/radio-check.818b2d54.png"},4275:function(e,t,o){},"433e":function(e,t,o){e.exports=o.p+"img/anno-delete-ico.5dc4802b.png"},"43a2":function(e,t,o){},"441e":function(e,t,o){},"449f":function(e,t,o){"use strict";o("7ee4")},4521:function(e,t,o){e.exports=o.p+"img/all-screen.c2fae790.png"},4568:function(e,t,o){e.exports=o.p+"img/narrow-icon.c9de7c83.png"},"46b6":function(e,t,o){"use strict";o("63bd")},4734:function(e,t,o){},4896:function(e,t,o){},"494f":function(e,t,o){e.exports=o.p+"img/ico-anno-see.686aef2c.png"},"51cb":function(e,t,o){e.exports=o.p+"img/rotate-cw.c3efdb59.png"},"526e":function(e,t,o){"use strict";o("4734")},"538a":function(e,t,o){"use strict";o.r(t),t["default"]=[{groupName:"Materials",materials:[{type:"Iron",childs:[{name:"Ductile Iron",density:"7.1"},{name:"Ductile Iron (SN)",density:"7.1"},{name:"Grey Cast Iron",density:"7.2"},{name:"Malleable Cast Iron",density:"7.3"}]},{type:"Steel",childs:[{name:"1023 Carbon Steel Sheet (SS)",density:"7.858"},{name:"201 Annealed Stainless Steel (SS)",density:"7.86"},{name:"A286 Iron Base Superalloy",density:"7.92"},{name:"AISI 1010 Steel, hot rolled bar",density:"7.87"},{name:"AISI 1015 Steel, Cold Drawn (SS)",density:"7.87"},{name:"AISI 1020",density:"7.90"},{name:"AISI 1020 Steel, Cold Rolled",density:"7.87"},{name:"AISI 1035 Steel (SS)",density:"7.85"},{name:"AISI 1045 Steel, cold drawn",density:"7.85"},{name:"AISI 304",density:"8.00"},{name:"AISI 316 Stainless Steel Bar (SS)",density:"8.00"},{name:"AISI 321 Annealed Stainless Steel (SS)",density:"8.00"},{name:"AISI 4130 Steel, annealed at 865C",density:"7.85"},{name:" AISI 4340 Steel, annealed",density:"7.85"},{name:" AISI Type 316L stainless steel",density:"8.027"},{name:" AISI Type A2 Tool Steel",density:"7.86"},{name:" Alloyed Steel",density:"7.70"},{name:" ASTM A36 Steel",density:"7.85"},{name:" Cast Alloyed Steel",density:"7.30"},{name:" Cast Carbon Steel",density:"7.80"},{name:" Cast Stainless Steel",density:"7.70"},{name:" Chrome Stainless Steel",density:"7.80"},{name:" Galvanized Steel ",density:"7.87"},{name:" Plain Carbon Steel",density:"7.80"},{name:" Stainless Steel(ferritic)",density:"7.80"},{name:" Wrought Stainless Steel",density:"8.00"}]},{type:" Aluminium Alloys",childs:[{name:" 1060 Alloy",density:"2.70"},{name:" 1100-H12 Rod (SS)",density:"2.71"},{name:" 1345 Alloy",density:"2.70"},{name:" 1350 Alloy",density:"2.70"},{name:" 2014 Alloy",density:"2.80"},{name:" 2018 Alloy",density:"2.80"},{name:" 2024 Alloy",density:"2.80"},{name:" 2219-O",density:"2.84"},{name:" 2618-T61 (SS)",density:"2.76"},{name:" 3003 Alloy",density:"2.70"},{name:" 3004-H34, Rod (SS)",density:"2.72"},{name:" 4032-T6",density:"2.68"},{name:" 5052-H32",density:"2.68"},{name:" 5086-H32, Rod (SS)",density:"2.66"},{name:" 5154-O, Rod (SS)",density:"2.66"},{name:" 5454-H111",density:"2.69"},{name:" 6061 Alloy",density:"2.70"},{name:" 6063-O",density:"2.70"},{name:" 7050-T73510",density:"2.83"},{name:" 7079 Alloy",density:"2.70"},{name:" Alumina",density:"3.96"}]},{type:" Silicons",childs:[{name:" Silicon",density:"2.33"},{name:" Silicon Dioxide",density:"2.65"}]},{type:"Copper Alloys",childs:[{name:"Aluminum Bronze",density:"7.40"},{name:"Berylium Copper, UNS C17000",density:"8.26"},{name:"Berylium Copper, UNS C17200",density:"8.25"},{name:"Berylium Copper, UNS C17300",density:"8.25"},{name:"Berylium S-200F, Vacuum Hot Pressed",density:"1.85"},{name:"Berylium S-65C, Vacuum Hot Pressed",density:"1.84"},{name:"Chromium Copper, UNS C18200",density:"8.89"},{name:"Commercial Bronze, UNS C22000 (90-10 Bronze)",density:"8.80"},{name:"Copper",density:"8.90"},{name:"Copper-Cobalt-Beryllium alloy, UNS C17500",density:"8.75"},{name:"Free-Cutting Brass, UNS C36000",density:"8.49"},{name:"High-leaded brass, UNS C34200",density:"8.50"},{name:"Leaded Commercial Bronze",density:"8.70"},{name:"Manganese Bronze",density:"8.30"},{name:"Nickel silver 65-12, UNS C75700",density:"8.69"},{name:"Phosphor bronze 10% D, UNS C52400",density:"8.78"},{name:"Tin Bearing Bronze",density:"8.30"},{name:"Wrought Copper",density:"8.40"}]},{type:" Titanium Alloys",childs:[{name:"Commercially Pure CP-Ti UNS R50400 (SS)",density:"4.51"},{name:"Ti-10V-2Fe-3Al Solution Treated Bar(SS)",density:"4.65"},{name:"Ti-3Al-8V-6Cr-4Mo-4Zr (SS)",density:"4.82"},{name:"Ti-5Al-2.55n Annealed (SS)",density:"4.48"},{name:"Ti-6Al-2Sn-2Zr-2Mo-2Cr-0.25Si (SS)",density:"4.65"},{name:"Ti-6Al-4VSolution treated and aged (SS)",density:"4.43"},{name:"Ti-8Al-1Mo-1V annealed sheet (SS)",density:"4.37"},{name:"Titanium Ti-13V-11Cr-3Al Solution Treated",density:"4.82"},{name:"TIMETAL 35A CP Titanuim (ASTM Grade 1) 99.1 Ti",density:"4.51"},{name:"Titanium Ti-5Al-2.5Sn",density:"4.48"},{name:"Titanium Ti-8Al-1Mo-1V",density:"4.37"},{name:"Titanium Ti-8Mn, Annealed",density:"4.73"},{name:"Ti-8Mn annealed sheet (SS)",density:"4.73"}]},{type:" Zinc Alloys",childs:[{name:"Zinc AC41A Alloy, As Cast",density:"6.70"},{name:"Zinc AC43A (Zn-4Al-2.5Cu-0.04Mg; Number 2 Die Casting Alloy; Zamak 2), Die Cast",density:"6.60"},{name:"Zinc AG40A (Zn-4Al-0.4Mg; Zamak 3), Cast",density:"6.60"},{name:"Zinc Alloy 7; AG40B; Zn-4Al-0.015Mg",density:"6.60"}]},{type:" Other Alloys",childs:[{name:" Duranickel(R) 301",density:"8.20"},{name:"Magnesium Alloy",density:"1.70"},{name:"Monel(R) 400",density:"8.80"}]},{type:" Plastics",childs:[{name:"ABS",density:"1.02"},{name:"ABS PC",density:"1.07"},{name:"Acrylic (Medium-high impact)",density:"1.20"},{name:"CA",density:"1.31"},{name:"Epoxy, Unfilled",density:"1.10"},{name:"Delrin 2700 NC010, Low Viscosity Acetal Copolymer (SS)",density:"1.41"},{name:"EPDM",density:"0.90"},{name:"Melamine resin",density:"1.47"},{name:"Nylon 101",density:"1.15"},{name:"Nylon 6/10",density:"1.40"},{name:"PA Type 6",density:"1.12"},{name:"PBT General Purpose",density:"1.30"},{name:"PC High Viscosity",density:"1.19"},{name:"PE High Density",density:"0.95"},{name:"PE Low/Medium Density",density:"0.92"},{name:"Perspex(TM) GS Acrylic Cast Sheet",density:"1.19"},{name:"PF",density:"1.40"},{name:"Polybutadiene (PB)",density:"0.97"},{name:"PBTP",density:"1.31"},{name:"PEI",density:"1.27"},{name:"Polyester Resin",density:"1.16"},{name:"Polyether Polyol",density:"1.02"},{name:"Polytheretherketone (PEEK)",density:"1.31"},{name:"Polyethylene Cross-Linked",density:"0.95"},{name:"PE High Density Film",density:"0.95"},{name:"PE Low Density Film",density:"0.92"},{name:"PET",density:"1.42"},{name:"PMMA",density:"1.19"},{name:"POM Acetal Copolymer",density:"1.39"},{name:"PP Copolymer",density:"0.89"},{name:"PPE",density:"0.89"},{name:"PPS",density:"1.57"},{name:"PP Homopolymer",density:"0.93"},{name:"PP Film",density:"0.91"},{name:"PS Medium/High Flow",density:"1.04"},{name:"PS HI",density:"1.08"},{name:"PTFE (general)",density:"2.32"},{name:"PUR",density:"1.26"},{name:"PVAL",density:"1.19"},{name:"PVB",density:"1.05"},{name:"PVC 0.007 Plasticized",density:"1.29"},{name:"PVC Rigid",density:"1.30"},{name:"Sheet Moulding Compound",density:"1.40"},{name:"SMA",density:"1.07"},{name:"Very Low Density PE (SS)",density:"0.91"}]},{type:" Other Metals",childs:[{name:"Beryllium",density:"1.84"},{name:"Cobalt",density:"8.90"},{name:"Molybdenum",density:"10.00"},{name:"Nickel",density:"8.50"},{name:"Pure Gold",density:"19.00"},{name:"Pure Lead",density:"11.00"},{name:"Pure Silver",density:"11.00"},{name:"Titanium",density:"4.60"},{name:"Tungsten",density:"19.00"},{name:"Vanadium",density:"6.10"},{name:"Zirconium",density:"6.60"}]},{type:" Other Non-metals",childs:[{name:"Air",density:"0.0011"},{name:"Ceramic Porcelain",density:"2.30"},{name:"Corrugated Paper",density:"0.156"},{name:"Glass",density:"2.46"},{name:"C (Graphite)",density:"2.24"},{name:"Polyurethane Foam Flexible",density:"0.016"},{name:"Polyurethane Foam Rigid",density:"0.16"},{name:"Rubber",density:"1.00"},{name:"Water",density:"1.00"}]},{type:"Carbon Fibers",childs:[{name:"Hexcel AS4C (3000 Filaments)",density:"1.78"},{name:"Thrornel Mat VMA",density:"2.00"},{name:"Thrornel VCB-20 Carbon Cloth",density:"1.88"},{name:"Zoltek Panex 33",density:"1.81"}]},{type:" Rubber",childs:[{name:" BUTYL",density:"1.16"},{name:"EPDM 60 Durometer",density:"1.18"},{name:"EPICHLOROHYDRIN",density:"1.50"},{name:"HYPALON",density:"1.32"},{name:"Natural Rubber",density:"0.96"},{name:"NBR",density:"1.15"},{name:"NEOPRENE",density:"1.29"},{name:"POLYURETHANE (11671)",density:"1.225"},{name:"SANTOPRENE",density:"0.98"},{name:"SBR",density:"0.94"},{name:"Silicon Rubber",density:"1.25"},{name:"VITON",density:"1.93"}]},{type:" Woods",childs:[{name:" Balsa",density:"0.16"},{name:"Beech",density:"0.56"},{name:"Cedar",density:"0.47"},{name:"Mahogany",density:"0.60"},{name:"Maple",density:"0.49"},{name:"Oak",density:"0.56"},{name:"Pine",density:"0.34"},{name:"Teak",density:"0.63"}]}]},{groupName:"DIN Material",materials:[{type:"DIN Aluminum Alloys",childs:[{name:"3.0205(EN-AW 1200)",density:"2.70"},{name:"3.0255(EN-AW 1350A)",density:"2.70"},{name:"3.0505(EN-AW 3105)",density:"2.71"},{name:"3.0515(EN-AW 3103)",density:"2.73"},{name:"3.0517(EN-AW 3003)",density:"2.73"},{name:"3.0526(EN-AW 3004)",density:"2.70"},{name:"3.0526(EN-AW 3005)",density:"2.72"},{name:"3.1255(EN-AW 2014)",density:"2.80"},{name:"3.1305(EN-AW 2117)",density:"2.80"},{name:"3.1325(EN-AW 2017A)",density:"2.80"},{name:"3.1355(EN-AW 2024)",density:"2.78"},{name:"3.1645(EN AW-2007)",density:"2.70"},{name:"3.1645(EN-AW 2030)",density:"2.85"}]},{type:" Wood",childs:[{name:" Pinus Koraiensis",density:"0.44"},{name:" Cedarwood",density:"0.376~0.417"},{name:" Larix Gmelinii",density:"0.594~0.625"},{name:" Hemlock",density:"0.5"},{name:" Weeping Cypress",density:"0.45~0.59"},{name:" Manchurian Ash",density:"0.686"},{name:" Elm",density:"0.548"},{name:" Birch",density:"0.615"},{name:" Aspen Wood",density:"0.486"},{name:" Chinese Oak",density:"0.766"},{name:" Nanmu",density:"0.61"},{name:" Hickory",density:"0.67"},{name:" Boxwood",density:"0.97"},{name:" Cork",density:"0.1~0.4"},{name:" Compressed Pattern Lumber",density:"1.18"},{name:" Plywood",density:"0.56"},{name:" Shaving Board",density:"0.4"}]},{type:"DIN Copper Alloys",childs:[{name:" 2.0060(Cu-ETF)",density:"8.90"},{name:" 2.0090(Cu-DHP)",density:"8.90"},{name:"2.0936(CuAl10Fe3Mn2)",density:"7.50"},{name:"2.0966(CuAl10Ni5Fe4)",density:"7.5"},{name:"2.0261(CuZn28)",density:"8.60"},{name:"2.0321(CuZn37)",density:"8.40"},{name:"2.0367(CuZn40)",density:"8.39"},{name:"2.0490(CuZn31Si1)",density:"8.30"},{name:"2.0510(CuZn38Mn1Al)",density:"8.30"},{name:" 2.0572(CuZn40Mn2Fe1)",density:"8.30"},{name:"2.0371(CuZn38Pb2)",density:"8.40"},{name:"2.0375(CuZn36Pb3)",density:"8.50"},{name:"2.0402(CuZn40Pb2)",density:"8.40"},{name:" 2.1016(CuSn4)",density:"8.86"},{name:"2.1020(CuSn6)",density:"8.80"},{name:"2.1030(CuSn8)",density:"8.80"},{name:" 2.1030(CuSn8P)",density:"8.80"}]},{type:"DIN Iron",childs:[{name:"0.6010(EN-GJL-100)",density:"7.25"},{name:"0.6015(EN-GJL-150)",density:"7.25"},{name:"0.6020(EN-GJL-200)",density:"7.25"},{name:"0.6025(EN-GJL-250)",density:"7.25"},{name:"0.6030(EN-GJL-300)",density:"7.25"},{name:"0.7033(EN-GJS-350-22-LT)",density:"7.25"},{name:"0.7040(EN-GJS-400-15)",density:"7.25"},{name:"1.0420(G200)",density:"7.25"},{name:"1.0466(G230)",density:"7.25"},{name:"1.0522(G260)",density:"7.25"},{name:"1.0558(G300)",density:"7.25"}]},{type:" DIN Steel(Alloyed)",childs:[{name:" 1.5714(16NiCr4)",density:"7.80"},{name:" 1.5805(10NiCr5-4)",density:"7.80"},{name:" 1.5918(17CrNi6-6)",density:"7.80"},{name:" 1.6523(20NiCrMoS2-2)",density:"7.85"},{name:" 1.6566(17NiCrMo6-4)",density:"7.80"},{name:" 1.6571(20NiCrMoS6-4)",density:"7.80"},{name:" 1.6587(18CrNiMo7-6)",density:"7.80"},{name:" 1.6657(14NiCrMo13-4)",density:"7.80"},{name:" 1.7014(17CrS3)",density:"7.80"},{name:" 1.7016(17Cr3)",density:"7.80"},{name:" 1.7030(28Cr4)",density:"7.80"},{name:" 1.7036(28CrS4)",density:"7.80"},{name:" 1.7131(16MnCr5)",density:"7.80"}]},{type:" Asbestos",childs:[{name:" Asbestos Board",density:"1.3~1.4"},{name:" Asbestos Wire",density:"0.45~0.55"},{name:" Asbestos Cord",density:"1.11"},{name:" Chrysotile",density:"2.2~2.4"},{name:" Amphibole Asbestos",density:"3.2~3.3"}]},{type:" DIN Steel(Free Cutting)",childs:[{name:" 1.0715(11SMn30)",density:"7.80"},{name:" 1.078(11SMnPb30)",density:"7.80"},{name:" 1.0721(10S20)",density:"7.80"},{name:" 1.0722(10SPb20)",density:"7.80"},{name:"1.0725(15SMn13)",density:"7.80"},{name:"1.0726(35S20)",density:"7.80"},{name:"1.0727(46S20)",density:"7.80"},{name:" 1.0736(11SMn37)",density:"7.80"},{name:" 1.0756(35SPb20)",density:"7.80"},{name:"1.0757(46SPb20)",density:"7.80"},{name:"1.0760(38SMn28)",density:"7.80"},{name:"1.0762(44SMn28)",density:"7.80"},{name:"1.0763(44SMnPb28)",density:"7.80"},{name:" 1.0764(36SMn14)",density:"7.80"}]},{type:" DIN Steel(Hot Work Tool)",childs:[{name:" 1.2343(X38CrMoV5-1)",density:"7.80"},{name:"1.2367(X38CrMoV5-3)",density:"7.80"}]},{type:" DIN Steel(Nitriding Alloy)",childs:[{name:"1.1193(C45G)",density:"7.80"},{name:"1.7005(45Cr2)",density:"7.80"},{name:" 1.7043(38Cr4)",density:"7.80"},{name:"1.7045(42Cr4)",density:"7.80"},{name:"1.7223(41CrMo4)",density:"7.80"},{name:"1.8507(34CrAlMo5-10)",density:"7.80"},{name:"1.8509(41CrAlMo7)",density:"7.80"},{name:"1.8515(31CrMo12)",density:"7.80"},{name:"1.8519(31CrMoV9)",density:"7.80"},{name:"1.8550(34CrAlNi7-10)",density:"7.80"}]},{type:"DIN Steel(Stainless)",childs:[{name:"1.4000(X6Cr13)",density:"7.70"},{name:" 1.4003(X2CrNi12)",density:"7.70"},{name:" 1.4006(X10Cr13)",density:"7.70"},{name:"1.4016(X6Cr17)",density:"7.70"},{name:"1.4021(X20Cr13)",density:"7.70"},{name:"1.4028(X30Cr13)",density:"7.70"},{name:"1.4031(X39Cr13)",density:"7.70"},{name:" 1.4057(X17CrNi16-2)",density:"7.70"},{name:"1.4105(X6CrMoS17)",density:"7.70"},{name:"1.4113(X6CrMoS17-1)",density:"7.70"},{name:"1.4116(X50CrMoV15)",density:"7.70"},{name:"1.4122(X39CrMo17-1)",density:"7.70"},{name:"1.4301(X5CrNi18-10)",density:"7.90"},{name:" 1.4305(X8CrNiS18-9)",density:"7.90"},{name:"1.4306(X2CrNi19-11)",density:"7.90"},{name:"1.4307(X2CrNi18-9)",density:"7.90"},{name:" 1.4310(X10CrNi18-8)",density:"7.90"},{name:"1.4313(X3CrNiMo13-4)",density:"7.70"},{name:"1.4401(X5CrNiMo17-12-2)",density:"8.00"},{name:"1.4404(X2CrNiMo17-12-2)",density:"8.00"},{name:"1.4439(X2CrNiMoN17-13-5)",density:"8.00"},{name:"1.4460(X3CrNiMoN27-5-2)",density:"7.80"},{name:"1.4462(X2CrNiMoN22-5-3)",density:"7.80"},{name:"1.4511(X3CrNb17)",density:"7.70"},{name:"1.4541(X6CrNiTi18-10)",density:"7.90"},{name:"1.4571(X6CrNiMoTi17-12-2)",density:"8.00"}]},{type:"DIN Steel(Structural)",childs:[{name:"1.0035(S185)",density:"7.80"},{name:" 1.0036(S235JRG1)",density:"7.80"},{name:" 1.0037(S235JR)",density:"7.80"},{name:" 1.0038(S235jrg2)",density:"7.8"},{name:"1.0044(S275JR)",density:"7.80"},{name:" 1.0045(S355JR)",density:"7.80"},{name:"1.0050(E295)",density:"7.80"},{name:" 1.0060(E335)",density:"7.80"},{name:" 1.0070(E360)",density:"7.80"},{name:"1.0114(S235J0)",density:"7.80"},{name:"1.0116(S235J2G3)",density:"7.80"},{name:"1.0117(S235J2G4)",density:"7.80"},{name:"1.0143(S275J0)",density:"7.80"},{name:"1.0144(S275J2G3)",density:"7.80"},{name:" 1.0145(S275J2G4)",density:"7.80"},{name:"1.0490(S275N)",density:"7.80"},{name:"1.0491(S275NL)",density:"7.80"},{name:" 1.0546(S355NL)",density:"7.80"},{name:"1.0553(S355J0)",density:"7.80"},{name:"1.0570(S355J2G3)",density:"7.80"},{name:"1.0577(S355J2G4)",density:"7.80"},{name:"1.0595(S355K2G3)",density:"7.80"},{name:"1.0596(S355K2G4)",density:"7.80"},{name:"1.8901(S460N)",density:"7.80"},{name:"1.8902(S420N)",density:"7.80"},{name:"1.8903(S460NL)",density:"7.80"},{name:"1.8912(S420NL)",density:"7.80"}]},{type:"DIN Steel(Toolmaking)",childs:[{name:"1.2083(X40Cr14)",density:"7.74"},{name:"1.2083(X42Cr13)",density:"7.74"},{name:"1.2085(X33CrS16)",density:"7.75"},{name:"1.2210(115CrV3)",density:"7.87"},{name:"1.2311(40CrMnMo7)",density:"7.80"},{name:"1.2312(40CrMnMoS8-6)",density:"7.85"},{name:"1.2316(X36CrMo17)",density:"7.75"},{name:"1.2842(90MnCrV8)",density:"7.61"}]},{type:"DIN Steel(Unalloyed)",childs:[{name:"1.0301(C10)",density:"7.85"},{name:"1.0401(C15)",density:"7.85"},{name:"1.0402(C22)",density:"7.80"},{name:"1.0406(C25)",density:"7.80"},{name:"1.0501(C35)",density:"7.80"},{name:" 1.0503(C45)",density:"7.80"},{name:"1.0601(C60)",density:"7.80"},{name:" 1.1121(C10E)",density:"7.80"},{name:"1.1140(C15R)",density:"7.80"},{name:"1.1141(C15E)",density:"7.80"},{name:"1.1151(C22E)",density:"7.80"},{name:"1.1158(C25E)",density:"7.80"},{name:"1.1170(28Mn6)",density:"7.80"},{name:"1.1181(C35E)",density:"7.85"},{name:" 1.1191(C45E)",density:"7.80"},{name:"1.1207(C10R)",density:"7.80"},{name:"1.1221(C60E)",density:"7.80"},{name:"1.6511(36CrNiMo4)",density:"7.80"},{name:"1.6580(30CrNiMo8)",density:"7.80"},{name:"1.6582(34CrNiMo6)",density:"7.80"},{name:"1.6773(36NiCrMo16)",density:"7.80"},{name:"1.7003(38Cr2)",density:"7.80"},{name:"1.7006(46Cr2)",density:"7.80"},{name:"1.7033(34Cr4)",density:"7.80"},{name:"1.7034(37Cr4)",density:"7.80"},{name:"1.7035(41Cr4)",density:"7.80"},{name:"1.7218(25CrMo4)",density:"7.80"}]}]}]},"54af":function(e,t,o){},"55b3":function(e,t,o){e.exports=o.p+"img/face-check-model.591c6064.png"},"55c8":function(e,t,o){},"56d7":function(e,t,o){"use strict";o.r(t);var i=o("8bbf");Object(i["pushScopeId"])("data-v-11affd56");const n=Object(i["createElementVNode"])("div",{class:"ndp3-wrap",id:"viewer"},null,-1),a=[n],r={class:"nd_sync_cover"},c=["src"];function s(e,t,o,n,s,l){const d=Object(i["resolveComponent"])("tips"),m=Object(i["resolveComponent"])("loading"),u=Object(i["resolveComponent"])("bottom-btn"),p=Object(i["resolveComponent"])("explode"),h=Object(i["resolveComponent"])("view-ports"),g=Object(i["resolveComponent"])("face-check"),v=Object(i["resolveComponent"])("config-switch"),b=Object(i["resolveComponent"])("cout-select"),w=Object(i["resolveComponent"])("volume-weigth"),S=Object(i["resolveComponent"])("lm-p2ppface"),C=Object(i["resolveComponent"])("structure-tree"),O=Object(i["resolveComponent"])("attr-box"),f=Object(i["resolveComponent"])("click-pop"),y=Object(i["resolveComponent"])("tag-com"),j=Object(i["resolveComponent"])("tag-line"),x=Object(i["resolveComponent"])("attr-vol-area"),T=Object(i["resolveComponent"])("grith"),M=Object(i["resolveComponent"])("structure-tree-easy"),k=Object(i["resolveComponent"])("unit-change"),E=Object(i["resolveComponent"])("color-set"),D=Object(i["resolveComponent"])("settings"),B=Object(i["resolveComponent"])("tag-list"),A=Object(i["resolveComponent"])("loading2");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{id:"vueMain",class:Object(i["normalizeClass"])(["ndp3-wrap noselect",{"tag-drawing":n.store.state.tagStore.tagDrawing,showhide:n.store.state.modelStore.showhide}]),onMousedown:t[1]||(t[1]=(...e)=>n.watchAllClick&&n.watchAllClick(...e)),ondragstart:"return false"},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["ndp3-preview-box",{zh:"en"!=e.language,unshowtag:e.unshowtag}]),onContextmenu:t[0]||(t[0]=Object(i["withModifiers"])((...e)=>n.watchRightClick&&n.watchRightClick(...e),["right"]))},a,34),Object(i["createVNode"])(d),Object(i["createVNode"])(m),Object(i["createVNode"])(u),Object(i["withDirectives"])(Object(i["createVNode"])(p,null,null,512),[[i["vShow"],"explode"==n.store.state.menuStore.menuChoose]]),"viewports"==n.store.state.menuStore.menuChoose?(Object(i["openBlock"])(),Object(i["createBlock"])(h,{key:0})):Object(i["createCommentVNode"])("",!0),"facecheck"==n.store.state.menuStore.menuChoose?(Object(i["openBlock"])(),Object(i["createBlock"])(g,{key:1})):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createVNode"])(v,null,null,512),[[i["vShow"],n.store.state.menuStore.showManyConfig]]),Object(i["withDirectives"])(Object(i["createVNode"])(b,null,null,512),[[i["vShow"],n.store.state.menuStore.coutMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(w,null,null,512),[[i["vShow"],"volumeWeight"==n.menuStore.menuChoose3||"volumeWeightAll"==n.menuStore.menuChoose3]]),Object(i["withDirectives"])(Object(i["createVNode"])(S,null,null,512),[[i["vShow"],"LmPt2Pt"==n.menuStore.menuChoose3||"LmHole2Hole"==n.menuStore.menuChoose3]]),Object(i["withDirectives"])(Object(i["createVNode"])(C,null,null,512),[[i["vShow"],n.menuStore.structMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(O,null,null,512),[[i["vShow"],n.menuStore.attrMenu]]),Object(i["createVNode"])(f),Object(i["createVNode"])(y),"lineTag"==n.menuStore.menuChoose3?(Object(i["openBlock"])(),Object(i["createBlock"])(j,{key:2})):Object(i["createCommentVNode"])("",!0),Object(i["createVNode"])(x),Object(i["withDirectives"])(Object(i["createVNode"])(T,null,null,512),[[i["vShow"],n.menuStore.grithMenu]]),n.menuStore.structEasyMenu?(Object(i["openBlock"])(),Object(i["createBlock"])(M,{key:3})):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createVNode"])(k,null,null,512),[[i["vShow"],n.menuStore.unitMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(E,null,null,512),[[i["vShow"],n.menuStore.colorMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(D,null,null,512),[[i["vShow"],n.menuStore.settingsMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(B,null,null,512),[[i["vShow"],"tag"==n.menuStore.menuChoose&&n.menuStore.tagListMenu]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",r,null,512),[[i["vShow"],n.store.state.rtmNeedCover]]),e.logoConfig.src?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:4,class:"company-logo",src:e.logoConfig.src,style:Object(i["normalizeStyle"])(e.logoConfigStyle),alt:""},null,12,c)):Object(i["createCommentVNode"])("",!0),e.loadingObj.show?(Object(i["openBlock"])(),Object(i["createBlock"])(A,{key:5,message:e.loadingObj.message},null,8,["message"])):Object(i["createCommentVNode"])("",!0)],34)}Object(i["popScopeId"])();o("14d9");var l=o("5880"),d=o("d899"),m=(o("d9e2"),o("907a"),o("986a"),o("1d02"),o("3c5d"),o("6ce5"),o("2834"),o("4ea1"),o("669d"),o("109c"),o("b2c1"),o("88e6"),o("70cc"),o("eb03"),o("22e5"),o("c01e"),o("fa76"),o("8306"),o("b7ef"),o("88a7"),o("271a"),o("5494"),{namespaced:!0,state:{configs:[],modelPath:"",modelSetInfo:null,nowConfig:-1,nowConfigName:"",shareInfo:void 0,isModelCfg:!1,cfgSrcs:[],hasManyAccuracy:!1,accuracyInfo:{data:[],curLevel:"2"},_geometryload:!1,_pmiload:!1,_bvhload:!1,_geomEmpty:!1,_allowEditAttr:!1,_isPrivateType:!1,_brepload:!1,_highLightNode:[],allTag:[],nowTag:[],delTagUuid:"",tagRelate:!1,showhide:!1,annotationTagId:"",bombScale:0,isShowPmi:"",hideItem:{userdyAttr:!1,structTree:!1,pmi:!1,measure:!1},treeUpdate:!1,coutShareInfo:{},needOpenImg:"",unit:"",bgSetList:[],autoColorHex:{},partAddColor:{},allMeasure:[],nowMeasure:[],measureShow:!0,measureData:{0:[],2:[]},measureAcc:2,inMeasureMenu:!1,auxLineShow:!1,pmiCoverShow:!1,decimalNum:4,transSetShow:!1},mutations:{initModelInfo(e,t){t.opt&&t.opt.configNum<0&&(t.opt.configNum=0),e.configs=t.opt.modelList,e.nowConfig=t.opt.configNum,e.nowConfigName=t.opt.nowConfigName,e.shareInfo=t.opt.shareInfo,e._allowEditAttr=nd_viewCtrl.allowEditAttr,e.allTag=t.opt.allTag,e.nowTag=t.opt.nowTag,e.tagRelate=t.opt.tagRelate},resetTagIndex(e,t){if(e.allTag&&e.allTag.length>0){var o=e.allTag;for(let e=0;e<o.length;e++)o[e].index=String(e+1);e.allTag=o,e.tagRelate&&(e.nowTag=e.allTag.filter(t=>!t.modelName||t.modelName==e.nowConfigName))}},setAccuracyLevel(e,t){e.accuracyInfo.curLevel=t},setModelCfg(e,t){e.isModelCfg=t.isModelCfg,e.isModelCfg&&(e.cfgSrcs=t.cfgSrcs),e.hasManyAccuracy=t.hasManyAccuracy,e.hasManyAccuracy&&(e.accuracyInfo=t.accuracyInfo)},setBvhLoad(e,t){e._bvhload=t},setGeometryload(e,t){e._geometryload=t},setPmiload(e,t){e._pmiload=t},setBrepload(e,t){e._brepload=t},setGeomEmpty(e,t){e._geomEmpty=t},setShowhide(e,t){e.showhide=t},checkPrivateRight(e,t){e._isPrivateType=W(t)},changeMultipleCfg(e,t){if(t!=e.nowConfig){e._geometryload=!1,e._pmiload=!1,e._brepload=!1,e.nowConfig=t;var o=e.configs[e.nowConfig].Name;e.nowConfigName=o,e.tagRelate&&(e.nowTag=e.allTag.filter(e=>!e.modelName||e.modelName==o));var i=e.configs[e.nowConfig],n=i.modejsPath,a=i.isShare?e.shareInfo.camerainfo:null,r=i.isShare?e.shareInfo:{};gt.loadModelView(n,null,t,a,r)}},editTag(e,t){if(t){var o=-1,i=-1;e.nowTag.map((e,i)=>{e.state.uuid==t.state.uuid&&(o=i)}),e.allTag.map((e,o)=>{e.state.uuid==t.state.uuid&&(i=o)}),-1!=o&&(e.nowTag[o]=t),-1!=i&&(e.allTag[i]=t)}},setModelPath(e,t){e.modelPath=t},setModelSetInfo(e,t){e.modelSetInfo=t},setAllTag(e,t){e.allTag=t},setNowTag(e,t){e.nowTag=t},setAnnotationTagId(e,t){e.annotationTagId=t},addTag(e,t){e.nowTag.push(t),e.allTag.push(t)},updateTagText(e,t){var o=t.uuid;e.nowTag.map((function(e,i){e.state.uuid==o&&(e.text=encodeURIComponent(t.text))})),e.allTag.map((function(e,i){e.state.uuid==o&&(e.text=encodeURIComponent(t.text))}))},delTagByuuid(e,t){var o=-1;e.nowTag.map((function(e,i){e.state.uuid==t&&(o=i)})),o>=0&&e.nowTag.splice(o,1);var i=-1;e.allTag.map((function(e,o){e.state.uuid==t&&(i=o)})),i>=0&&e.allTag.splice(i,1),i>=0&&(e.delTagUuid=t)},setHighLightNode(e,t){e._highLightNode=t},setBombScale(e,t){e.bombScale=t},setIsShowPmi(e,t){e.isShowPmi=t},setHideItem(e,t){e.hideItem={...e.hideItem,...t}},treeSubject(e){e.treeUpdate=!e.treeUpdate},setCoutShareInfo(e,t){e.coutShareInfo=t||{}},setUnitType(e,t){e.unit=t},setNeedOpenImg(e,t){e.needOpenImg=t},setBgSetList(e,t){var o=JSON.parse(JSON.stringify(t));e.bgSetList=o},setAutoColorHex(e,t){var o=Object.assign({},t);e.autoColorHex=o},sertPartAddColor(e,t){var o=Object.assign({},t);e.partAddColor=o},setPartListColor(e,t){const o=e.partAddColor||{},i=e.nowConfig,n=o[i]||{};for(var a=t.uuidList,r=t.color,c=0;c<a.length;c++){var s=a[c];n[s]&&delete n[s],n[s]=r}o[i]=n;var l=Object.assign({},o);e.partAddColor=l},cancelAddColor(e,t){const o=e.nowConfig,i=e.autoColorHex,n=e.partAddColor;i[o]="",n[o]="";var a=Object.assign({},i),r=Object.assign({},n);e.autoColorHex=a,e.partAddColor=r,nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.autoColorHex=!1),nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.partAddColor={})},setMeasureShow(e,t){e.measureShow=t},setMeasureData(e,t){e.measureData=t},setMeasureAcc(e,t){e.measureAcc=t},setInMeasureMenu(e,t){e.inMeasureMenu=t},setAuxLineShow(e,t){e.auxLineShow=t},setPmiCoverShow(e,t){e.pmiCoverShow=t},setAllMeasure(e,t){e.allMeasure=t},setNowMeasure(e,t){let o=[];e.allMeasure.map(t=>{t.configName==e.nowConfigName&&o.push(t)}),e.nowMeasure=o},setDecimalNum(e,t){e.decimalNum=t},setTransSetShow(e,t){e.transSetShow=t},setAddMeasure(e,t){e.allMeasure.push(t),e.nowMeasure.push(t)},setDelMeasure(e,t){let o=-1;e.nowMeasure.map((e,i)=>{t.measureId==e.measureId&&(o=i)}),o>=0&&e.nowMeasure.splice(o,1);let i=-1;e.allMeasure.map((e,o)=>{t.measureId==e.measureId&&(i=o)}),i>=0&&e.allMeasure.splice(i,1)},setClearNowMeasure(e,t){let o=[];e.allMeasure.map(t=>{t.configName!=e.nowConfigName&&o.push(t)}),e.allMeasure=o,e.nowMeasure=[]}},actions:{}}),u={namespaced:!0,state:{isShowTagEdit:!1,tagDrawing:!1,tagShow:!0,tagCurUuid:"",tagHideList:[],noteSelectId:[]},mutations:{startNewTagDraw(e){e.isShowTagEdit=!0},setTagdrawing(e,t){e.tagDrawing=t},setTagshow(e,t){e.tagShow=t},setTagCurUuid(e,t){e.tagCurUuid=t},setTagHideList(e,t){e.tagHideList=t},setAddTagHideList(e,t){e.tagHideList.push(t)},setDelTagHideList(e,t){e.tagHideList=e.tagHideList.filter(e=>e!=t)},setNoteSelectId(e,t){e.noteSelectId=t}},actions:{}},p={namespaced:!0,state:{isShowBangType:!1,axis:0,level:0,modeIndex:0,showExplode:!1},mutations:{setAxis(e,t){e.axis=t},setLevel(e,t){e.level=t},setMode(e,t){e.modeIndex=t},setShowHide(e,t){e.isShowBangType=t},setShowExplode(e,t){e.showExplode=t}},actions:{}},h={namespaced:!0,state:{showOneMenu:!0,menuChoose:"",menuChoose2:"",menuChoose3:"",showAllMenu:!1,structMenu:!1,viewPorts:!1,attrMenu:!1,coutMenu:!1,structEasyMenu:!1,unitMenu:!1,pmiMenu:!1,colorMenu:!1,settingsMenu:!1,grithMenu:!1,clickPopMenu:!1,tagListMenu:!0,preAttrType:"",preShowSetting:"lineColor",showManyConfig:!0,preShowSetting:""},mutations:{setPreShowSetting(e,t){e.preShowSetting=t},setShowOneMenu(e,t){e.showOneMenu=t},setMenuChoose(e,t){e.menuChoose=t},setMenuChoose2(e,t){e.menuChoose2=t},setMenuChoose3(e,t){e.menuChoose3=t},setShowAllMenu(e,t){e.showAllMenu=t},setViewPortsMenu(e,t){e.viewPorts=t},setStructMenu(e,t){e.structMenu=t},setAttrMenu(e,t){e.attrMenu=t},setCoutMenu(e,t){e.coutMenu=t},setPreAttrType(e,t){e.preAttrType=t},setShowManyConfig(e,t){e.showManyConfig=t},setGrithMenu(e,t){e.grithMenu=t},setStructEasyMenu(e,t){e.structEasyMenu=t},setUnitMenu(e,t){e.unitMenu=t},setPmiMenu(e,t){e.pmiMenu=t},setColorMenu(e,t){e.colorMenu=t},setSettingsMenu(e,t){e.settingsMenu=t},setClickPopMenu(e,t){e.clickPopMenu=t},setTagListMenu(e,t){e.tagListMenu=t}},actions:{}},g={namespaced:!0,state:{currentSelectedIndex:-1,viewDataList:[],canAdd:!0},getters:{},mutations:{setCanAdd(e,t){e.canAdd=t},setCurrentSelectedIndex(e,t){e.currentSelectedIndex=t},loadViewPortList(e,t){t&&Array.isArray(t)&&(e.viewDataList=t)},_addViewData(e,t){if(!t)return;let o;o=t.name;let i=t.cc;const n=t.isInterface;t=t.modelViewData;const a=e.viewDataList.length;e.currentSelectedIndex=a;const r=o||"View"+(a+1);function c(o){e.canAdd=!1;const a=window.nd_getCountData(),c=window.nd_getExplodeData(),d=window.nd_getSettingData(),m=window.nd_getAnimationData(),u=window.nd_getPmiShow(),p=window.nd_getAutoColor()||!1,h=window.nd_getIsPerspective(),g=window.nd_getIsShowTag(),v=s(),b=l(),{configNum:w,configName:S}=window.nd_getNowConfig(),C={modelViewData:t,modelViewCapture:o,uuid:re(),preName:r,rename:r,configName:S,configNum:w,countData:a,explodeData:c,settingsData:d,animationData:m,pmiVisiableData:u,perspectiveData:h,autoColorData:p,tagShow:g,tagShowList:v,measureShowList:b};n?(e.viewDataList.push(C),setTimeout(()=>{e.canAdd=!0},200)):nd_viewCtrl&&nd_viewCtrl.addModelview&&nd_viewCtrl.addModelview(C,o,(function(t){t&&(C.modelViewCapture=t),e.viewDataList.push(C),setTimeout(()=>{e.canAdd=!0},200)})),i&&i(C)}function s(){const e=window.nd_getNowTagsId(),t=window.nd_getTagHideList(),o=[];return e.forEach(e=>{t.includes(e)||o.push(e)}),o}function l(){const e=(gt.getMeasureListContent()||[]).filter(e=>e.visible).map(e=>e.measureId||"");return e}gt.isInMultipleViewport()?gt._viewer.getScreenCapture2(e=>{c(e)},!1,!0,void 0,void 0,!0,!1,!0,!0):window.nd_screenTagCap(e=>{c(e)},{cout:!0})},getViewportByUUID(e,t){if(!t)return;let o=null;return e.viewDataList.forEach(e=>{e.uuid==t&&(o=e)}),o},updateViewName(e,{item:t,value:o}){const i=[];for(let n=0;n<e.viewDataList.length;n++){const a=e.viewDataList[n];a.uuid==t.uuid?i.push({...a,rename:o,preName:o}):i.push({...a})}e.viewDataList=i,nd_viewCtrl&&nd_viewCtrl.renameModelview&&nd_viewCtrl.renameModelview(t.uuid,t)},updateViewNameByUUID(e,t={}){const{uuid:o,name:i}=t,n=[];for(let a=0;a<e.viewDataList.length;a++){const t=e.viewDataList[a];t.uuid==o?n.push({...t,rename:i,preName:i}):n.push({...t})}e.viewDataList=n},deleteViewportByUUID(e,{uuid:t,isInterface:o}){const i=[];for(let n=0;n<e.viewDataList.length;n++){const o=e.viewDataList[n];o.uuid!=t&&i.push({...o})}o?e.viewDataList=i:nd_viewCtrl&&nd_viewCtrl.delModelview&&nd_viewCtrl.delModelview(t,(function(){e.viewDataList=i}))},setModelInfo(e,t={}){window.nd_changeSwitchConfig(t.configNum),t.countData&&window.nd_setCountData(JSON.parse(JSON.stringify(t.countData))),t.explodeData&&window.nd_setExplodeData(t.explodeData),window.nd_setIsPerspective(t.perspectiveData),window.nd_setAutoColor(t.autoColorData),window.nd_setPmiShow(t.pmiVisiableData),t.settingsData&&window.nd_setSettingData(t.settingsData),t.animationData&&window.nd_setAnimationData(t.animationData),gt.isInMultipleViewport()?window.nd_setIsShowTag(!1):window.nd_setIsShowTag(t.tagShow)},async previewViewportByUUID(e,t){if(!t)return;let o=null,i=-1;e.viewDataList.forEach((e,n)=>{e.uuid==t&&(o=e,i=n)}),e.currentSelectedIndex=i,o&&(gt.setModelViewInfo(o.modelViewData),window.nd_changeSwitchConfig(o.configNum),o.countData&&window.nd_setCountData(o.countData),o.explodeData&&window.nd_setExplodeData(o.explodeData),window.nd_setIsPerspective(o.perspectiveData),window.nd_setAutoColor(o.autoColorData),window.nd_setPmiShow(o.pmiVisiableData),o.settingsData&&window.nd_setSettingData(o.settingsData),o.animationData&&window.nd_setAnimationData(o.animationData),window.nd_setIsShowTag(o.tagShow))}},actions:{addViewDataAction(e,{modelViewData:t,name:o,isInterface:i,cc:n}){e.commit("_addViewData",{modelViewData:t,name:o,isInterface:i,cc:n})}}},v={namespaced:!0,state:{hasAnimation:!1,instance:null,animateState:0,multiple:1,model:0,currentExample:{name:"",index:0,id:""},allExample:[]},getters:{instance:e=>e.instance,animateState:e=>e.animateState,multiple:e=>e.multiple,model:e=>e.model,currentExample:e=>e.currentExample,allExample:e=>e.allExample},mutations:{setInstance(e,t){e.instance=t},setAnimateState(e,t){e.animateState=t},setMultiple(e,t){e.multiple=t},setModel(e,t){e.model=t},setCurrentExample(e,t){e.currentExample=t},setAllExample(e,t){e.allExample=t},setHasAnimation(e,t){e.hasAnimation=t}},actions:{}},b={namespaced:!0,state:{vportPoint:{x:0,y:0},vportActive:"Normal"},mutations:{setVportPoint(e,t){e.vportPoint=t},setVportActive(e,t){e.vportActive=t}}},w=Object(l["createStore"])({namespaced:!0,state:{isShowCtrlBtn:!1,isShowBottomBtn:!1,canUseProxyEmit:!1,isShowMsg:!1,msgTxt:"",msgFunc:null,showAreaTips:!0,helpShow:!1,showLoading:!0,isShareConfig:!1,treeMode:"normal",isShowAccruacy:!1,opt:{},mpath:"",isInShift:!1,isInCtrl:!1,preShiftNode:{},initParams:{nowConfig:0,transparentList:[],unvisibleList:[],unit:"",bgSetList:[],autoColorHex:{},partAddColor:{},bgColor:"0x",bgImg:"",isShowPmi:"",cutInfo:{},explode:{},viewState:"",proMode:""},rtmNeedCover:!1,modelIsLoaded:!1,isFull:!1},mutations:{showCtrlBtn(e){e.isShowCtrlBtn=!0},setCanUseProxyEmit(e,t){e.canUseProxyEmit=t},hideCtrlBtn(e){e.isShowCtrlBtn=!1},setAskaccruacyTc(e,t){e.isShowAccruacy=t},showBottomBtn(e){e.isShowBottomBtn=!0},hideBottomBtn(e){e.isShowBottomBtn=!1},showMsgTip(e,t){e.msgTxt=t.txt,e.isShowMsg=!0,e.msgFunc=t.func},hideMsgTip(e){e.isShowMsg=!1},setShowAreaTips(e,t){e.showAreaTips=t},setHelpShow(e,t){e.helpShow=t},setShowLoading(e,t){e.showLoading=t},setTreemode(e,t){e.treeMode=t},setOpt(e,t){e.opt=t},setPath(e,t){e.mpath=t.mpath},setIsInShift(e,t){e.isInShift=t},setIsInCtrl(e,t){e.isInCtrl=t},setPreShiftNode(e,t){e.preShiftNode=t},setInitBgparams(e,t){void 0!=t.bgColor&&(e.initParams.bgColor=t.bgColor),void 0!=t.bgImg&&(e.initParams.bgImg=t.bgImg)},saveInitViewparams(e,t){void 0!=t.viewState&&(e.initParams.viewState=t.viewState),void 0!=t.proMode&&(e.initParams.proMode=t.proMode)},saveInitConfig(e,t){e.initParams.nowConfig=t},saveInitTransparent(e,t){var o=JSON.parse(JSON.stringify(t));e.initParams.transparentList=o},saveInitUnvisible(e,t){var o=JSON.parse(JSON.stringify(t));e.initParams.unvisibleList=o},saveInitUnit(e,t){e.initParams.unit=t},saveInitBgSetList(e,t){var o=JSON.parse(JSON.stringify(t));e.initParams.bgSetList=o},saveInitAutoColorHex(e,t){var o=Object.assign({},t);e.initParams.autoColorHex=o},saveInitPartAddColor(e,t){var o=Object.assign({},t);e.initParams.partAddColor=o},saveInitPMI(e,t){e.initParams.isShowPmi=t},saveInitCut(e,t){var o=Object.assign({},t);e.initParams.cutInfo=o},saveInitExplode(e,t){var o=Object.assign({},t);e.initParams.explode=o},setRtmNeedCover(e,t){e.rtmNeedCover=t},setModelIsLoaded(e,t){e.modelIsLoaded=t},setFull(e,t){e.isFull=t}},actions:{},modules:{modelStore:m,tagStore:u,expStore:p,menuStore:h,animationStore:v,vportStore:b,viewStore:g}});function S(){try{return window.navigator.userLanguage="zh","overseas"==nd_viewCtrl.showBtnMode&&(window.navigator.userLanguage="en"),window.navigator.userLanguage}catch(e){return navigator.language}}function C(){return!(!nd_viewCtrl||!nd_viewCtrl.hideEstimateBox)}function O(){var e=w.state.modelStore.isModelCfg,t=nd_viewCtrl&&void 0!=nd_viewCtrl.configNum?nd_viewCtrl.configNum:-1;return e&&-1==t&&(t=0),nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.configNum&&(t=nd_viewCtrl.shareInfo.configNum,e&&Number(t)<0&&(t=0)),t}function f(){var e=!1;return"overseas"==nd_viewCtrl.showBtnMode||nd_viewCtrl.hideItem&&nd_viewCtrl.hideItem.pmi?(e=!1,!1):(nd_viewCtrl.showBtnCfg&&nd_viewCtrl.showBtnCfg.length>0||nd_viewCtrl.showBtnMode?JSON.stringify(nd_viewCtrl.showBtnCfg).indexOf("ico-pmi")>-1&&(e=!0):nd_viewCtrl.hidebtnCfg&&nd_viewCtrl.hidebtnCfg.length>0?JSON.stringify(nd_viewCtrl.hidebtnCfg).indexOf("ico-pmi")<0&&(e=!0):e=!0,e)}function y(){var e=!0,t=f();return!!t&&(e=1==nd_viewCtrl.pmiVisible,nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.pmiVisible&&void 0!=nd_viewCtrl.shareInfo.pmiVisible&&(e=nd_viewCtrl.shareInfo.pmiVisible),e)}function j(){var e={useUnvisibleList:!1,useTransparentList:!1,unvisibleList:[],transparentList:[],camerainfo:null,viewState:"shadedWithEdges",projectionMode:"Orthographic",configNum:-1,explodeFactor:0,explodeMode:32,explodeLevel:0,explodeAxis:0,explodeObjects:[],clipPlaneInfo:null,clipBoxInfo:null,pmiVisible:!1};e.configNum=O(),e.pmiVisible=y(),nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.explodeFactor&&(e.explodeFactor=nd_viewCtrl.shareInfo.explodeFactor),0!=e.explodeFactor&&(nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.explodeMode&&(e.explodeMode=nd_viewCtrl.shareInfo.explodeMode),32!=e.explodeMode&&(e.explodeLevel=nd_viewCtrl.shareInfo.explodeLevel,e.explodeAxis=nd_viewCtrl.shareInfo.explodeAxis),nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.explodeObjects&&(e.explodeObjects=nd_viewCtrl.shareInfo.explodeObjects)),nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.useUnvisibleList&&(e.useUnvisibleList=nd_viewCtrl.shareInfo.useUnvisibleList),nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.useTransparentList&&(e.useTransparentList=nd_viewCtrl.shareInfo.useTransparentList),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.unvisibleList&&(e.unvisibleList=nd_viewCtrl.shareInfo.unvisibleList),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.transparentList&&(e.transparentList=nd_viewCtrl.shareInfo.transparentList),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo&&(e.camerainfo=nd_viewCtrl.shareInfo.camerainfo),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.viewState&&(e.viewState=nd_viewCtrl.shareInfo.viewState),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.projectionMode&&(e.projectionMode=nd_viewCtrl.shareInfo.projectionMode),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.clipPlaneInfo&&(e.clipPlaneInfo=nd_viewCtrl.shareInfo.clipPlaneInfo);var t="";return nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.unitType&&nd_viewCtrl.shareInfo.unitType.length>0?t=nd_viewCtrl.shareInfo.unitType:nd_viewCtrl&&nd_viewCtrl.unitType&&(t=nd_viewCtrl.unitType),w.commit("modelStore/setUnitType",t),e}function x(){var e=[],t=nd_viewCtrl.allTags?nd_viewCtrl.allTags:[];if(t)for(let a=0;a<t.length;a++)try{var o=t[a];if(o.tagId||(o.tagId=o.state.uuid),o&&o.content){var i=JSON.parse(o.content);o.imgURL&&(i.imgURL=o.imgURL),"ImageAnno"==i.state.type&&(i.state.type="",i.state.origiType="ImageAnno"),e.push(i)}else o.tagId||(o.tagId=o.state.uuid),e.push(o)}catch(n){}return e}function T(){var e=w.state.modelStore.isModelCfg,t=j(e),o=nd_viewCtrl.tagRelateConfig,i=x(),n=M();if(n.isModelCfg=e,n.configNum=O(),n.shareInfo=t,n.allTag=i,n.tagRelate=!!o,n.askAccuracy=0!=nd_viewCtrl.askAccuracy,n.viewState=nd_viewCtrl.viewState||"shadedWithEdges",void 0!=nd_viewCtrl.defaultAccuracy&&w.commit("modelStore/setAccuracyLevel",nd_viewCtrl.defaultAccuracy),void 0!=nd_viewCtrl.viewboxTop){var a=document.createElement("style");a.innerHTML=".ndp3-wrap .viewbox {top: "+nd_viewCtrl.viewboxTop+"px;}",document.head.appendChild(a)}return nd_viewCtrl.viewerReqHeader&&"{}"!=JSON.stringify(nd_viewCtrl.viewerReqHeader)&&(n.viewerReqHeader=nd_viewCtrl.viewerReqHeader),n}function M(){var e={bgColor:15921906,showShadow:!1,autoPlay:!1,bgImg:"",inAssemblyContext:!1,pmiVisible:!1,loadbrepDefault:!1,defaultStandardView:null,projectionMode:"Orthographic",viewState:"shaded",testMode:!1,language:"en",Arthur:"",from:"mobile"};return e.bgColor=nd_viewCtrl&&nd_viewCtrl.bgColor||15921906,e.bgColor=P(e.bgColor),e.angles=nd_viewCtrl&&nd_viewCtrl.angles||void 0,e.disratio=nd_viewCtrl&&nd_viewCtrl.disratio||void 0,e.bgImg=nd_viewCtrl&&nd_viewCtrl.bgImg||"",e.bgImg&&(e.bgColor=void 0),e.showShadow=nd_viewCtrl&&nd_viewCtrl.showShadow||!1,e.autoPlay=nd_viewCtrl&&nd_viewCtrl.autoPlay||!1,e.waterString=nd_viewCtrl&&nd_viewCtrl.waterString||"",e.angles||(e.defaultStandardView=nd_viewCtrl&&nd_viewCtrl.defaultStandardView||null),e.pmiVisible=y(),e.testMode=nd_viewCtrl&&nd_viewCtrl.testMode||!1,e.reflected=nd_viewCtrl&&nd_viewCtrl.reflected,e.viewMode=nd_viewCtrl&&nd_viewCtrl.viewMode||"common",e.inAssemblyContext="yzp"==e.viewMode||!1,e.loadbrepDefault=nd_viewCtrl&&nd_viewCtrl.loadbrepDefault||!1,e.askAccuracy=nd_viewCtrl&&nd_viewCtrl.askAccuracy||!1,e.Arthur=nd_viewCtrl&&nd_viewCtrl.waterString||"",e.language=S(),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.viewState&&(e.viewState=nd_viewCtrl.shareInfo.viewState),nd_viewCtrl&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.projectionMode&&(e.projectionMode=nd_viewCtrl.shareInfo.projectionMode),nd_viewCtrl&&"pc"==nd_viewCtrl.from&&(e.from="pc"),w.commit("setInitBgparams",{bgColor:e.bgColor,bgImg:e.bgImg}),e}function k(){var e=!1;return nd_viewCtrl&&nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.unvisibleList&&nd_viewCtrl.shareInfo.unvisibleList.length>0&&(e=!0),e}function E(){var e=nd_viewCtrl&&nd_viewCtrl.hideAreaTool||!1,t=nd_viewCtrl&&nd_viewCtrl.hideAttr||!1,o=nd_viewCtrl&&nd_viewCtrl.hideStructure||!1,i=nd_viewCtrl&&nd_viewCtrl.hideShowPMI||!1;return{hideAreaTool:e,hideAttr:t,hideStructure:o,hideShowPMI:i}}function D(){var e=E();return nd_viewCtrl&&!nd_viewCtrl.hidebtnCfg&&(nd_viewCtrl.hidebtnCfg=[]),nd_viewCtrl.showBtnCfg&&nd_viewCtrl.showBtnCfg.length>0||nd_viewCtrl.showBtnMode?{type:"show",showbtns:nd_viewCtrl.showBtnCfg}:nd_viewCtrl.hidebtnCfg?(nd_viewCtrl.viewMode&&"sync"==nd_viewCtrl.viewMode&&nd_viewCtrl.hidebtnCfg.push("#ico-Tagging"),e.hideStructure&&nd_viewCtrl.hidebtnCfg.push("#ico-structure"),e.hideAreaTool&&(nd_viewCtrl.hidebtnCfg.push("#ico-measure"),nd_viewCtrl.hidebtnCfg.push("#ico-ruler")),e.hideShowPMI&&nd_viewCtrl.hidebtnCfg.push("#ico-pmi"),{type:"hide",hidebtns:nd_viewCtrl.hidebtnCfg}):{type:"no"}}(function(){try{parent&&parent.nd_viewCtrl?window.nd_viewCtrl=parent.nd_viewCtrl:window.nd_viewCtrl&&(window.nd_viewCtrl=window.nd_viewCtrl)}catch(e){}})();const B=(e,t)=>{};function A(e,t){let o,i,n=t||200;return function(){let t=arguments,a=Date.now();o&&a-o<n?(clearTimeout(i),i=setTimeout((function(){o=a,e.apply(this,t)}),n)):(o=a,e.apply(this,t))}}const N=function(e){var t=e.replace("(","");t=t.replace(")",""),t=t.replace("rgb","").split(",");for(var o="0X",i=0;i<t.length;i++){var n=Number(t[i]).toString(16);n.length<2&&(n="0"+n),o+=n}return 8!==o.length&&(o=e),o};function I(e){var t=e.replace("(","").replace(")","").split(",");if(3!=t.length)return"#ffff";for(var o="#",i=0;i<3;i++){var n=t[i];if(""==n&&(n="0"),parseInt(n)!=n)return"#ffff";if(n>255)return"#ffff";var a="0123456789ABCDEF",r="",c=n%16;r=a.substr(c,1),c=(n-c)/16,o+=a.substr(c,1)+r}return o}function V(e){var t=I(e);return t=t.replace("#","0X"),Number(t)}function _(e){return e=e.replace("#","0X"),Number(e)}function P(e){return"string"==typeof e?e.indexOf("#")>=0?_(e):3==e.split(",").length?V(e):e:e}const L=function(e){try{let t=Object.getOwnPropertyNames(e);return 0==t.length}catch(t){return!0}},z=e=>{try{let t=decodeURIComponent(e||"");return t}catch(t){let o=e;const i=[{code:"%25",encode:"%"},{code:"%3F",encode:"?"},{code:"%23",encode:"#"},{code:"%26",encode:"&"},{code:"%3D",encode:"="}];o=o.replace(/%25|%3F|%23|%26|%3D/g,(e,t,o)=>{for(const n of i)if(n.code===e)return n.encode});const n=[{code:"%",encode:"%25"},{code:"?",encode:"%3F"},{code:"#",encode:"%23"},{code:"&",encode:"%26"},{code:"=",encode:"%3D"}];return o=o.replace(/[%?#&=]/g,(e,t,o)=>{for(const i of n)if(i.code===e)return i.encode}),decodeURIComponent(o||"")}},R=(e,t)=>{let o=e||[],i=o.indexOf(t);return i>-1&&o.splice(i,1),o};function F(){const e={modelFolder:"",Folder:"",Name:"",modejsPath:"",captureImg:"../../assets/img/pic-default2.png",capturePath:"",isShare:!1};return e}function H(e){var t=[];return e.map((e,o,i)=>{var n=F();Object.assign(n,e);var a=e.Folder.substring(e.Folder.lastIndexOf("/")+1),r=/^[0-9]+$/.test(a),c=r?e.Folder.substr(0,e.Folder.lastIndexOf("/")):e.Folder;n.captureImg=c+"/"+e.Name+"_thumbnail.jpg",n.capturePath=c+"/"+e.Name+"_thumbnail.jpg",n.modejsPath=e.Folder+"/model.js",t.push(n)}),t}function U(){var e={isCutout:!1,isCutoutShow:!0,isBoxing:!1,cutType:"base",cutList:[],active_cur:""};return e}const W=function(e){var t=!1;if(e){e=e.toLowerCase();for(var o=[".catpart","catproduct",".ipt",".iam",".jt",".prt",".session",".prt",".prt.*",".asm",".asm*",".par",".psm",".sldprt",".sldasm"],i=0;i<o.length;i++){var n=o[i];if(e.indexOf(n)>0){t=!0;break}}}return t},G=function(e,t,o){const i=Z(o);if(e<=0)return 0;if(t<=0)return 0;var n="",a=0,r=Y(t,o);if("string"==typeof e&&e.indexOf("~")>0){var c,s,l=e.split("~"),d=0,m=0;c=parseFloat(l[0])*r/1e3,d=parseFloat(l[1])*r/1e3;var u=parseFloat(l[0])*r,p=parseFloat(l[1])*r;s=Q(c),m=Q(d),"um"==o&&(s=Q(s/1e12),m=Q(m/1e12)),"in"!=i?s>=1&&m>=1?(n="kg",a=s+" ~ "+m):(a=Q(1e3*c)+" ~ "+Q(1e3*d),n="g"):u>1&&p>1?(a=Q(u)+" ~ "+Q(p),n="lb"):(a=Q(16*u)+" ~ "+Q(16*p),n="oz")}else{var h=0,g=e*r;h=e*r/1e3,"um"==o&&(h=Q(h/1e12)),"in"!=i?h>=1?(a=Q(h),n=" kg"):(a=Q(1e3*h),n=" g"):g>1?(a=Q(g),n="lb"):(a=Q(16*g),n="oz")}return a+n},Y=function(e,t){return"mm"==t?e/1e3:"cm"==t?e:"m"==t?1e6*e:"in"==t?e:"ft"==t?1728*e:e},Z=function(e){return"m"==e||"cm"==e||"mm"==e?"mm":"in"==e||"ft"==e?"in":"um"==e?"um":void 0},X=function(e){return"meter"==e?"m":"centimeter"==e?"cm":"millimeter"==e?"mm":"inch"==e?"in":"feet"==e?"ft":"um"==e?"um":void 0},K=function(e){return"meter"==e?"m³":"centimeter"==e?"cm³":"millimeter"==e?"mm³":"inch"==e?"in³":"feet"==e?"ft³":"um"==e?"um³":void 0},J=function(e){if(isNaN(e))return e;var t=""+e;return/e/i.test(t)?Number(e).toFixed(18).replace(/\.?0+$/,""):e},q=function(e){let t=w.state.modelStore.decimalNum||4;return e=Number(e).toFixed(t),e>999999999&&(e=J(e)),e},Q=function(e){let t=w.state.modelStore.decimalNum||4;return e=Number(e).toFixed(t),e>999999999&&(e=J(e)),e},ee=function(e,t,o){var i=[];if(-1!=o[t].toLowerCase().indexOf(e.toLowerCase())&&ye(o)&&i.push(o),o.children.length)for(var n=0;n<o.children.length;n++)i=i.concat(ee(e,t,o.children[n]));return i},te=(e,t,o)=>{let i=[],n=e=>{oe(e,t,o)&&i.push(e),e.children&&e.children.map(e=>{n(e)})};return n(e),i},oe=(e,t,o)=>{let i=!1,n=[],a=e.name,r=e.propertyList;return r&&r.map(e=>{for(let t in e){e[t];n=n.concat(e[t])}}),e.attrHandleList=n,n.map((e,r)=>{let c=n[r+1];switch(String(o)){case"1":String(e).indexOf(t)>-1&&r%2===0&&(i=!0,a=a+" / "+e);break;case"2":String(e).indexOf(t)>-1&&r%2!==0&&(i=!0,a=a+" / "+e);break;case"3":let o=Object.entries(t)[0];r%2===0&&String(e).indexOf(o[0])>-1&&String(c).indexOf(o[1])>-1&&(i=!0);break;default:break}}),e.searchName=a,i},ie=(e,t,o)=>{let i=[];return e&&e.map(e=>{let n=e.attrHandleList||[],a=[],r=[];switch(n.map((e,t)=>{t%2===0&&(a.push(e),r.push(n[t+1]))}),String(o)){case"1":var c=!0,s=[];t.map(e=>{var t=!1;a.map((o,i)=>{String(o).indexOf(String(e))>-1&&(t=!0,s.push(o,r[i]))}),e||(t=!1),t||(c=!1)}),c&&(e.searchAttrList=s,i.push(e));break;case"2":c=!0,s=[];t.map(e=>{var t=!1;r.map((o,i)=>{String(o).indexOf(String(e))>-1&&(t=!0,s.push(a[i],o))}),e||(t=!1),t||(c=!1)}),c&&(e.searchAttrList=s,i.push(e));break;case"3":c=!0,s=[];t.map(e=>{var t=!1;let o=Object.entries(e)[0];o[0]&&a.map((e,i)=>{String(e).indexOf(String(o[0]))>-1&&String(r[i]).indexOf(String(o[1]))>-1&&(s.push(e,r[i]),t=!0)}),t||(c=!1)}),c&&(e.searchAttrList=s,i.push(e));break;default:break}e.searchAttrList=ne(e.searchAttrList)}),i},ne=e=>{let t=[],o=[];return e&&e.map((o,i)=>{i%2==0&&t.push(o+"1q@%1"+e[i+1])}),t=Array.from(new Set(t)),t.map(e=>{o.push(e.split("1q@%1")[0],e.split("1q@%1")[1])}),o},ae=function(e,t){const o=D(),i=function(e,t){e&&e.map(e=>{"#"+e.id==t&&(n=!0),e.list&&i(e.list,t)})};if("show"==o.type){if(t){var n=!1;return i(o.showbtns,e),n}return!0}return"hide"!=o.type||!(o.hidebtns.indexOf(e)>-1)},re=function(){var e=new Date;return"cms"+e.getDay()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()+Math.round(1e4*Math.random())},ce=function(e){if(e.parent){let t=!0,o=!0,i=e.parent.isChecked;e.parent.children.map(e=>{ye(e)&&("N"!=e.isChecked&&"P"!=e.isChecked||(t=!1),"Y"!=e.isChecked&&"P"!=e.isChecked||(o=!1))}),e.parent.isChecked=t?"Y":o?"N":"P",i!=e.parent.isChecked&&ce(e.parent)}},se=function(e,t){e.isRendered&&e.children&&e.children.map(e=>{ye(e)&&(e.isChecked=t,e.children&&se(e,t))})},le=function(e){e.isEasyChecked=!1,e.parent&&le(e.parent)},de=function(e){e.parent&&(e.parent.isEasyChecked=e.parent.children.every(e=>e.isEasyChecked)),e.parent&&e.parent.parent&&de(e.parent)},me=function(e,t){e.children&&e.children.map(e=>{e.isEasyChecked=t,e.children&&me(e,t)})},ue=function(e,t){e.children&&e.children.map(e=>{e.isEasyChecked=t,e.isOpenChild=t,e.children&&ue(e,t)})},pe=function(e){ye(e)&&(e.isHighlight=!1),e.parent&&pe(e.parent)},he=function(e){e.parent&&(e.parent.isHighlight=e.parent.children.every(e=>!ye(e)||e.isHighlight)),e.parent&&e.parent.parent&&he(e.parent)},ge=function(e,t){e.children&&e.children.map(e=>{ye(e)&&(e.isHighlight=t),e.children&&ge(e,t)})},ve=function(e,t){e.children&&e.children.map(e=>{ye(e)&&(e.isHighlight=t,e.isOpenChild=t),e.children&&ve(e,t)})},be=function(e){e.parent&&(ye(e.parent)&&(e.parent.isOpenChild=!0),be(e.parent))},we=function(e){e.parent&&(e.parent.isOpenChild=!0,be(e.parent))},Se=e=>{e.isHighlight=!0,e.isOpenChild=!0,we(e),"PMI"==e.type?e.children.map(e=>{e.isHighlight=!0}):e.parent.isHighlight=e.parent.children.every(e=>e.isHighlight)},Ce=e=>{e.isHighlight=!1,"PMI"==e.type?e.children.map(e=>{e.isHighlight=!1}):e.parent.isHighlight=!1},Oe=e=>{je(e)&&(e.isHighlight=!1),e.children&&e.children.map(e=>{Oe(e)})},fe=function(e){if("PMI"==e.type)e.children.map(t=>{t.isChecked=e.isChecked});else{e.parent.isChecked=e.isChecked;let t=!0,o=!0;e.parent.children.map(e=>{"N"!=e.isChecked&&"P"!=e.isChecked||(t=!1),"Y"!=e.isChecked&&"P"!=e.isChecked||(o=!1)}),e.parent.isChecked=t?"Y":o?"N":"P"}},ye=e=>{const t=["Model","Part","Body","Assembly"];return t.includes(e.type)},je=e=>!!("PMI"==e.type||e.parent&&"PMI"==e.parent.type),xe=function(e,t){e&&(t.isHighlight=!!e.isHighlight,t.isChecked=!!e.isChecked,t.isOpenChild=!!e.isOpenChild,t.isRendered=!!e.isRendered,t.sectionOpen=!!e.sectionOpen,t.children&&t.children.map((t,o)=>{xe(e.children[o],t)}))},Te=function(e,t){t.map((t,o)=>{t.isHighlight=e[o].isHighlight,t.isChecked=e[o].isChecked,t.isOpenChild=e[o].isOpenChild,t.isRendered=e[o].isRendered,t.sectionOpen=e[o].sectionOpen})},Me=function(e,t){e&&(t.isEasyChecked=e.isEasyChecked,t.isOpenChild=e.isOpenChild,t.isRendered=e.isRendered,t.sectionOpen=e.sectionOpen,t.children&&t.children.map((t,o)=>{Me(e.children[o],t)}))},ke=function(e,t){t.map((t,o)=>{t.isEasyChecked=e[o].isEasyChecked,t.isOpenChild=e[o].isOpenChild,t.isRendered=e[o].isRendered,t.sectionOpen=e[o].sectionOpen})},Ee=function(e,t){return new Promise((t,o)=>{var{url:i,method:n,data:a,header:r}=e,c=n||"GET",s=!0,l=null;if(window.XMLHttpRequest?l=new XMLHttpRequest:window.ActiveXObject&&(l=new ActiveXObject("Microsoft.XMLHTTP")),null!=l){if(l.onreadystatechange=function(){var e=void 0;if(4==l.readyState){if(l.responseText&&404!=l.status&&!l.responseText.includes("<!DOCTYPE html>"))try{e=JSON.parse(l.responseText)}catch(o){}t(e)}},l.open(c,i,s),l.setRequestHeader("Content-type","application/json; charset=utf8"),r&&"{}"!=JSON.stringify(r))for(let e in r)l.setRequestHeader(e,r[e]);c=c.toUpperCase(),"GET"==c||"DELETE"==c?l.send():"POST"!=c&&"PUT"!=c||l.send(JSON.stringify(a))}else alert("Your browser does not support XMLHTTP."),t(void 0)})},De=function(e){var t=[];if(t.push(e.objectid),e.children.length)for(var o=0;o<e.children.length;o++)ye(e.children[o])&&(t=t.concat(De(e.children[o])));return t},Be=function(e,t){e.parent&&"body"==e.type.toLocaleLowerCase()?Be(e.parent,t):t&&t(e)},Ae=function(e,t){try{if(!pako)return null;let t=atob(e);const o=t.split("").map((function(e){return e.charCodeAt(0)})),i=new Uint8Array(o),n=pako.inflate(i);t=new Uint16Array(n);let a,r="",c=8192;for(a=0;a<t.length/c;a++)r+=String.fromCharCode.apply(null,t.slice(a*c,(a+1)*c));return r+=String.fromCharCode.apply(null,t.slice(a*c)),decodeURIComponent(r)}catch(o){}},Ne=function(e,t){if(!pako)return null;let o;return o=t?pako.gzip(encodeURIComponent(e),{to:"string"}):pako.gzip(e,{to:"string"}),btoa(o)},Ie=function(e,t){let o=!1;return e.map(e=>{e.state.uuid==t&&(o=!0)}),o},Ve=function(){try{return new Promise((e,t)=>{const o=window.localStorage.getItem("0_BF"),i=(new Date).getTime();let n=o&&o.split(",")[1]||0;if(!o||n-i>864e5){var a=new fingerPrintOwner;a.get(t=>{window.localStorage.setItem("0_BF",t+","+(new Date).getTime()),e(t)})}else e(o.split(",")[0])})}catch(e){return""}};window.JSEncrypt=window.JSEncryptOwner;const _e=function(e){try{let t="MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCxl/XzEMiiYrLq prR5BxAY+IPkPdOtiEt7fP3jtxac0m5S1FAT/3jiQb+bTmqeffsl5gw7LaMMOkAj 5h+HzH/TbTmxYn4dIUkGFvvZHAiwMuDA+7fORjhTaz1hmQi1gUNX9Qu985ys2jFb eXAg5XV2orovM+qY3regbNkWwVk3iJ1Kk3rk2ZBw26AVvs+ujVvAE8cGP/LgAAOe CvNDTiA//agCTajQo1xSkAIcLSNKdUfn5OdTlx0sifXcw5NUmBZKbQ7Q7tC0Xpa1 RanG+5riOzLcw6zOKwHn62Hp3Twosc/hLATaOmz/ru5rnNe+bDBndp3iRo/zCiL8 8iwmg+s7AgMBAAECggEBAJnBWusKSOpuUUDe+7kc6E72OhpNfQrsyY0sdhPE3AsC FQoZTwtBT8Nz8RPhHGYD5IC3XzeNF3DqrcVm4z2LS9Ac7Koq/8zwmGxxUbJylwMV yYjLZiNsoC941Te+as/aDhgEzBm05Jyye7Eavn18q+n+kPt1E1Mu4ARAuOL+muN8 LNqNFOMSYzocXRJqnKSXnnIQQa6FvA6UiM8DaJcXJ83V24tF0vaLfCOOFvfNQwGN gNapppvJGSqE1QjrNwllO8O8cBmiC0PIW0lff2qeXH6bfhzUiaMa70sDEEHcZlW5 WmoJABjYwEH5xvjCqieK5SOGKwQkwFj0gcqBKGWZPYECgYEA6xAV4UqvvIlRvlMI eKAlJJwS10M9avScyq9W+fJk0KVqstGGdIDklRy4pd1SALDwKU4C58I/5Gsky+S+ iPwUaZySWjwgdBl4icv3cbUdu61gUUdHfDh+d+hZcnRKa9EzQEPReOkcVpSlfxnJ oaS7psozL3nUfJrTH+QlflesQXECgYEAwWl1dpcCJkmuacUhzCsZ29BljREjlPK6 6qnjUEY/IWqddH2ZWrJBB+6ZSNYSniNqpsjnFPccQdEfk2kxWLjeCCNb42Lukm6F rrJt7Kit7KW0VDyN7+etkzGRfM0QQl9mhX4wUxWyCKdgq7+Ut/nwlYhZi7TN86n7 qRBN1HPlIWsCgYEA0Q43R20TKoy+RJS4Xf+fyRV9tDE6+Fqg76pNonIvs1jKskqi WA8iPHOUzP8vJSo4DaQx9UjPZijcSvIfetkmll8H0nTTMC5PA86BPYGk9ftWRDMu oo3j/GSK2L4QSh9+g1NNg0lfSKlfHtEigD5wHgCK0Vh64G8aAaz4o4r5yiECgYBH G93K5wQsTYSpcIfXh7UvIvRjI/0AAyoDoshnOBx3zbnsHU1nkgfkwa1roQEhUQYi IdUL2TpzXE6OpOs2omlHdrCO7k2mWqodq45Mp0uiqN2e5tCMdpJTfrLtvnsO3AJW bCmaMmzNT7R0ELC930+7unCps6TQxBs5cjwbMyz31wKBgF1wlS2cWsuOQ76t8LPn jXC6nsU2eisWN5KFbxhNphCnqxgYBJth5Vk3OIby2nmvNGqO12p1bUZpbVEBttyj JcXR+iuasOWWev0SuUFZvp3bYEiX/sCjWZbB9mBjg/s6QW5z4ZW9rF6UdOr7ISQ8 6g9cU4ontroPvD52Jcffyr3f",o=new JSEncryptOwner;o.setPrivateKey(t);let i=o.decrypt(e);return i}catch(t){return""}},Pe=function(e){e.children&&e.children.length>0&&e.children.map(t=>{ye(t)?Pe(t):R(e.children,t)})},Le=function(e){let t=["objectid","name","children","matrix","type","referencename","persistentId"],o=JSON.stringify(e,t);return o=JSON.parse(o),Pe(o),Pe(o),o},$e=function(e){let t=[];e.map(e=>{t.push({objectid:e.objectid,name:e.name,type:e.type,referencename:e.referencename,searchAttrList:e.searchAttrList})});let o=JSON.stringify(t);return o=JSON.parse(o),o},ze=e=>{let t=e.left||0,o=e.right||0,i=e.top||0,n=e.bottom||0,a={left:t,bottom:n};return!e.hasOwnProperty("left")&&e.hasOwnProperty("right")&&(delete a.left,a.right=o),e.hasOwnProperty("left")||e.hasOwnProperty("right")||(a.left="16px"),!e.hasOwnProperty("bottom")&&e.hasOwnProperty("top")&&(delete a.bottom,a.top=i),e.hasOwnProperty("bottom")||e.hasOwnProperty("top")||(a.bottom="85px"),e.hasOwnProperty("width")&&(a.width=e.width),e.hasOwnProperty("height")&&(a.height=e.height),a};function Re(e){var t=null;return void 0!=window.createObjectURL?t=window.createObjectURL(e):void 0!=window.URL?t=window.URL.createObjectURL(e):void 0!=window.webkitURL&&(t=window.webkitURL.createObjectURL(e)),t}function Fe(e){return new Promise((function(t,o){let i="",n=document.createElement("video");n.setAttribute("crossorigin","anonymous"),n.setAttribute("muted","muted"),n.setAttribute("controls","controls"),n.setAttribute("preload","Metadata"),n.setAttribute("playsinline",!0),n.setAttribute("webkit-playsinline",!0),n.setAttribute("x5-playsinline",!0),n.setAttribute("x5-video-player-poster","h5"),n.setAttribute("x5-video-player-fullscreen",!1),n.currentTime=1,n.setAttribute("src",e),n.addEventListener("abort",()=>{}),n.addEventListener("loadeddata",(function(e){setTimeout(()=>{let e=document.createElement("canvas");e.width=n.videoWidth,e.height=n.videoHeight,e.getContext("2d").drawImage(n,0,0,n.videoWidth,n.videoHeight),i=e.toDataURL("image/jpeg",.3),i.length<1e4?setTimeout(()=>{e.getContext("2d").drawImage(n,0,0,n.videoWidth,n.videoHeight),i=e.toDataURL("image/jpeg",.3),t(i),n.pause()},1e3):(t(i),n.pause())},1e3)})),n.addEventListener("canplay",()=>{setTimeout(()=>{},500)}),n.addEventListener("loadedmetadata",(function(e){})),n.addEventListener("error",(function(e){o()}))}))}function He(e){var t=Re(e);return Fe(t)}function Ue(){return!(!nd_viewCtrl||"sync"!=nd_viewCtrl.viewMode||!nd_viewCtrl.rtmSDK)&&!!nd_viewCtrl.rtmSDK.rtmSendMsg}function We(e){let t;if(null==e||"object"!==typeof e)return e;if(e instanceof Date)return t=new Date,t.setTime(e.getTime()),t;if(Array.isArray(e)){t=[];for(let o=0,i=e.length;o<i;o++)t[o]=We(e[o]);return t}if(e instanceof Object){t={};for(const o in e)e.hasOwnProperty(o)&&(t[o]=We(e[o]));return t}throw new Error("Unable to copy values! Its type isn't supported.")}function Ge(e,t,o,i){return Math.sqrt((e-o)*(e-o)+(t-i)*(t-i))}function Ye(e,t,o,i){var n={};return n.x=Math.round(Math.cos(o)*i+e),n.y=Math.round(Math.sin(o)*i+t),n}function Ze(e,t,o){var i=e.x,n=e.y,a=t.x,r=t.y,c=[],s=+o,l=Ge(i,n,t.x,t.y),d=Math.atan2(r-n,a-i);return t=Ye(i,n,d,l-1.5*s),a=t.x,r=t.y,s=Math.max(3*s,10),c.push("M",i,n,"L",a,r),c.push("M",a,r),c.push("L",a-s*Math.cos(d-Math.PI/7),r-s*Math.sin(d-Math.PI/7)),c.push("L",a-s*Math.cos(d+Math.PI/7),r-s*Math.sin(d+Math.PI/7)),c.push("L",a,r),c.push("L",a-s*Math.cos(d-Math.PI/7),r-s*Math.sin(d-Math.PI/7)),c.join(" ")}function Xe(e,t){var o=.5*a(t.x-e.x),i=.5*a(t.y-e.y),n=["M",e.x,e.y+i];return n.push("a",Math.abs(o),Math.abs(i),0,1,1,a(2*o),0),n.push("a",Math.abs(o),Math.abs(i),0,1,1,a(2*-o),0),n.push("z"),n.join(" ");function a(e){return 0==e?1:e}}function Ke(e,t){var o=t.x,i=e.x,n=t.y,a=e.y,r=Math.abs(o-i),c=Math.abs(n-a),s=Math.sqrt(Math.pow(r,2)+Math.pow(c,2)),l=c/s,d=Math.acos(l),m=Math.floor(180/(Math.PI/d));return i>o&&a>n&&(m=180-m),i==o&&a>n&&(m=180),i>o&&a==n&&(m=90),i<o&&a>n&&(m=180+m),i<o&&a==n&&(m=270),i<o&&a<n&&(m=360-m),m}function Je(e,t,o){if(gt){var i=gt._viewer.modelCoordToClientCoord([e,t,o]);return{x:i[0],y:i[1]}}return{x:0,y:0}}function qe(e,t){if(gt){var o=gt._viewer.clientCoordToModelCoord([e,t]);return{cx:o[0],cy:o[1],cz:o[2]}}return{cx:0,cy:0,cz:0}}function Qe(e,t){if(gt){var o=gt._viewer.getHotPoint(e,t);return o=JSON.parse(JSON.stringify(o)),o}return null}function et(){for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],o=!1,i=0;i<t.length;i++)if(e.indexOf(t[i])>0){o=!0;break}return o}function tt(e,t={}){var o=document.createElement("canvas");o.style.width=$("#t_container").width()+"px",o.style.height=$("#t_container").height()+"px",o.id="drawImg",$("#t_container").append(o);var i=new Image;i.setAttribute("crossOrigin","anonymous"),gt._viewer.getScreenCapture2((function(e){i.src=e}),!1,!0,void 0,void 0,!0,!1,t.cout||!1),i.onload=function(){o.width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),html2canvas(document.getElementById("viewer"),{useCORS:!0,allowTaint:!0,ignoreMouse:!0,ignoreAnimation:!0}).then(t=>{var o=t.toDataURL("image/png");e&&e(o),$("#drawImg").remove()})}}function ot(e){var t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),o=document.createElement("canvas");o.style.width=$("#t_container").width()+"px",o.style.height=$("#t_container").height()+"px",o.id="drawImg",$("#t_container").append(o);var i=new Image;i.setAttribute("crossOrigin","anonymous"),gt._viewer.getScreenCapture2((function(e){i.src=e}),!1,!0,void 0,void 0,!0,!0),gt._viewer.render(),i.onload=function(){o.width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),t?html2canvas(document.getElementById("vueMain"),{useCORS:!0,allowTaint:!0,ignoreMouse:!0,ignoreAnimation:!0}).then(t=>{var o=t.toDataURL("image/png");e&&e(o),$("#drawImg").remove()}):domtoimage.toPng(document.getElementById("vueMain")).then(t=>{e&&e(t),$("#drawImg").remove()}).catch(e=>{})}}var it={offsetSave:{x:0,y:0},saveCss:"",nowCssInfo:{},operateType:"",nowDivInfo:{},setDivPos:function(e,t){var o=e.getBBox();this.nowDivInfo={width:o.width,height:o.height},t.style.width=this.nowDivInfo.width+20+"px",t.style.height=this.nowDivInfo.height+20+"px",this.nowDivInfo.left=o.x,this.nowDivInfo.top=o.y,t.style.left=this.nowDivInfo.left-10+"px",t.style.top=this.nowDivInfo.top-10+"px";var i=$(e).data("rotate");t.style.transform=i?"rotate("+i+"deg)":""},new:function(e,t,o){this.destroy(),this.opt=t,this.parentVue=o,e=e.parentElement||e.parentNode;var i=document.createElement("div");i.className="nd-selector-box",i.setAttribute("num",this.parentVue.tagNum_list),document.querySelector(".taglayer-nd").appendChild(i),i.innerHTML='<div class="selector-drag-point" direction="n" style="top:-5px;left:calc(50% - 5px);cursor:ns-resize;"></div>\t\t\t<div class="selector-drag-point" direction="s" style="top:calc(100% - 5px);left:calc(50% - 5px);cursor:ns-resize;"></div>\t\t\t<div class="selector-drag-point" direction="w" style="left:-5px;top:calc(50% - 5px);cursor: ew-resize;"></div>\t\t\t<div class="selector-drag-point" direction="e" style="right:-5px;top:calc(50% - 5px);cursor: ew-resize;"></div>\t\t\t<div class="selector-drag-point" direction="nw" style="top:-5px;left:-5px;cursor: nwse-resize;"></div>\t\t\t<div class="selector-drag-point" direction="ne" style="top:-5px;right:-5px;cursor: nesw-resize;"></div>\t\t\t<div class="selector-drag-point" direction="sw" style="bottom:-5px;left:-5px;cursor: nesw-resize;"></div>\t\t\t<div class="selector-drag-point" direction="se" style="bottom:-5px;right:-5px;cursor: nwse-resize;"></div>\t\t\t<div class="selector-drag-point" direction="rotation" style="top:-30px;left:calc(50% - 5px);cursor: move;">\t\t\t</div>\t\t\t<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjcyNDZDMENDOUMyMTExRUI5NTRCOTI4QUQ1MEM5OENBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjcyNDZDMENEOUMyMTExRUI5NTRCOTI4QUQ1MEM5OENBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NzI0NkMwQ0E5QzIxMTFFQjk1NEI5MjhBRDUwQzk4Q0EiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NzI0NkMwQ0I5QzIxMTFFQjk1NEI5MjhBRDUwQzk4Q0EiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xKH8WAAAB+0lEQVR42ryWzUoCURTHj7Nwo4Wr3ChkLWrtYoZI0AdQ8En8gNwErYQ2Blobg2jREyToAyQEkoueILNFG3MTqZs2dc50BmS8HzPl9Ic/DM659+fce869J/RlHoJGm+gDdJYdZ5Mm7D57AA/3H6rJQgpgGF1Cl9EJ8KZX9Dn6AsGfogBDMrBo/1uAhg8YcGzDHmtlil6BFfQtOg2/V9qew8pUdMA8ugnrUxOheRnQRHdh/eoi1HQDKUHaEJzaCA0vA0vSPdvfA9iI6qekGIqV72nJAcY49Ve1kwK4uQa4uvx5loneUQzFyuPK+JUxAuakqT+dAoxfAFLbAKd18WT0G72jGIqlMfKSyRl8eog1mwMcn8ihbhjF0hi5sgZnp1zPYzFUBKNYtUw62p7wYVebFG4AyR+MNCLgDB+inpJ7GUryByPNDfhnGXy9gO8l1WWvWBNvQFGCqLJXA+z7htGeybJXrb4aGImoU18EpTEa4IBv6lUlE/rUd0OTCVU3MHBajCO+qcVLOnkDWCzUi0VfFt9SlUgN244zBxjmL00HVA2PdiOGfY5Th9Tw1AMsv7rTVC0XfgddDQBWRVhH1tO00IU1wgoIa+m6th7a4nX/y55ZCOt57UuH3G3XpCUjT/0aJ8jQb+ftKMZdQZbvTlGrP+QD5A5B76rJvgUYAC/2yxdBsKw2AAAAAElFTkSuQmCC" class="del" title="删除" />',this.setDivPos(e,i);var n=this.getTransform(e);i.style.transform=n.orotate||"",this.opt&&this.opt.onSel(e);var a=et()?["touchstart","touchmove","touchend","touchcancle"]:["mousedown","mousemove","mouseup","mouseleave"],r=et()?"touchstart":"mousedown";document.querySelector(".nd-selector-box img.del").addEventListener(r,(function(e){c.opt.onDelDrawChild()}));var c=this,s=function(e){et()&&(e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY);var t=e.target.getAttribute("direction");if("rotation"==t)c.operateType="rotate";else if(t&&"rotation"!=t)switch(c.operateType="drag",t){case"n":c.operateDrag={x:0,y:1};break;case"s":c.operateDrag={x:0,y:-1};break;case"ne":c.operateDrag={x:1,y:1};break;case"nw":c.operateDrag={x:-1,y:1};break;case"w":c.operateDrag={x:-1,y:0};break;case"sw":c.operateDrag={x:-1,y:-1};break;case"e":c.operateDrag={x:1,y:0};break;case"se":c.operateDrag={x:1,y:-1};break}else c.operateType="move";document.body.addEventListener(a[1],l),document.body.addEventListener(a[2],d),document.body.addEventListener(a[3],d),c.offsetSave.x=e.clientX,c.offsetSave.y=e.clientY,e.stopPropagation(),e.preventDefault()},l=function(t){et()&&(t.clientX=t.touches[0].clientX,t.clientY=t.touches[0].clientY),"move"==c.operateType?c.move(t,e,i):"rotate"==c.operateType?c.rotate(t,e,i):"drag"==c.operateType&&c.drag(t,e,i);var o=c.getTransform(e);e.setAttribute("transform",(o.translate||"")+" "+(o.rotate||"")),i.style.transform=(o.otranslate||"")+" "+(o.orotate||""),c.saveCss=o.data,c.opt&&c.opt.onChange(c.saveCss),t.stopPropagation()},d=function(t){c.opt&&c.opt.onChangeEnd(),c.setDivPos(e,i),document.body.removeEventListener(a[1],l),document.body.removeEventListener(a[2],d),document.body.removeEventListener(a[3],d),t.stopPropagation(),t.preventDefault()};i.addEventListener(a[0],s)},move:function(e,t,o){var i=this,n=$(t).data("translate");if(n)var a={x:n.x,y:n.y};else a={x:0,y:0};var r=e.clientX-i.offsetSave.x,c=e.clientY-i.offsetSave.y;i.offsetSave.x=e.clientX,i.offsetSave.y=e.clientY;var s=a.x+r,l=a.y+c,d=(n=document.getElementById("t_container").getBoundingClientRect(),Math.min(n.left,0)),m=Math.min(n.top,0),u=Math.min(n.width+d,window.innerWidth-Math.max(n.left,0)),p=Math.min(n.height+m,window.innerHeight-Math.max(n.top,0));return o.offsetLeft+s+d<0&&(s+=0-(o.offsetLeft+s+d)),o.offsetTop+l+m<0&&(l+=0-(o.offsetTop+l+m)),d+o.offsetLeft+o.offsetWidth+s>u&&(s+=u-(d+o.offsetLeft+o.offsetWidth+s)),m+o.offsetTop+o.offsetHeight+l>p&&(l+=p-(m+o.offsetTop+o.offsetHeight+l)),$(t).data("translate",{x:s,y:l}),{x:s,y:l}},rotate:function(e,t,o){var i=Ke({x:e.clientX,y:e.clientY},this.getCenterPos(o));return $(t).data("rotate",i),i},drag:function(e,t,o){et()&&(e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY);var i=e.clientX-this.offsetSave.x,n=e.clientY-this.offsetSave.y;i<0&&this.operateDrag.x>0&&this.nowDivInfo.width+i<20&&(i=20-this.nowDivInfo.width),i>0&&this.operateDrag.x<0&&this.nowDivInfo.width-i<20&&(i=this.nowDivInfo.width-20),n<0&&this.operateDrag.y<0&&this.nowDivInfo.height+n<20&&(n=20-this.nowDivInfo.height),n>0&&this.operateDrag.y>0&&this.nowDivInfo.height-n<20&&(n=this.nowDivInfo.height-20),0==this.operateDrag.x&&(i=0),0==this.operateDrag.y&&(n=0);var a={top:this.nowDivInfo.top,left:this.nowDivInfo.left,width:this.nowDivInfo.width,height:this.nowDivInfo.height};1==this.operateDrag.y&&(a.top=this.nowDivInfo.top+n,a.height=this.nowDivInfo.height-n),-1==this.operateDrag.y&&(a.height=this.nowDivInfo.height+n),1==this.operateDrag.x&&(a.width=this.nowDivInfo.width+i),-1==this.operateDrag.x&&(a.left=this.nowDivInfo.left+i,a.width=this.nowDivInfo.width-i),o.style.top=a.top-10+"px",o.style.left=a.left-10+"px",o.style.width=a.width+20+"px",o.style.height=a.height+20+"px",this.opt&&this.opt.onScale(a,this.nowDivInfo),this.nowDivInfo=a,this.offsetSave.x=e.clientX,this.offsetSave.y=e.clientY},getCenterPos:function(e){var t=e.getBoundingClientRect(),o=t.left+t.width/2,i=t.top+t.height/2;return{x:o,y:i}},getTransform:function(e){var t,o,i,n={data:{}};if(t=$(e).data("translate"),o=$(e).data("rotate"),i=$(e).data("scale"),t&&(n.translate="translate("+t.x+","+t.y+")",n.otranslate="translate("+t.x+"px,"+t.y+"px)",n.data.translate=qe(t.x,t.y),this.nowCssInfo.translate=t),o){var a=e.getBBox();n.rotate="rotate("+o+","+(a.x+a.width/2)+" "+(a.y+a.height/2)+")",n.orotate="rotate("+o+"deg)",n.data.rotate=o}return i&&(n.scale="scale("+i.x+","+i.y+")",n.data.scale=i),n},destroy:function(){$(".nd-selector-box").remove(),this.opt&&this.opt.onHide()},destroy_new:function(){var e=this,t=document.querySelectorAll(".nd-selector-box").length;if(1==t){var o=$(".nd-selector-box").attr("style"),i=$(".nd-selector-box").attr("num");$(".nd-selector-box").remove(),$(".nd-selector-box2").removeClass("edit");var n=document.createElement("div");n.className="nd-selector-box2",n.style=o,n.setAttribute("num",i);var a=document.createElement("img");a.className="del",a.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA01pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKDIwMjAwODE4Lm0uMTAxMiAyMDIwLzA4LzE4OiBmODJmNDMzNzYxKSAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjcyNDZDMENDOUMyMTExRUI5NTRCOTI4QUQ1MEM5OENBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjcyNDZDMENEOUMyMTExRUI5NTRCOTI4QUQ1MEM5OENBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NzI0NkMwQ0E5QzIxMTFFQjk1NEI5MjhBRDUwQzk4Q0EiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NzI0NkMwQ0I5QzIxMTFFQjk1NEI5MjhBRDUwQzk4Q0EiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xKH8WAAAB+0lEQVR42ryWzUoCURTHj7Nwo4Wr3ChkLWrtYoZI0AdQ8En8gNwErYQ2Blobg2jREyToAyQEkoueILNFG3MTqZs2dc50BmS8HzPl9Ic/DM659+fce869J/RlHoJGm+gDdJYdZ5Mm7D57AA/3H6rJQgpgGF1Cl9EJ8KZX9Dn6AsGfogBDMrBo/1uAhg8YcGzDHmtlil6BFfQtOg2/V9qew8pUdMA8ugnrUxOheRnQRHdh/eoi1HQDKUHaEJzaCA0vA0vSPdvfA9iI6qekGIqV72nJAcY49Ve1kwK4uQa4uvx5loneUQzFyuPK+JUxAuakqT+dAoxfAFLbAKd18WT0G72jGIqlMfKSyRl8eog1mwMcn8ihbhjF0hi5sgZnp1zPYzFUBKNYtUw62p7wYVebFG4AyR+MNCLgDB+inpJ7GUryByPNDfhnGXy9gO8l1WWvWBNvQFGCqLJXA+z7htGeybJXrb4aGImoU18EpTEa4IBv6lUlE/rUd0OTCVU3MHBajCO+qcVLOnkDWCzUi0VfFt9SlUgN244zBxjmL00HVA2PdiOGfY5Th9Tw1AMsv7rTVC0XfgddDQBWRVhH1tO00IU1wgoIa+m6th7a4nX/y55ZCOt57UuH3G3XpCUjT/0aJ8jQb+ftKMZdQZbvTlGrP+QD5A5B76rJvgUYAC/2yxdBsKw2AAAAAElFTkSuQmCC",a.setAttribute("title","删除"),n.appendChild(a),document.querySelector(".taglayer-nd").appendChild(n);var r=function(o){o.stopPropagation(),o.preventDefault(),"del"!=o.target.className&&($(o.target).hasClass("edit")||(t=document.querySelectorAll(".nd-selector-box").length,1==t&&e.destroy_new(),$(".nd-selector-box").remove(),$(".nd-selector-box2").removeClass("edit"),$(o.target).addClass("edit")))},c=et()?"touchstart":"mouseover",s=et()?"touchstart":"click";n.addEventListener(c,r),a.addEventListener(s,(function(t){e.opt.onDelDrawChild(),t.stopPropagation(),t.preventDefault()}))}$(".nd-selector-box").remove(),this.opt&&this.opt.onHide()}},nt=it;const at=function(e,t,o){this.parent=e,this.dom=null,this.container=t,this.disableText=!0,o&&(this.parentVue=o),this._moveTag=!1,this.offsetSave={},this.tagPos={},this.fontSize=12,this.init=function(){},this.init(),this.addHotpoint=function(e,t){this.parentVue.onShowstep1(),this.parentVue.hideTagTips();var o=document.createElement("div");o.className="ico-sign",this.container.appendChild(o);var i=Je(t.cx,t.cy,t.cz);o.style.top=i.y+"px",o.style.left=i.x+"px",o.style.pointerEvents="none",this.tagDiv=o,this.tagPos={cx:t.cx,cy:t.cy,cz:t.cz}},this.drawHtml=function(){},this.modifyHot=function(e,t,o){this.moveHot(e),this.tagDiv&&(this.tagDiv.style.display="block")},this.moveHot=function(e){e&&this.tagDiv&&(this.tagDiv.style.left=e.x+"px",this.tagDiv.style.top=e.y+"px")},this.newText=function(e){this.disableText=!1},this.showText=function(e){e=e.replace(/<br\/>/g,"\n").replace(/ /g," ")},this.writeInfo=function(e){this.disableText=!0,this.tagPos.cx=e.cx,this.tagPos.cy=e.cy,this.tagPos.cz=e.cz;var t=Je(e.cx,e.cy,e.cz),o=z(e.text);"undefined"===o&&(o=""),this.modifyHot(t,o,e.size)},this.getInfo=function(){return{pos:this.tagPos}},this.exit=function(){this.hotPot&&(this.hotPot.style.display="none"),this.tagDiv=null}};var rt=at,ct=function(e,t){var o=this;this.drawInfo=null,this.nowDrawingInfo={},this._tagIdx=0,t&&(this.parentVue=t),this._openDraw=!1,this.strokeColor="rgb(255,99,2)",this.strokeWidth=2,this.fontSize="12px",this.drawType="point",this.container=e,this.container.querySelector(".taglayer-nd")&&this.container.removeChild(this.container.querySelector(".taglayer-nd")),this.drawTagDiv=document.createElement("div"),this.drawTagDiv.className="taglayer-nd",this.drawTagDiv.setAttribute("onselectstart","return false"),this.container.appendChild(this.drawTagDiv),this.drawTagDiv.addEventListener("contextmenu",e=>(e.preventDefault(),e.stopPropagation(),!1));const i=document.createElement("div");i.id="tagTooltips",this.container.appendChild(i);const n=document.createElement("div");n.id="tagCancelButton",this.container.appendChild(n),n.addEventListener("click",()=>{this.parentVue.cancelSave(),i.style.left="-1000px"}),n.addEventListener("contextmenu",e=>(e.preventDefault(),e.stopPropagation(),!1)),n.addEventListener("mouseenter",()=>{i.style.display="none"}),n.addEventListener("mouseleave",()=>{i.style.display="block"});const a=document.createElement("div");a.id="tagSaveButton",this.container.appendChild(a),a.addEventListener("contextmenu",e=>(e.preventDefault(),e.stopPropagation(),!1)),a.addEventListener("mouseenter",()=>{i.style.display="none"}),a.addEventListener("mouseleave",()=>{i.style.display="block"}),this.container.addEventListener("mousemove",e=>{if("none"!=this.drawTagDiv.style.display){const t=document.getElementById("vueMain").offsetLeft,o=document.getElementById("vueMain").offsetTop;i.style.top=e.clientY-o+14+"px",i.style.left=e.clientX-t+17+"px"}}),n.style.display="none",a.style.display="none",i.style.display="none",this.drawTagDiv.style.display="none",this.selectSVG=-1,this.nowDiving=null,this.nowSvg=null,this.offsetSave={_start:!1,x:0,y:0},this._tagTextCtrl=new rt(this,this.drawTagDiv,this.parentVue);var r=null;window.onresize=function(){r=r?null:setTimeout((function(){o.resizeTags(),r=null}),350)}};ct.prototype.localToPoint=function(e,t,o){if(gt){var i=gt._viewer.modelCoordToClientCoord([e,t,o]);return{x:i[0],y:i[1]}}return{x:0,y:0}},ct.prototype.pointToLocal=function(e,t){if(gt){var o=gt._viewer.clientCoordToModelCoord([e,t]);return{cx:o[0],cy:o[1],cz:o[2]}}return{cx:0,cy:0,cz:0}},ct.prototype.resizeTags=function(){if(this.drawInfo&&this.drawInfo.list&&"text"!=this.nowDrawingInfo){var e=document.querySelectorAll(".nd-selector-box").length;if(e>0&&this.drawSvg(),this.drawSvg_resize(),-1!=this.selectSVG){var t=$(this.drawTagDiv).find("path[idx="+this.selectSVG+"]"),o=$(this.drawTagDiv).find("div.area-box[idx="+this.selectSVG+"]");t.length&&(this.nowDiving=t),o.length&&(this.nowDiving=o),(t.length||o.length)&&e>0&&(this.nowDiving=this.nowDiving[0])}}},ct.prototype.changePos=function(){var e=this.nowDrawingInfo;if(e.transform&&e.transform.translate){var t=e.transform.translate;if(t=Je(t.cx,t.cy,t.cz),"point"==e.type&&e.points.map((function(e){var o=Je(e.cx,e.cy,e.cz);o.x+=t.x,o.y+=t.y,o=qe(o.x,o.y),e.cx=o.cx,e.cy=o.cy,e.cz=o.cz})),"arrow"==e.type||"line"==e.type||"circle"==e.type||"rect"==e.type){var o=Je(e.cx,e.cy,e.cz);if(o.x+=t.x,o.y+=t.y,o=qe(o.x,o.y),e.cx=o.cx,e.cy=o.cy,e.cz=o.cz,e.cx2||e.cy2||e.cz2){var i=Je(e.cx2,e.cy2,e.cz2);i.x+=t.x,i.y+=t.y,i=qe(i.x,i.y),e.cx2=i.cx,e.cy2=i.cy,e.cz2=i.cz}}if("text"==e.type){o=Je(e.cx,e.cy,e.cz);o.x+=t.x,o.y+=t.y,o=qe(o.x,o.y),e.cx=o.cx,e.cy=o.cy,e.cz=o.cz}}this.drawSvg()},ct.prototype.changeScale=function(e,t){var o=this.nowDrawingInfo;if("point"==o.type&&o.points.map((function(o){var i=Je(o.cx,o.cy,o.cz),n=(i.x-t.left)/t.width,a=(i.y-t.top)/t.height;i.x=e.width*n+e.left,i.y=e.height*a+e.top,i=qe(i.x,i.y),o.cx=i.cx,o.cy=i.cy,o.cz=i.cz})),"arrow"==o.type||"line"==o.type||"circle"==o.type||"rect"==o.type){var i=Je(o.cx,o.cy,o.cz),n=(i.x-t.left)/t.width,a=(i.y-t.top)/t.height;if(i.x=e.width*n+e.left,i.y=e.height*a+e.top,i=qe(i.x,i.y),o.cx=i.cx,o.cy=i.cy,o.cz=i.cz,o.cx2||o.cy2||o.cz2){var r=Je(o.cx2,o.cy2,o.cz2),c=(r.x-t.left)/t.width,s=(r.y-t.top)/t.height;r.x=e.width*c+e.left,r.y=e.height*s+e.top,r=this.pointToLocal(r.x,r.y),o.cx2=r.cx,o.cy2=r.cy,o.cz2=r.cz}}this.drawSvg()},ct.prototype.editDraw=function(e){this.drawInfo=null,this.drawTagDiv.style.display="block",this.drawTagDiv.style.zIndex=4,this.drawTagDiv.style.pointerEvents="auto",this.container.style.cursor="pointer",this._openDraw=!0,this.getTagLayer(e)},ct.prototype.showSelectBox=function(){var e=this,t=this.nowDiving.getAttribute("idx");nt.new(this.nowDiving,{onChange:function(o){try{e.selectSVG=t,e.drawInfo.list[t].transform=o}catch(i){}},onChangeEnd:function(){e.changePos()},onSel:function(o){e.selectSVG=t},onHide:function(){},onScale:function(t,o){e.changeScale(t,o)},onDelDrawChild:function(){var t="",o=document.querySelector(".nd-selector-box"),i=document.querySelector(".nd-selector-box2.edit");if(o?(t=o.getAttribute("num"),o.remove()):i&&(t=i.getAttribute("num"),i.remove()),""!=t){var n=document.querySelector("svg g[num='"+t+"']");n&&n.remove(),e.drawInfo.list=e.drawInfo.list.filter(e=>{if(e.num!=t)return e})}}},this.parentVue)},ct.prototype.showTags=function(e){this._openDraw=!1,this.drawTagDiv.style.display="block",this.drawTagDiv.style.zIndex=6,this.getTagLayer(e)},ct.prototype.openDraw=function(e){this.drawInfo=null,this.drawTagDiv.style.display="block",this.drawTagDiv.style.zIndex=4,this.drawTagDiv.style.pointerEvents="auto",this._openDraw=!0,this._tagIdx=e,this.getTagLayer()},ct.prototype.closeDraw=function(){this._openDraw=!1,this.container.style.cursor="auto",document.body.removeEventListener("keydown",this.delete)},ct.prototype.delete=function(e){if(46==e.keyCode){var t=this.nowDiving.getAttribute("idx");this.drawInfo.list[t].del=!0;var o=this.nowDiving.parentElement||this.nowDiving.parentNode;o.remove(),nt.destroy()}},ct.prototype.setPen=function(e){this.drawType=e},ct.prototype.setLineWidth=function(e){this.strokeWidth=e},ct.prototype.setColor=function(e){this.strokeColor=e},ct.prototype.initPicTag=function(e){this.drawType="image",this.drawInfo=new Object,this.drawInfo.cx=e.cx,this.drawInfo.cy=e.cy,this.drawInfo.cz=e.cz,this.drawInfo.list=[],this._tagTextCtrl.addHotpoint(this._tagIdx,this.drawInfo)},ct.prototype.setPenStatus=function(e,t){if("color"==e&&(this.strokeColor=t),"size"==e&&(this.strokeWidth=t),"fontsize"==e&&(this.fontSize=t),"text"!=this.drawType){var o=this.nowDiving.parentElement||this.nowDiving.parentNode,i=o.getAttribute("type");if("text"!=i&&("color"==e&&o.setAttribute("stroke",this.strokeColor),"size"==e&&o.setAttribute("stroke-width",this.strokeWidth)),"arrow"==i&&"size"==e){var n={pos0:Je(this.nowDrawingInfo.cx,this.nowDrawingInfo.cy,this.nowDrawingInfo.cz),pos1:Je(this.nowDrawingInfo.cx2,this.nowDrawingInfo.cy2,this.nowDrawingInfo.cz2)},a=this.strokeWidth,r=Ze(n.pos0,n.pos1,a);this.nowDiving.setAttribute("d",r)}}"color"==e&&(this.drawInfo.list[this.selectSVG].color=this.strokeColor),"size"==e&&(this.drawInfo.list[this.selectSVG].line=this.strokeWidth),"fontsize"==e&&(this.drawInfo.size=this.fontSize)},ct.prototype.initDrawInfo=function(e,t){var o=this;this.parentVue.tagNum_list++;var i={type:o.drawType,cx:e.cx,cy:e.cy,cz:e.cz,text:"",color:o.strokeColor,line:o.strokeWidth,size:o.fontSize,idx:o.drawInfo.list.length,new:!0,num:this.parentVue.tagNum_list},n=10;if("point"==o.drawType)i.points=[{cx:e.cx,cy:e.cy,cz:e.cz}];else if("arrow"==o.drawType||"line"==o.drawType){var a={x:t.x+n,y:t.y+n};a=this.pointToLocal(a.x,a.y),i.cx2=a.cx,i.cy2=a.cy,i.cz2=a.cz}else if("rect"==o.drawType||"circle"==o.drawType){var r=n;a={x:t.x+r,y:t.y+r};a=this.pointToLocal(a.x,a.y),i.cx2=a.cx,i.cy2=a.cy,i.cz2=a.cz}return i},ct.prototype.openDrawEvt=function(){var e=this,t=et()?["touchstart","touchmove","touchend","touchcancle"]:["mousedown","mousemove","mouseup","mouseleave"],o=this.drawTagDiv.querySelector(".svg");function i(o){if(o.stopPropagation(),o.preventDefault(),e._openDraw){var i=document.querySelector(".taglayer-nd");if(i&&i.className.indexOf("drawing")<0&&(i.className+=" drawing"),et()){var r=o.touches[0];o.offsetX=r.clientX-Number(e.container.style.marginLeft.replace("px",""))-e.container.offsetLeft,o.offsetY=r.clientY-Number(e.container.style.marginTop.replace("px",""))-e.container.offsetTop}var c=e.pointToLocal(o.offsetX,o.offsetY);e.offsetSave.x=o.offsetX,e.offsetSave.y=o.offsetY,e.drawInfo||(e.drawInfo=new Object,e.drawInfo.cx=c.cx,e.drawInfo.cy=c.cy,e.drawInfo.cz=c.cz,e.drawInfo.list=[]),"text"!=e.drawType?(e.drawTagDiv.addEventListener(t[1],n),e.drawTagDiv.addEventListener(t[2],a),e.drawTagDiv.addEventListener(t[3],a)):(e._tagTextCtrl.addHotpoint(e._tagIdx,e.drawInfo),e._openDraw=!1),e.drawInfo.list.push(e.initDrawInfo(c,e.offsetSave)),e.nowDrawingInfo=e.drawInfo.list[e.drawInfo.list.length-1],e.parentVue.onCheckSaveEable(),e.getTags(e.nowDrawingInfo)}}function n(t){if(t.stopPropagation(),t.preventDefault(),et()){var o=t.touches[0];t.offsetX=o.clientX-Number(e.container.style.marginLeft.replace("px",""))-e.container.offsetLeft,t.offsetY=o.clientY-Number(e.container.style.marginTop.replace("px",""))-e.container.offsetTop}var i=e.pointToLocal(t.offsetX,t.offsetY);switch(e.drawType){case"point":var n=e.nowDrawingInfo.points[e.nowDrawingInfo.points.length-1];if(n&&n.cx==i.cx&&n.cy==i.cy&&n.cz==i.cz)return;e.nowDrawingInfo.points.push({cx:i.cx,cy:i.cy,cz:i.cz});break;case"arrow":case"line":case"rect":case"circle":i.cx==e.nowDrawingInfo.cx&&i.cy==e.nowDrawingInfo.cy&&i.cz==e.nowDrawingInfo.cz||(e.nowDrawingInfo.cx2=i.cx,e.nowDrawingInfo.cy2=i.cy,e.nowDrawingInfo.cz2=i.cz);break}e.drawSvg()}function a(o){var i=document.querySelector(".taglayer-nd");i&&i.className.indexOf("drawing")>=0&&(i.className=i.className.replace("drawing",""));for(var r=document.querySelectorAll(".nd-selector-box2"),c=0;c<r.length;c++){var s=r[c];s&&s.className.indexOf("edit")>=0&&(s.className=s.className.replace("edit",""))}if("point"==e.drawType&&1==e.nowDrawingInfo.points.length){var l=e.pointToLocal(e.offsetSave.x+1,e.offsetSave.y+1);e.nowDrawingInfo.points.push({cx:l.cx,cy:l.cy,cz:l.cz}),e.drawSvg()}if(e._openDraw&&"text"!==e.drawType&&"pic"!==e.drawType){nt.destroy_new();var d=e.parentVue.tagNum_list;e.parentVue.svgNum_list.push(d)}e.drawTagDiv.removeEventListener(t[1],n),e.drawTagDiv.removeEventListener(t[2],a),e.drawTagDiv.removeEventListener(t[3],a),o.stopPropagation(),o.preventDefault()}o.addEventListener(t[0],i,!1)},ct.prototype.getTagLayer=function(e){this.tagDiv&&(this.drawTagDiv.innerHTML="",this.tagDiv=null);var t="http://www.w3.org/2000/svg";this.tagDiv=document.createElement("div"),this.tagDiv.className="svg",this.nowSvg=document.createElementNS(t,"svg"),this.nowSvg.style.width="100%",this.nowSvg.style.height="100%",this.drawTagDiv.appendChild(this.tagDiv),this.tagDiv.appendChild(this.nowSvg);var o=this;e&&e.list&&e.list.length&&(e.list.forEach((function(e,t){e.num||(e.num=t+1),o.getTags(e)})),this.drawInfo=e,this.nowDrawingInfo=e.list[0]),this._openDraw?this.openDrawEvt():(this.drawTagDiv.style.pointerEvents="none","ImageAnno"!=e.state.origiType&&this._tagTextCtrl.writeInfo(e))},ct.prototype.getTags_old=function(e){switch(e.type){case"text":e.new&&(this._tagTextCtrl.newText(this.drawInfo),this.closeDraw(),e.new=!1);break;default:this.nowDiving=this.newDiv(e.type,e),this.nowDiving.setAttribute("d",this.getSVGpath(e))}e&&!e.new&&"text"!=e.type&&this.setTransform(this.nowDiving,e)},ct.prototype.getTags=function(e){this.nowDiving=this.newDiv(e.type,e),this.nowDiving.setAttribute("d",this.getSVGpath(e)),"arrow"==e.type&&this.nowDiving.setAttribute("fill",e.color),e&&!e.new&&this.setTransform(this.nowDiving,e)},ct.prototype.drawSvg=function(){this.nowDiving&&(this.nowDiving.setAttribute("d",this.getSVGpath(this.nowDrawingInfo)),this.setTransform(this.nowDiving,this.nowDrawingInfo))},ct.prototype.drawSvg_resize=function(){if(this.drawInfo.list&&this.drawInfo.list.length>0)for(var e=0;e<this.drawInfo.list.length;e++){var t=this.drawInfo.list[e];if(t.num&&Number(t.num>0)){var o=document.querySelector("svg g[num='"+t.num+"'] path");if(o){o.setAttribute("d",this.getSVGpath(t)),this.setTransform(o,t);var i=document.querySelector(".nd-selector-box2[num='"+t.num+"']");if(i){var n=o.parentElement||o.parentNode;nt.setDivPos(n,i)}}}}},ct.prototype.newDiv=function(e,t){var o=t.color||this.strokeColor,i=t.line||this.strokeWidth,n=document.createElementNS("http://www.w3.org/2000/svg","g");n.setAttribute("stroke",o),n.setAttribute("stroke-width",i),n.setAttribute("type",e),n.setAttribute("num",t.num),n.style.pointerEvents="none",n.setAttribute("fill","none");var a=document.createElementNS("http://www.w3.org/2000/svg","path");return n.appendChild(a),t.new&&(a.setAttribute("idx",t.idx),t.new=!1),this.nowSvg.appendChild(n),a},ct.prototype.getSVGpath=function(e){var t="";switch(e.type){case"point":e.points&&e.points.forEach((function(e,o){var i=Je(e.cx,e.cy,e.cz);t+=0==o?"M "+i.x+" "+i.y+" ":"L "+i.x+" "+i.y+" "}));break;case"arrow":var o=Je(e.cx,e.cy,e.cz),i=e.line||this.strokeWidth,n=Je(e.cx2,e.cy2,e.cz2);t=Ze(o,n,i);break;case"line":o=Je(e.cx,e.cy,e.cz),n=Je(e.cx2,e.cy2,e.cz2);t="M "+o.x+" "+o.y+" L "+n.x+" "+n.y+" ";break;case"rect":o=Je(e.cx,e.cy,e.cz),n=Je(e.cx2,e.cy2,e.cz2);t="M "+o.x+" "+o.y+" L "+n.x+" "+o.y+" L "+n.x+" "+n.y+" L"+o.x+" "+n.y+"z";break;case"circle":o=Je(e.cx,e.cy,e.cz),n=Je(e.cx2,e.cy2,e.cz2);t=Xe(o,n);break}return t},ct.prototype.setTransform=function(e,t){if(e=e.parentElement||e.parentNode,t.transform){var o="";if(t.transform.rotate){var i=e.getBBox();o="rotate("+t.transform.rotate+","+(i.x+i.width/2)+" "+(i.y+i.height/2)+")",$(e).data("rotate",t.transform.rotate)}t.transform.translate&&(t.transform.translate="",$(e).data("translate","")),$(e).attr("transform",o)}},ct.prototype.destroy=function(){this._openDraw=!1,this.drawTagDiv.style.display="none",this.drawTagDiv.style.zIndex=0,this.drawType="point",this.drawTagDiv.innerHTML="",this.tagDiv=null,this._tagTextCtrl.exit()},ct.prototype.isTextTag=function(){return!!(this.drawInfo.list&&this.drawInfo.list.length>0&&"text"==this.drawInfo.list[0].type)},ct.prototype.getTextDrawInfo=function(){try{var e=this._tagTextCtrl.getInfo();this.drawInfo.cx=e.pos.cx,this.drawInfo.cy=e.pos.cy,this.drawInfo.cz=e.pos.cz;var t=Je(this.drawInfo.cx,this.drawInfo.cy,this.drawInfo.cz),o=document.querySelector("#annoText").value,i=o;return this._tagTextCtrl.modifyHot(t,i),this.drawInfo.text=i,this.drawInfo}catch(n){return null}},ct.prototype.getInfo=function(){if(this.parentVue.picTagUrl){o=$("#annoText").val();this.drawInfo.text=o}else{var e=this._tagTextCtrl.getInfo();this.drawInfo.cx=e.pos.cx,this.drawInfo.cy=e.pos.cy,this.drawInfo.cz=e.pos.cz;var t=Je(this.drawInfo.cx,this.drawInfo.cy,this.drawInfo.cz),o=$("#annoText").val(),i=o.replace(/\n/g,"<br/>").replace(/\s/g," ");this._tagTextCtrl.modifyHot(t,i,this._tagTextCtrl.fontSize),this.drawInfo.text=encodeURIComponent(i)}return this.drawInfo},ct.prototype.revoke=function(){var e=this.drawInfo.list.length;if(e>1){var t=e-1;this.drawInfo.list.splice(t,1)}var o=this.parentVue.svgNum_list.length,i=this.parentVue.svgNum_list[o-1];$(`.taglayer-nd .svg svg g[num='${i}']`).remove();var n=o-1;this.parentVue.svgNum_list.splice(n,1),this.parentVue.onCheckSaveEable()},ct.prototype.cancelDraw=function(){this.drawInfo.list.length>1&&"text"==this.drawInfo.list[0].type&&(this.drawInfo.list.pop(),$(".taglayer-nd .svg svg g").last().remove(),(!this.drawInfo.list||this.drawInfo.list.length<=1)&&(this.parentVue.hasDrawData=!1)),this.drawInfo.list.length>0&&"text"!=this.drawInfo.list[0].type&&(this.drawInfo.list.pop(),$(".taglayer-nd .svg svg g").last().remove(),this.drawInfo.list&&0!=this.drawInfo.list.length||(this.parentVue.hasDrawData=!1))},ct.prototype.clear=function(){$(".taglayer-nd .svg svg g").remove(),this.drawInfo.list=[this.drawInfo.list[0]],"text"!=this.drawInfo.list[0]&&(this.drawInfo.list=[]),this.parentVue.svgNum_list=[],this.parentVue.onCheckSaveEable()},ct.prototype.destroy=function(){this._openDraw=!1,this.drawTagDiv.style.display="none",this.drawTagDiv.style.zIndex=0,this.drawType="text",this.drawTagDiv.innerHTML="",this.tagDiv=null,this._tagTextCtrl.exit()};var st=ct;const lt=function(e,t){const o=gt.getViewerIntance();e||(e=[]),e.forEach((e,i)=>{if(e.state&&"ImageAnno"==e.state.type&&(e.state.type="",e.state.origiType="ImageAnno"),e.state){var n=i+1;t.forEach((t,o)=>{e.state.uuid==t.state.uuid&&(n=o+1)}),e.state.index=n}o.addAnnotation(e)}),dt()},dt=function(){const e=gt.getViewerIntance();var t=e.isSectionViewEnabled();const o=w.state.menuStore.menuChoose,i=w.state.menuStore.menuChoose2;(t||["meter","tag"].includes(o)||["meterDistance","meterLength","meterAngle"].includes(i))&&e.setAnnotationsVisibility(0),pt()},mt=function(e){let t=[],o=w.state.modelStore.nowConfigName;return t=e.filter(e=>!e.modelName||e.modelName==o),t},ut=function(){const e=w.state.modelStore.allTag;e.map((e,t)=>{let o=t+1;gt._viewer.changeAnnotationIndex(e.tagId,o)})},pt=()=>{const e=w.state.tagStore.tagHideList;setTimeout(()=>{e.map(e=>{gt._viewer.setAnnotationsVisibilityByUuid(0,e)})})},ht={_viewer:null,_nowModel:0,_OnlyVisbale:void 0,_viewMode:"common",_modelId:0,_inited:!1,init(e){if(this._inited)return;let t;let o=nd_viewCtrl&&nd_viewCtrl.language||"zh";this._inited=!0,this._viewer=new NDSWebViewer.Viewer({id:"viewer",from:"pc",singleHTML:!1,singleWorkerSource:t,serverUrl:"./",NdsLoadWorkerUrl:"coreViewer/NDSRequestWorker.min.js",NdsPluginFileList:["NDSStoreView"],prepareModelCallBack:nd_viewCtrl.prepareModelCallBack||null,waterInfo:nd_viewCtrl.waterInfo||null,structureHideBody:!0,enableArrowKeyOp:!0,backGroundColor:e.bgColor,enableGroundShadow:e.showShadow,enableAutoRotation:e.autoPlay,backGroundImage:e.bgImg,is2DModel:!1,language:"zh"==o?"zh-CN":o,inAssemblyContext:e.inAssemblyContext,toolbar:!1,pmiVisible:e.pmiVisible,loadbrepDefault:e.loadbrepDefault,has2DCover:!0,hasLoadingWaiter:!1,hasLoadingCoverer:!0,enableSelect:!0,autoSwitchFirstPersonView:!1,showLines:!0,projectionMode:e.projectionMode,hasViewBox:!nd_viewCtrl.setBoxHide,limitEventArea:!0,convertPhongToPBR:!0,enableBodyVolumeMeasure:!0,clipPlaneShaderVersion:3,showSectionPlane:!0,defaultStandardView:e.defaultStandardView,defaultOpRotate:!0,Arthur:e.Arthur,viewState:e.viewState,testMode:e.testMode,reflected:!!e.reflected,angles:e.angles,disratio:e.disratio,gobalReqHeader:e.viewerReqHeader||null})},async loadModelView(e,t,o,i,n){let a,r=nd_viewCtrl&&nd_viewCtrl.renderKey,c=nd_viewCtrl&&nd_viewCtrl.viewMode;if(r){const e=JSON.parse(_e(r));if(e.viewMode!=c||!Ue())return fS.$eventBus.emit("MsgTipEvent4",fS.$t("modelLoadErr")),w.commit("menuStore/setShowManyConfig",!1),void w.commit("setShowLoading",!1)}if(a=await this.allowCode(e),2==a&&!w.state.modelIsLoaded&&"sync"!=c){if(!nd_viewCtrl.hasOwnProperty("fingerHttp"))return w.commit("setShowLoading",!1),w.commit("menuStore/setShowManyConfig",!1),void fS.$eventBus.emit("MsgTipEvent4",fS.$t("modelLoadErr"));const e=await Ve(),t=await Ee({url:nd_viewCtrl.fingerHttp+"/nds_requests/common/ViewerVisit",method:"POST",data:{browserMark:e,viewerVersion:ViewerVersion,viewerType:"3DPC"}});if(!t)return w.commit("menuStore/setShowManyConfig",!1),w.commit("setShowLoading",!1),void fS.$eventBus.emit("MsgTipEvent4",fS.$t("modelLoadErr"));if(1!=t.status.code)return fS.$eventBus.emit("MsgTipEvent",t.status.msg),w.commit("menuStore/setShowManyConfig",!1),void w.commit("setShowLoading",!1);r=t.data;let o=JSON.parse(_e(t.data));if(o.browserMark!=e)return w.commit("menuStore/setShowManyConfig",!1),void w.commit("setShowLoading",!1);if(!o.visit)return fS.$eventBus.emit("MsgTipEvent4",fS.$t("modelLimitErr")),w.commit("menuStore/setShowManyConfig",!1),void w.commit("setShowLoading",!1)}if(2==a&&!w.state.modelIsLoaded){const e=this._viewer.allowRenderModel(r,!0);if(2!=e)return fS.$eventBus.emit("MsgTipEvent4",fS.$t("modelLoadErr")),w.commit("menuStore/setShowManyConfig",!1),void w.commit("setShowLoading",!1)}w.commit("setShowLoading",!0),i=i||null,n=n||{},n.configNum=o||0,n.configName=w.state.modelStore.nowConfigName,this._viewer.resetForReload(),w.commit("modelStore/setModelPath",e),w.commit("modelStore/setModelSetInfo",n),this._viewer.loadModel("idv",e,void 0,void 0,"js",i,(function(){ht._nowModel=o,t&&t(),w.commit("setShowLoading",!1)}),null,n)},allowCode(e){return new Promise((t,o)=>{this._viewer.allowshow(e,e=>{t(e)})})},modelUnit:function(){return this._viewer.modelUnit},containProperty:function(){return this._viewer.containProperty},getViewerIntance(){return this._viewer||{}},onMoveForward:function(){this._viewer.onMoveForward()},onMoveBack:function(){this._viewer.onMoveBack()},onMoveLeft:function(){this._viewer.onMoveLeft()},onMoveRight:function(){this._viewer.onMoveRight()},onResetCamera:function(){return this._viewer.onResetCamera()},setOperatorByID:function(e){return this._viewer.setOperatorByID(e)},onSectionView:function(e){return this._viewer.onSectionView(e)},hideShowClipPlane:function(e){return this._viewer.clipPlaneManager.hideShowClipPlane(e)},reverseClipDirection:function(){return this._viewer.clipPlaneManager.reverseClipDirection()},getSelectedObjects:function(){return this._viewer.selectionManager.getSelectedObjects()},getSelectedNewObjects:function(){return this._viewer.selectionManager.getSelectedNewObjects()},isolateSelectedObjects:function(){return this._viewer.isolateSelectedObjects()},hideSelectedObjects:function(){return this._viewer.hideSelectedObjects()},transparentSelectedObjects:function(){return this._viewer.transparentSelectedObjects()},onSelectAndMoveModel:function(){return this._viewer.onSelectAndMoveModel(!0)},onSelectAndRestoreModel:function(){return this._viewer.onSelectAndRestoreModel(!0)},restoreAllDraggedObjects:function(){return this._viewer.restoreAllDraggedObjects(!0)},onHideModel:function(){return this._viewer.onHideModel()},onReverseVisibleAndHidingModel:function(){return this._viewer.onReverseVisibleAndHidingModel()},showAllModel:function(){return this._viewer.showAllModel()},getSelectedObjectProperty:function(e){this._viewer.getSelectedObjectProperty(e)},getfileProperty:function(e,t){this._viewer.getfileProperty(e,t)},getfileguid:function(e){return this._viewer.getfileguid(e)},hasObjectHiddenOrIsolated:function(){return this._viewer.hasObjectHiddenOrIsolated()},getModelTree:function(){return this._OnlyVisbale=k(),this._viewer.getModelTree(this._OnlyVisbale)},getModelTotalTree:function(e){return this._viewer.getModelTotalTree(e)},isLeaf:function(e){return this._viewer.isLeaf(e)},clearSelection:function(){this._viewer.selectionManager.clearSelection(),this.render()},selectObject:function(e){this._viewer.selectionManager.selectObject(e,!0)},deselectObject:function(e){this._viewer.selectionManager.deselectObject(e)},isolateSelectedObjects:function(e){this._viewer.isolateSelectedObjects()},zoomToObject:function(e){this._viewer.zoomToObject(e)},getObjectProperty:function(e,t){this._viewer.getObjectProperty(e,t)},setMeasureOpType:function(e){this._viewer.setMeasureOpType(e)},lookByFace:function(e){this._viewer.cameraControl.lookByFace(e)},onBoxSectionView:function(e){this._viewer.onBoxSectionView(e)},setBackGroundColor:function(e){this._viewer.setBackGroundColor(e)},getHotPoint:function(e,t){return this._viewer.getHotPoint(e,t)},addAnnotation:function(e){this._viewer.addAnnotation(e)},addAnnotationSave:function(e){this._viewer.addAnnotationSave(e)},CorrectPosition:function(e){this._viewer.CorrectPosition(e)},resetSelectAnnotation:function(){this._viewer.resetSelectAnnotation()},setAnnotationsVisibility:function(e){const t=w.state.modelStore.nowTag,o=w.state.tagStore.tagHideList;setTimeout(()=>{t.map(t=>{o.includes(t.tagId)?this._viewer.setAnnotationsVisibilityByUuid(0,t.tagId):this._viewer.setAnnotationsVisibilityByUuid(e,t.tagId)})})},selectAnnotation:function(e){this._viewer.selectAnnotation(e)},removeAnnotation:function(e){this._viewer.removeAnnotation(e)},removeAnnotations:function(e){this._viewer.removeAnnotations(e)},removeAllAnnotations:function(){this._viewer.removeAllAnnotations()},displayViewBox:function(e){this._viewer.displayViewBox(e)},clientCoordToModelCoord:function(e,t){return this._viewer.clientCoordToModelCoord(e,t)},modelCoordToClientCoord:function(e,t){return this._viewer.modelCoordToClientCoord(e,t)},onExplode:function(e){this._viewer.onExplode(e)},getExplodeFactor:function(){return this._viewer.getExplodeFactor()},onLineVisibility:function(e){this._viewer.onLineVisibility(e)},getScreenCapture:function(){return this._viewer.getScreenCapture()},getScreenCapturethumbnail:function(){return this._viewer.getScreenCapturethumbnail()},getCurrentOperatorID:function(){return this._viewer.getCurrentOperatorID()},isModelMoved:function(){return this._viewer.isModelMoved()},onSelectAndMoveModel:function(){"OpDrag"!=this._viewer.getCurrentOperatorID()&&this._viewer.setOperatorByID("OpDrag"),this._viewer.onSelectAndMoveModel(!0)},onSelectAndRestoreModel:function(){"OpDrag"!=this._viewer.getCurrentOperatorID()&&this._viewer.setOperatorByID("OpDrag"),this._viewer.onSelectAndRestoreModel(!0)},isPerspective:function(){return this._viewer.camera.IsPerspective()},toPerspective:function(){this._viewer.camera.toPerspective()},toOrthographic:function(){this._viewer.camera.toOrthographic()},showObject:function(e,t,o=!1,i=!1){const n=this._viewer.getObjectByUUID(e.uuid);this._viewer.showObject(n,t,o,i),this._viewer.hideUnloadbodies(n)},render:function(){this._viewer.renderAllViews(),this._viewer.render()},isAllHidden:function(){return this._viewer.isAllHidden()},setPmiVisible:function(e){this._viewer.setPmiVisible(e)},setPmiVisible2:function(e){this._viewer.setPmiVisible2(e)},isObjectOrSomeChildHidden:function(e){return this._viewer&&this._viewer.isObjectOrSomeChildHidden(e)},getObjectOrSomeChildVisibleStatus:function(e){let t=this._viewer.getObjectOrSomeChildVisibleStatus(e);return 1==t?"Y":2==t?"P":"N"},getPMIObjectOrSomeChildVisibleStatus:function(e){let t=this._viewer.getPMIObjectOrSomeChildVisibleStatus(e);return 1==t?"Y":2==t?"P":"N"},getCameraInfo:function(){return this._viewer.getCameraInfo()},hasAnimations:function(){return this._viewer.hasAnimations()},getAllAnimationsInfo:function(){return this._viewer.getAllAnimationsInfo()},startAnimationByUUID:function(e,t){this._viewer.startAnimationByUUID(e,t)},setAnimationScaleByUUID:function(e,t){this._viewer.setAnimationScaleByUUID(e,t)},exitAnimations:function(){this._viewer.exitAnimations()},enableRotation:function(e){this._viewer.enableRotation(e)},OpMeasureRelease:function(){this._viewer.OpMeasureRelease()},getMeasureListContent:function(){return this._viewer.getMeasureListContent?this._viewer.getMeasureListContent():[]},setRenderMode:function(e){this._viewer.setRenderMode(e)},closeClipControl:function(){this._viewer.onCloseClipControl()},openClipControl:function(){this._viewer.onOpenClipControl()},switchPartClipObjects:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.switchPartClipObjects&&this._viewer.clipPlaneManager.switchPartClipObjects(e)},setSelectedClipRadio:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setSelectedClipRadio&&this._viewer.clipPlaneManager.setSelectedClipRadio(e)},setSelectedClipObjects:function(e=[]){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setSelectedClipObjects&&this._viewer.clipPlaneManager.setSelectedClipObjects(e)},removeSelectedClipObjects:function(e=[],t=[]){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.removeSelectedClipObjects&&this._viewer.clipPlaneManager.removeSelectedClipObjects(e,t)},clearSelectedClipObjects:function(){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.clearSelectedClipObjects&&this._viewer.clipPlaneManager.clearSelectedClipObjects()},getModelViewInfo:function(){const e=this._viewer&&this._viewer.getModelViewInfo&&this._viewer.getModelViewInfo();return e||null},setModelViewInfo:function(e){this._viewer&&this._viewer.setModelViewInfo&&this._viewer.setModelViewInfo(e)},isInMultipleViewport:function(){return!(!this._viewer||!this._viewer.isInMultipleViewport)&&this._viewer.isInMultipleViewport()},setAllMeasureVisible:function(e){const t=this.getMeasureListContent()||[];t.forEach(t=>this._viewer.setMeasureVisibilityByUuid&&this._viewer.setMeasureVisibilityByUuid(e,t.measureId))},setTouchLevelICheck:function(e=0){this._viewer&&this._viewer.setTouchLevelICheck&&this._viewer.setTouchLevelICheck(e)},getEstimateTimeICheck:function(){const e=this._viewer&&this._viewer.getEstimateTimeICheck&&this._viewer.getEstimateTimeICheck();return e||0},openICheck:function(){this._viewer&&this._viewer.openICheck&&this._viewer.openICheck()},closeICheck:function(){this._viewer&&this._viewer.closeICheck&&this._viewer.closeICheck()},selectItemsICheck:function(e=[],t=!1,o=!1){this._viewer&&this._viewer.selectItemsICheck&&this._viewer.selectItemsICheck(e,t,o)},hidePartsUselessICheck:function(e=!1){this._viewer&&this._viewer.hidePartsUselessICheck&&this._viewer.hidePartsUselessICheck(e)},unSelectAllICheck:function(e=!1){this._viewer&&this._viewer.unSelectAllICheck&&this._viewer.unSelectAllICheck(e)},setSelectedObjectRenderMode:function(e){e&&this._viewer&&this._viewer.setSelectedObjectRenderMode&&this._viewer.setSelectedObjectRenderMode(e)},resetModelViewToDefault:function(){this._viewer&&this._viewer.resetModelViewToDefault&&this._viewer.resetModelViewToDefault()},setSelectedObjectDisplayResert:function(){this._viewer&&this._viewer.setSelectedObjectDisplayResert&&this._viewer.setSelectedObjectDisplayResert()},showClipLine:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.showClipLine&&this._viewer.clipPlaneManager.showClipLine(e)},setClipLineColor:function({r:e,g:t,b:o,a:i}){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipLineColor&&this._viewer.clipPlaneManager.setClipLineColor({r:e,g:t,b:o,a:i})},showClipMesh:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.showClipMesh&&this._viewer.clipPlaneManager.showClipMesh(e)},setClipMeshColor:function(e){if(!e)return void(this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipMeshColor&&this._viewer.clipPlaneManager.setClipMeshColor());const{r:t,g:o,b:i,a:n}=e||{};this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipMeshColor&&this._viewer.clipPlaneManager.setClipMeshColor({r:t,g:o,b:i,a:n})},setClipMeshRandom:function(){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipMeshRandom&&this._viewer.clipPlaneManager.setClipMeshRandom()},onCustomClipPlane:function(e=!1,t){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.onCustomClipPlane&&this._viewer.clipPlaneManager.onCustomClipPlane(e,t)},setClipDeltaPosition:function(e){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipDeltaPosition&&this._viewer.clipPlaneManager.setClipDeltaPosition(e)},setClipDeltaRotation:function(e){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.setClipDeltaRotation&&this._viewer.clipPlaneManager.setClipDeltaRotation(e)},lineMeshPick:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.lineMeshPick&&this._viewer.clipPlaneManager.lineMeshPick(e)},onPauseCustomPick:function(e=!1){this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.onPauseCustomPick&&this._viewer.clipPlaneManager.onPauseCustomPick(e)},getMaxDistance:function(){return this._viewer&&this._viewer.clipPlaneManager&&this._viewer.clipPlaneManager.getMaxDistance&&this._viewer.clipPlaneManager.getMaxDistance()}};var gt=ht;const vt=function(e){if(Detector.webgl){var t=T();const r={modejsPath:"",modelList:[],configNum:t.configNum,shareInfo:t.shareInfo,allTag:t.allTag,nowTag:[],nowConfigName:"",tagRelate:t.tagRelate,hasManyAccuracy:e.hasManyAccuracy,mpath:e.mpath,askAccuracy:t.askAccuracy,viewerReqHeader:t.viewerReqHeader};gt.init(t);var o="";if(e.isModelCfg){r.modelList=H(e.cfgSrcs),(-1==r.configNum||1==r.modelList.length||r.configNum-1>r.modelList.length)&&(r.configNum=0);var i=r.modelList[r.configNum];if(i){i.isShare=!0,r.modejsPath=i.modejsPath,o=i.Folder;var n=i.Name;r.nowConfigName=n,r.tagRelate&&t.allTag?r.nowTag=t.allTag.filter(e=>!e.modelName||e.modelName==n):r.allTag&&(r.nowTag=JSON.parse(JSON.stringify(r.allTag)))}}else r.modejsPath=e.cfgSrcs[0],r.nowTag&&(r.nowTag=JSON.parse(JSON.stringify(r.allTag)));w.commit("modelStore/initModelInfo",{opt:r}),window.configImgPath=o;var a=r.shareInfo.camerainfo;return a&&r.shareInfo,r}alert("系统不支持!")};function bt(e,t){var o=e,i=e&&e.indexOf("model.js");i>1?o=e.substr(0,i):e.lastIndexOf("/")!=e.length-1&&(o=e+"/"),w.commit("setPath",o),Ee({url:o+"Configurations.json?temp="+(new Date).getTime(),method:"GET",header:window.nd_viewCtrl&&(nd_viewCtrl.viewerReqHeader||"")}).then(e=>{var i=!!e,n={isModelCfg:i,cfgSrcs:[],hasManyAccuracy:!1,accuracyInfo:{data:[],curLevel:"2"},mpath:o};if(void 0!=nd_viewCtrl.defaultAccuracy&&w.commit("modelStore/setAccuracyLevel",nd_viewCtrl.defaultAccuracy),n.accuracyInfo.curLevel=w.state.modelStore.accuracyInfo.curLevel,e){var a="";e.Accuracy&&e.Accuracy.length>0&&(n.accuracyInfo.data=e.Accuracy,e.Accuracy.map(e=>{e.Level!=n.accuracyInfo.curLevel&&e.Folder!=n.accuracyInfo.curLevel||(o=a+o+e.Folder+"/")}),n.hasManyAccuracy=!0),e.Configurations&&(n.cfgSrcs=e.Configurations,n.cfgSrcs.map((function(e){e.Folder=a+o+e.Folder})),n.isModelCfg=!0)}n.isModelCfg||(n.cfgSrcs=[o+"model.js"]),w.commit("modelStore/setModelCfg",n);var r=vt(n);t&&t(r,w)})}const wt=function(e){const t=T();let o=window.nd_viewerComposedMain;gt.init(t),gt._viewer.loadFlateDate(window.nd_viewerBlob,o),gt._viewer.addEventListener("Configurations",t=>{let i="";o&&(i=o+"/");const n=JSON.parse(t.userData),a=!!n,r={isModelCfg:a,cfgSrcs:[],hasManyAccuracy:!1,accuracyInfo:{data:[],curLevel:"2"},mpath:""};if(void 0!=nd_viewCtrl.defaultAccuracy&&w.commit("modelStore/setAccuracyLevel",nd_viewCtrl.defaultAccuracy),r.accuracyInfo.curLevel=w.state.modelStore.accuracyInfo.curLevel,n){var c="";n.Accuracy&&n.Accuracy.length>0&&(r.accuracyInfo.data=n.Accuracy,n.Accuracy.map(e=>{e.Level!=r.accuracyInfo.curLevel&&e.Folder!=r.accuracyInfo.curLevel||(i="./"+c+i+e.Folder+"/")}),r.hasManyAccuracy=!0),n.Configurations&&(r.cfgSrcs=n.Configurations,r.cfgSrcs.map(e=>{e.Folder="./"+c+i+e.Folder}),r.isModelCfg=!0)}r.isModelCfg||(r.cfgSrcs=["./"+i+"model.js"]),w.commit("modelStore/setModelCfg",r);t=vt(r);e&&e(t)})};var St={rootClass:"five",hideMutlti:!1,showBtnCfg:[{},{id:"ico-showSetting",list:[{id:"ico-shadedWithEdges"},{id:"ico-shaded"},{id:"ico-hiddenLineVisible"},{id:"ico-hiddenLineRemove"},{id:"ico-touyin"},{id:"ico-home"}]},{id:"ico-measure",list:[{id:"ico-distance",list:[{id:"ico-smartdis"},{id:"ico-pt2pt"},{id:"ico-pt2line"},{id:"ico-pt2face"},{id:"ico-line2line"},{id:"ico-line2face"},{id:"ico-face2face"},{id:"ico-holeDist"},{id:"ico-axis2pt"},{id:"ico-axis2line"},{id:"ico-axis2face"}]},{id:"ico-length",list:[{id:"ico-smartlen"},{id:"ico-edges"},{id:"ico-perimeter"}]},{id:"ico-angle",list:[{id:"ico-smartang"},{id:"ico-lineAngel"},{id:"ico-faceAngle"},{id:"ico-linefaceAngle"}]},{id:"ico-radius"},{id:"ico-area",list:[{id:"ico-areaFace"},{id:"ico-areaEntity"},{id:"ico-areaTotal"}]},{id:"ico-volumweight",list:[{id:"ico-vol-boundingboxEntity"},{id:"ico-volumTotal"}]},{id:"ico-boundingbox",list:[{id:"ico-boundingboxEntity"},{id:"ico-boundingTotal"}]},{id:"ico-measureClear"}]},{id:"ico-cutout"},{id:"ico-explode"},{id:"ico-structure"},{id:"ico-property",list:[{id:"ico-proEntity"},{id:"ico-proTotal"}]},{id:"ico-display",list:[{id:"ico-highLight"},{id:"ico-displayHideOther"},{id:"ico-displayHide"},{id:"ico-transparent"},{id:"ico-displayResert"}]},{id:"ico-drag",list:[{id:"ico-dragMove"},{id:"ico-dragRestore"},{id:"ico-dragRestoreAll"}]},{id:"ico-unit"},{id:"ico-plus"}]};const Ct={_btnSetting:[],_bottomDom:[],init(){"overseas"==nd_viewCtrl.showBtnMode&&(nd_viewCtrl.showBtnCfg=St.showBtnCfg),nd_viewCtrl.showBtnCfg&&nd_viewCtrl.showBtnCfg.length>0&&(this._btnSetting=nd_viewCtrl.showBtnCfg)},readyForDom(e){const t=this;t.init(),this._btnSetting.forEach((e,o)=>{t.changeOneLevelBottom(e,o)}),e&&e()},getChildDom(e){let t=[];if(e){const o=this;e.forEach((e,i)=>{let n=document.getElementById(e.id);n&&n.setAttribute("sortidx",i),e.imgUrl&&n.querySelector("img").setAttribute("src",e.imgUrl),t.push(n);let a,r=document.getElementById(e.id+"-list"),c=o.getChildDom(e.list);r&&(a=r.querySelector(".return-menu")),r&&(r.innerHTML="",a&&r.appendChild(a),c.length&&c.map(e=>{e&&r.appendChild(e)}))})}return t},changeLevelLeft(e){if(e.id){let t=document.getElementById(e.id+"-list"),o=this.getChildDom(e.list);if(o=o.sort((e,t)=>e.getAttribute("sortidx")-t.getAttribute("sortidx")),t.innerHTML="",o.length?o.map(e=>{t.appendChild(e)}):t.nextElementSibling.style.display="block",e.imgUrl){let t=document.getElementById(e.id).querySelector("img");t.setAttribute("src",e.imgUrl)}}},changeOneLevelBottom(e,t){let o;o=document.getElementById(e.id),o&&(o.setAttribute("sortidx",t),this.changeBottomChildDom(e),this._bottomDom.push(o),e.imgUrl&&o.querySelector("img").setAttribute("src",e.imgUrl)),t==this._btnSetting.length-1&&this.sortBottomOneLevelBtn()},changeBottomChildDom(e){let t=document.getElementById(e.id+"-list"),o=t&&t.querySelector(".return-menu"),i=this.getChildDom(e.list);i=i.sort((e,t)=>e.getAttribute("sortidx")-t.getAttribute("sortidx")),t&&(t.innerHTML="",o&&t.appendChild(o),i.length?i.map(e=>{t.appendChild(e)}):t.nextElementSibling&&(t.nextElementSibling.style.display="block"))},sortBottomOneLevelBtn(){let e=document.getElementById("bottomMainMenu");this._bottomDom=this._bottomDom.sort((e,t)=>e.getAttribute("sortidx")-t.getAttribute("sortidx"));const t=document.getElementById("ico-arrowRight"),o=document.getElementById("ico-arrowLeft");e.innerHTML="",e.appendChild(o),this._bottomDom.map(t=>{e.appendChild(t)}),e.appendChild(t)},checkIsOverwidth(e){const t=$(e+">li").not(".return-menu"),o=$("#vueMain").width(),i=t.length,n=82*i;var a=$(e+">li.return-menu").length>0,r=a?160:10;return(o<1080||i>8)&&!(o-n>r)},hideRightBottom(e,t){e+=">li",$(e).not(".return-menu").each((e,t)=>{e>7?$(t).hide():$(t).show()}),t&&t()},hideLeftBottom(e,t){e+=">li";const o=$(e)&&$(e).not(".return-menu").length;$(e).not(".return-menu").each((e,t)=>{e<o-8?$(t).hide():$(t).show()}),t&&t()},showAllBottom(e,t){e+=">li",$(e).not(".return-menu").each((e,t)=>{$(t).show()}),t&&t()}};var Ot=Ct,ft={};const yt={tagInfo:{},saveAllType:{},getTreeData:!1,getEasyTreeData:!1,isTagStatus:!1,operTagOpenId:"",willTagOpenId:"",lastFreeOper:!1,windowWhite:[],lastTagselectId:"",sendAllMsg(){try{this.sendCenter(1),this.sendCenter(2),this.sendCenter(3),this.sendCenter(4),this.sendCenter(5),this.sendCenter(6),this.sendCenter(7),this.sendCenter(8),this.sendCenter(9),this.sendCenter(10)}catch(e){}},receiveAllMsg(e,t,o){let i=e||this.saveAllType||{},n=t||[];try{i=JSON.parse(i)}catch(a){i=i||{}}if(this.saveAllType=i,"fromWindow"==o&&(this.windowWhite=n),i.hasOwnProperty("8")&&!n.includes(8)&&i["8"])this.receiveCenter(i["8"]);else{n=[...n,...this.windowWhite];for(let e in i)!n.includes(1*e)&&i[""+e]&&this.receiveCenter(i[""+e])}},receiveCenter(e){const t=JSON.parse(e);this.judgeCanReceive()&&(this.saveAllType[t.type]=e,1==t.type?(gt._viewer.setBroadcastInfo(t.data),fS.$tag.ctrlDraw.resizeTags()):2==t.type?this.setButtomStatus(t):3==t.type?this.setCardStatus(t):4==t.type?this.setValueStatus(t):5==t.type?this.setTreeStatus(t):6==t.type?this.setTagStatus(t):7==t.type?this.setPositionStatus(t):8==t.type?this.setMultiStatus(t):9==t.type?this.setEasyTreeStatus(t):10==t.type&&this.setSeTreeStatus(t))},sendCenter(e,t){let o=this;if("sync"==nd_viewCtrl.viewMode&&(!nd_viewCtrl||nd_viewCtrl.rtmSDK.isRtmOperate))if(1==e){let t=o.getBroadcast();t&&o.sendDirect(e,t)}else 2==e?o.sendDirect(e,o.getButtomStatus()):3==e?o.sendDirect(e,o.getCardStatus()):4==e?o.sendDirect(e,o.getValueStatus()):5==e?o.sendDirect(e,o.getTreeStatus(t)):6==e?o.sendDirect(e,o.getTagStatus(t)):7==e?o.sendDirect(e,o.getPositionStatus()):8==e?o.sendDirect(e,o.getMultiStatus()):9==e?o.sendDirect(e,o.getEasyTreeStatus(t)):10==e&&o.sendDirect(e,o.getSeTreeStatus(t))},sendDirect(e,t){const o={type:e,data:t,terminal:"PC"};nd_viewCtrl&&nd_viewCtrl.rtmSDK&&nd_viewCtrl.rtmSDK.rtmSendMsg(o)},getBroadcast(){let e=!1;try{e=gt._viewer.getBroadcastInfo()}catch(t){}return e},getButtomStatus(){return{showOneMenu:w.state.menuStore.showOneMenu,menuChoose:w.state.menuStore.menuChoose,menuChoose2:w.state.menuStore.menuChoose2,menuChoose3:w.state.menuStore.menuChoose3,showAllMenu:w.state.menuStore.showAllMenu,measureShow:w.state.modelStore.measureShow,disMeterStartIdx:fS.$diastanceBtn.meterStartIdx,lineMeterStartIdx:fS.$linearBtn.meterStartIdx,lenMeterStartIdx:fS.$lengthBtn.meterStartIdx,angMeterStartIdx:fS.$angleBtn.meterStartIdx,dragMode:fS.$drawBtn.dragMode,nowMeterType:fS.$meterBtn.nowMeterType,showAreaMeter:fS.$meterBtn.showAreaMeter,showBoundMeter:fS.$meterBtn.showBoundMeter,showVolMeter:fS.$meterBtn.showVolMeter,displayMode:fS.$showHideBtn.displayMode,isPerspective:fS.$settingsBtn.isPerspective}},setButtomStatus(e){w.commit("menuStore/setMenuChoose",e.data.menuChoose),w.commit("menuStore/setMenuChoose2",e.data.menuChoose2),w.commit("menuStore/setMenuChoose3",e.data.menuChoose3),w.commit("menuStore/setShowOneMenu",e.data.showOneMenu),w.commit("menuStore/setShowAllMenu",e.data.showAllMenu),w.commit("modelStore/setMeasureShow",e.data.measureShow),fS.$diastanceBtn.meterStartIdx=e.data.disMeterStartIdx,fS.$linearBtn.meterStartIdx=e.data.lineMeterStartIdx,fS.$angleBtn.meterStartIdx=e.data.angMeterStartIdx,fS.$drawBtn.dragMode=e.data.dragMode,fS.$lengthBtn.meterStartIdx=e.data.lenMeterStartIdx,fS.$meterBtn.nowMeterType=e.data.nowMeterType,fS.$meterBtn.showAreaMeter=e.data.showAreaMeter,fS.$meterBtn.showBoundMeter=e.data.showBoundMeter,fS.$meterBtn.showVolMeter=e.data.showVolMeter,fS.$showHideBtn.displayMode=e.data.displayMode,fS.$settingsBtn.isPerspective=e.data.isPerspective},getCardStatus(){return{structMenu:w.state.menuStore.structMenu,attrMenu:w.state.menuStore.attrMenu,coutMenu:w.state.menuStore.coutMenu,structEasyMenu:w.state.menuStore.structEasyMenu,unitMenu:w.state.menuStore.unitMenu,pmiMenu:w.state.menuStore.pmiMenu,colorMenu:w.state.menuStore.colorMenu,settingsMenu:w.state.menuStore.settingsMenu,grithMenu:w.state.menuStore.grithMenu,showConfigContent:fS.$configSwitch.showCfgContent,isShowDataBox:fS.$attrVolArea.isShowDataBox}},setCardStatus(e){w.commit("menuStore/setStructMenu",e.data.structMenu),w.commit("menuStore/setAttrMenu",e.data.attrMenu),w.commit("menuStore/setCoutMenu",e.data.coutMenu),w.commit("menuStore/setStructEasyMenu",e.data.structEasyMenu),w.commit("menuStore/setUnitMenu",e.data.unitMenu),w.commit("menuStore/setPmiMenu",e.data.pmiMenu),w.commit("menuStore/setColorMenu",e.data.colorMenu),w.commit("menuStore/setSettingsMenu",e.data.settingsMenu),w.commit("menuStore/setGrithMenu",e.data.grithMenu),fS.$configSwitch.showCfgContent=e.data.showConfigContent,fS.$attrVolArea.isShowDataBox=e.data.isShowDataBox},getValueStatus(){return{bgTag:fS.$settingsCom&&fS.$settingsCom.bgTag,unit:w.state.modelStore.unit,bgSetList:w.state.modelStore.bgSetList,expModeIndex:w.state.expStore.modeIndex,expAxis:w.state.expStore.axis,expLevel:w.state.expStore.level,expOpenPartCout:fS.$explodeCom.openPartCout,expProgressRatio:fS.$explodeCom.progressRatio,bombScale:w.state.modelStore.bombScale,vwChooseType:fS.$volumeWeight.chooseType,vwNowMTidx:fS.$volumeWeight.nowMTidx,vwNowMTDTidx:fS.$volumeWeight.nowMTDTidx,vwSelfMaterialData:fS.$volumeWeight.selfMaterialData,vwVolume:fS.$volumeWeight.volume,vwWeight:fS.$volumeWeight.weight,vwNowMTDname:fS.$volumeWeight.nowMTDname,coutLight:fS.$coutSelect.coutLight,coutFace:fS.$coutSelect.coutFace,openCout:fS.$coutSelect.openCout,hideCout:fS.$coutSelect.hideCout,reverseCout:fS.$coutSelect.reverseCout,openBigCout:fS.$coutSelect.openBigCout,showCoutFace:fS.$coutSelect.showCoutFace,coutRotate:fS.$coutSee.rotate,coutOverturn:fS.$coutSee.overturn,coutScale:fS.$coutSee.scale,coutShowBigModel:fS.$coutSee.showBigModel,autoColorHex:w.state.modelStore.autoColorHex,partColor:w.state.modelStore.partColor,selectColor:fS.$colorSet.selectColor,hasSelectNode:fS.$colorSet.hasSelectNode,perimeters:fS.$girthCom.perimeters,unitDensitySwitch:fS.$girthCom.unitDensitySwitch,isShowPmi:w.state.modelStore.IsShowPmi,isPMIVisible:fS.$bottomBtn.isPMIVisible,isPmiSet:fS.$settingsCom.pmiSet,pface:fS.$lmPface.pface,attrMode:fS.$attrCom.attrMode,modelAttrData:fS.$attrCom.modelAttrData,modelAttrData_self:fS.$attrCom.modelAttrData_self,modelSelfData:fS.$attrCom.modelSelfData,modifyAttrData:fS.$attrCom.modifyAttrData,attrTitle:fS.$attrCom.attrTitle,attrTitleSelf:fS.$attrCom.attrTitleSelf}},setValueStatus(e){fS.$settingsCom.bgTag=e.data.bgTag&&e.data.bgTag,fS.$settingsCom.pmiSet=e.data.isPmiSet,fS.$lmPface.pface=e.data.pface,w.commit("modelStore/setUnitType",e.data.unit),w.commit("modelStore/setBgSetList",e.data.bgSetList),w.commit("expStore/setMode",e.data.expModeIndex),w.commit("expStore/setAxis",e.data.expAxis),w.commit("expStore/setLevel",e.data.expLevel),fS.$explodeCom.openPartCout=e.data.expOpenPartCout,w.commit("modelStore/setBombScale",e.data.bombScale),fS.$explodeCom.resetRatio(e.data.bombScale||0),e.data.vwChooseType&&(fS.$volumeWeight.chooseType=e.data.vwChooseType),e.data.vwSelfMaterialData&&(fS.$volumeWeight.selfMaterialData=e.data.vwSelfMaterialData),fS.$volumeWeight.nowMTidx=e.data.vwNowMTidx,fS.$volumeWeight.nowMTDTidx=e.data.vwNowMTDTidx,fS.$volumeWeight.volume=e.data.vwVolume,fS.$volumeWeight.weight=e.data.vwWeight,fS.$volumeWeight.nowMTDname=e.data.vwNowMTDname,fS.$coutSelect.coutLight=e.data.coutLight,fS.$coutSelect.coutFace=e.data.coutFace,fS.$coutSelect.openCout=e.data.openCout,fS.$coutSelect.hideCout=e.data.hideCout,fS.$coutSelect.reverseCout=e.data.reverseCout,fS.$coutSelect.openBigCout=e.data.openBigCout,fS.$coutSelect.showCoutFace=e.data.showCoutFace,fS.$coutSee.rotate=e.data.coutRotate,fS.$coutSee.overturn=e.data.coutOverturn,fS.$coutSee.scale=e.data.coutScale,fS.$coutSee.showBigModel=e.data.coutShowBigModel,w.commit("modelStore/setAutoColorHex",e.data.autoColorHex),w.commit("modelStore/sertPartAddColor",e.data.partColor),fS.$colorSet.selectColor=e.data.selectColor,fS.$colorSet.hasSelectNode=e.data.hasSelectNode,fS.$girthCom.perimeters=e.data.perimeters,fS.$girthCom.unitDensitySwitch=e.data.unitDensitySwitch,w.commit("modelStore/setIsShowPmi",e.data.isShowPmi),fS.$bottomBtn.isPMIVisible=e.data.isPMIVisible,fS&&fS.$pmiSetCom&&(fS.$pmiSetCom.pmiSetObject=e.data.pmiSetObject,fS.$pmiSetCom.pmiDefaultSet=e.data.pmiDefaultSet),fS.$attrCom.attrMode=e.data.attrMode,fS.$attrCom.modelAttrData=e.data.modelAttrData,fS.$attrCom.modelAttrData_self=e.data.modelAttrData_self,fS.$attrCom.modelSelfData=e.data.modelSelfData,fS.$attrCom.modifyAttrData=e.data.modifyAttrData,fS.$attrCom.attrTitle=e.data.attrTitle,fS.$attrCom.attrTitleSelf=e.data.attrTitleSelf},getTreeStatus(){let e=fS.$structureTree.modelTreeData,t=["children","isChecked","isHighlight","isOpenChild","isRendered","sectionOpen"];return e=JSON.stringify(e,t),{treeData:Ne(e)}},setTreeStatus(e){let t=JSON.parse(Ae(e.data.treeData));fS.$structureTree.coverTreeData(t),t&&"{}"!=JSON.stringify(t)?this.getTreeData=!0:this.getTreeData=!1},getTagStatus(e){let t=e&&e.openTagId;return!e&&fS.$tag.tcChecktag&&(t=fS.$tag.curUuid),{tagShow:w.state.tagStore.tagShow,openTagId:t,closeTag:e&&e.closeTag,tcChecktag:fS.$tag.tcChecktag,tcCheckTI:fS.$tag.tcCheckTI,tcCheckBig:e?e.tcCheckBig:void 0}},setTagStatus(e){fS.$tag.curUuid;let t=w.state.modelStore.allTag;if(w.commit("tagStore/setTagshow",e.data.tagShow),gt.setAnnotationsVisibility(e.data.tagShow?1:0),!nd_viewCtrl.rtmSDK.isRtmFreeOper||nd_viewCtrl.rtmSDK.isRtmOperate)if(this.willTagOpenId="",this.isTagStatus)this.operTagOpenId=e.data.openTagId||"";else if(e.data.openTagId){if(!Ie(t,e.data.openTagId))return void(this.willTagOpenId=e.data.openTagId||"");function o(){void 0!=e.data.tcCheckBig&&(fS.$tag.tcCheckBig=e.data.tcCheckBig,e.data.tcCheckBig&&fS.$tag.$refs.bigImg.resetStyle())}this.lastTagselectId==e.data.openTagId&&this.lastTagselectId==fS.$tag.curUuid&&fS.$tag.tcChecktag?o():(ft.set1&&clearTimeout(ft.set1),ft.set2&&clearTimeout(ft.set2),ft.set1=setTimeout(()=>{this.lastTagselectId=e.data.openTagId,fS.$tag.interfaceOpenFlag=!0,gt.selectAnnotation(e.data.openTagId),ft.set2=setTimeout(()=>{o()},800)},200))}else fS.$tag.tcChecktag=e.data.tcChecktag,fS.$tag.tcCheckTI=e.data.tcCheckTI,e.data.closeTag&&fS.$eventBus.emit("closeTagSeeSub"),fS.$tag.tcChecktag||$(".taglayer-nd").css("display","none");else this.lastFreeOper||(this.operTagOpenId=e.data.openTagId||"")},renderInitTag(e,t,o){gt._viewer.removeAllAnnotations(),lt(e,t,!0),fS.$tag.tcChecktag&&setTimeout(()=>{gt.setAnnotationsVisibility(0),gt._viewer.setAnnotationsVisibilityByUuid(1,o)},200)},getPositionStatus(){return{structScrollTop:fS.$structureTree.scrollTop,structWidth:fS.$structureTree.structWidth,structHeight:fS.$structureTree.structHeight,attrScroll_1:fS.$attrCom.attrScroll_1,attrScroll_2:fS.$attrCom.attrScroll_2}},setPositionStatus(e){fS.$structureTree.setTreeScroll(e.data.structScrollTop),fS.$structureTree.setTreeSize(e.data),fS.$attrCom.setAttrScroll(e.data.attrScroll_1,e.data.attrScroll_2)},getMultiStatus(){return{cfgIdx:fS.$configSwitch.cfgIdx,modelPath:w.state.modelStore.modelPath,modelSetInfo:w.state.modelStore.modelSetInfo}},setMultiStatus(e){const t=this,o=fS.$configSwitch.cfgIdx;o!=e.data.cfgIdx?fS.$configSwitch.chooseCfg(e.data.cfgIdx,!0):t.receiveAllMsg(t.saveAllType,[8])},getEasyTreeStatus(){if(!fS.$structureTreeEasy)return{};let e=fS.$structureTreeEasy.modelTreeData,t=fS.$structureTreeEasy.searchData,o=["children","isEasyChecked","isOpenChild","isRendered","sectionOpen"];return e=JSON.stringify(e,o),t=JSON.stringify(t,o),{treeData:Ne(e),searchMode:fS.$structureTreeEasy.searchMode,keyWord:fS.$structureTreeEasy.keyWord,searchData:Ne(t)}},setEasyTreeStatus(e){if(!fS.$structureTreeEasy)return;if("{}"==JSON.stringify(e.data))return;let t=JSON.parse(Ae(e.data.treeData)),o=JSON.parse(Ae(e.data.searchData));fS.$structureTreeEasy.coverTreeDataEasy(t),fS.$structureTreeEasy.keyWord=e.data.keyWord,t&&"{}"!=JSON.stringify(t)?this.getTreeDataEasy=!0:this.getTreeDataEasy=!1,e.data.searchMode&&(fS.$structureTreeEasy.goToSearch(),fS.$structureTreeEasy.coverSearchDataEasy(o)),fS.$structureTreeEasy.searchMode=e.data.searchMode},getSeTreeStatus(){let e=fS.$structureTree.searchData,t=["isChecked","isHighlight","isOpenChild","isRendered","sectionOpen"];return e=JSON.stringify(e,t),{searchMode:fS.$structureTree.searchMode,keyWord:fS.$structureTree.keyWord,searchData:Ne(e)}},setSeTreeStatus(e){let t=JSON.parse(Ae(e.data.searchData));fS.$structureTree.keyWord=e.data.keyWord,e.data.searchMode&&(fS.$structureTree.goToSearch(),fS.$structureTree.coverSearchData(t)),fS.$structureTree.searchMode=e.data.searchMode},operateChange(e){if(e){if(nd_viewCtrl.rtmSDK.isRtmOperate)return;nd_viewCtrl.rtmSDK.isRtmOperate=!0,gt._viewer.startBroadcast(!0),w.commit("setRtmNeedCover",!1),this.sendAllMsg()}else{if(!nd_viewCtrl.rtmSDK.isRtmOperate)return;w.commit("menuStore/setGrithMenu",!1),gt._viewer.exitBroadcast(),this.sendCenter(1),this.sendCenter(3),nd_viewCtrl.rtmSDK.isRtmOperate=!1,w.commit("setRtmNeedCover",!1)}},freeOperChange(e,t){nd_viewCtrl.rtmSDK.isRtmOperate||(nd_viewCtrl.rtmSDK.isRtmFreeOper=e,e?(gt._viewer.exitBroadcast(),t&>._viewer.resetCamera({}),w.commit("setRtmNeedCover",!1)):(gt._viewer.startBroadcast(!1),w.commit("setRtmNeedCover",!0),window.nd_rtmReceiveAllMsg(),(fS.$tag.tcStep0||fS.$tag.tcStep1)&&fS.$tag.cancelSave()))},startTagChange(){"sync"==nd_viewCtrl.viewMode&&(nd_viewCtrl.rtmSDK.isRtmOperate||(nd_viewCtrl.rtmSDK.lastFreeOper=nd_viewCtrl.rtmSDK.isRtmFreeOper,nd_viewCtrl.rtmSDK.isRtmFreeOper=!0,gt._viewer.exitBroadcast(),w.commit("setRtmNeedCover",!1),this.isTagStatus=!0))},endTagChange(){"sync"==nd_viewCtrl.viewMode&&(nd_viewCtrl.rtmSDK.isRtmOperate||this.isTagStatus&&(nd_viewCtrl.rtmSDK.lastFreeOper||(nd_viewCtrl.rtmSDK.isRtmFreeOper=!1,gt._viewer.startBroadcast(!1),w.commit("setRtmNeedCover",!0),window.nd_rtmReceiveAllMsg([6])),nd_viewCtrl.rtmSDK.isRtmFreeOper||nd_viewCtrl.rtmSDK.isRtmOperate||this.operTagOpenId&&setTimeout(()=>{gt.selectAnnotation(this.operTagOpenId)},200),this.isTagStatus=!1))},closeTagChange(e){try{let t=fS.$tag.curUuid,o=!1;fS.$tag.tcChecktag&&(e.map(e=>{e.state.uuid==t&&(o=!0)}),o?setTimeout(()=>{gt.setAnnotationsVisibility(0),gt._viewer.setAnnotationsVisibilityByUuid(1,t)},100):fS.$tag.exitChecktag("click")),this.willTagOpenId&&Ie(e,this.willTagOpenId)&&setTimeout(()=>{window.nd_render(),gt.selectAnnotation(this.willTagOpenId),this.willTagOpenId=""},500),(fS.$tag.tcStep0||fS.$tag.tcStep1)&&setTimeout(()=>{gt.setAnnotationsVisibility(0)},500)}catch(t){}},judgeCanReceive(){return"sync"==nd_viewCtrl.viewMode&&(!(!nd_viewCtrl||!nd_viewCtrl.rtmSDK)&&(!nd_viewCtrl.rtmSDK.isRtmOperate&&!nd_viewCtrl.rtmSDK.isRtmFreeOper))},judgeCanWatch(){return"sync"!=nd_viewCtrl.viewMode||(!!nd_viewCtrl.rtmSDK.isRtmOperate||!!nd_viewCtrl.rtmSDK.isRtmFreeOper)}};var jt=yt;const xt=(e,t)=>{"ImageAnno"==e.tagType&&(e.imageFile?nd_viewCtrl&&nd_viewCtrl.addPicTag?nd_viewCtrl.addPicTag(e.tagInfo,e.imageFile,t):nd_viewCtrl.tagOperateAdd&&nd_viewCtrl.tagOperateAdd(e,t):nd_viewCtrl&&nd_viewCtrl.addTags?nd_viewCtrl.addTags(e.tagInfo,e.imageFile,t):nd_viewCtrl.tagOperateAdd&&nd_viewCtrl.tagOperateAdd(e,t)),"VideoAnno"==e.tagType&&(nd_viewCtrl&&nd_viewCtrl.addVideoTag?nd_viewCtrl.addVideoTag(e.tagInfo,e.imageFile,e.videoFile,t):nd_viewCtrl.tagOperateAdd&&nd_viewCtrl.tagOperateAdd(e,t)),e.tagType,"lineNote"==e.tagType&&(nd_viewCtrl&&nd_viewCtrl.addLineTag?nd_viewCtrl.addLineTag(e.tagInfo,"",t):nd_viewCtrl.tagOperateAdd&&nd_viewCtrl.tagOperateAdd(e,t))},Tt=(e,t)=>{"ImageAnno"==e.tagType&&(nd_viewCtrl&&nd_viewCtrl.editPicTag?nd_viewCtrl.editPicTag(e.tagInfo,e.imageFile,t):nd_viewCtrl.tagOperateEdit&&nd_viewCtrl.tagOperateEdit(e,t)),"VideoAnno"==e.tagType&&(nd_viewCtrl&&nd_viewCtrl.editVideoTag?nd_viewCtrl.editVideoTag(e.tagInfo,e.imageFile,e.videoFile,t):nd_viewCtrl.tagOperateEdit&&nd_viewCtrl.tagOperateEdit(e,t)),"lineNote"==e.tagType&&(nd_viewCtrl&&nd_viewCtrl.editLineTag?nd_viewCtrl.editLineTag(e.tagInfo,"",t):nd_viewCtrl.tagOperateEdit&&nd_viewCtrl.tagOperateEdit(e,t))};Object(i["pushScopeId"])("data-v-e0206c88");const Mt={id:"v_message"},kt=Object(i["createElementVNode"])("div",{class:"shadow",style:{"z-index":"99"}},null,-1),Et={class:"del-attr-tc tc-box",style:{"z-index":"100"}},Dt={class:"ts-tcCnt"},Bt={class:"txt"},At={class:"clearfix ts-tcBtn ts-tcBtn02"};function Nt(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Mt,[kt,Object(i["createElementVNode"])("div",Et,[Object(i["createElementVNode"])("div",Dt,[Object(i["createElementVNode"])("p",Bt,Object(i["toDisplayString"])(e.$store.state.msgTxt),1)]),Object(i["createElementVNode"])("div",At,[Object(i["createElementVNode"])("a",{onClick:t[0]||(t[0]=e=>n.cancleFunc())},Object(i["toDisplayString"])(e.$t("cancel")),1),Object(i["createElementVNode"])("a",{onClick:t[1]||(t[1]=e=>n.sureFunc())},Object(i["toDisplayString"])(e.$t("sure")),1)])])])}Object(i["popScopeId"])();var It={name:"MsgTips",setup(){const e=Object(i["reactive"])({}),t=Object(i["toRefs"])(e),o=Object(l["useStore"])();function n(){o.commit("hideMsgTip")}function a(){o.commit("hideMsgTip"),o.state.msgFunc&&o.state.msgFunc()}return{...t,cancleFunc:n,sureFunc:a}}},Vt=(o("1615"),o("6b0d")),_t=o.n(Vt);const Pt=_t()(It,[["render",Nt],["__scopeId","data-v-e0206c88"]]);var Lt=Pt;Object(i["pushScopeId"])("data-v-799d86c6");const $t={class:"tip mytip3"};function zt(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["tip mytip",{b4:e.useClass2}])},[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.msg),1)],2),[[i["vShow"],e.isShowTipMsg]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",$t,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.msg),1)],512),[[i["vShow"],e.isShowTipMsg3]])])}Object(i["popScopeId"])();var Rt={name:"Tips",setup(){const e=Object(i["reactive"])({msg:"",isShowTipMsg:!1,isShowTipMsg3:!1,useClass2:!1}),t=Object(i["toRefs"])(e),{proxy:o}=Object(i["getCurrentInstance"])(),n=(t,o)=>{e.msg=t,e.isShowTipMsg=!0,o&&(e.useClass2=!0),setTimeout(()=>{e.isShowTipMsg=!1,e.useClass2=!1},2e3)},a=t=>{e.msg=t,e.isShowTipMsg3=!0,setTimeout(()=>{e.isShowTipMsg3=!1},2e3)};return Object(i["onMounted"])(()=>{o.$eventBus.on("MsgTipEvent",n),o.$eventBus.on("MsgTipEvent2",(function(e){n(e,!0)})),o.$eventBus.on("MsgTipEvent3",a),o.$eventBus.on("MsgTipEvent4",(function(t){e.msg=t,e.isShowTipMsg=!0}))}),{...t}}};o("a0f6");const Ft=_t()(Rt,[["render",zt],["__scopeId","data-v-799d86c6"]]);var Ht=Ft;Object(i["pushScopeId"])("data-v-590053a6");const Ut=Object(i["createStaticVNode"])('<div class="ndp3-waiter" data-v-590053a6><div class="ndp3-bounce1" data-v-590053a6></div><div class="ndp3-bounce2" data-v-590053a6></div><div class="ndp3-bounce3" data-v-590053a6></div></div><div class="ndp3-cover" data-v-590053a6></div>',2),Wt=[Ut];function Gt(e,t,o,n,a,r){return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,Wt,512)),[[i["vShow"],e.$store.state.showLoading]])}Object(i["popScopeId"])();var Yt={setup(){}};o("043d");const Zt=_t()(Yt,[["render",Gt],["__scopeId","data-v-590053a6"]]);var Xt=Zt;Object(i["pushScopeId"])("data-v-20449cd6");const Kt={class:"loading2-mask"},Jt={class:"loading2-wrap"},qt=Object(i["createElementVNode"])("div",{class:"loading2"},[Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div"),Object(i["createElementVNode"])("div")],-1),Qt={key:0,class:"message"};function eo(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Kt,[Object(i["createElementVNode"])("div",Jt,[qt,e.message?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Qt,Object(i["toDisplayString"])(e.message),1)):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var to=Object(i["defineComponent"])({props:{message:{type:String,default:""}},setup(){}});o("1361");const oo=_t()(to,[["render",eo],["__scopeId","data-v-20449cd6"]]);var io=oo,no=o("1f9b"),ao=o.n(no);Object(i["pushScopeId"])("data-v-550489e4");const ro=["title"],co=["title"],so=["title"],lo=Object(i["createElementVNode"])("img",{src:ao.a,style:{width:"16px",height:"16px"},alt:""},null,-1),mo=["title"],uo=["title"],po=["title"],ho=["title"],go=["title"],vo=["title"],bo=["title"],wo=["title"],So=["title"],Co=["title"],Oo=["title"],fo=["title"];function yo(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track");return e.showPop?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"right-click-pop",onMousedown:t[4]||(t[4]=Object(i["withModifiers"])(()=>{},["stop"])),style:Object(i["normalizeStyle"])({top:e.rightEvent.clientY+"px",left:e.rightEvent.clientX+"px"})},[Object(i["createElementVNode"])("ul",null,[n.judgeShowAttrFn()&&n.judgeViewerCfg("proper-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,"track-name":"attr","data-id":"ico-property",title:e.$t("attr")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("attr")),1)],8,ro)),[[c,n.showAttrCard]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("choose-reverse")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,"data-id":"ico-chooseReverse",title:e.$t("chooseToReverse")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("chooseToReverse")),1)],8,co)),[[c,n.chooseReverse]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,"data-id":"ico-displayResert",onMouseenter:t[0]||(t[0]=e=>n.showLevel2Handler(!0)),onMouseleave:t[1]||(t[1]=e=>n.showLevel2Handler(!1))},[Object(i["createElementVNode"])("span",{class:"dispaly-span",style:{"margin-right":"8px"},title:e.$t("displaySetting")},Object(i["toDisplayString"])(e.$t("displaySetting")),9,so),lo],32)):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("set-color")&&n.judgeColorShow()?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,"data-id":"ico-setPartcolor",title:e.$t("colorTxt3")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("colorTxt3")),1)],8,mo)),[[c,n.setPartColor]]):Object(i["createCommentVNode"])("",!0),n.backToBeginShowComputed?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,"data-id":"ico-backToBegin",title:e.$t("backToBegin")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("backToBegin")),1)],8,uo)),[[c,n.backToBegin]]):Object(i["createCommentVNode"])("",!0)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",{class:"level_2",onMouseenter:t[2]||(t[2]=e=>n.showLevel2Handler(!0)),onMouseleave:t[3]||(t[3]=e=>n.showLevel2Handler(!1))},[e.hasSelectNode&&n.judgeViewerCfg("isolate-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,"data-id":"ico-highLight",title:e.$t("pcHighLight")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcHighLight")),1)],8,po)),[[c,n.hightShow]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("alone-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,"data-id":"ico-displayHideOther",title:e.$t("pcSingleShow")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcSingleShow")),1)],8,ho)),[[c,n.hightOthers]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&!e.nodeHideStatus&&n.judgeViewerCfg("hide-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,"data-id":"ico-displayHide",title:e.$t("pcHidePart")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcHidePart")),1)],8,go)),[[c,n.hiddenShow]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&e.nodeHideStatus&&n.judgeViewerCfg("show-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,"data-id":"ico-displayHide",title:e.$t("pcShowPart")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcShowPart")),1)],8,vo)),[[c,n.showPart]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&"transparent"!=e.nodeStatus&&n.judgeViewerCfg("transparent-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,"data-id":"ico-transparent",title:e.$t("pcTrans")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcTrans")),1)],8,bo)),[[c,n.transShow]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&"transparent"==e.nodeStatus&&n.judgeViewerCfg("unTransparent-link")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:5,"data-id":"ico-cancel-transparent",title:e.$t("pcCancelTrans")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcCancelTrans")),1)],8,wo)),[[c,n.transCancelShow]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("hideline-hide")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:6,"data-id":"ico-hidelineToHide",title:e.$t("hidelineToHide")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("hidelineToHide")),1)],8,So)),[[c,n.hidelineToHide]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("hideline-see")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:7,"data-id":"ico-hidelineToSee",title:e.$t("hidelineToSee")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("hidelineToSee")),1)],8,Co)),[[c,n.hidelineToSee]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("hideline-see")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:8,"data-id":"ico-pcMtxtWireframe",title:e.$t("pcMtxtWireframe")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcMtxtWireframe")),1)],8,Oo)),[[c,n.pcMtxtWireframe]]):Object(i["createCommentVNode"])("",!0),e.hasSelectNode&&n.judgeViewerCfg("hideline-see")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:9,"data-id":"ico-revert",title:e.$t("revert")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("revert")),1)],8,fo)),[[c,n.revert]]):Object(i["createCommentVNode"])("",!0)],544),[[i["vShow"],e.isLevel2Show&&e.hasSelectNode]])],36)):Object(i["createCommentVNode"])("",!0)}Object(i["popScopeId"])();var jo={name:"",setup(){const e=Object(i["reactive"])({rightEvent:{},showPop:!1,hasSelectNode:!1,hasOnlyNode:!1,itemCode:"",fromStruct:!1,structData:[],nodeStatus:"",nodeHideStatus:"",isLevel2Show:!1,timer:null}),t=Object(l["useStore"])(),{menuStore:o,modelStore:n}=t.state,{proxy:a,appContext:r}=Object(i["getCurrentInstance"])();Object(i["watch"])(()=>t.state.menuStore.menuChoose,()=>{}),Object(i["watch"])(()=>t.state.menuStore.menuChoose2,()=>{}),Object(i["watch"])(()=>e.showPop,e=>{e||y(!1,!0)}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{a.$eventBus.on("rigthClickEvent",t=>{if(!n._geometryload)return void(e.showPop=!1);if("animation"==o.menuChoose)return;if(e.showPop=t.showPop,!t.showPop)return;const i=gt._viewer.selectionManager.getSelectedObjects(),{status:a}=gt._viewer.getSelectedObjectsstatus();e.nodeStatus=a,e.nodeHideStatus=gt._viewer.getSelectedObjectsAllHidden(),e.rightEvent=t,e.hasSelectNode=!!(i&&i.length>0),e.hasOnlyNode=!1,i&&1==i.length&&(e.itemCode=gt.getfileguid(i[0].uuid),e.itemCode&&nd_viewCtrl.checkApartExist&&nd_viewCtrl.checkApartExist(e.itemCode,(function(t){t&&(e.hasOnlyNode=!0)}))),e.fromStruct=!!t.fromStruct,t.innerWidth-t.clientX<100&&(e.rightEvent.clientX=t.innerWidth-100),e.fromStruct&&(e.structData=[t.structData])})});const c=Object(i["computed"])(()=>{const o=["tag","meter","cout","explode","facecheck"];return!o.includes(t.state.menuStore.menuChoose)&&(!e.hasSelectNode&&C("back-to-begin"))}),s=()=>{gt._viewer.isolateObjects(gt.getSelectedObjects()),B("pcHighLight")},d=()=>{gt._viewer.transparentSelectedObjects(),B("pcTrans")},m=()=>{gt._viewer.isolateSelectedObjects(),B("pcCancelTrans")},u=()=>{gt._viewer.hideSelectedObjects(),a.$eventBus.emit("nodeShowChange"),B("pcHidePart")},p=()=>{gt._viewer.showSelectedObjects(),gt.clearSelection(),a.$eventBus.emit("nodeShowChange")},h=()=>{gt._viewer.hideOtherObjects(),a.$eventBus.emit("nodeShowChange"),B("pcSingleShow")},g=()=>{gt._viewer.showAllModel(),a.$eventBus.emit("structAllShow");gt._viewer.selectionManager.getSelectedObjects();B("pcAllShow")},v=()=>{o.attrMenu&&t.commit("menuStore/setAttrMenu",!1),t.commit("menuStore/setColorMenu",!0),B("colorTxt3"),jt.sendCenter(3)},b=()=>{gt._viewer.SelectOtherObjects(),a.$eventBus.emit("nodeShowChange")},w=()=>{o.colorMenu&&t.commit("menuStore/setColorMenu",!1);const i=gt.getSelectedObjects();B("attrPop"),t.commit("menuStore/setUnitMenu",!1),"unitChange"==o.menuChoose&&t.commit("menuStore/setMenuChoose",""),e.fromStruct?a.$eventBus.emit("rendAttrDataSub",{type:0==i.length?"attrAll":"attrSingle",node:e.structData,fromStruct:!0}):a.$eventBus.emit("rendAttrDataSub",{type:0==i.length?"attrAll":"attrSingle",node:i})},S=()=>{const t=gt.getSelectedObjects();return"attr"!=o.menuChoose&&"cout"!=o.menuChoose&&(!!e.fromStruct||!(!e.fromStruct&&t.length>1)&&(!e.fromStruct&&!o.coutMenu))},C=e=>{const t=nd_viewCtrl.hideRightkeyBtnClass||[];return"preview-link"==e?!t.includes(e)&&!!nd_viewCtrl.needShowPreviewLink:!t||0==t.length||!t.includes("all")&&!t.includes(e)},O=()=>{const t=o.menuChoose,i=o.menuChoose2,n=o.menuChoose3,a=["cout","explode","showHide","meter","settings"];return!!e.fromStruct||!(a.includes(t)||i||n)},f=()=>{nd_viewCtrl.openApart&&nd_viewCtrl.openApart(e.itemCode)},y=(t,o=!1)=>{if(t)return i(),void(e.isLevel2Show=t);if(!t){if(o)return void(e.isLevel2Show=t);e.timer=setTimeout(()=>{e.isLevel2Show=t},300)}function i(){e.timer&&(clearTimeout(e.timer),e.timer=null)}},j=()=>{gt.setSelectedObjectRenderMode("hiddenLineRemove")},x=()=>{gt.setSelectedObjectRenderMode("hiddenLineVisible")},T=()=>{gt.setSelectedObjectRenderMode("wireframe")},M=()=>{gt.setSelectedObjectDisplayResert()},k=()=>{gt.resetModelViewToDefault(),fS.$settingsBtn.isPerspective=!0,gt._viewer.toOrthographicCamera(),fS.$bottomBtn.cancelColor(),t.commit("menuStore/setCoutMenu",!1),fS.$screenBtn.vportType="Normal",a.$eventBus.emit("nodeShowChange")},E=Object(i["toRefs"])(e);return{...E,backToBeginShowComputed:c,hightShow:s,transShow:d,hiddenShow:u,hightOthers:h,showPart:p,totalShow:g,showAttrCard:w,menuStore:o,transCancelShow:m,judgeShowAttrFn:S,judgeViewerCfg:C,judgeColorShow:O,setPartColor:v,chooseReverse:b,openNewTab:f,showLevel2Handler:y,hidelineToHide:j,hidelineToSee:x,pcMtxtWireframe:T,revert:M,backToBegin:k}}};o("e533");const xo=_t()(jo,[["render",yo],["__scopeId","data-v-550489e4"]]);var To=xo,Mo=o("f240"),ko=o.n(Mo),Eo=o("cb48"),Do=o.n(Eo);Object(i["pushScopeId"])("data-v-2104d0aa");const Bo={class:"btn-ul one-btn-ul",id:"bottomMainMenu"},Ao={class:"arrow_img",src:ko.a,alt:""},No={class:"arrow_img",src:Do.a,alt:""},Io=["selected"],Vo=["track-name"],_o=["selected"],Po=["selected"],Lo=["selected"],$o=["selected"],zo=["selected"],Ro=["selected"],Fo=["selected"],Ho=["selected"],Uo={key:15,id:"ico-screen","track-name":"screen",class:"no-select"},Wo={class:"arrow_img arrow_img_right",src:ko.a,alt:""},Go={class:"arrow_img arrow_img_right",src:Do.a,alt:""};function Yo(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("meter-btn"),s=Object(i["resolveComponent"])("settings-btn"),l=Object(i["resolveComponent"])("show-hide-btn"),d=Object(i["resolveComponent"])("animation-btn"),m=Object(i["resolveComponent"])("draw-btn"),u=Object(i["resolveComponent"])("box-select"),p=Object(i["resolveComponent"])("attr-choose-btn"),h=Object(i["resolveComponent"])("cout-btn"),g=Object(i["resolveComponent"])("screen-btn"),v=Object(i["resolveComponent"])("distance-btn"),b=Object(i["resolveComponent"])("lineargauge-btn"),w=Object(i["resolveComponent"])("length-btn"),S=Object(i["resolveComponent"])("angle-btn"),C=Object(i["resolveComponent"])("tag-write"),O=Object(i["resolveDirective"])("img-switch"),f=Object(i["resolveDirective"])("click-track"),y=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"ndp3-my-page bot-btn-card",onContextmenu:t[15]||(t[15]=Object(i["withModifiers"])(()=>{},["right","stop","prevent"])),onMouseenter:t[16]||(t[16]=(...e)=>n.mourseBigMenu&&n.mourseBigMenu(...e)),onMouseleave:t[17]||(t[17]=(...e)=>n.mourseBigMenuLeave&&n.mourseBigMenuLeave(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",Bo,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowLeft",class:"bottom_arrow",onClick:t[0]||(t[0]=(...e)=>n.hideRightBottom&&n.hideRightBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Ao,null,512),[[i["vShow"],!e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",No,null,512),[[i["vShow"],e.isBottomRight]])],512),[[i["vShow"],e.overButtom]]),n.checkBtnExit("#ico-line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-showSetting","track-name":"showSetting",onMouseenter:t[1]||(t[1]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["ico-display-set","ico-showSetting"]]])],544)),[[f,n.chooseSetting],[y,e.$t("showSetting")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-Tagging")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-Tagging","track-name":"tagNote",onMouseenter:t[2]||(t[2]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"tag"==n.menuStore.menuChoose},null,8,Io),[[O,["view-tool-comment","ico-Tagging"]]])],544)),[[f,n.chooseToTag],[y,e.$t("tagNote")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-measure")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,id:"ico-measure","track-name":"meter",onMouseenter:t[3]||(t[3]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-measure","ico-measure"]]])],544)),[[f,n.chooseToMeter],[y,e.$t("meter")]]):Object(i["createCommentVNode"])("",!0),e.pmiShowAsync&&n.checkBtnExit("#ico-pmi")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,id:"ico-pmi",class:Object(i["normalizeClass"])({hidpmibtn:!e.pmiBtnShow}),"track-name":e.isPMIVisible?"pmiHide":"pmiShow",onMouseenter:t[4]||(t[4]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:!e.isPMIVisible},null,8,_o),[[O,["view-tool-hidePMI","ico-pmi"]]])],42,Vo)),[[f,n.choosePmiProx],[y,n.pmiTipComputed]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-cutout")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,id:"ico-cutout","track-name":"coutObj",onMouseenter:t[5]||(t[5]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"cout"==n.menuStore.menuChoose},null,8,Po),[[O,["view-tool-slice","ico-cutout"]]])],544)),[[f,n.chooseToCout],[y,e.$t("coutObj")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-viewports")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:5,id:"ico-viewports","track-name":"viewports",onMouseenter:t[6]||(t[6]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"viewports"==n.menuStore.menuChoose},null,8,Lo),[[O,["view-tool-viewports","ico-viewports"]]])],544)),[[f,n.chooseToViewports],[y,e.$t("viewports")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-explode")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:6,id:"ico-explode","track-name":"bigBang",onMouseenter:t[7]||(t[7]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"explode"==n.menuStore.menuChoose},null,8,$o),[[O,["view-tool-blast","ico-explode"]]])],544)),[[f,n.chooseToBang],[y,e.$t("bigBang")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-structure")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:7,id:"ico-structure","track-name":"structureTree",onMouseenter:t[8]||(t[8]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"struct"==n.menuStore.menuChoose},null,8,zo),[[O,["view-tool-tree","ico-structure"]]])],544)),[[f,n.chooseToStructureTree],[y,e.$t("structureTree")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-property")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:8,id:"ico-property","track-name":"attr",class:Object(i["normalizeClass"])({"menu-select":e.showAttr})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-attr","ico-property"]]])],2)),[[f,n.chooseToAttr],[y,e.$t("attr")]]):Object(i["createCommentVNode"])("",!0),n.animationStore.hasAnimation&&n.checkBtnExit("#ico-animation")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:9,id:"ico-animation","track-name":"animation",onMouseenter:t[9]||(t[9]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-animation","animation"]]])],544)),[[f,n.chooseAnimation],[y,e.$t("animation")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-display")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:10,id:"ico-display","track-name":"showHide",onMouseenter:t[10]||(t[10]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-hideShow","showHide"]]])],544)),[[f,n.chooseShowhide],[y,e.$t("showHide")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-addcolor")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:11,id:"ico-addcolor","track-name":"addcolor",onMouseenter:t[11]||(t[11]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:!!n.modelStore.autoColorHex[n.modelStore.nowConfig]},null,8,Ro),[[O,["view-tool-addcolor","ico-addcolor"]]])],544)),[[f,n.chooseAddcolor],[y,n.modelStore.autoColorHex[n.modelStore.nowConfig]?e.$t("colorTxt2"):e.$t("colorTxt1")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-drag")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:12,id:"ico-drag","track-name":"drag",class:Object(i["normalizeClass"])({"menu-select":e.showDrag})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-drag","ico-drag"]]])],2)),[[f,n.chooseToDrag],[y,e.$t("drag")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-boxselect")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:13,id:"ico-boxselect","track-name":"icoPlus",onMouseenter:t[12]||(t[12]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"boxselect"==n.menuStore.menuChoose},null,8,Fo),[[O,["view-tool-select","ico-boxselect"]]])],544)),[[f,n.chooseBoxselect],[y,e.$t("pcMtxtIselect")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-settings")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:14,id:"ico-settings","track-name":"settings",onMouseenter:t[13]||(t[13]=(...e)=>n.mourseMenu&&n.mourseMenu(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"settings"==n.menuStore.menuChoose},null,8,Ho),[[O,["view-tool-settings","ico-settings"]]])],544)),[[f,n.chooseSettings],[y,e.$t("settings")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-screen")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Uo,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[O,["view-tool-screen","ico-screen"]]])],512)),[[f,n.chooseScreen],[y,e.$t("vportWindow")]]):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowRight",class:"bottom_arrow",onClick:t[14]||(t[14]=(...e)=>n.hideLeftBottom&&n.hideLeftBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Wo,null,512),[[i["vShow"],e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Go,null,512),[[i["vShow"],!e.isBottomRight]])],512),[[i["vShow"],e.overButtom]])],512),[[i["vShow"],n.store.state.menuStore.showOneMenu]]),Object(i["withDirectives"])(Object(i["createVNode"])(c,null,null,512),[[i["vShow"],"meter"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(s,null,null,512),[[i["vShow"],"settingShow"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(l,null,null,512),[[i["vShow"],"showHide"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(d,null,null,512),[[i["vShow"],"animation"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(m,null,null,512),[[i["vShow"],"draw"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(u,null,null,512),[[i["vShow"],"boxselect"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(p,null,null,512),[[i["vShow"],"attr"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(h,null,null,512),[[i["vShow"],"cout"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(g,null,null,512),[[i["vShow"],"screen"==n.menuStore.menuChoose]]),Object(i["withDirectives"])(Object(i["createVNode"])(v,null,null,512),[[i["vShow"],"meterDistance"==n.menuStore.menuChoose2]]),Object(i["withDirectives"])(Object(i["createVNode"])(b,null,null,512),[[i["vShow"],"meterLineargauge"==n.menuStore.menuChoose2]]),Object(i["withDirectives"])(Object(i["createVNode"])(w,null,null,512),[[i["vShow"],"meterLength"==n.menuStore.menuChoose2]]),Object(i["withDirectives"])(Object(i["createVNode"])(S,null,null,512),[[i["vShow"],"meterAngle"==n.menuStore.menuChoose2]])],544),[[i["vShow"],n.store.state.menuStore.showAllMenu&&!e.bottomToolHide]]),Object(i["createVNode"])(C,{onTagClick:n.writeTag},null,8,["onTagClick"])],64)}Object(i["popScopeId"])();var Zo=o("2a77"),Xo=o.n(Zo);Object(i["pushScopeId"])("data-v-4bf634de");const Ko={class:"btn-ul",id:"ico-measure-list"},Jo={class:"return-menu"},qo=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Qo=[qo],ei={class:"arrow_img",src:ko.a,alt:""},ti={class:"arrow_img",src:Do.a,alt:""},oi=["selected"],ii=["selected"],ni=["selected"],ai={id:"ico-area-list",class:"ndp3-menu3-card are-menu3"},ri=["title"],ci=["title"],si=["title"],li={id:"ico-volumweight-list",class:"ndp3-menu3-card volum-menu3"},di=["title"],mi=["title"],ui={id:"ico-boundingbox-list",class:"ndp3-menu3-card bounding-menu3"},pi=["title"],hi=["title"],gi={class:"arrow_img arrow_img_right",src:ko.a,alt:""},vi={class:"arrow_img arrow_img_right",src:Do.a,alt:""};function bi(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Ko,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",Jo,Qo,512),[[c,n.returnOneMenu]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowLeft-mea2",class:"bottom_arrow",onClick:t[0]||(t[0]=(...e)=>n.hideRightBottom&&n.hideRightBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",ei,null,512),[[i["vShow"],!e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",ti,null,512),[[i["vShow"],e.isBottomRight]])],512),[[i["vShow"],e.overButtom]]),n.checkBtnExit("#ico-distance")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-distance","track-name":"distance",onMouseenter:t[1]||(t[1]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-distance","ico-distance"]]])],544)),[[c,n.meterDistance],[l,e.$t("pcMtxtDistance")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-length")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-length","track-name":"length",onMouseenter:t[2]||(t[2]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-length","ico-length"]]])],544)),[[c,n.meterLength],[l,e.$t("pcMtxtLength")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-angle")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,id:"ico-angle","track-name":"angle",onMouseenter:t[3]||(t[3]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-angel","ico-angle"]]])],544)),[[c,n.meterAngle],[l,e.$t("pcMtxtAngle")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-radius")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,id:"ico-radius","track-name":"radius",onMouseenter:t[4]||(t[4]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"radius"==e.nowMeterType},null,8,oi),[[s,["view-tool-radius","ico-radius"]]])],544)),[[c,n.meterRadius],[l,e.$t("pcMtxtRadius")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-ellipse")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,id:"ico-ellipse","track-name":"radius",onMouseenter:t[5]||(t[5]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"ellipse"==e.nowMeterType},null,8,ii),[[s,["view-tool-ellipse","ico-ellipse"]]])],544)),[[c,n.meterEllipse]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lineargauge")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:5,id:"ico-lineargauge","track-name":"Lineargauge",onMouseenter:t[6]||(t[6]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-Lineargauge","ico-lineargauge"]]])],544)),[[c,n.meterLineargauge],[l,e.$t("Lineargauge")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-wallThickness")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:6,id:"ico-wallThickness","track-name":"WallThickness",onMouseenter:t[7]||(t[7]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"WallThickness"==e.nowMeterType},null,8,ni),[[s,["view-tool-wallThickness","ico-wallThickness"]]])],544)),[[c,n.meterWallThickness],[l,e.$t("WallThickness")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-area")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:7,id:"ico-area",onMouseenter:t[8]||(t[8]=e=>n.mouseEnter("showAreaMeter")),"track-name":"area",class:Object(i["normalizeClass"])({"menu-select":e.showAreaMeter})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-area","ico-area"]]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",ai,[n.checkBtnExit("#ico-areaFace")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-areaFace","track-name":"selectedFace",class:Object(i["normalizeClass"])({"select-m":"areaFace"==n.menuStore.menuChoose3}),title:e.$t("selectedFace")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("selectedFace")),1)],10,ri)),[[c,n.meterSF]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-areaEntity")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-areaEntity","track-name":"selectedObj",class:Object(i["normalizeClass"])({"select-m":"areaEntity"==n.menuStore.menuChoose3}),title:e.$t("selectedObj")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("selectedObj")),1)],10,ci)),[[c,n.meterASO]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-areaTotal")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,id:"ico-areaTotal","track-name":"totalArea",class:Object(i["normalizeClass"])({"select-m":"areaTotal"==n.menuStore.menuChoose3}),title:e.$t("totalArea")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("totalArea")),1)],10,si)),[[c,n.meterATA]]):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],e.showAreaMeter]])],34)),[[c,n.meterArea],[l,e.$t("pcMtxtArea")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-volumweight")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:8,id:"ico-volumweight",onMouseenter:t[9]||(t[9]=e=>n.mouseEnter("showVolMeter")),"track-name":"volumeWeight",class:Object(i["normalizeClass"])({"menu-select":e.showVolMeter})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-volumeWeight","ico-volumweight"]]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",li,[n.checkBtnExit("#ico-vol-boundingboxEntity")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-vol-boundingboxEntity","track-name":"selectToObj",class:Object(i["normalizeClass"])({"select-m":"volumeWeight"==n.menuStore.menuChoose3}),title:e.$t("selectedObj")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("selectedObj")),1)],10,di)),[[c,n.meterVSO]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-volumTotal")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-volumTotal","track-name":"totalObj",class:Object(i["normalizeClass"])({"select-m":"volumeWeightAll"==n.menuStore.menuChoose3}),title:e.$t("pcAllVolWt")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("pcAllVolWt")),1)],10,mi)),[[c,n.meterVTO]]):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],e.showVolMeter]])],34)),[[l,e.$t("pcMtxtVolWet")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-boundingbox")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:9,id:"ico-boundingbox",onMouseenter:t[10]||(t[10]=e=>n.mouseEnter("showBoundMeter")),"track-name":"meterBox",class:Object(i["normalizeClass"])({"menu-select":e.showBoundMeter})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-boundBox","ico-boundingbox"]]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",ui,[n.checkBtnExit("#ico-boundingboxEntity")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-boundingboxEntity","track-name":"selectToObj",class:Object(i["normalizeClass"])({"select-m":"boundingEntity"==n.menuStore.menuChoose3}),title:e.$t("selectedObj")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("selectedObj")),1)],10,pi)),[[c,n.meterBSO]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-boundingTotal")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-boundingTotal","track-name":"totalBox",class:Object(i["normalizeClass"])({"select-m":"boundingTotal"==n.menuStore.menuChoose3}),title:e.$t("totalBox")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("totalBox")),1)],10,hi)),[[c,n.meterBTB]]):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],e.showBoundMeter]])],34)),[[c,n.meterBox],[l,e.$t("pcMtxtBox")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-measureClear")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:10,id:"ico-measureClear","track-name":"clear",onMouseenter:t[11]||(t[11]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-clear","ico-measureClear"]]])],544)),[[c,n.meterClear],[l,e.$t("clear")]]):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowRight-mea2",class:"bottom_arrow",onClick:t[12]||(t[12]=(...e)=>n.hideLeftBottom&&n.hideLeftBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",gi,null,512),[[i["vShow"],e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",vi,null,512),[[i["vShow"],!e.isBottomRight]])],512),[[i["vShow"],e.overButtom]])])])}Object(i["popScopeId"])();var wi={components:{},setup(){const e=Object(i["reactive"])({nowMeterType:"",showAreaMeter:!1,showBoundMeter:!1,showVolMeter:!1,mouseTimer:null,overButtom:!1,isBottomRight:!1,measureTimer:null}),t=Object(l["useStore"])(),{menuStore:o,tagStore:n,modelStore:a}=t.state,{proxy:r,appContext:c}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{c.config.globalProperties.$meterBtn=r}),r.$eventBus.on("openTagPointSub",()=>{e.nowMeterType=""}),r.$eventBus.on("cfgSwitchSub",o=>{if(o){e.nowMeterType="",m();const o=t.state.modelStore.unit;gt._viewer.setDispalyModelUnit(o)}else d();const i=a.measureShow;gt._viewer.setMeasureVisible(i)}),r.$eventBus.on("clearNowMeasureSub",()=>{gt._viewer.OpMeasureRelease();const e=t.state.modelStore.measureAcc,o=t.state.modelStore.measureData,i=t.state.modelStore.nowConfig;o[e][i]="",t.commit("modelStore/setMeasureData",o),nd_viewCtrl.measureChange&&nd_viewCtrl.measureChange({type:"clear",data:null})}),r.$eventBus.on("hideNowMeasureSub",()=>{t.commit("modelStore/setMeasureShow",!1),gt._viewer.setMeasureVisible(!1)}),r.$eventBus.on("measureTimesSub",()=>{}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{r.$eventBus.on("resize",()=>{I()})});const s=()=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setShowManyConfig",!0),t.commit("menuStore/setAttrMenu",!1),t.commit("modelStore/setInMeasureMenu",!1),gt.setMeasureOpType(""),e.nowMeterType="",n.tagShow&&!gt._viewer.isSectionViewEnabled()&>.setAnnotationsVisibility(1),gt._viewer.setOperatorByID("OpOrbit"),r.$eventBus.emit("closeAttrBox"),gt._viewer.onOpenClipControl(),nd_viewCtrl.saveMeasureInfo&&nd_viewCtrl.saveMeasureInfo(a.allMeasure),e.showAreaMeter=!1,e.showBoundMeter=!1,e.showVolMeter=!1,setTimeout(()=>{jt.sendCenter(2),jt.sendCenter(3)},200)},d=()=>{if(nd_viewCtrl.measureList){const e=nd_viewCtrl.measureList;t.commit("modelStore/setAllMeasure",e),t.commit("modelStore/setNowMeasure");const o=a.nowMeasure;gt._viewer.setMeasureListContent(o)}},m=()=>{t.commit("modelStore/setNowMeasure");const e=a.nowMeasure;gt._viewer.setMeasureListContent(e)},u=()=>{t.state.modelStore._brepload?(e.nowMeterType="meterDistance",gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose2","meterDistance"),t.commit("menuStore/setMenuChoose3",""),r.$eventBus.emit("closeAttrBox"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},p=()=>{t.state.modelStore._brepload?(e.nowMeterType="meterLength",gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose2","meterLength"),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},h=()=>{t.state.modelStore._brepload?(e.nowMeterType="meterAngle",gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose2","meterAngle"),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},g=()=>{t.state.modelStore._brepload?(gt.setMeasureOpType("radius"),e.nowMeterType="radius",t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),B("radius"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},v=()=>{t.state.modelStore._brepload?(gt.setMeasureOpType("ellipse"),e.nowMeterType="ellipse",t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},b=()=>{t.state.modelStore._brepload?t.commit("menuStore/setAttrMenu",!1):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},w=()=>{t.state.modelStore._brepload?(e.nowMeterType="meterBox",r.$eventBus.emit("closeAttrBox"),t.commit("menuStore/setAttrMenu",!1),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},S=()=>{if(!t.state.modelStore._brepload)return void r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"));gt.OpMeasureRelease(),gt.setMeasureOpType(""),gt.setOperatorByID("OpMeasure"),e.nowMeterType=!1,t.commit("menuStore/setMenuChoose3",""),r.$eventBus.emit("closeAttrBox"),t.commit("menuStore/setAttrMenu",!1),B("clear");const o=[],i=a.nowMeasure;i.map(e=>{o.push(e.measureId)}),nd_viewCtrl.measureChange&&nd_viewCtrl.measureChange({type:"clear",data:{measureId:o}}),t.commit("modelStore/setClearNowMeasure"),jt.sendCenter(2)},C=()=>{t.state.modelStore._brepload?(gt.setMeasureOpType("faceArea"),t.commit("menuStore/setAttrMenu",!1),e.nowMeterType="",t.commit("menuStore/setMenuChoose3","areaFace"),r.$eventBus.emit("closeAttrBox"),B("selectedFace"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},O=()=>{t.state.modelStore._brepload?(e.nowMeterType="",gt.setMeasureOpType("BodyArea"),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),t.commit("menuStore/setMenuChoose3","areaEntity"),B("selectedObj"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},f=()=>{t.state.modelStore._brepload?(e.nowMeterType="",gt.setMeasureOpType("TotalArea"),t.commit("menuStore/setAttrMenu",!1),t.commit("menuStore/setMenuChoose3","areaTotal"),B("totalArea"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},y=()=>{t.state.modelStore._brepload?(gt.setMeasureOpType("BodyVolume"),e.nowMeterType="",t.commit("menuStore/setAttrMenu",!1),t.commit("menuStore/setMenuChoose3","volumeWeight"),r.$eventBus.emit("closeAttrBox"),B("selectToObj"),jt.sendCenter(2),setTimeout(()=>{jt.sendCenter(3)},100)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},j=()=>{t.state.modelStore._brepload?(e.nowMeterType="",t.commit("menuStore/setMenuChoose3","volumeWeightAll"),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),gt.setMeasureOpType("TotalVolume"),B("pcAllVolWt"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},x=()=>{t.state.modelStore._brepload?(e.nowMeterType="",t.commit("menuStore/setMenuChoose3","boundingEntity"),r.$eventBus.emit("closeAttrBox"),gt.setMeasureOpType("bodyBoundingBox"),t.commit("menuStore/setAttrMenu",!1),B("selectToObj","mea1_3d"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},T=()=>{t.state.modelStore._brepload?(e.nowMeterType="",t.commit("menuStore/setMenuChoose3","boundingTotal"),r.$eventBus.emit("closeAttrBox"),gt.setMeasureOpType("BoundingBox"),t.commit("menuStore/setAttrMenu",!1),B("totalBox","mea1_3d"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},M=()=>{t.state.modelStore._brepload?(e.nowMeterType="meterLineargauge",gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose2","meterLineargauge"),t.commit("menuStore/setMenuChoose3",""),r.$eventBus.emit("closeAttrBox"),B("Lineargauge"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},k=()=>{t.state.modelStore._brepload?(gt.setMeasureOpType("WallThickness"),e.nowMeterType="WallThickness",t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),r.$eventBus.emit("closeAttrBox"),B("WallThickness"),jt.sendCenter(2)):r.$eventBus.emit("MsgTipEvent3",r.$t("pcBrepNotEnd"))},E=e=>ae(e),D=t=>{A(),t&&(e[t]=!0),clearTimeout(e.mouseTimer),e.mouseTimer=setTimeout(()=>{jt.sendCenter(2)},500)},A=()=>{e.showAreaMeter=!1,e.showBoundMeter=!1,e.showVolMeter=!1},N="#ico-measure-list",I=()=>{e.resizeTimer&&clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(()=>{var t=r.$sortDom.checkIsOverwidth(N);t?(V("reset"),e.overButtom=!0):(P(),e.overButtom=!1)},200)},V=t=>{(e.isBottomRight||"reset"==t)&&r.$sortDom.hideRightBottom(N,()=>{e.isBottomRight=!1})},_=t=>{e.isBottomRight&&"reset"!=t||r.$sortDom.hideLeftBottom(N,()=>{e.isBottomRight=!0})},P=()=>{r.$sortDom.showAllBottom(N,()=>{e.overButtom=!1})},L=Object(i["toRefs"])(e);return{...L,store:t,menuStore:o,returnOneMenu:s,meterDistance:u,meterLineargauge:M,meterWallThickness:k,checkBtnExit:E,meterLength:p,meterAngle:h,meterRadius:g,meterEllipse:v,meterArea:b,meterBox:w,meterClear:S,meterSF:C,meterASO:O,meterATA:f,meterVSO:y,meterVTO:j,meterBSO:x,meterBTB:T,mouseEnter:D,hideLeftBottom:_,hideRightBottom:V}}};o("37cf");const Si=_t()(wi,[["render",bi],["__scopeId","data-v-4bf634de"]]);var Ci=Si;Object(i["pushScopeId"])("data-v-8344f14a");const Oi={class:"btn-ul",id:"ico-Tagging-list"},fi={class:"return-menu"},yi=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),ji=[yi],xi={key:0,id:"ico-tagPicText","track-name":"tagPicText"},Ti={key:1,id:"ico-tagLine","track-name":"tagLine"};function Mi(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Oi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",fi,ji,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-tagPicText")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",xi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-tagPicText","ico-tagPicText"]]])],512)),[[c,n.tagPicText],[l,e.$t("pcMtxtTagTxt")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-tagLine")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Ti,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-tagLine","ico-tagLine"]]])],512)),[[c,n.tagLineClick],[l,e.$t("pcMtxtTagLine")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var ki={name:"",components:{},setup(){const e=Object(i["reactive"])({}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{menuStore:a}=t.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$tagBtn=o}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const r=()=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setShowManyConfig",!0),t.commit("menuStore/setAttrMenu",!1),gt.setAnnotationsVisibility(1),nd_viewCtrl.setBoxHide||gt._viewer.displayViewBox(!0),t.commit("tagStore/setTagshow",!0)},c=e=>ae(e),s=()=>{o.$eventBus.emit("addtagEvent"),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose3","txtTag"),t.commit("menuStore/setShowOneMenu",!1),B("pcMtxtTagTxt")},d=()=>{o.$eventBus.emit("tagImgSub"),t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose3","imgTag"),t.commit("menuStore/setShowOneMenu",!1),B("pcMtxtTagImg")},m=()=>{t.commit("menuStore/setMenuChoose","none"),t.commit("menuStore/setMenuChoose3","lineTag"),t.commit("menuStore/setShowOneMenu",!1),gt._viewer.setOperatorByID("OpAnnotationNew"),gt._viewer.createNote(),B("pcMtxtTagLine")},u=Object(i["toRefs"])(e);return{returnOneMenu:r,checkBtnExit:c,tagPicText:s,tagPicture:d,tagLineClick:m,menuStore:a,...u}}};o("cfa2");const Ei=_t()(ki,[["render",Mi],["__scopeId","data-v-8344f14a"]]);var Di=Ei;const Bi={class:"btn-ul",id:"ico-showSetting-list"},Ai={class:"return-menu"},Ni=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Ii=[Ni],Vi={class:"arrow_img",src:ko.a,alt:""},_i={class:"arrow_img",src:Do.a,alt:""},Pi={key:0,id:"ico-shadedWithEdges","track-name":"colorLine"},Li={key:1,id:"ico-shaded","track-name":"color"},$i={key:2,id:"ico-hiddenLineVisible","track-name":"hidelineToSee"},zi={key:3,id:"ico-hiddenLineRemove","track-name":"hidelineToHide"},Ri={key:4,id:"ico-wireframe","track-name":"wireframe"},Fi={key:5,id:"ico-transparent-type","track-name":"transparent"},Hi={key:6,id:"ico-touyin",class:"no-select"},Ui=["selected"],Wi={key:7,id:"ico-home","track-name":"resetEye"},Gi={class:"arrow_img arrow_img_right",src:ko.a,alt:""},Yi={class:"arrow_img arrow_img_right",src:Do.a,alt:""};function Zi(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Bi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",Ai,Ii,512),[[c,n.returnOneMenu]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowLeft-show",class:"bottom_arrow",onClick:t[0]||(t[0]=(...e)=>n.hideRightBottom&&n.hideRightBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Vi,null,512),[[i["vShow"],!e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",_i,null,512),[[i["vShow"],e.isBottomRight]])],512),[[i["vShow"],e.overButtom]]),n.checkBtnExit("#ico-shadedWithEdges")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Pi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-lineColor","ico-shadedWithEdges"]]])],512)),[[c,n.lineColor],[l,e.$t("pcMtxtLineShade")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-shaded")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Li,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-color","ico-shaded"]]])],512)),[[c,n.color],[l,e.$t("pcMtxtShade")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-hiddenLineVisible")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",$i,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-showHideLine","ico-hiddenLineVisible"]]])],512)),[[c,n.hidelineToSee],[l,e.$t("pcMtxtLineSee")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-hiddenLineRemove")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",zi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-clearHideLine","ico-hiddenLineRemove"]]])],512)),[[c,n.hidelineToHide],[l,e.$t("pcMtxtLineMove")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-wireframe")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Ri,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-wireframe","ico-wireframe"]]])],512)),[[c,n.wireframe],[l,e.$t("pcMtxtWireframe")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-transparent-type")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Fi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-transparent","ico-transparent"]]])],512)),[[c,n.transparent],[l,e.$t("pcMtxtTransparent")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-touyin")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Hi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:!e.isPerspective},null,8,Ui),[[s,["ico-perspective","ico-touyin"]]])],512)),[[c,n.perspeTive],[l,e.isPerspective?e.$t("pcMtxtPers"):e.$t("pcMtxtOrth")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-home")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Wi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["ico-set-resetAngel","ico-home"]]])],512)),[[c,n.reset],[l,e.$t("pcMtxtHomeView")]]):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowRight-show",class:"bottom_arrow",onClick:t[1]||(t[1]=(...e)=>n.hideLeftBottom&&n.hideLeftBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Gi,null,512),[[i["vShow"],e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Yi,null,512),[[i["vShow"],!e.isBottomRight]])],512),[[i["vShow"],e.overButtom]])])])}var Xi={name:"",setup(){const e=Object(i["reactive"])({isPerspective:!0,isOpenTag:!0,overButtom:!1,isBottomRight:!1,resizeTimer:null}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$settingsBtn=e,n.config.globalProperties.$settingsProxy=o}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{o.$eventBus.on("isPerspectiveSub",()=>{e.isPerspective=!1}),o.$eventBus.on("resetPerspectiveSub",t=>{e.isPerspective=t}),o.$eventBus.on("resize",()=>{S()}),o.$eventBus.on("loadAndInitSub",e=>{e||(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.viewState?gt.setRenderMode(nd_viewCtrl.shareInfo.viewState):nd_viewCtrl.viewState&>.setRenderMode(nd_viewCtrl.viewState))})});const a=()=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),jt.sendCenter(2)},r=e=>ae(e),c=()=>{t.commit("menuStore/setPreShowSetting","lineColor"),gt.setRenderMode("shadedWithEdges"),t.commit("menuStore/setPreShowSetting","shadedWithEdges"),B("colorLine"),jt.sendCenter(2)},s=()=>{t.commit("menuStore/setPreShowSetting","color"),gt.setRenderMode("shaded"),t.commit("menuStore/setPreShowSetting","shaded"),B("color"),jt.sendCenter(2)},d=()=>{t.commit("menuStore/setPreShowSetting","hidelineToSee"),gt.setRenderMode("hiddenLineVisible"),t.commit("menuStore/setPreShowSetting","hiddenLineVisible"),B("hidelineToSee"),jt.sendCenter(2)},m=()=>{t.commit("menuStore/setPreShowSetting","hidelineToHide"),gt.setRenderMode("hiddenLineRemove"),t.commit("menuStore/setPreShowSetting","hiddenLineRemove"),B("hidelineToHide"),jt.sendCenter(2)},u=()=>{e.isPerspective?(gt._viewer.toPerspectiveCamera(),t.commit("menuStore/setPreShowSetting","zhengjiao")):(gt._viewer.toOrthographicCamera(),t.commit("menuStore/setPreShowSetting","toushi")),e.isPerspective=!e.isPerspective,B(e.isPerspective?"pcMtxtOrth":"pcMtxtPers"),jt.sendCenter(2)},p=()=>{gt.onResetCamera(),t.commit("menuStore/setPreShowSetting","reset"),B("resetEye"),jt.sendCenter(2)},h=()=>{B(t.state.tagStore.tagShow?"hideNote":"showNote");const o=gt._viewer.getAllNoteContent()||[];if(!(t.state.modelStore.nowTag.length<1&&o.length<1)){e.isOpenTag=t.state.tagStore.tagShow;var i=!e.isOpenTag;gt.setAnnotationsVisibility(i),t.commit("tagStore/setTagshow",i),e.isOpenTag=i,e.isShowHideSetting=!1,jt.sendCenter(2),jt.sendCenter(6)}},g=()=>{B(t.state.modelStore.measureShow?"hideMeasure":"showMeasure");const e=gt._viewer.getMeasureContent();if(!e)return;let o=t.state.modelStore.measureShow;t.commit("modelStore/setMeasureShow",!o),gt._viewer.setMeasureVisible(!o),jt.sendCenter(2)},v=()=>{t.commit("menuStore/setPreShowSetting","wireframe"),gt.setRenderMode("wireframe"),t.commit("menuStore/setPreShowSetting","wireframe"),B("wireframemode"),jt.sendCenter(2)},b=()=>{t.commit("menuStore/setPreShowSetting","transparent"),gt.setRenderMode("transparent"),t.commit("menuStore/setPreShowSetting","transparent"),B("transparentmode"),jt.sendCenter(2)},w="#ico-showSetting-list",S=()=>{e.resizeTimer&&clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(()=>{var t=o.$sortDom.checkIsOverwidth(w);t?(C("reset"),e.overButtom=!0):(f(),e.overButtom=!1)},200)},C=t=>{(e.isBottomRight||"reset"==t)&&o.$sortDom.hideRightBottom(w,()=>{e.isBottomRight=!1})},O=t=>{e.isBottomRight&&"reset"!=t||o.$sortDom.hideLeftBottom(w,()=>{e.isBottomRight=!0})},f=()=>{o.$sortDom.showAllBottom(w,()=>{e.overButtom=!1})},y=t=>{e.isPerspective=t},j=Object(i["toRefs"])(e);return{...j,store:t,returnOneMenu:a,checkBtnExit:r,lineColor:c,color:s,hidelineToSee:d,hidelineToHide:m,reset:p,perspeTive:u,hideTags:h,wireframe:v,transparent:b,hideMeasure:g,hideLeftBottom:O,hideRightBottom:C,setDataInfo:y}},methods:{}};const Ki=_t()(Xi,[["render",Zi]]);var Ji=Ki;Object(i["pushScopeId"])("data-v-a9db766e");const qi={class:"btn-ul",id:"ico-display-list"},Qi={class:"return-menu"},en=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),tn=[en],on={key:0,id:"ico-highLight","track-name":"highLight"},nn=["selected"],an={key:1,id:"ico-displayHideOther","track-name":"displayHideOther"},rn=["selected"],cn={key:2,id:"ico-displayHide","track-name":"displayHide"},sn=["selected"],ln={key:3,id:"ico-transparent","track-name":"transparent"},dn=["selected"],mn={key:4,id:"ico-displayResert","track-name":"displayResert"};function un(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",qi,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",Qi,tn,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-highLight")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",on,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.displayMode},null,8,nn),[[s,["view-tool-prominent","ico-highLight"]]])],512)),[[c,n.highLight],[l,e.$t("pcHighLight")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-displayHideOther")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",an,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.displayMode},null,8,rn),[[s,["view-tool-hideOther","ico-displayHideOther"]]])],512)),[[c,n.displayHideOther],[l,e.$t("pcSingleShow")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-displayHide")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",cn,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:2===e.displayMode},null,8,sn),[[s,["view-tool-conceal","ico-displayHide"]]])],512)),[[c,n.displayHide],[l,e.$t("pcHidePart")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-transparent")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",ln,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:3===e.displayMode},null,8,dn),[[s,["view-tool-transparent","ico-transparent"]]])],512)),[[c,n.transparent],[l,e.$t("pcTrans")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-displayResert")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",mn,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-reduction","ico-displayResert"]]])],512)),[[c,n.displayResert],[l,e.$t("pcAllShow")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var pn={name:"",components:{},setup(){const e=Object(i["reactive"])({displayMode:-1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{modelStore:a}=t.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$showHideBtn=e,n.config.globalProperties.$showHideBtnProxy=o}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{o.$eventBus.on("selectObjectEvent",()=>{-1!==e.displayMode&&v()}),o.$eventBus.on("openTagPointSub",()=>{gt._viewer.showprompt(!1),e.displayMode=-1}),o.$eventBus.on("cfgSwitchSub",()=>{gt._viewer.showprompt(!1),e.displayMode=-1})});const r=()=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),gt._viewer.showprompt(!1),e.displayMode=-1,jt.sendCenter(2)},c=()=>{gt._viewer.showprompt(!1),e.displayMode=-1},s=e=>ae(e),d=()=>{e.displayMode=0,gt._viewer.selectionManager.clearSelection(),gt._viewer.render(),g(),B("highLight"),jt.sendCenter(2)},m=()=>{e.displayMode=1,gt._viewer.selectionManager.clearSelection(),gt._viewer.render(),g(),gt._viewer.setShouldApplySelectionMaterialState(!1),B("displayHideOther"),jt.sendCenter(2)},u=()=>{e.displayMode=2,gt._viewer.selectionManager.clearSelection(),gt._viewer.render(),g(),gt._viewer.setShouldApplySelectionMaterialState(!1),B("displayHide"),jt.sendCenter(2)},p=()=>{e.displayMode=3,gt._viewer.selectionManager.clearSelection(),gt._viewer.render(),g(),gt._viewer.setShouldApplySelectionMaterialState(!1),B("transparent"),jt.sendCenter(2)},h=()=>{e.displayMode=4,gt._viewer.selectionManager.clearSelection(),gt._viewer.showAllModel(),gt._viewer.showprompt(!1),gt._viewer.render(),gt._viewer.setShouldApplySelectionMaterialState(!0),B("displayResert"),jt.sendCenter(2)},g=()=>{gt._viewer.showprompt(!0,o.$t("chooseToPart"))},v=()=>{const t=gt._viewer.selectionManager.getSelectedObjects();if(t&&0!=t.length)switch(e.displayMode){case 0:t&>._viewer.isolateObjects(t);break;case 1:gt._viewer.hideOtherObjects();break;case 2:gt.hideSelectedObjects();break;case 3:t&>._viewer.transparentOrisolateSelectObjects(t)}},b=Object(i["toRefs"])(e);return{returnOneMenu:r,checkBtnExit:s,highLight:d,displayHideOther:m,displayHide:u,transparent:p,displayResert:h,resetStatus:c,...b}}};o("46b6");const hn=_t()(pn,[["render",un],["__scopeId","data-v-a9db766e"]]);var gn=hn;Object(i["pushScopeId"])("data-v-df92249e");const vn={class:"btn-ul",id:"ico-animation-list"},bn=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),wn=[bn],Sn={id:"ico-animate-example-list",class:"ndp3-menu3-card are-menu3"},Cn=["title","onClick"],On=["selected"],fn={key:1},yn={key:0,id:"ico-animate-speed-list",class:"ndp3-menu3-card are-menu3"},jn={key:0,id:"ico-animate-type-list",class:"ndp3-menu3-card are-menu3"},xn=["title"],Tn=["title"],Mn=["title"];function kn(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("progressBar"),s=Object(i["resolveDirective"])("click-track"),l=Object(i["resolveDirective"])("img-switch"),d=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createVNode"])(c,{data:n.playedRate,timeTemp:n.playTimeTemp,class:"animation-progress-bar"},null,8,["data","timeTemp"]),Object(i["createElementVNode"])("ul",vn,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])(["return-menu",{"play-disable":!e.playEnable}])},wn,2),[[s,n.returnOneMenu]]),n.checkBtnExit("#ico-animationExample")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-animationExample",class:Object(i["normalizeClass"])(["shili",{"menu-select":e.showExample,"play-disable":!e.playEnable}]),"track-name":"animationExample",onMouseenter:t[0]||(t[0]=e=>n.mouseEnter("showExample")),onMouseleave:t[1]||(t[1]=(...e)=>n.mouseLeave&&n.mouseLeave(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[l,["view-tool-animation-example","ico-animationExample"]]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",Sn,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.allExample,e=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:e,class:Object(i["normalizeClass"])(["animate-example-item",{"select-m":e.id===n.animationStore.currentExample.id}]),"track-name":"selectedAnimationExample",title:e.name,onClick:t=>n.exampleChangeHandler(e)},Object(i["toDisplayString"])(e.name),11,Cn))),128))],512),[[i["vShow"],e.showExample&&e.playEnable]])],34)),[[d,e.$t("animationExample")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animationPause")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-animationPause",class:Object(i["normalizeClass"])(["zanting no-select",{"play-disable":!e.playEnable}]),"track-name":"animationPause",onMouseenter:t[2]||(t[2]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[1==n.animationStore.animateState?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,selected:1!=n.animationStore.animateState},null,8,On)),[[l,["view-tool-animation-pause","ico-animationPause"]]]):Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("img",fn,null,512)),[[l,["view-tool-animation-play","ico-animationPlay"]]])],34)),[[s,n.pauseHandler],[d,1==n.animationStore.animateState?e.$t("animationPause"):e.$t("animationPlay")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animationMultiple")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,id:"ico-animationMultiple",class:Object(i["normalizeClass"])(["beishu",{"menu-select":e.showMultiple}]),"track-name":"animationMultiple",onMouseenter:t[8]||(t[8]=e=>n.mouseEnter("showMultiple")),onMouseleave:t[9]||(t[9]=(...e)=>n.mouseLeave&&n.mouseLeave(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[l,["view-tool-animation-multiple","ico-animationMultiple"]]]),n.checkBtnExit("#ico-animate-speed-list")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",yn,[n.checkBtnExit("#ico-animate-speed-e")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,class:Object(i["normalizeClass"])({"select-m":5==n.animationStore.multiple}),id:"ico-animate-speed-e","track-name":"selectedFace",onClick:t[3]||(t[3]=e=>n.multipleChangeHandler(5))},"5.0x ",2)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-speed-d")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,class:Object(i["normalizeClass"])({"select-m":2==n.animationStore.multiple}),id:"ico-animate-speed-d","track-name":"selectedFace",onClick:t[4]||(t[4]=e=>n.multipleChangeHandler(2))},"2.0x ",2)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-speed-c")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,class:Object(i["normalizeClass"])({"select-m":1.5==n.animationStore.multiple}),id:"ico-animate-speed-c","track-name":"selectedFace",onClick:t[5]||(t[5]=e=>n.multipleChangeHandler(1.5))}," 1.5x",2)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-speed-b")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,class:Object(i["normalizeClass"])({"select-m":1==n.animationStore.multiple}),id:"ico-animate-speed-b","track-name":"selectedFace",onClick:t[6]||(t[6]=e=>n.multipleChangeHandler(1))},"1.0x ",2)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-speed-a")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,class:Object(i["normalizeClass"])({"select-m":.5==n.animationStore.multiple}),id:"ico-animate-speed-a","track-name":"selectedFace",onClick:t[7]||(t[7]=e=>n.multipleChangeHandler(.5))}," 0.5x",2)):Object(i["createCommentVNode"])("",!0)],512)),[[i["vShow"],e.showMultiple]]):Object(i["createCommentVNode"])("",!0)],34)),[[d,e.$t("animationMultiple")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animationModel")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,id:"ico-animationModel",class:Object(i["normalizeClass"])(["moshi",{"menu-select":e.showModel}]),"track-name":"animationModel",onMouseenter:t[13]||(t[13]=e=>n.mouseEnter("showModel")),onMouseleave:t[14]||(t[14]=(...e)=>n.mouseLeave&&n.mouseLeave(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[l,["view-tool-animation-model","ico-animationModel"]]]),n.checkBtnExit("#ico-animate-type-list")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",jn,[n.checkBtnExit("#ico-animate-type-c")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,class:Object(i["normalizeClass"])({"select-m":2==n.animationStore.model}),id:"ico-animate-type-c","track-name":"selectedFace",onClick:t[10]||(t[10]=e=>n.modelChangeHandler(2)),title:e.$t("aniPlayType3")},Object(i["toDisplayString"])(e.$t("aniPlayType3")),11,xn)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-type-b")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,class:Object(i["normalizeClass"])({"select-m":1==n.animationStore.model}),id:"ico-animate-type-b","track-name":"selectedFace",onClick:t[11]||(t[11]=e=>n.modelChangeHandler(1)),title:e.$t("aniPlayType2")},Object(i["toDisplayString"])(e.$t("aniPlayType2")),11,Tn)):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animate-type-a")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,class:Object(i["normalizeClass"])({"select-m":0==n.animationStore.model}),id:"ico-animate-type-a","track-name":"selectedFace",onClick:t[12]||(t[12]=e=>n.modelChangeHandler(0)),title:e.$t("aniPlayType1")},Object(i["toDisplayString"])(e.$t("aniPlayType1")),11,Mn)):Object(i["createCommentVNode"])("",!0)],512)),[[i["vShow"],e.showModel]]):Object(i["createCommentVNode"])("",!0)],34)),[[d,e.$t("animationModel")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-animationReset")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,id:"ico-animationReset",class:"chongzhi","track-name":"animationReset",onMouseenter:t[15]||(t[15]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[l,["view-tool-animation-reset","ico-animationReset"]]])],544)),[[s,n.resetHandler],[d,e.$t("animationReset")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])(),Object(i["pushScopeId"])("data-v-962f14c6");const En={class:"progress-bar-content"},Dn={class:"progress-bar-wrap"},Bn={class:"progress-time-txt"};function An(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",En,[Object(i["createElementVNode"])("div",Dn,[Object(i["createElementVNode"])("span",{class:"progress-bar-fill",style:Object(i["normalizeStyle"])({width:o.data+"%"})},null,4)]),Object(i["createElementVNode"])("div",Bn,Object(i["toDisplayString"])(o.timeTemp),1)])}Object(i["popScopeId"])();var Nn={props:{data:{type:Number,default:0},timeTemp:{type:String,default:""}}};o("1326");const In=_t()(Nn,[["render",An],["__scopeId","data-v-962f14c6"]]);var Vn=In,_n={name:"",components:{progressBar:Vn},setup(){const e=Object(i["reactive"])({showMultiple:!1,showModel:!1,showExample:!1,playedTime:0,currentAnimateTotalTime:0,isAniLoad:!1,isModelLoad:!1,playEnable:!0,undoLoad:!1});let t="";var o={animationID:"",loadState:""};let n=!1,a={};const{proxy:r,appContext:c}=Object(i["getCurrentInstance"])(),s=Object(l["useStore"])(),{tagStore:d,menuStore:m,animationStore:u}=s.state;let p=null;const h=Object(i["computed"])(()=>u.allExample.reverse()),g=Object(i["computed"])(()=>e.playedTime&&e.currentAnimateTotalTime?e.playedTime/e.currentAnimateTotalTime*100:0),v=Object(i["computed"])(()=>(e.playedTime>e.currentAnimateTotalTime&&e.currentAnimateTotalTime>0&&(e.playedTime=e.currentAnimateTotalTime),(e.playedTime/1e3).toFixed(2)+"/"+(e.currentAnimateTotalTime/1e3).toFixed(2)));Object(i["nextTick"])(()=>{c.config.globalProperties.$animationProxy=r,c.config.globalProperties.$animationData=e,c.config.globalProperties.$animation=r}),Object(i["watch"])(()=>s.state.menuStore.menuChoose,()=>{if("animation"===s.state.menuStore.menuChoose){var i=s.state.animationStore.currentExample.id,c=s.state.animationStore.currentExample.index;if(t=gt._viewer.getviewState(),!e.undoLoad){D(),i||(B(),i=s.state.animationStore.currentExample.id,c=s.state.animationStore.currentExample.index),e.playEnable=!1;var l=0;if(a){a.addLablels(a._animationData);var d=z();a.addEndEvent(d,(function(){1==l&&(e.playEnable=!0,e.undoLoad=!1,setTimeout(()=>{e.currentAnimateTotalTime=f(c)}),a.checkTime0Camera(i),a.changeBodyByTime(0),o.loadState="end",l=0,n&&(n=!1,j()))})),o={animationID:i,loadState:"ing"},l=1,a.resetAnimationModel(i,d)}}r.$eventBus.emit("cancleChangeObjectColor"),b()}}),r.$eventBus.on("loadAndInitSub",t=>{t||(e.isModelLoad=!0,C())}),r.$eventBus.on("animationLoadedSub",()=>{a=gt&>._viewer&>._viewer.getExtension("NDSAnimationExtension"),e.isModelLoad=!0,s.commit("animationStore/setAnimateState",0),D(),B(!0),a.addEventListener("animationfinished",(function(e){a&&a.AnimationStop(),s.commit("animationStore/setAnimateState",0),nd_viewCtrl&&nd_viewCtrl.animationFinished&&nd_viewCtrl.animationFinished(0)})),a.addEventListener("animationloop",(function(t){e.playedTime=0,y(),nd_viewCtrl&&nd_viewCtrl.animationFinished&&nd_viewCtrl.animationFinished(u.model)})),a.addEventListener("animationTime",(function(t){e.playedTime=1e3*t.time||0})),C()}),r.$eventBus.on("stopAnimation",()=>{a.AnimationStop&&a.AnimationStop()}),Object(i["onMounted"])(()=>{document.addEventListener("visibilitychange",(function(){D()}))});const b=()=>{gt.setAnnotationsVisibility(0),gt._viewer.setMeasureVisible(!1)},w=()=>{const e=s.state.tagStore.tagShow;gt.setAnnotationsVisibility(e);const t=s.state.modelStore.measureShow;gt._viewer.setMeasureVisible(t)},S=()=>{e.playEnable&&(D(),s.commit("menuStore/setShowOneMenu",!0),s.commit("menuStore/setMenuChoose",""),s.commit("menuStore/setMenuChoose3",""),O(),t!=gt._viewer.getviewState()&>._viewer.setRenderMode(t),w())},C=()=>{var t,o;if(!e.isAniLoad||!e.isModelLoad)return;let i=nd_viewCtrl.shareInfo,n=i.animationSetObj;if(!n||"{}"==JSON.stringify(n))return;let{multiple:r,model:c,currentExample:l}=n;s.commit("animationStore/setMultiple",r),s.commit("animationStore/setModel",c),k(l),null===(t=a)||void 0===t||t.setTimeScale(r),null===(o=a)||void 0===o||o.setLoopType(c)},O=()=>{o={animationID:"",loadState:""},s.commit("animationStore/setCurrentExample",{name:"",index:0,id:""}),NDSWebViewer.SETTING.enableSelect=!0,d.tagShow&&!gt._viewer.isSectionViewEnabled()&>.setAnnotationsVisibility(1),gt._viewer.showprompt(!1);let e=gt.getSelectedObjects();e.map(e=>{gt._viewer.changeObjectColor(e.uuid)}),a.unloadAnimationModel()},f=e=>{var t;const o=(null===(t=a)||void 0===t?void 0:t.getLoopTime(e))||0;return 1e3*o},y=()=>{clearInterval(p),p=null},j=async()=>{if(a&&e.playEnable){if(0===u.animateState){e.playedTime=0;var t=s.state.animationStore.currentExample.id;const o=s.state.animationStore.currentExample.index;a.AnimationStart(o,t)}var o;if(2===s.getters["animationStore/animateState"])null===(o=a)||void 0===o||o.AnimationContinue();s.commit("animationStore/setAnimateState",1)}},x=()=>{var t;a&&(e.playEnable&&("1"!=u.animateState?j():(null===(t=a)||void 0===t||t.AnimationPause(),s.commit("animationStore/setAnimateState",2),y())))},T=(e,t)=>{var o;null===(o=a)||void 0===o||o.setTimeScale(e),t||s.commit("menuStore/setMenuChoose3","animateMultiple"+e),s.commit("animationStore/setMultiple",e),1===u.animateState&&y()},M=(e,t)=>{var o;null===(o=a)||void 0===o||o.setLoopType(e),t||s.commit("menuStore/setMenuChoose3","animateModel"+e),s.commit("animationStore/setModel",e)},k=(e={})=>{e.name&&e.id!==s.state.animationStore.currentExample.id&&(a.clearEndEvent(),$(e))},E=()=>{var e;const t=null===(e=a)||void 0===e?void 0:e._animationData.animations;return(t||[]).map((e,t)=>({name:e.name,id:e.animationID,index:t}))},D=()=>{a.AnimationStop&&a.AnimationStop(),s.commit("animationStore/setAnimateState",0),e.playedTime=0,y()},B=e=>{const t=E();s.commit("animationStore/setAllExample",t),e||s.state.animationStore.currentExample.id||t[0]&&s.commit("animationStore/setCurrentExample",t[0])},A=e=>ae(e),N=t=>{I(),t&&(e[t]=!0)},I=()=>{e.showMultiple=!1,e.showModel=!1,e.showExample=!1},V=()=>{e.showMultiple=!1,e.showModel=!1,e.showExample=!1},_=t=>{if(!s.state.animationStore.hasAnimation)return;e.showMultiple=t.showMultiple,e.showModel=t.showModel,e.showExample=t.showExample,a=gt&>._viewer&>._viewer.getExtension("NDSAnimationExtension"),e.playedTime=t.playedTime,e.currentAnimateTotalTime=t.currentAnimateTotalTime,e.isAniLoad=t.isAniLoad,e.isModelLoad=t.isModelLoad;const o=t._store||{};s.commit("animationStore/setAnimateState",o.animateState),k(o.currentExample),T(o.multiple),M(o.model)};function P(){return o}function L(e){return n=!0,"end"==o.loadState&&o.animationID==e&&(D(),j(),!0)}const $=(t={},i)=>{if(t.name)if(t.id!==s.state.animationStore.currentExample.id){if(D(),e.playEnable=!1,a){var n=z(),r=0;a.addEndEvent(n,(function(){1==r&&(e.playEnable=!0,e.undoLoad=!1,o.loadState="end",r=0,i&&j(),a.checkTime0Camera(t.id),a.changeBodyByTime(0))})),o={animationID:t.id,loadState:"ing"},r=1,a.switchAnnimation(t.id,n)}s.commit("animationStore/setCurrentExample",t),setTimeout(()=>{const t=s.state.animationStore.currentExample.index;e.currentAnimateTotalTime=f(t)})}else i&&(D(),j(),setTimeout(()=>{const t=s.state.animationStore.currentExample.index;e.currentAnimateTotalTime=f(t)}))};function z(){let e=(new Date).getTime();"undefined"!==typeof performance&&"function"===typeof performance.now&&(e+=performance.now());const t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const o=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?o:3&o|8).toString(16)}));return t}window._viewerAnimate={getCurInstance:()=>!s.state.animationStore.currentExample||s.state.animationStore.currentExample.id?null:{id:s.state.animationStore.currentExample.id||"",name:s.state.animationStore.currentExample.name||""},setParams:(e={})=>{const t=[.5,1,1.5,2,5],o=[0,1,2],i=e.multiple||1,n=e.mode||0;t.includes(i)&&T(num),o.includes(n)&&M(n)},play:e=>{const t=["tag","meter","cout","explode"],o=["txtTag","lineTag"],i=["meterDistance","meterLength","meterAngle","meterLineargauge"],n=["coutUsually","coutBox"];if(t.includes(m.menuChoose)||o.includes(m.menuChoose3)||i.includes(m.menuChoose2)||n.includes(m.menuChoose2))return;if(!window._hasAnimationBtn||!window._hasAnimationBtn())return;const a=E(),r=e?a.find(t=>t.id==e):a.find(e=>0==e.index);r&&r.id&&(window._chooseAnimation&&window._chooseAnimation(),D(),k(r),j())},pause:()=>{"animation"==m.menuChoose&&x()},stop:()=>{"animation"==m.menuChoose&&D()},exit:()=>{"animation"==m.menuChoose&&S()}};const R=Object(i["toRefs"])(e);return{...R,playedRate:g,playTimeTemp:v,menuStore:m,animationStore:u,allExample:h,setAndPlay:L,returnOneMenu:S,checkBtnExit:A,mouseEnter:N,mouseLeave:V,getAllExample:E,playHandler:j,pauseHandler:x,modelChangeHandler:M,exampleChangeHandler:k,animationPlay:$,resetHandler:D,multipleChangeHandler:T,setDataInfo:_,getCurAnimation:P}}};o("1a82");const Pn=_t()(_n,[["render",kn],["__scopeId","data-v-df92249e"]]);var Ln=Pn,$n=o("b981"),zn=o.n($n);Object(i["pushScopeId"])("data-v-528f0b25");const Rn={class:"header"},Fn={class:"cout-content",style:{"margin-top":"15px"}},Hn={class:"flex-start"},Un={class:"cout-switch-txt"},Wn={class:"flex-start"},Gn={class:"cout-switch-txt"},Yn={class:"flex-start"},Zn={class:"cout-switch-txt"},Xn={class:"flex-start"},Kn={class:"cout-switch-txt"},Jn={class:"title"},qn={class:"cout-content"},Qn={class:"flex-start"},ea={class:"flex-start"},ta={class:"flex-start"},oa=Object(i["createElementVNode"])("img",{src:zn.a,alt:""},null,-1);function ia(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("card"),l=Object(i["resolveComponent"])("cout-see");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createVNode"])(s,{class:"ndp3-my-page cout-select",onClose:n.closeCout},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Rn,Object(i["toDisplayString"])(e.$t("chooseCoutType2")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Fn,[Object(i["createElementVNode"])("div",Hn,[Object(i["createElementVNode"])("div",Un,Object(i["toDisplayString"])(e.$t("coutFaceShow2")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.openCout,"onUpdate:modelValue":t[0]||(t[0]=t=>e.openCout=t),onChange:n.openCountChange},null,8,["modelValue","onChange"])]),Object(i["createElementVNode"])("div",Wn,[Object(i["createElementVNode"])("div",Gn,Object(i["toDisplayString"])(e.$t("coutFaceHide")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.hideCout,"onUpdate:modelValue":t[1]||(t[1]=t=>e.hideCout=t),onChange:n.hideCoutChange},null,8,["modelValue","onChange"])]),Object(i["createElementVNode"])("div",Yn,[Object(i["createElementVNode"])("div",Zn,Object(i["toDisplayString"])(e.$t("reverseCout")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.reverseCout,"onUpdate:modelValue":t[2]||(t[2]=t=>e.reverseCout=t),onChange:n.reverseCoutChange},null,8,["modelValue","onChange"])]),Object(i["createElementVNode"])("div",Xn,[Object(i["createElementVNode"])("div",Kn,Object(i["toDisplayString"])(e.$t("pcSeePlan")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.openBigCout,"onUpdate:modelValue":t[3]||(t[3]=t=>e.openBigCout=t),onChange:n.openBigChange},null,8,["modelValue","onChange"])])]),Object(i["createElementVNode"])("div",Jn,Object(i["toDisplayString"])(e.$t("pcChoosePlan")),1),Object(i["createElementVNode"])("div",qn,[Object(i["createElementVNode"])("div",Qn,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["pq-icon pq-icon-check-no",{"pq-icon-check-blue":"YZ"==e.coutLight,"pq-icon-check-gray":n.judgeCludeChoose("YZ")}]),onClick:t[4]||(t[4]=e=>n.chooseAxis("YZ"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[5]||(t[5]=e=>n.chooseAxisAll("YZ")),class:Object(i["normalizeClass"])({"txt-blue":"YZ"==e.coutLight})},Object(i["toDisplayString"])(e.$t("pcXcut")),3)]),Object(i["createElementVNode"])("div",ea,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["pq-icon pq-icon-check-no",{"pq-icon-check-blue":"XZ"==e.coutLight,"pq-icon-check-gray":n.judgeCludeChoose("XZ")}]),onClick:t[6]||(t[6]=e=>n.chooseAxis("XZ"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[7]||(t[7]=e=>n.chooseAxisAll("XZ")),class:Object(i["normalizeClass"])({"txt-blue":"XZ"==e.coutLight})},Object(i["toDisplayString"])(e.$t("pcYcut")),3)]),Object(i["createElementVNode"])("div",ta,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["pq-icon pq-icon-check-no",{"pq-icon-check-blue":"XY"==e.coutLight,"pq-icon-check-gray":n.judgeCludeChoose("XY")}]),onClick:t[8]||(t[8]=e=>n.chooseAxis("XY"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[9]||(t[9]=e=>n.chooseAxisAll("XY")),class:Object(i["normalizeClass"])({"txt-blue":"XY"==e.coutLight})},Object(i["toDisplayString"])(e.$t("pcZcut")),3)])]),Object(i["createElementVNode"])("div",{class:"reset-content",onClick:t[10]||(t[10]=(...e)=>n.resetClick&&n.resetClick(...e))},[oa,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcReset")),1)])]),_:1},8,["onClose"]),Object(i["withDirectives"])(Object(i["createVNode"])(l,{openCout:e.showCoutFace,onCloseSee:n.closeSee},null,8,["openCout","onCloseSee"]),[[i["vShow"],e.showCoutFace]])])}Object(i["popScopeId"])();var na=o("b364"),aa=o.n(na);Object(i["pushScopeId"])("data-v-3381d891");const ra={class:"dialog_header"},ca={class:"drag-right",ref:"dragRight"},sa={class:"drag-bottom",ref:"dragBottom"};function la(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("drag");return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"ndp3-my-card",ref:"cardRef",onContextmenu:t[2]||(t[2]=Object(i["withModifiers"])(()=>{},["right","stop","prevent"])),onMouseenter:t[3]||(t[3]=(...e)=>n.mourseBigMenu&&n.mourseBigMenu(...e)),onMouseleave:t[4]||(t[4]=(...e)=>n.mourseBigMenuLeave&&n.mourseBigMenuLeave(...e))},[Object(i["createElementVNode"])("div",{class:"card-content",onScrollPassive:t[1]||(t[1]=(...e)=>n.getTreeScroll&&n.getTreeScroll(...e)),ref:"cardContentRef"},[Object(i["createElementVNode"])("header",ra,[Object(i["renderSlot"])(e.$slots,"header",{},void 0,!0),o.hideClose?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"close-icon",src:aa.a,onClick:t[0]||(t[0]=(...e)=>n.close&&n.close(...e)),alt:""}))]),Object(i["renderSlot"])(e.$slots,"default",{},void 0,!0)],544),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",ca,null,512),[[i["vShow"],o.canDrag]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",sa,null,512),[[i["vShow"],o.canDrag]])],544)),[[c]])}Object(i["popScopeId"])();var da={name:"",props:["hideClose","canDrag","sizeDrag","scrollChange"],setup(e,t){const o=Object(i["reactive"])({});let n=Object(i["ref"])(null),a=Object(i["ref"])(null),r=Object(i["ref"])(null),c=Object(i["ref"])(null);Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{e.canDrag&&l()});const s=()=>{t.emit("close"),jt.sendCenter(2),setTimeout(()=>{jt.sendCenter(3)})},l=()=>{n.value.onmousedown=function(e){let o=e.clientX,i=1*r.value.clientWidth;document.onmousemove=function(e){let t=i+e.clientX-o;e.clientX>document.body.clientWidth-10||t>=240&&(r.value.style.width=t+"px")},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,t.emit("sizeDrag",{cardWidth:r.value.style.width,cardHeight:r.value.style.height})}},a.value.onmousedown=function(e){let o=e.clientY,i=1*r.value.clientHeight;document.onmousemove=function(e){let t=i+e.clientY-o;e.clientY>document.body.clientHeight-10||t>=300&&(r.value.style.height=t+"px")},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,t.emit("sizeDrag",{cardWidth:r.value.style.width,cardHeight:r.value.style.height})}}},d=e=>{const t=document.getElementById("vueMain").offsetWidth;let o=e;o<240&&(o=240),o>t&&(o=t-20),r.value.style.width=o+"px"},m=()=>{const e=document.querySelector(".pc-alert");e&&(e.style.display="none")},u=()=>{const e=document.querySelector(".pc-alert");e&&e.innerText&&(e.style.display="block")},p=e=>{clearTimeout(o.scrollTimer),o.scrollTimer=setTimeout(()=>{t.emit("scrollChange",e)},100)},h=e=>{c.value.scrollTop=e},g=Object(i["toRefs"])(o);return{...g,close:s,mourseBigMenu:m,mourseBigMenuLeave:u,dragRight:n,dragBottom:a,cardRef:r,cardContentRef:c,setCardWidth:d,getTreeScroll:p,setTreeScroll:h}}};o("a8a3");const ma=_t()(da,[["render",la],["__scopeId","data-v-3381d891"]]);var ua=ma,pa=o("6264"),ha=o.n(pa),ga=o("ec6b"),va=o.n(ga),ba=o("51cb"),wa=o.n(ba),Sa=o("4521"),Ca=o.n(Sa),Oa=o("4568"),fa=o.n(Oa);Object(i["pushScopeId"])("data-v-87852f12");const ya={class:"flex-right cout-operate"},ja=["data-tip2"],xa=["data-tip2"],Ta=["data-tip2"],Ma=Object(i["createElementVNode"])("p",{class:"cut-line"},null,-1),ka=["data-tip2"],Ea={class:"img-round"},Da={class:"drag-div",ref:"dragImgRef1"},Ba=["src"],Aa={class:"big-viewer-title"},Na={class:"big-title"},Ia={class:"right-btn-list"},Va=["data-tip2"],_a=["data-tip2"],Pa=["data-tip2"],La=Object(i["createElementVNode"])("p",{class:"cut-line"},null,-1),$a=["data-tip2"],za={class:"bigimg-content"},Ra={class:"drag-div",ref:"dragImgRef2"},Fa=["src"];function Ha(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card"),s=Object(i["resolveComponent"])("xd-dialog"),l=Object(i["resolveDirective"])("drag");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createVNode"])(c,{onClose:n.closeSee,class:"y-page cout-see cout-see-card"},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",ya,[Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip1")},[Object(i["createElementVNode"])("img",{src:ha.a,onClick:t[0]||(t[0]=e=>n.rotateClick(22.5)),alt:""})],8,ja),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip4")},[Object(i["createElementVNode"])("img",{src:va.a,onClick:t[1]||(t[1]=(...e)=>n.rotateTurnClick&&n.rotateTurnClick(...e)),alt:""})],8,xa),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip2")},[Object(i["createElementVNode"])("img",{src:wa.a,onClick:t[2]||(t[2]=e=>n.rotateClick(-22.5)),alt:""})],8,Ta),Ma,Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip3")},[Object(i["createElementVNode"])("img",{src:Ca.a,onClick:t[3]||(t[3]=(...e)=>n.resetModel&&n.resetModel(...e)),alt:""})],8,ka)])]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Ea,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Da,[Object(i["createElementVNode"])("img",{class:"dialog_header",src:e.imgUrl,alt:"",onMousewheel:t[4]||(t[4]=(...e)=>n.rollImg&&n.rollImg(...e)),style:Object(i["normalizeStyle"])({transform:"rotateY("+e.overturn+"deg) rotate("+e.rotate+"deg) scale("+e.scale+")"})},null,44,Ba)],512),[[l,"openLimit"]])])]),_:1},8,["onClose"]),Object(i["createVNode"])(s,{visible:e.showBigModel,title:e.$t("pcSeePlan"),hideFoot:"true",hideTitle:"true",class:"dialog",width:"90%",height:"90%"},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Aa,[Object(i["createElementVNode"])("div",Na,Object(i["toDisplayString"])(e.$t("pcSeePlan")),1),Object(i["createElementVNode"])("div",Ia,[Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip1")},[Object(i["createElementVNode"])("img",{src:ha.a,onClick:t[5]||(t[5]=e=>n.rotateClick(22.5)),alt:""})],8,Va),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip4")},[Object(i["createElementVNode"])("img",{src:va.a,onClick:t[6]||(t[6]=(...e)=>n.rotateTurnClick&&n.rotateTurnClick(...e)),alt:""})],8,_a),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip2")},[Object(i["createElementVNode"])("img",{src:wa.a,onClick:t[7]||(t[7]=e=>n.rotateClick(-22.5)),alt:""})],8,Pa),La,Object(i["createElementVNode"])("div",{"data-tip2":e.$t("pcCoutTip5")},[Object(i["createElementVNode"])("img",{src:fa.a,onClick:t[8]||(t[8]=(...e)=>n.closeBigCoutSee&&n.closeBigCoutSee(...e)),alt:""})],8,$a)])]),Object(i["createElementVNode"])("div",za,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Ra,[Object(i["createElementVNode"])("img",{class:"dialog_header big_img",src:e.imgUrl,onMousewheel:t[9]||(t[9]=(...e)=>n.rollImg&&n.rollImg(...e)),alt:"",style:Object(i["normalizeStyle"])({transform:"rotateY("+e.overturn+"deg) rotate("+e.rotate+"deg) scale("+e.scale+")"})},null,44,Fa)],512),[[l,"openLimit"]])])]),_:1},8,["visible","title"])])}Object(i["popScopeId"])(),Object(i["pushScopeId"])("data-v-338cf13e");const Ua={class:"my-dialog"},Wa=Object(i["createElementVNode"])("div",{class:"dialog-cover"},null,-1),Ga={key:0,class:"dialog-title"},Ya={class:"dialog-content"},Za={key:1,class:"dialog-footer"};function Xa(e,t,o,n,a,r){return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ua,[Wa,Object(i["createElementVNode"])("div",{class:"dialog-model",style:Object(i["normalizeStyle"])({width:o.width,height:o.height})},[o.hideTitle?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ga,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(o.title)+" ",1),Object(i["createElementVNode"])("img",{class:"dialog-cancel-img",onClick:t[0]||(t[0]=(...e)=>n.close&&n.close(...e)),src:aa.a,alt:""})])),Object(i["createElementVNode"])("div",Ya,[Object(i["renderSlot"])(e.$slots,"default",{},void 0,!0)]),o.hideFoot?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Za,[Object(i["createElementVNode"])("button",{class:"dialog-cancel-btn dialog-btn",onClick:t[1]||(t[1]=(...e)=>n.cancel&&n.cancel(...e))},Object(i["toDisplayString"])(o.cancelTxt||e.$t("cancel")),1),Object(i["createElementVNode"])("button",{class:"dialog-sure-btn dialog-btn",onClick:t[2]||(t[2]=(...e)=>n.sure&&n.sure(...e))},Object(i["toDisplayString"])(o.sureTxt||e.$t("sure")),1)]))],4)],512)),[[i["vShow"],o.visible]])}Object(i["popScopeId"])();var Ka={name:"",props:["visible","title","sureTxt","cancelTxt","hideTitle","hideFoot","width","height"],setup(e){const t=Object(i["reactive"])({}),{proxy:o}=(Object(l["useStore"])(),Object(i["getCurrentInstance"])());Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const n=()=>{o.$emit("close")},a=()=>{o.$emit("cancel")},r=()=>{o.$emit("sure")},c=Object(i["toRefs"])(t);return{...c,close:n,cancel:a,sure:r}}};o("13bf");const Ja=_t()(Ka,[["render",Xa],["__scopeId","data-v-338cf13e"]]);var qa=Ja,Qa={name:"",props:["openCout"],components:{card:ua,xdDialog:qa},setup(e,t){const o=Object(i["reactive"])({imgUrl:"",showBigModel:!1,rotate:0,overturn:0,scale:1}),n=Object(i["ref"])(null),a=Object(i["ref"])(null),{proxy:r,appContext:c}=(Object(l["useStore"])(),Object(i["getCurrentInstance"])());Object(i["nextTick"])(()=>{c.config.globalProperties.$coutSee=o}),Object(i["watch"])(()=>r.openCout,()=>{o.rotate=0,o.overturn=0,o.scale=1,o.showBigModel=!1,n.value&&n.value.removeAttribute("style"),a.value&&n.value.removeAttribute("style")}),r.$eventBus.on("coutBaseImg",e=>{o.imgUrl=e,o.scale=1,n.value&&n.value.removeAttribute("style"),a.value&&n.value.removeAttribute("style")}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const s=()=>{t.emit("closeSee")},d=e=>{o.rotate=o.rotate+e,jt.sendCenter(4)},m=()=>{180==o.overturn?o.overturn=0:o.overturn=180,jt.sendCenter(4)},u=e=>{e.wheelDelta>0?o.scale=o.scale+.05:o.scale=o.scale-.05,o.scale<1&&(o.scale=1),o.scale>5&&(o.scale=5)},p=()=>{o.showBigModel=!0,o.scale=1,jt.sendCenter(4)},h=()=>{o.showBigModel=!1,o.scale=1,jt.sendCenter(4)},g=Object(i["toRefs"])(o);return{...g,closeSee:s,rotateClick:d,rotateTurnClick:m,rollImg:u,resetModel:p,closeBigCoutSee:h,dragImgRef1:n,dragImgRef2:a}},methods:{}};o("f267");const er=_t()(Qa,[["render",Ha],["__scopeId","data-v-87852f12"]]);var tr=er;function or(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{onClick:t[0]||(t[0]=(...e)=>n.switchVal&&n.switchVal(...e)),class:Object(i["normalizeClass"])(["my-switch",o.modelValue?"open":"close"])},Object(i["toDisplayString"])(o.modelValue?o.textOn:o.textOff),3)}var ir={name:"",props:{modelValue:{type:Boolean},textOn:{type:String},textOff:{type:String}},setup(e,t){const o=Object(i["reactive"])({}),{proxy:n}=Object(i["getCurrentInstance"])();Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{n.$emit("update:modelValue",!e.modelValue),t.emit("change",!e.modelValue)},r=Object(i["toRefs"])(o);return{...r,switchVal:a}},methods:{}};o("1bf9");const nr=_t()(ir,[["render",or],["__scopeId","data-v-175d2045"]]);var ar=nr,rr={name:"",components:{card:ua,coutSee:tr,xdSwitch:ar},setup(){const e=Object(i["reactive"])({coutType:1,coutFace:["YZ"],coutLight:"YZ",showCoutFace:!1,openCout:!0,hideCout:!1,reverseCout:!1,openBigCout:!1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$coutSelect=e,n.config.globalProperties.$coutSelectProxy=o}),Object(i["watch"])(()=>t.state.menuStore.coutMenu,e=>{if(!e)return void("coutUsually"==t.state.menuStore.menuChoose2&&t.commit("menuStore/setMenuChoose2",""));const o=gt._viewer.isSectionViewEnabled();o||d()}),o.$eventBus.on("closeCoutState",e=>{a(!1),m()}),o.$eventBus.on("shareCoutSub",o=>{e.coutFace=o.cutList,(!o.cutList||o.cutList.length<1)&&(e.coutFace=["YZ"]),e.coutLight=o.active_cur||"YZ",e.hideCout=!o.isCutoutShow,e.openCout=o.isCutout,e.reverseCout=o.isReverse;const i=gt._viewer.isSectionViewEnabled();i&>.closeClipControl(),i&&t.state.modelStore.nowTag.length>0&&setTimeout(()=>{gt.setAnnotationsVisibility(0)},200)}),Object(i["onMounted"])(()=>{});const a=t=>{t?gt.onSectionView(!0):(e.hideCout=!1,e.reverseCout=!1,e.openBigCout=!1,e.showCoutFace=!1,e.coutFace=["YZ"],e.coutLight="YZ",gt.onSectionView(!1)),v()},r=t=>{e.openCout||(e.openCout=!0,gt.onSectionView(!0)),setTimeout(()=>{t?(gt.hideShowClipPlane(!1),B("coutFaceHide")):(gt.hideShowClipPlane(!0),B("coutFaceShow")),v()},100)},c=t=>{e.openCout||(e.openCout=!0,gt.onSectionView(!0)),setTimeout(()=>{gt._viewer.setActiveSectionPlane(e.coutLight),gt.reverseClipDirection(),e.hideCout&>.hideShowClipPlane(!1)},100),v(),B("reverseCout")},s=t=>{t?(e.openCout||(e.openCout=!0,gt.onSectionView(!0)),e.showCoutFace=!0):e.showCoutFace=!1,v()},d=()=>{e.openCout=!0,e.hideCout=!1,e.showCoutFace=!1,e.openBigCout=!1,e.coutFace=["YZ"],e.coutLight="YZ",e.reverseCout=!1,setTimeout(()=>{gt.onSectionView(!1),gt.onSectionView(!0),v()},100)},m=()=>{t.state.menuStore.menuChoose,t.commit("menuStore/setCoutMenu",!1)},u=t=>{if(!(e.coutFace.length<=1&&e.coutLight==t)){if(e.openCout||(e.openCout=!0,gt.onSectionView(!0)),e.coutFace.indexOf(t)>-1){if(e.coutFace.length<=1)return;t==e.coutLight?(e.coutFace=R(e.coutFace,t),gt._viewer.deleteSectionPlane(t),p(e.coutFace[0])):(e.coutFace=R(e.coutFace,t),gt._viewer.deleteSectionPlane(t),e.hideCout=!1)}else e.coutFace.push(t),gt._viewer.addSectionPlane(t),p(t),e.hideCout=!1;gt._viewer.setActiveSectionPlane(e.coutLight),v()}},p=t=>{e.coutLight!=t&&(e.openCout||(e.openCout=!0,gt.onSectionView(!0)),e.reverseCout=!1,e.hideCout=!1,e.coutLight=t,gt._viewer.setActiveSectionPlane(t),e.coutFace.indexOf(t)<0&&(e.coutFace.push(t),gt._viewer.addSectionPlane(t)),v())},h=t=>e.coutFace&&e.coutFace.includes(t),g=()=>{e.showCoutFace=!1,e.openBigCout=!1,jt.sendCenter(4)},v=()=>{const o={active_cur:e.coutLight,cutList:e.coutFace,cutType:"advanced",isBoxing:!1,isCutout:e.openCout,isCutoutShow:!e.hideCout,isReverse:e.reverseCout};t.commit("modelStore/setCoutShareInfo",o),jt.sendCenter(4)},b=(t={})=>{t.coutType&&(e.coutType=t.coutType),t.coutFace&&(e.coutFace=t.coutFace),t.coutLight&&(e.coutLight=t.coutLight),e.showCoutFace=t.showCoutFace||!1,e.openCout=t.openCout||!1,e.hideCout=t.hideCout||!1,e.reverseCout=t.reverseCout||!1,e.openBigCout=t.openBigCout||!1},w=Object(i["toRefs"])(e);return{...w,store:t,closeCout:m,chooseAxis:u,chooseAxisAll:p,judgeCludeChoose:h,closeSee:g,resetClick:d,openCountChange:a,hideCoutChange:r,reverseCoutChange:c,openBigChange:s,setDataInfo:b}}};o("f3ac");const cr=_t()(rr,[["render",ia],["__scopeId","data-v-528f0b25"]]);var sr=cr;Object(i["pushScopeId"])("data-v-0a50bf96");const lr={class:"btn-ul",id:"ico-distance-list"},dr={class:"return-menu"},mr=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),ur=[mr],pr={class:"arrow_img",src:ko.a,alt:""},hr={class:"arrow_img",src:Do.a,alt:""},gr={key:0,id:"ico-smartdis","track-name":"smartDis"},vr=["selected"],br={key:1,id:"ico-pt2pt","track-name":"pointToPoint"},wr=["selected"],Sr={key:2,id:"ico-pt2line","track-name":"pointToLine"},Cr=["selected"],Or={key:3,id:"ico-pt2face","track-name":"pointToFace"},fr=["selected"],yr={key:4,id:"ico-line2line","track-name":"lineToLine"},jr=["selected"],xr={key:5,id:"ico-line2face","track-name":"lineToFace"},Tr=["selected"],Mr={key:6,id:"ico-face2face","track-name":"faceToFace"},kr=["selected"],Er={key:7,id:"ico-holeDist","track-name":"circleDistance"},Dr=["selected"],Br={key:8,id:"ico-axis2pt","track-name":"dotToPoint"},Ar=["selected"],Nr={key:9,id:"ico-axis2line","track-name":"dotToLine"},Ir=["selected"],Vr={key:10,id:"ico-axis2face","track-name":"dotToFace"},_r=["selected"],Pr={class:"arrow_img arrow_img_right",src:ko.a,alt:""},Lr={class:"arrow_img arrow_img_right",src:Do.a,alt:""};function $r(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",lr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",dr,ur,512),[[c,n.returnOneMenu]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowLeft-distance",class:"bottom_arrow",onClick:t[0]||(t[0]=(...e)=>n.hideRightBottom&&n.hideRightBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",pr,null,512),[[i["vShow"],!e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",hr,null,512),[[i["vShow"],e.isBottomRight]])],512),[[i["vShow"],e.overButtom]]),n.checkBtnExit("#ico-smartdis")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",gr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:10===e.meterStartIdx},null,8,vr),[[s,["view-tool-smart","ico-smartdis"]]])],512)),[[c,n.smartDistance],[l,e.$t("pcMtxtSmartMeter")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-pt2pt")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",br,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.meterStartIdx},null,8,wr),[[s,["view-tool-pointToPoint","ico-pt2pt"]]])],512)),[[c,n.meterP2P],[l,e.$t("pcMtxtP2P")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-pt2line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Sr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.meterStartIdx},null,8,Cr),[[s,["view-tool-pointToLine","ico-pt2line"]]])],512)),[[c,n.meterP2L],[l,e.$t("pcMtxtP2L")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-pt2face")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Or,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:2===e.meterStartIdx},null,8,fr),[[s,["view-tool-pointToFace","ico-pt2face"]]])],512)),[[c,n.meterP2F],[l,e.$t("pcMtxtP2F")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-line2line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",yr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:3===e.meterStartIdx},null,8,jr),[[s,["view-tool-lineToLine","ico-line2line"]]])],512)),[[c,n.meterL2L],[l,e.$t("pcMtxtL2L")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-line2face")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",xr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:4===e.meterStartIdx},null,8,Tr),[[s,["view-tool-lineToFace","ico-line2face"]]])],512)),[[c,n.meterL2F],[l,e.$t("pcMtxtL2F")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-face2face")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Mr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:5===e.meterStartIdx},null,8,kr),[[s,["view-tool-faceToFace","ico-face2face"]]])],512)),[[c,n.meterF2F],[l,e.$t("pcMtxtF2F")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-holeDist")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Er,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:6===e.meterStartIdx},null,8,Dr),[[s,["view-tool-centreOfCircle","ico-holeDist"]]])],512)),[[c,n.meterCD],[l,e.$t("pcMtxtCpoint")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-axis2pt")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Br,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:7===e.meterStartIdx},null,8,Ar),[[s,["view-tool-holeToPoint","ico-axis2pt"]]])],512)),[[c,n.meterD2P],[l,e.$t("pcMtxtX2P")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-axis2line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Nr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:8===e.meterStartIdx},null,8,Ir),[[s,["view-tool-holeToLine","ico-axis2line"]]])],512)),[[c,n.meterD2L],[l,e.$t("pcMtxtX2L")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-axis2face")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Vr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:9===e.meterStartIdx},null,8,_r),[[s,["view-tool-holeToFace","ico-axis2face"]]])],512)),[[c,n.meterD2F],[l,e.$t("pcMtxtX2F")]]):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowRight-distance",class:"bottom_arrow",onClick:t[1]||(t[1]=(...e)=>n.hideLeftBottom&&n.hideLeftBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Pr,null,512),[[i["vShow"],e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Lr,null,512),[[i["vShow"],!e.isBottomRight]])],512),[[i["vShow"],e.overButtom]])])])}Object(i["popScopeId"])();var zr={name:"",components:{},setup(){const e=Object(i["reactive"])({meterStartIdx:-1,overButtom:!1,isBottomRight:!1,resizeTimer:null}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$diastanceBtn=e}),o.$eventBus.on("openTagPointSub",()=>{e.meterStartIdx=-1}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{o.$eventBus.on("resize",()=>{C()})});const a=()=>{gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","meter"),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setShowManyConfig",!0),e.meterStartIdx=-1,jt.sendCenter(2),jt.sendCenter(3)},r=e=>ae(e),c=()=>{gt.setMeasureOpType("bodyDistance"),e.meterStartIdx=10,B("distanceSmart"),jt.sendCenter(2)},s=()=>{gt.setMeasureOpType("pt2pt"),e.meterStartIdx=0,B("pointToPoint"),jt.sendCenter(2)},d=()=>{gt.setMeasureOpType("PointToLine"),e.meterStartIdx=1,B("pointToLine"),jt.sendCenter(2)},m=()=>{gt.setMeasureOpType("PointToFace"),e.meterStartIdx=2,B("pointToFace"),jt.sendCenter(2)},u=()=>{gt.setMeasureOpType("LineToLine"),e.meterStartIdx=3,B("lineToLine"),jt.sendCenter(2)},p=()=>{gt.setMeasureOpType("LineToFace"),e.meterStartIdx=4,B("lineToFace"),jt.sendCenter(2)},h=()=>{gt.setMeasureOpType("faceDist"),e.meterStartIdx=5,B("faceToFace"),jt.sendCenter(2)},g=()=>{gt.setMeasureOpType("holeDist"),e.meterStartIdx=6,B("circleDistance"),jt.sendCenter(2)},v=()=>{gt.setMeasureOpType("AxisToPoint"),e.meterStartIdx=7,B("dotToPoint"),jt.sendCenter(2)},b=()=>{gt.setMeasureOpType("AxisToLine"),e.meterStartIdx=8,B("dotToLine"),jt.sendCenter(2)},w=()=>{gt.setMeasureOpType("AxisToFace"),e.meterStartIdx=9,B("dotToFace"),jt.sendCenter(2)},S="#ico-distance-list",C=()=>{e.resizeTimer&&clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(()=>{var t=o.$sortDom.checkIsOverwidth(S);t?(O("reset"),e.overButtom=!0):(y(),e.overButtom=!1)},200)},O=t=>{(e.isBottomRight||"reset"==t)&&o.$sortDom.hideRightBottom(S,()=>{e.isBottomRight=!1})},f=t=>{e.isBottomRight&&"reset"!=t||o.$sortDom.hideLeftBottom(S,()=>{e.isBottomRight=!0})},y=()=>{o.$sortDom.showAllBottom(S,()=>{e.overButtom=!1})},j=Object(i["toRefs"])(e);return{returnOneMenu:a,checkBtnExit:r,smartDistance:c,meterP2P:s,meterP2L:d,meterP2F:m,meterL2L:u,meterL2F:p,meterF2F:h,meterCD:g,meterD2P:v,meterD2L:b,meterD2F:w,hideLeftBottom:f,hideRightBottom:O,...j}}};o("b8d9");const Rr=_t()(zr,[["render",$r],["__scopeId","data-v-0a50bf96"]]);var Fr=Rr;Object(i["pushScopeId"])("data-v-10c85622");const Hr={class:"btn-ul",id:"ico-lineargauge-list"},Ur={class:"return-menu"},Wr=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Gr=[Wr],Yr={class:"arrow_img",src:ko.a,alt:""},Zr={class:"arrow_img",src:Do.a,alt:""},Xr={key:0,id:"ico-lmPt2Pt","track-name":"pointToPoint"},Kr=["selected"],Jr={key:1,id:"ico-lmPt2Line","track-name":"pointToLine"},qr=["selected"],Qr={key:2,id:"ico-lmLine2Line","track-name":"lineToLine"},ec=["selected"],tc={key:3,id:"ico-lmHole2Hole","track-name":"circleDistance"},oc=["selected"],ic={key:4,id:"ico-lmAxis2Pt","track-name":"dotToPoint"},nc=["selected"],ac={key:5,id:"ico-lmAxis2Line","track-name":"dotToLine"},rc=["selected"],cc={class:"arrow_img arrow_img_right",src:ko.a,alt:""},sc={class:"arrow_img arrow_img_right",src:Do.a,alt:""};function lc(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Hr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",Ur,Gr,512),[[c,n.returnOneMenu]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowLeft-lineargauge",class:"bottom_arrow",onClick:t[0]||(t[0]=(...e)=>n.hideRightBottom&&n.hideRightBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Yr,null,512),[[i["vShow"],!e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Zr,null,512),[[i["vShow"],e.isBottomRight]])],512),[[i["vShow"],e.overButtom]]),n.checkBtnExit("#ico-lmPt2Pt")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Xr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.meterStartIdx},null,8,Kr),[[s,["view-tool-pointToPoint","ico-lmPt2Pt"]]])],512)),[[c,n.meterP2P],[l,e.$t("pcMtxtP2P")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lmPt2Line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Jr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.meterStartIdx},null,8,qr),[[s,["view-tool-pointToLine","ico-lmPt2Line"]]])],512)),[[c,n.meterP2L],[l,e.$t("pcMtxtP2L")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lmLine2Line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Qr,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:3===e.meterStartIdx},null,8,ec),[[s,["view-tool-lineToLine","ico-lmLine2Line"]]])],512)),[[c,n.meterL2L],[l,e.$t("pcMtxtL2L")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lmHole2Hole")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",tc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:6===e.meterStartIdx},null,8,oc),[[s,["view-tool-centreOfCircle","ico-lmHole2Hole"]]])],512)),[[c,n.meterCD],[l,e.$t("pcMtxtCpoint")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lmAxis2Pt")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",ic,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:7===e.meterStartIdx},null,8,nc),[[s,["view-tool-holeToPoint","ico-lmAxis2Pt"]]])],512)),[[c,n.meterD2P],[l,e.$t("pcMtxtX2P")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lmAxis2Line")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",ac,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:8===e.meterStartIdx},null,8,rc),[[s,["view-tool-holeToLine","ico-lmAxis2Line"]]])],512)),[[c,n.meterD2L],[l,e.$t("pcMtxtX2L")]]):Object(i["createCommentVNode"])("",!0),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{id:"ico-arrowRight-lineargauge",class:"bottom_arrow",onClick:t[1]||(t[1]=(...e)=>n.hideLeftBottom&&n.hideLeftBottom(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",cc,null,512),[[i["vShow"],e.isBottomRight]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",sc,null,512),[[i["vShow"],!e.isBottomRight]])],512),[[i["vShow"],e.overButtom]])])])}Object(i["popScopeId"])();var dc={name:"",components:{},setup(){const e=Object(i["reactive"])({meterStartIdx:-1,overButtom:!1,isBottomRight:!1,resizeTimer:null}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$linearBtn=e}),o.$eventBus.on("openTagPointSub",()=>{e.meterStartIdx=-1}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{o.$eventBus.on("resize",()=>{g()})});const a=()=>{gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","meter"),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setShowManyConfig",!0),e.meterStartIdx=-1,jt.sendCenter(2),jt.sendCenter(3),o.$eventBus.emit("clearP2ppface")},r=e=>ae(e),c=()=>{gt.setMeasureOpType("LmPt2Pt"),e.meterStartIdx=0,o.$eventBus.emit("clearP2ppface"),t.commit("menuStore/setMenuChoose3","LmPt2Pt"),B("LmPt2Pt"),jt.sendCenter(2)},s=()=>{gt.setMeasureOpType("LmPt2Line"),e.meterStartIdx=1,t.commit("menuStore/setMenuChoose3","LmPt2Line"),o.$eventBus.emit("clearP2ppface"),B("LmPt2Line"),jt.sendCenter(2)},d=()=>{gt.setMeasureOpType("LmLine2Line"),e.meterStartIdx=3,t.commit("menuStore/setMenuChoose3","LmLine2Line"),o.$eventBus.emit("clearP2ppface"),B("LmLine2Line"),jt.sendCenter(2)},m=()=>{gt.setMeasureOpType("LmHole2Hole"),e.meterStartIdx=6,t.commit("menuStore/setMenuChoose3","LmHole2Hole"),o.$eventBus.emit("clearP2ppface"),B("LmHole2Hole"),jt.sendCenter(2)},u=()=>{gt.setMeasureOpType("LmAxis2Pt"),e.meterStartIdx=7,t.commit("menuStore/setMenuChoose3","LmAxis2Pt"),o.$eventBus.emit("clearP2ppface"),B("LmAxis2Pt"),jt.sendCenter(2)},p=()=>{gt.setMeasureOpType("LmAxis2Line"),e.meterStartIdx=8,o.$eventBus.emit("clearP2ppface"),t.commit("menuStore/setMenuChoose3","LmAxis2Line"),B("LmAxis2Line"),jt.sendCenter(2)},h="#ico-lineargauge-list",g=()=>{e.resizeTimer&&clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(()=>{var t=o.$sortDom.checkIsOverwidth(h);t?(v("reset"),e.overButtom=!0):(w(),e.overButtom=!1)},200)},v=t=>{(e.isBottomRight||"reset"==t)&&o.$sortDom.hideRightBottom(h,()=>{e.isBottomRight=!1})},b=t=>{e.isBottomRight&&"reset"!=t||o.$sortDom.hideLeftBottom(h,()=>{e.isBottomRight=!0})},w=()=>{o.$sortDom.showAllBottom(h,()=>{e.overButtom=!1})},S=Object(i["toRefs"])(e);return{returnOneMenu:a,checkBtnExit:r,meterP2P:c,meterP2L:s,meterL2L:d,meterCD:m,meterD2P:u,meterD2L:p,hideLeftBottom:b,hideRightBottom:v,...S}}};o("f95c");const mc=_t()(dc,[["render",lc],["__scopeId","data-v-10c85622"]]);var uc=mc;Object(i["pushScopeId"])("data-v-3e5917e4");const pc={class:"btn-ul",id:"ico-length-list"},hc={class:"return-menu"},gc=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),vc=[gc],bc={key:0,id:"ico-smartlen","track-name":"smartLen"},wc=["selected"],Sc={key:1,id:"ico-edges","track-name":"meterLine"},Cc=["selected"],Oc={key:2,id:"ico-perimeter","track-name":"circleLength"},fc=["selected"];function yc(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",pc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",hc,vc,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-smartlen")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",bc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:10===e.meterStartIdx},null,8,wc),[[s,["view-tool-smart","ico-smartlen"]]])],512)),[[c,n.smartLength],[l,e.$t("pcMtxtSmartMeter")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-edges")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Sc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.meterStartIdx},null,8,Cc),[[s,["view-tool-lineMeasure","ico-edges"]]])],512)),[[c,n.meterLine],[l,e.$t("pcMtxtLmeter")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-perimeter")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Oc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.meterStartIdx},null,8,fc),[[s,["view-tool-perimeter","ico-perimeter"]]])],512)),[[c,n.meterCL],[l,e.$t("pcMtxtPmeter")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])(),Object(i["pushScopeId"])("data-v-2333fd32");const jc={class:"line-content"},xc={class:"table-header"},Tc={class:"tb-header-lf"},Mc={class:"table-content tb-ul"};function kc(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(c,{onClose:n.close,class:"ndp3-my-page girth-card"},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("circleLength"))+"("+Object(i["toDisplayString"])(e.unitDensitySwitch)+")",1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",jc,[Object(i["createElementVNode"])("div",xc,[Object(i["createElementVNode"])("p",Tc,Object(i["toDisplayString"])(e.$t("noTxt")),1),Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("sizeTxt")),1)]),Object(i["createElementVNode"])("div",Mc,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.perimeters,(e,t)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"tb-li",key:t},[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(t+1),1),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e),1)]))),128))])])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var Ec={name:"",components:{card:ua},setup(){const e=Object(i["reactive"])({perimeters:[],unitDensitySwitch:""}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$girthCom=e}),o.$eventBus.on("FaceSelectionPerimeterSub",o=>{if("lengthGirth"==t.state.menuStore.menuChoose3){if(!jt.judgeCanWatch())return;e.unitDensitySwitch=X(o.modelUnit),e.perimeters=o.perimeters,e.perimeters.length>0?t.commit("menuStore/setGrithMenu",!0):t.commit("menuStore/setGrithMenu",!1),jt.sendCenter(3),jt.sendCenter(4)}}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{t.commit("menuStore/setGrithMenu",!1)},r=Object(i["toRefs"])(e);return{...r,close:a}}};o("d515");const Dc=_t()(Ec,[["render",kc],["__scopeId","data-v-2333fd32"]]);var Bc=Dc,Ac={name:"",components:{grith:Bc},setup(){const e=Object(i["reactive"])({meterStartIdx:-1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$lengthBtn=e}),o.$eventBus.on("openTagPointSub",()=>{e.meterStartIdx=-1}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","meter"),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setGrithMenu",!1),e.meterStartIdx=-1,jt.sendCenter(2),jt.sendCenter(3)},r=e=>ae(e),c=()=>{gt.setMeasureOpType("bodyEdgeLength"),e.meterStartIdx=10,t.commit("menuStore/setMenuChoose3","lengthSmart"),t.commit("menuStore/setGrithMenu",!1),B("lengthSmart"),jt.sendCenter(2)},s=()=>{gt.setMeasureOpType("measureEdges"),t.commit("menuStore/setMenuChoose3","lengthLine"),e.meterStartIdx=0,t.commit("menuStore/setGrithMenu",!1),B("meterLine"),jt.sendCenter(2)},d=()=>{gt.setMeasureOpType("facePerimeter"),t.commit("menuStore/setMenuChoose3","lengthGirth"),e.meterStartIdx=1,B("circleLength"),jt.sendCenter(2)},m=Object(i["toRefs"])(e);return{returnOneMenu:a,checkBtnExit:r,smartLength:c,meterLine:s,meterCL:d,...m}}};o("58d7");const Nc=_t()(Ac,[["render",yc],["__scopeId","data-v-3e5917e4"]]);var Ic=Nc;Object(i["pushScopeId"])("data-v-36a8e10a");const Vc={class:"btn-ul",id:"ico-angle-list"},_c={class:"return-menu"},Pc=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Lc=[Pc],$c={key:0,id:"ico-smartang","track-name":"smartAng"},zc=["selected"],Rc={key:1,id:"ico-lineAngel","track-name":"lineToAngle"},Fc=["selected"],Hc={key:2,id:"ico-faceAngle","track-name":"faceToAngle"},Uc=["selected"],Wc={key:3,id:"ico-linefaceAngle","track-name":"lineToFaceAngle"},Gc=["selected"];function Yc(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Vc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",_c,Lc,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-smartang")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",$c,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:10===e.meterStartIdx},null,8,zc),[[s,["view-tool-smart","ico-smartang"]]])],512)),[[c,n.smartAngle],[l,e.$t("pcMtxtSmartMeter")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lineAngel")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Rc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.meterStartIdx},null,8,Fc),[[s,["view-tool-lineAngle","ico-lineAngel"]]])],512)),[[c,n.meterL2A],[l,e.$t("pcMtxtAngleL")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-faceAngle")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Hc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.meterStartIdx},null,8,Uc),[[s,["view-tool-surfaceAngle","ico-faceAngle"]]])],512)),[[c,n.meterF2A],[l,e.$t("pcMtxtAngleF")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-linefaceAngle")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Wc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:2===e.meterStartIdx},null,8,Gc),[[s,["view-tool-lineSurfaceAngle","ico-linefaceAngle"]]])],512)),[[c,n.meterL2FA],[l,e.$t("pcMtxtAngleLF")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var Zc={name:"",components:{},setup(){const e=Object(i["reactive"])({meterStartIdx:-1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$angleBtn=e}),o.$eventBus.on("openTagPointSub",()=>{e.meterStartIdx=-1}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose","meter"),t.commit("menuStore/setMenuChoose2",""),e.meterStartIdx=-1,jt.sendCenter(2)},r=e=>ae(e),c=()=>{gt.setMeasureOpType("bodyAngle"),e.meterStartIdx=10,B("angleSmart"),jt.sendCenter(2)},s=()=>{gt.setMeasureOpType("LineAngle"),e.meterStartIdx=0,B("lineToAngle"),jt.sendCenter(2)},d=()=>{gt.setMeasureOpType("faceAngle"),e.meterStartIdx=1,B("faceToAngle"),jt.sendCenter(2)},m=()=>{gt.setMeasureOpType("LineFaceAngle"),e.meterStartIdx=2,B("lineToFaceAngle"),jt.sendCenter(2)},u=Object(i["toRefs"])(e);return{returnOneMenu:a,checkBtnExit:r,smartAngle:c,meterL2A:s,meterF2A:d,meterL2FA:m,...u}}};o("1c56");const Xc=_t()(Zc,[["render",Yc],["__scopeId","data-v-36a8e10a"]]);var Kc=Xc;Object(i["pushScopeId"])("data-v-cd7e92c0");const Jc={class:"btn-ul",id:"ico-drag-list"},qc={class:"return-menu"},Qc=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),es=[Qc],ts={key:0,id:"ico-dragMove","track-name":"singleDrag"},os=["selected"],is={key:1,id:"ico-dragRestore","track-name":"singleDragResert"},ns=["selected"],as={key:2,id:"ico-dragRestoreAll","track-name":"allDragResert"};function rs(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Jc,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",qc,es,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-dragMove")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",ts,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:0===e.dragMode},null,8,os),[[s,["view-tool-singalDrag","ico-dragMove"]]])],512)),[[c,n.drawSingle],[l,e.$t("singleDrag")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-dragRestore")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",is,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:1===e.dragMode},null,8,ns),[[s,["view-tool-singalReset","ico-dragRestore"]]])],512)),[[c,n.singleDragResert],[l,e.$t("singleDragResert")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-dragRestoreAll")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",as,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-allReset","ico-dragRestoreAll"]]])],512)),[[c,n.allDragResert],[l,e.$t("allDragResert")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var cs={name:"",components:{},setup(){const e=Object(i["reactive"])({dragMode:-1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$drawBtn=e,n.config.globalProperties.$drawBtnProxy=o}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{o.$eventBus.on("openTagPointSub",()=>{e.dragMode>-1&&(gt._viewer.showprompt(!1),e.dragMode=-1)}),o.$eventBus.on("cfgSwitchSub",()=>{e.dragMode>-1&&(gt._viewer.showprompt(!1),e.dragMode=-1)}),o.$eventBus.on("closeDrag",()=>{m(),"draw"==t.state.menuStore.menuChoose&&a()})});const a=()=>{e.dragMode=-1,t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),gt._viewer.showprompt(!1),gt.clearSelection(),gt.setOperatorByID("OpOrbit"),jt.sendCenter(2)},r=()=>{e.dragMode=-1,gt._viewer.showprompt(!1),t.commit("menuStore/setMenuChoose2","")},c=e=>ae(e),s=()=>{gt.setPmiVisible2(!1),gt._viewer.showprompt(!0,o.$t("pcClickSurePart")),e.dragMode=0,gt.onSelectAndMoveModel(),B("singleDrag"),jt.sendCenter(2)},d=()=>{e.dragMode=1,gt._viewer.showprompt(!0,o.$t("pcClickSurePart")),gt.onSelectAndRestoreModel(),B("singleDragResert"),jt.sendCenter(2)},m=()=>{gt._viewer.showprompt(!1),e.dragMode=2,gt.restoreAllDraggedObjects(),B("allDragResert"),jt.sendCenter(2)},u=Object(i["toRefs"])(e);return{returnOneMenu:a,checkBtnExit:c,drawSingle:s,singleDragResert:d,allDragResert:m,resetStatus:r,...u}}};o("f93b");const ss=_t()(cs,[["render",rs],["__scopeId","data-v-cd7e92c0"]]);var ls=ss;Object(i["pushScopeId"])("data-v-9ea8f424");const ds={class:"btn-ul",id:"ico-property-list"},ms={class:"return-menu"},us=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),ps=[us],hs={key:0,id:"ico-proEntity",class:"zhidingshiti","track-name":"selectToObj"},gs=["selected"],vs={key:1,id:"ico-proTotal",class:"zongshuxing","track-name":"totalAttr"},bs=["selected"];function ws(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",ds,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",ms,ps,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-proEntity")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",hs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"attrSingle"==n.menuStore.menuChoose3},null,8,gs),[[s,["view-tool-specifyEntityAttr","ico-proEntity"]]])],512)),[[c,n.meterATSO],[l,e.$t("pcMtxtToSingle")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-proTotal")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",vs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"attrAll"==n.menuStore.menuChoose3},null,8,bs),[[s,["view-tool-totalAttr","ico-proTotal"]]])],512)),[[c,n.meterATTA],[l,e.$t("pcMtxtToAllAttr")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var Ss={name:"",components:{},setup(){const e=Object(i["reactive"])({saveAttrType:""}),t=Object(l["useStore"])(),{menuStore:o}=t.state,{proxy:n,appContext:a}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{a.config.globalProperties.$property=n}),n.$eventBus.on("openTagPointSub",()=>{gt._viewer.showprompt(!1),t.commit("menuStore/setMenuChoose3","")}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const r=()=>{gt._viewer.showprompt(!1),t.commit("menuStore/setAttrMenu",!1),t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose3",""),jt.sendCenter(2),jt.sendCenter(3)},c=e=>ae(e),s=()=>{gt._viewer.showprompt(!0,n.$t("pcCursorTip")),t.commit("menuStore/setCoutMenu",!1),t.commit("menuStore/setMenuChoose3","attrSingle"),t.commit("menuStore/setPreAttrType","attrSingle"),"attrSingle"!=t.state.menuChoose3&>.clearSelection(),t.commit("menuStore/setAttrMenu",!1),e.saveAttrType="attrSingle",B("singleAttr"),jt.sendCenter(2),jt.sendCenter(3)},d=()=>{gt._viewer.showprompt(!1),t.commit("menuStore/setAttrMenu",!0),t.commit("menuStore/setCoutMenu",!1),t.commit("menuStore/setMenuChoose3","attrAll"),t.commit("menuStore/setPreAttrType","attrAll"),e.saveAttrType="attrAll",B("totalAttr"),jt.sendCenter(2),jt.sendCenter(3)},m=Object(i["toRefs"])(e);return{returnOneMenu:r,checkBtnExit:c,menuStore:o,meterATSO:s,meterATTA:d,...m}}};o("27f8");const Cs=_t()(Ss,[["render",ws],["__scopeId","data-v-9ea8f424"]]);var Os=Cs;Object(i["pushScopeId"])("data-v-8ed81b34");const fs={class:"tag-write-icon dialog_header"};function ys(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("drag");return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])([{hhiden:e.isLoading},"tag-write-card"])},[Object(i["createElementVNode"])("div",fs,[Object(i["createElementVNode"])("div",{class:"can-click",onClick:t[0]||(t[0]=Object(i["withModifiers"])((...e)=>n.openTag&&n.openTag(...e),["prevent","stop"])),onMousedown:t[1]||(t[1]=Object(i["withModifiers"])(()=>{},["prevent","stop"])),onMousemove:t[2]||(t[2]=Object(i["withModifiers"])(()=>{},["prevent","stop"]))},null,32)])],2)),[[i["vShow"],e.showWrite],[c]])}Object(i["popScopeId"])();var js={name:"",setup(e,t){const o=Object(i["reactive"])({isLoading:!0,showWrite:!1}),{proxy:n}=(Object(l["useStore"])(),Object(i["getCurrentInstance"])());Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{n.$eventBus.on("loadComplete",()=>{o.isLoading=!1}),"sync"==nd_viewCtrl.viewMode&&(o.showWrite=!0)});const a=()=>{t.emit("tagClick")},r=Object(i["toRefs"])(o);return{openTag:a,...r}}};o("d206");const xs=_t()(js,[["render",ys],["__scopeId","data-v-8ed81b34"]]);var Ts=xs;Object(i["pushScopeId"])("data-v-51dca660");const Ms={class:"btn-ul",id:"ico-boxselect-list"},ks={class:"return-menu"},Es=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Ds=[Es],Bs={key:0,id:"ico-plus",class:"","track-name":"plus"},As=["selected"],Ns={key:1,id:"ico-highlight",class:"","track-name":"highlight"},Is=["selected"],Vs={key:2,id:"ico-lasso",class:"","track-name":"lasso"},_s=["selected"];function Ps(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Ms,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",ks,Ds,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-plus")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Bs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"selectplus"==n.menuStore.menuChoose2},null,8,As),[[s,["view-tool-scale","ico-plus"]]])],512)),[[c,n.selectplusClick],[l,e.$t("pcMtxtIplus")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-highlight")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Ns,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"selecthigh"==n.menuStore.menuChoose2},null,8,Is),[[s,["view-tool-selecthigh","ico-highlight"]]])],512)),[[c,n.selecthighClick],[l,e.$t("pcMtxtIhight")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-lasso")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Vs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"lasso"==n.menuStore.menuChoose2},null,8,_s),[[s,["view-tool-lasso","ico-lasso"]]])],512)),[[c,n.selectLasso],[l,e.$t("pcMtxtLasso")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var Ls={name:"",components:{},setup(){const e=Object(i["reactive"])({saveAttrType:""}),t=Object(l["useStore"])(),{menuStore:o}=t.state,{proxy:n,appContext:a}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{a.config.globalProperties.$property=n}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const r=()=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose2",""),gt._viewer.showprompt(!1),gt.setOperatorByID("OpOrbit"),jt.sendCenter(2)},c=e=>ae(e),s=()=>{gt._viewer.setOperatorByID("OpZoomWindow"),t.commit("menuStore/setMenuChoose2","selectplus"),B("pcMtxtIplus"),jt.sendCenter(2)},d=()=>{"selecthigh"!=o.menuChoose2?(gt._viewer.setOperatorByID("OpSelectWindow"),t.commit("menuStore/setMenuChoose2","selecthigh")):(t.commit("menuStore/setMenuChoose2",""),gt._viewer.setOperatorByID("OpOrbit")),B("boxhighLight"),jt.sendCenter(2)},m=()=>{"lasso"!=o.menuChoose2?(t.commit("menuStore/setMenuChoose2","lasso"),gt.clearSelection(),gt._viewer.setOperatorByID("OpSelectLasso")):(t.commit("menuStore/setMenuChoose2",""),gt._viewer.setOperatorByID("OpOrbit"))},u=Object(i["toRefs"])(e);return{returnOneMenu:r,checkBtnExit:c,menuStore:o,selectplusClick:s,selecthighClick:d,selectLasso:m,...u}}};o("7996");const $s=_t()(Ls,[["render",Ps],["__scopeId","data-v-51dca660"]]);var zs=$s;Object(i["pushScopeId"])("data-v-76fe0afe");const Rs={class:"btn-ul",id:"ico-cutout-list"},Fs={class:"return-menu"},Hs=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),Us=[Hs],Ws={key:0,id:"ico-coutUsually","track-name":"coutUsually"},Gs=["selected"],Ys={key:1,id:"ico-coutBox","track-name":"coutBox"},Zs=["selected"];function Xs(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Rs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",Fs,Us,512),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-ccoutUsually")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Ws,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"coutUsually"==n.menuStore.menuChoose2},null,8,Gs),[[s,["view-tool-coutUsually","ico-coutUsually"]]])],512)),[[c,n.coutUsually],[l,e.$t("pcCoutUsually")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-coutBox")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",Ys,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:"coutBox"==n.menuStore.menuChoose2},null,8,Zs),[[s,["view-tool-coutBox","ico-coutBox"]]])],512)),[[c,n.coutBox],[l,e.$t("pcCoutBox")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var Ks={name:"",components:{},setup(){const e=Object(i["reactive"])({}),t=Object(l["useStore"])(),{menuStore:o}=t.state,{proxy:n,appContext:a}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{}),Object(i["watch"])(()=>o.menuChoose,e=>{if("cout"==e){const e=gt._viewer.isSectionViewEnabled();(o.coutMenu||e)&&(t.commit("menuStore/setMenuChoose2","coutUsually"),t.commit("menuStore/setCoutMenu",!0))}}),n.$eventBus.on("closeCoutState",e=>{gt._viewer.onBoxSectionView(!1),"cout"==o.menuChoose&&t.commit("menuStore/setMenuChoose2","")});const r=()=>{t.commit("menuStore/setShowOneMenu",!0),"coutBox"==o.menuChoose2&>._viewer.onBoxSectionView(!1),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose2",""),jt.sendCenter(2),jt.sendCenter(3)},c=e=>ae(e),s=()=>{t.commit("menuStore/setCoutMenu",!0),"coutUsually"!=o.menuChoose2&&(t.commit("menuStore/setMenuChoose2","coutUsually"),gt._viewer.onBoxSectionView(!1),B("coutObj"),jt.sendCenter(2),jt.sendCenter(3))},d=()=>{"coutBox"!=o.menuChoose2&&(t.commit("menuStore/setMenuChoose2","coutBox"),t.commit("menuStore/setCoutMenu",!1),gt.onSectionView(!1),gt._viewer.onBoxSectionView(!0),gt._viewer.onResetCamera(),B("coutObj2"),jt.sendCenter(2),jt.sendCenter(3))},m=Object(i["toRefs"])(e);return{...m,menuStore:o,returnOneMenu:r,checkBtnExit:c,coutUsually:s,coutBox:d}}};o("cebc");const Js=_t()(Ks,[["render",Xs],["__scopeId","data-v-76fe0afe"]]);var qs=Js;Object(i["pushScopeId"])("data-v-0766ce62");const Qs={class:"btn-ul",id:"ico-screen-list"},el=Object(i["createElementVNode"])("img",{src:Xo.a},null,-1),tl=[el],ol=["selected"],il={id:"ico-vport-list",class:"ndp3-menu3-card"},nl=["title"],al=["title"],rl=["title"],cl=["title"],sl=["title"];function ll(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("click-track"),s=Object(i["resolveDirective"])("img-switch"),l=Object(i["resolveDirective"])("tooltip");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createElementVNode"])("ul",Qs,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{class:"return-menu",onMouseenter:t[0]||(t[0]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},tl,544),[[c,n.returnOneMenu]]),n.checkBtnExit("#ico-full")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-full","track-name":"ico-full",class:"no-select",onMouseenter:t[1]||(t[1]=(...e)=>n.mouseEnter&&n.mouseEnter(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",{selected:n.store.state.isFull},null,8,ol),[[s,["all-screen","ico-full"]]])],544)),[[c,n.chooseFullScreen],[l,n.store.state.isFull?e.$t("pcMtxtFullexit"):e.$t("pcMtxtFull")]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-vport")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-vport",onMouseenter:t[2]||(t[2]=e=>n.mouseEnter("showVport")),"track-name":"vport",class:Object(i["normalizeClass"])({"menu-select":e.showVport})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",null,null,512),[[s,["view-tool-vport","ico-vport"]]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",il,[n.checkBtnExit("#ico-vportLink")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,id:"ico-vportLink","track-name":"vportLink",class:Object(i["normalizeClass"])({"select-m":!e.disLink,disable:"Normal"==e.vportType}),title:e.$t("vportTxt1")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("vportTxt1")),1)],10,nl)),[[c,n.vportLink]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-vportFour")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,id:"ico-vportFour","track-name":"vportFour",class:Object(i["normalizeClass"])({"select-m":"FourPort"==e.vportType}),title:e.$t("vportTxt2")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("vportTxt2")),1)],10,al)),[[c,n.vportFour]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-vportTwoL")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,id:"ico-vportTwoL","track-name":"vportTwoL",class:Object(i["normalizeClass"])({"select-m":"TwoPortHorizontal"==e.vportType}),title:e.$t("vportTxt3")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("vportTxt3")),1)],10,rl)),[[c,n.vportTwoL]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-vportTwoV")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:3,id:"ico-vportTwoV","track-name":"vportTwoV",class:Object(i["normalizeClass"])({"select-m":"TwoPortVertical"==e.vportType}),title:e.$t("vportTxt4")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("vportTxt4")),1)],10,cl)),[[c,n.vportTwoV]]):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-vportOne")?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:4,id:"ico-vportOne","track-name":"vportOne",class:Object(i["normalizeClass"])({"select-m":"Normal"==e.vportType}),title:e.$t("vportTxt5")},[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("vportTxt5")),1)],10,sl)),[[c,n.vportOne]]):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],e.showVport]])],34)),[[c,n.chooseVport],[l,e.$t("vportMenu1")]]):Object(i["createCommentVNode"])("",!0)])])}Object(i["popScopeId"])();var dl={isFull:!1,unfullHeight:0,callFull:function(e){if(w.state.isFull){t=document;t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.msExitFullscreen()&&t.msExitFullscreen()()}else{var t=document.documentElement;t.requestFullscreen?e.requestFullscreen():t.mozRequestFullScreen?e.mozRequestFullScreen():t.webkitRequestFullScreen?e.webkitRequestFullScreen():t.msRequestFullscreen()&&e.msRequestFullscreen()()}w.commit("setFull",!w.state.isFull)}},ml={name:"",components:{},setup(){const e=Object(i["reactive"])({showVport:!1,vportType:"Normal",disLink:!0,preTagShow:!0}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{menuStore:a,tagStore:r,modelStore:c}=t.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$screenBtn=e}),o.$eventBus.on("viewportDisconnectViewSub",t=>{e.disLink=t.viewInfo.disconnectView}),o.$eventBus.on("viewportChangeSub",e=>{C()}),o.$eventBus.on("switchNormalPortSub",(e={})=>{w(e)});const s=()=>{gt.setMeasureOpType(""),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setShowOneMenu",!0)},d=e=>ae(e),m=t=>{e.showVport="showVport"==t},u=()=>{c._geomEmpty},p=()=>{t.state.isFull||(dl.unfullHeight=window.innerHeight),dl.callFull(document.body)},h=()=>{c._geomEmpty||"Normal"!=e.vportType&&(e.disLink=!e.disLink,gt._viewer.opViewportConnect(!e.disLink))},g=()=>{c._geomEmpty||(S(),e.vportType="FourPort",gt._viewer.switchViewport("FourPort",!0),S())},v=()=>{c._geomEmpty||(S(),e.vportType="TwoPortHorizontal",gt._viewer.switchViewport("TwoPortHorizontal",!0),S())},b=()=>{c._geomEmpty||(S(),e.vportType="TwoPortVertical",gt._viewer.switchViewport("TwoPortVertical",!0),S())},w=(o={})=>{c._geomEmpty||(e.vportType="Normal",gt._viewer.switchViewport("Normal",!0),0!=o.isChangeTag&&t.commit("tagStore/setTagshow",e.preTagShow),gt.setAnnotationsVisibility(r.tagShow))},S=()=>{"Normal"==e.vportType&&(e.preTagShow=r.tagShow),t.commit("tagStore/setTagshow",!1),gt.setAnnotationsVisibility(r.tagShow)},C=()=>{},O=Object(i["toRefs"])(e);return{returnOneMenu:s,checkBtnExit:d,mouseEnter:m,chooseVport:u,chooseFullScreen:p,vportLink:h,vportFour:g,vportTwoL:v,vportTwoV:b,vportOne:w,menuStore:a,store:t,...O}}};o("dc71");const ul=_t()(ml,[["render",ll],["__scopeId","data-v-0766ce62"]]);var pl=ul,hl={name:"",components:{meterBtn:Ci,tagBtn:Di,settingsBtn:Ji,showHideBtn:gn,animationBtn:Ln,coutSelect:sr,distanceBtn:Fr,lineargaugeBtn:uc,lengthBtn:Ic,angleBtn:Kc,drawBtn:ls,attrChooseBtn:Os,tagWrite:Ts,boxSelect:zs,coutBtn:qs,screenBtn:pl},setup(e,t){const o=Object(i["reactive"])({pmiShowAsync:!1,isPMIVisible:!1,pmiSetShowAsync:!1,isAddcolor:!1,showDrag:!1,showAttr:!1,resizeTimer:null,overButtom:!1,isBottomRight:!1,pmiBtnShow:!1,bottomToolHide:!1}),n=Object(l["useStore"])(),{menuStore:a,modelStore:r,animationStore:c,tagStore:s}=n.state,{proxy:d,appContext:m}=Object(i["getCurrentInstance"])();let u=Object(i["computed"])(()=>o.isPMIVisible?d.$t("pmiHide"):d.$t("pmiShow"));Object(i["nextTick"])(()=>{m.config.globalProperties.$bottomBtn=d,m.config.globalProperties.$bottomData=o,m.config.globalProperties.$sortDom=Ot,h()}),Object(i["watch"])(()=>a.menuChoose,(e,t)=>{d.$eventBus.emit("rigthClickEvent",{showPop:!1});const o=["explode","tag","meter","facecheck","none"];o.includes(e)||d.$tag.tcChecktag?n.commit("menuStore/setShowManyConfig",!1):n.commit("menuStore/setShowManyConfig",!0);const i=["tag","meter","cout","none","facecheck"];if(!i.includes(e)){const e=gt._viewer.isSectionViewEnabled(),t=n.state.tagStore.tagShow;t&>.setAnnotationsVisibility(e?0:1)}if("tag"==t&&"tag"!=e){nd_viewCtrl.setBoxHide||gt._viewer.displayViewBox(!0);const e=r.measureShow;gt._viewer.setMeasureVisible(e)}"pmi"==t&&e&&n.commit("menuStore/setPmiMenu",!1),"animation"==e||"showHide"==e?gt._viewer.setSelectBodyByRect(!1):gt._viewer.setSelectBodyByRect(!0),gt._viewer.setShouldApplySelectionMaterialState(!0)}),Object(i["watch"])(()=>r.isShowPmi,e=>{o.isPMIVisible=e}),Object(i["watch"])(()=>r.isAddColor,e=>{o.isAddcolor=e}),Object(i["watch"])(()=>a.menuChoose3,(e,t)=>{"volumeWeight"==e||"areaEntity"==e?n.commit("menuStore/setStructEasyMenu",!0):n.commit("menuStore/setStructEasyMenu",!1)}),Object(i["watch"])(()=>a.showOneMenu,e=>{e?gt._viewer.onChangeCursor("OpOrbit"):gt._viewer.onChangeCursor("")}),d.$eventBus.on("loadComplete",()=>{const e=f();window.ndViewer=gt._viewer,ie(e),R(),o.isPMIVisible=gt._viewer.pmiVisible,window.addEventListener("resize",h),h()}),d.$eventBus.on("loadAndInitSub",()=>{nd_viewCtrl.autoOpenStruct&&T(),nd_viewCtrl.setBottomToolHide&&(o.bottomToolHide=!0)}),Object(i["onMounted"])(()=>{});const p="#bottomMainMenu",h=()=>{d.$eventBus.emit("resize"),clearTimeout(o.resizeTimer),o.resizeTimer=setTimeout(()=>{var e=Ot.checkIsOverwidth(p);e?(g("reset"),o.overButtom=!0):(b(),o.overButtom=!1)},200)},g=e=>{(o.isBottomRight||"reset"==e)&&Ot.hideRightBottom(p,()=>{o.isBottomRight=!1})},v=e=>{o.isBottomRight&&"reset"!=e||Ot.hideLeftBottom(p,()=>{o.isBottomRight=!0})},b=()=>{Ot.showAllBottom(p,()=>{o.overButtom=!1})},w=e=>("#ico-measure"!=e||!n.state.modelStore.hideItem.measure)&&(("#ico-structure"!=e||!n.state.modelStore.hideItem.structTree)&&(("#ico-pmi"!=e||!n.state.modelStore.hideItem.pmi)&&(!("#ico-viewports"==e&&!nd_viewCtrl.addModelview)&&ae(e)))),S=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","settingShow"),gt._viewer.setOperatorByID("OpOrbit"),gt.onSectionView(!1),te(),jt.sendCenter(2),jt.sendCenter(3))},C=(e,t)=>{if(!n.state.modelStore._geometryload)return;t||n.commit("menuStore/setMenuChoose","tag"),gt.clearSelection(),gt._viewer.setOperatorByID("OpOrbit"),gt.onSectionView(!1),gt._viewer.onBoxSectionView(!1),nd_viewCtrl.setBoxHide||gt._viewer.displayViewBox(!1),gt.setAnnotationsVisibility(s.tagShow),d.$eventBus.emit("switchNormalPortSub"),gt._viewer.setMeasureVisible(!1);const o=document.getElementById("tagTooltips");o&&(o.style.display="none"),ne(),jt.sendCenter(1),te(),B("pcMtxtTagTxtImg")},O=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","meter"),n.commit("modelStore/setMeasureShow",!0),n.commit("modelStore/setInMeasureMenu",!0),gt._viewer.setMeasureVisible(!0),gt.setAnnotationsVisibility(0),gt.setOperatorByID("OpMeasure"),gt.clearSelection(),gt._viewer.onCloseClipControl(),gt.setAllMeasureVisible(!0),ne(),te(),jt.sendCenter(2),jt.sendCenter(3))},y=()=>{r._geometryload&&"cout"!=a.menuChoose&&(n.commit("menuStore/setMenuChoose","cout"),n.commit("menuStore/setMenuChoose2",""),n.commit("menuStore/setMenuChoose3",""),gt.clearSelection(),gt._viewer.setOperatorByID("OpOrbit"),gt._viewer.onCloseViewSection(),n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setStructMenu",!1),n.commit("menuStore/setAttrMenu",!1),n.commit("menuStore/setUnitMenu",!1),n.commit("menuStore/setSettingsMenu",!1),gt.restoreAllDraggedObjects(),n.commit("modelStore/setBombScale",0),gt.onExplode(0),gt.setAnnotationsVisibility(0),ne(),jt.sendCenter(2))},j=()=>{n.state.modelStore._geometryload&&"explode"!=n.state.menuStore.menuChoose&&(n.commit("menuStore/setMenuChoose","explode"),n.commit("expStore/setShowExplode",!0),n.commit("modelStore/setIsShowPmi",!1),gt.setPmiVisible2(!1),gt._viewer.setOperatorByID("OpOrbit"),gt.clearSelection(),gt.onSectionView(!1),d.$eventBus.emit("closePmiSetSub"),d.$eventBus.emit("hideNowMeasureSub"),d.store.commit("modelStore/setIsShowPmi",!1),te(),jt.sendCenter(2),jt.sendCenter(3),setTimeout(()=>{jt.sendCenter(4)}))},x=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setMenuChoose","viewports"),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setStructMenu",!1),n.commit("menuStore/setSettingsMenu",!1),d.$eventBus.emit("closeCfg"))},T=()=>{if(n.state.modelStore._geometryload&&(!n.state.menuStore.structMenu||"explode"!=n.state.menuStore.menuChoose)){if(n.state.menuStore.structMenu&&!n.state.menuStore.coutMenu)return n.commit("menuStore/setMenuChoose",""),n.commit("menuStore/setStructMenu",!1),jt.sendCenter(2),void jt.sendCenter(3);n.commit("menuStore/setMenuChoose","struct"),n.commit("menuStore/setMenuChoose2",""),n.commit("menuStore/setMenuChoose3",""),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setStructMenu",!0),n.commit("menuStore/setSettingsMenu",!1),n.commit("menuStore/setPmiMenu",!1),gt.onSectionView(!1),gt._viewer.setOperatorByID("OpOrbit"),d.$eventBus.emit("closeCfg"),B("structureTree"),jt.sendCenter(2),jt.sendCenter(3),setTimeout(()=>{jt.sendCenter(5)},100)}},M=()=>{n.state.modelStore._geometryload&&"facecheck"!=n.state.menuStore.menuChoose&&(n.commit("menuStore/setMenuChoose","facecheck"),n.commit("menuStore/setMenuChoose2",""),n.commit("menuStore/setMenuChoose3",""),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setStructMenu",!1),n.commit("menuStore/setSettingsMenu",!1))},k=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setMenuChoose","attr"),n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setAttrMenu",!1),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setStructMenu",!1),n.commit("menuStore/setUnitMenu",!1),n.commit("menuStore/setSettingsMenu",!1),n.commit("menuStore/setPmiMenu",!1),n.commit("menuStore/setMenuChoose3",""),gt._viewer.setOperatorByID("OpOrbit"),gt.clearSelection(),gt.onSectionView(!1),d.$eventBus.emit("hideNowMeasureSub"),ne(),jt.sendCenter(2),jt.sendCenter(3))},E=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","showHide"),gt.onSectionView(!1),gt.clearSelection(),gt._viewer.setOperatorByID("OpOrbit"),d.$eventBus.emit("hideNowMeasureSub"),ne(),te(),jt.sendCenter(2),jt.sendCenter(3))},D=()=>{n.state.modelStore._geometryload&&(gt._viewer.showprompt(!1),n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","animation"),NDSWebViewer.SETTING.enableSelect=!1,gt.onSectionView(!1),n.commit("modelStore/setBombScale",0),P(!0),gt.onExplode(0),gt.restoreAllDraggedObjects(),gt.clearSelection(),gt._viewer.setMeasureVisible(!1),gt._viewer.showAllModel(),setTimeout(()=>{gt.setAnnotationsVisibility(0)}),d.$eventBus.emit("switchNormalPortSub",{isChangeTag:!1}),te(),B("Animation"))},A=()=>c.hasAnimation&&w("#ico-animation"),N=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","draw"),gt.setOperatorByID("drag"),gt.onSectionView(!1),gt.clearSelection(),gt._viewer.setOperatorByID("OpOrbit"),gt.onBoxSectionView(!1),gt.closeClipControl(),n.commit("modelStore/setIsShowPmi",!1),d.$eventBus.emit("closePmiSetSub"),d.$eventBus.emit("hideNowMeasureSub"),te(),jt.sendCenter(2),jt.sendCenter(3))},I=()=>{n.state.modelStore._geometryload&&(gt.onSectionView(!1),gt.onBoxSectionView(!1),gt.closeClipControl(),gt._viewer.setOperatorByID("OpOrbit"),"struct"!=n.state.menuStore.menuChoose&&n.commit("menuStore/setMenuChoose","pmi"),o.isPMIVisible=!o.isPMIVisible,gt._viewer.setPmiVisible2(o.isPMIVisible),n.commit("modelStore/setIsShowPmi",o.isPMIVisible),B(o.isPMIVisible?"pmiShow":"pmiHide"),"struct"!=n.state.menuStore.menuChoose?te():d.$eventBus.emit("pmiStructInitSub"),jt.sendCenter(2),jt.sendCenter(3),jt.sendCenter(4))},V=()=>{n.state.modelStore._geometryload&&(n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","boxselect"),n.commit("menuStore/setCoutMenu",!1),gt.onSectionView(!1),te(),jt.sendCenter(2),jt.sendCenter(3))},_=()=>{n.state.modelStore._geometryload&&(n.state.menuStore.attrMenu||(gt._viewer.setOperatorByID("OpOrbit"),gt.onSectionView(!1),n.commit("menuStore/setCoutMenu",!1),"unitChange"!=a.menuChoose?(n.commit("menuStore/setMenuChoose","unitChange"),n.commit("menuStore/setUnitMenu",!0)):(n.commit("menuStore/setMenuChoose",""),n.commit("menuStore/setUnitMenu",!1)),jt.sendCenter(2),jt.sendCenter(3)))},P=e=>{if(!n.state.modelStore._geometryload)return;const t=r.nowConfig,o=r.autoColorHex,i=r.partAddColor,a=o[t];if(gt._viewer.setOperatorByID("OpOrbit"),e||n.commit("menuStore/setMenuChoose",""),n.commit("menuStore/setColorMenu",!1),te(),a||e)gt._viewer.autoChangeObjectColor(!1),o[t]="",i[t]="",n.commit("modelStore/setAutoColorHex",o),n.commit("modelStore/sertPartAddColor",i),nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.autoColorHex=!1),nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.partAddColor={}),B("colorTxt2");else{const e=gt._viewer.autoChangeObjectColor(!0);o[t]=e,i[t]={},n.commit("modelStore/setAutoColorHex",o),n.commit("modelStore/sertPartAddColor",i),B("colorTxt1")}jt.sendCenter(2),jt.sendCenter(3),jt.sendCenter(4)},L=()=>{const e=r.nowConfig,t=r.autoColorHex,o=r.partAddColor;gt._viewer.autoChangeObjectColor(!1),t[e]="",o[e]="",n.commit("modelStore/setAutoColorHex",t),n.commit("modelStore/sertPartAddColor",o),nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.autoColorHex=!1),nd_viewCtrl.shareInfo&&(nd_viewCtrl.shareInfo.partAddColor={}),B("colorTxt2")},z=()=>{n.state.modelStore._geometryload&&(gt._viewer.setOperatorByID("OpOrbit"),gt.onSectionView(!1),te(),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setMenuChoose","settings"),n.commit("menuStore/setSettingsMenu",!a.settingsMenu),jt.sendCenter(2),jt.sendCenter(3))};function R(){$(document).on("fullscreenchange webkitfullscreenchange mozfullscreenchange MSFullscreenChange",(function(e){var t=document.webkitFullscreenElement||document.mozFullScreen||document.msFullscreenEnabled||document.fullscreen;t||n.commit("setFull",!1)}));var e=null;window.addEventListener("resize",()=>{e&&clearTimeout(e),e=setTimeout((function(){window.innerHeight<=dl.unfullHeight&&n.commit("setFull",!1)}),500)})}const F=()=>{n.commit("menuStore/setMenuChoose","attr"),n.commit("menuStore/setAttrMenu",!0),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setMenuChoose3","attrSingle"),gt.onSectionView(!1)},H=()=>{n.commit("menuStore/setMenuChoose","attr"),n.commit("menuStore/setAttrMenu",!0),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setMenuChoose3","attrAll"),gt.onSectionView(!1)},U=()=>{K(),n.commit("menuStore/setMenuChoose3","dragSingle"),gt.setPmiVisible2(!1),gt.onSelectAndMoveModel(),B("singleDrag")},W=()=>{K(),n.commit("menuStore/setMenuChoose3","dragSingleReset"),gt.onSelectAndRestoreModel(),B("singleDragResert")},G=()=>{K(),n.commit("menuStore/setMenuChoose3","dragAllReset"),gt.restoreAllDraggedObjects(),B("allDragResert")},Y=e=>{oe(),e&&(o[e]=!0)},Z=()=>{const e=document.querySelector(".pc-alert");e&&(e.style.display="none")},X=()=>{const e=document.querySelector(".pc-alert");e&&e.innerText&&(e.style.display="block")},K=()=>{J(),n.commit("menuStore/setMenuChoose",""),gt.setOperatorByID("drag"),gt.onSectionView(!1),gt.onBoxSectionView(!1),gt.closeClipControl()},J=()=>{gt.clearSelection()},q=()=>{I()},Q=()=>{n.state.modelStore.bombScale||("pmi"!=a.menuChoose?(te(),gt._viewer.setOperatorByID("OpOrbit"),n.commit("menuStore/setPmiMenu",!0),n.commit("menuStore/setMenuChoose","pmi")):(n.commit("menuStore/setPmiMenu",!1),n.commit("menuStore/setMenuChoose","")),jt.sendCenter(2),jt.sendCenter(3))},ee=()=>{n.commit("menuStore/setShowOneMenu",!1),n.commit("menuStore/setMenuChoose","screen"),te()},te=()=>{n.commit("menuStore/setStructMenu",!1),n.commit("menuStore/setAttrMenu",!1),n.commit("menuStore/setCoutMenu",!1),n.commit("menuStore/setUnitMenu",!1),n.commit("menuStore/setSettingsMenu",!1),n.commit("menuStore/setPmiMenu",!1)},oe=()=>{o.showAttr=!1,o.showDrag=!1},ie=e=>{let t=!0;if(e){let e;nd_viewCtrl.shareInfo&&void 0!=nd_viewCtrl.shareInfo.pmiVisible&&(nd_viewCtrl.shareInfo.configNum==n.state.modelStore._nowModel||n.state.modelStore.configs.length<2&&-1==nd_viewCtrl.shareInfo.configNum)&&(e=!0),e&&(t=nd_viewCtrl.shareInfo.pmiVisible)}else t=!1;gt.getViewerIntance()&>.getViewerIntance().pmiObject||(t=!1),o.pmiShowAsync=t;var i=w("#ico-pmi");o.pmiBtnShow=o.pmiShowAsync&&i},ne=()=>{const e=gt._viewer.getPMIObject();e&>._viewer.deselectPMIObject(e)},re=()=>{n.state.modelIsLoaded&&(d.$tag.tcStep0||d.$tag.tcStep1||d.$tag.tcChecktag||(gt.clearSelection(),gt.setMeasureOpType(""),d.$attrVolArea.isShowDataBox=!1,te(),n.commit("menuStore/setMenuChoose",""),n.commit("menuStore/setMenuChoose2",""),n.commit("menuStore/setMenuChoose3",""),jt.startTagChange(),C(null,!0),n.commit("setRtmNeedCover",!1),d.$eventBus.emit("addtagEvent",!0)))},ce=e=>{o.isPMIVisible=e,gt._viewer.setPmiVisible2(o.isPMIVisible)},se=Object(i["toRefs"])(o);return{...se,store:n,menuStore:a,modelStore:r,animationStore:c,pmiTipComputed:u,checkBtnExit:w,chooseSetting:S,chooseToTag:C,chooseToMeter:O,chooseToCout:y,chooseToViewports:x,chooseToStructureTree:T,chooseToFacecheck:M,chooseToAttr:k,chooseShowhide:E,chooseAnimation:D,chooseToBang:j,chooseToDrag:N,choosePmiVisible:I,chooseBoxselect:V,chooseUnitChange:_,chooseSetPmi:Q,choosePmiProx:q,chooseAddcolor:P,cancelColor:L,chooseSettings:z,chooseScreen:ee,meterATSO:F,meterATTA:H,writeTag:re,mourseMenu:Y,mourseBigMenu:Z,mourseBigMenuLeave:X,singleDrag:U,singleDragResert:W,allDragResert:G,hideRightBottom:g,hideLeftBottom:v,setDataInfo:ce,hasAnimationBtn:A}}};o("010d");const gl=_t()(hl,[["render",Yo],["__scopeId","data-v-2104d0aa"]]);var vl=gl,bl=o("41c8"),wl=o.n(bl),Sl=o("86fc"),Cl=o.n(Sl);Object(i["pushScopeId"])("data-v-28e38b03");const Ol=Object(i["createElementVNode"])("div",{class:"hd_title header"},null,-1),fl={src:wl.a,alt:""},yl={src:Cl.a,alt:""},jl={src:wl.a,alt:""},xl={src:Cl.a,alt:""},Tl={class:"explode-flex"},Ml={class:"explode-flex"},kl={class:"explode-flex"},El={class:"explode-free"},Dl=Object(i["createElementVNode"])("img",{src:zn.a,alt:""},null,-1);function Bl(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("xd-progress"),l=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(l,{class:"ndp3-my-page explode-card",onClose:n.close},{header:Object(i["withCtx"])(()=>[Ol]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",{onClick:t[0]||(t[0]=e=>r.modeChange(0)),class:"explode-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",fl,null,512),[[i["vShow"],0==n.expStore.modeIndex]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",yl,null,512),[[i["vShow"],0!=n.expStore.modeIndex]]),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("expFree")),1)]),Object(i["createElementVNode"])("div",{onClick:t[1]||(t[1]=e=>r.modeChange(1)),class:"explode-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",jl,null,512),[[i["vShow"],1==n.expStore.modeIndex]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",xl,null,512),[[i["vShow"],1!=n.expStore.modeIndex]]),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("expAdv")),1)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",Tl,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("expDirect")),1),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:1==n.expStore.axis}),onClick:t[2]||(t[2]=e=>r.axisChange(1,"x"))},Object(i["toDisplayString"])(e.$t("expDirectX")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:2==n.expStore.axis}),onClick:t[3]||(t[3]=e=>r.axisChange(2,"y"))},Object(i["toDisplayString"])(e.$t("expDirectY")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:4==n.expStore.axis}),onClick:t[4]||(t[4]=e=>r.axisChange(4,"z"))},Object(i["toDisplayString"])(e.$t("expDirectZ")),3)]),Object(i["createElementVNode"])("div",Ml,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("pcStructLv")),1),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:1==n.expStore.level}),onClick:t[5]||(t[5]=e=>r.levelChange(1))},Object(i["toDisplayString"])(e.$t("expLevel1")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:2==n.expStore.level}),onClick:t[6]||(t[6]=e=>r.levelChange(2))},Object(i["toDisplayString"])(e.$t("expLevel2")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:3==n.expStore.level}),onClick:t[7]||(t[7]=e=>r.levelChange(3))},Object(i["toDisplayString"])(e.$t("expLevel3")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:4==n.expStore.level}),onClick:t[8]||(t[8]=e=>r.levelChange(4))},Object(i["toDisplayString"])(e.$t("expLevel4")),3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])({active:5==n.expStore.level}),onClick:t[9]||(t[9]=e=>r.levelChange(5))},Object(i["toDisplayString"])(e.$t("expLevel5")),3)]),Object(i["createElementVNode"])("div",kl,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("pcStructCon")),1),Object(i["createVNode"])(c,{modelValue:e.openPartCout,"onUpdate:modelValue":t[10]||(t[10]=t=>e.openPartCout=t),onChange:n.changeOpenPart},null,8,["modelValue","onChange"])])],512),[[i["vShow"],1==n.expStore.modeIndex]]),Object(i["createElementVNode"])("div",El,[Object(i["createVNode"])(s,{class:"process",ref:"progressRef",onMouseRatio:r.dragMove,onMouseRatioUp:r.dragMoveUp,onMouseStart:r.dragStart,defaultRatio:e.progressRatio},null,8,["onMouseRatio","onMouseRatioUp","onMouseStart","defaultRatio"]),Object(i["createElementVNode"])("div",{class:"reset-content exp-reset-btn",onClick:t[11]||(t[11]=(...e)=>r.resertClick&&r.resertClick(...e))},[Dl,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("reset")),1)])])]),_:1},8,["onClose"])}function Al(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"my-progress",ref:"progressRef",onClick:t[4]||(t[4]=(...e)=>n.clickPress&&n.clickPress(...e))},[Object(i["createElementVNode"])("i",{class:"circle",ref:"circleRef",style:Object(i["normalizeStyle"])({left:n.offLeftComp+"px"}),onClick:t[0]||(t[0]=(...e)=>n.clickCircle&&n.clickCircle(...e)),onMousedown:t[1]||(t[1]=e=>n.onDragStart(e)),onMouseup:t[2]||(t[2]=e=>n.onDragOver(e,"end")),onMouseout:t[3]||(t[3]=e=>n.onDragOver(e))},null,36)],512)}Object(i["popScopeId"])();var Nl={name:"",props:["defaultRatio"],setup(e,t){const o=Object(i["reactive"])({offLeft:"0"}),n=Object(i["ref"])(null),a=Object(i["ref"])(null);Object(i["onMounted"])(()=>{}),Object(i["watch"])(()=>e.defaultRatio,e=>{c(e)});const r=Object(i["computed"])(()=>1*o.offLeft<0?0:o.offLeft),c=e=>{Object(i["nextTick"])(()=>{const t=n.value.offsetWidth-24;o.offLeft=t*e})},s=function(e){const i=e.clientX-a.value.offsetLeft,r=n.value.offsetWidth,c=r-24;t.emit("mouseStart"),document.onmousemove=null,document.onmousemove=function(e){const n=e.clientX-i;o.offLeft=n<0?0:n>c?c:n;let a=n/c||0;a>1&&(a=1),a<0&&(a=0),t.emit("mouseRatio",a)},document.onmouseup=function(){document.onmousemove=null,t.emit("mouseRatioUp")}},l=e=>{},d=e=>{const i=n.value.offsetWidth-24;o.offLeft=e.offsetX,o.offLeft<24&&(o.offLeft=0),o.offLeft>i&&(o.offLeft=i);let a=o.offLeft/i;t.emit("mouseRatio",a),t.emit("mouseRatioUp")},m=e=>{e.preventDefault(),e.stopPropagation()},u=Object(i["toRefs"])(o);return{...u,progressRef:n,circleRef:a,onDragStart:s,onDragOver:l,clickPress:d,clickCircle:m,offLeftComp:r,resetRatio:c}}};o("ac01");const Il=_t()(Nl,[["render",Al],["__scopeId","data-v-7157c5ae"]]);var Vl=Il;let _l=null;var Pl={name:"",components:{card:ua,xdProgress:Vl,xdSwitch:ar},setup(){const{proxy:e,appContext:t}=Object(i["getCurrentInstance"])(),o=Object(l["useStore"])(),{expStore:n}=o.state,a=Object(i["ref"])(null),r=Object(i["reactive"])({expRatio:0,expLeft:0,expDistance:0,explodeMode:0,explodeObjects:[],tiped:!1,openPartCout:!1,progressRatio:0,resetTag:!1});Object(i["nextTick"])(()=>{t.config.globalProperties.$explodeCom=e,t.config.globalProperties.$explodeData=r}),Object(i["watch"])(()=>o.state.menuStore.menuChoose,(t,a)=>{if(jt.judgeCanWatch()){if(NDSWebViewer.SETTING.enableSelect="explode"!=t&&"animation"!=t,"explode"==t){o.commit("modelStore/setIsShowPmi",!1),gt.setPmiVisible2(!1);const t=gt._viewer.isExploded();t?(r.expRatio=gt.getExplodeFactor(),Object(i["nextTick"])(()=>{e.progressRef.resetRatio(r.expRatio)}),0==n.modeIndex&&(o.commit("menuStore/setStructMenu",!1),r.resetTag=!0)):(e.progressRef.resetRatio(0),e.modeChange(0),r.openPartCout=!1),r.openPartCout&&(o.commit("menuStore/setStructMenu",!0),e.show());const a=o.state.tagStore.tagShow;a&>.setAnnotationsVisibility(1)}"cout"==t&&"explode"==a&&o.commit("menuStore/setStructMenu",!1),"explode"==a&&e.closeToMain()}}),Object(i["watch"])(()=>o.state.menuStore.structMenu,t=>{if(jt.judgeCanWatch()&&"explode"==o.state.menuStore.menuChoose){if(r.resetTag)return void(r.resetTag=!1);r.openPartCout=t,t||(e.resert(),gt.clearSelection())}}),e.$eventBus.on("selectChange",()=>{if("explode"==o.state.treeMode){e.resetExplodeMode(),e.resert(),o.commit("expStore/setLevel",0);var t=gt.getSelectedObjects().length>0;t&&(r.tiped||(r.tiped=!0)),r.explodeObjects=gt._viewer.explodeObjects.concat(),o.commit("setShowAreaTips",!1)}}),e.$eventBus.on("structSelectSub",()=>{r.openPartCout&&(e.progressRef.resetRatio(0),gt.onExplode(0))}),e.$eventBus.on("clearExplode",()=>{e.clearExplode()}),e.$eventBus.on("CloseExpbox",()=>{e.closeToMain(!0)}),e.$eventBus.on("geometrySub",()=>{}),e.$eventBus.on("shareExplodeSub",t=>{try{e.initExplodeParams(t)}catch(o){}}),e.$eventBus.on("resetExplode",t=>{try{e.modeChange(0),e.resertClick(),e.close()}catch(o){}}),Object(i["onMounted"])(()=>{r.progressRatio=o.state.modelStore.bombScale}),Object(i["onUnmounted"])(()=>{});const c=t=>{t?(o.commit("menuStore/setStructMenu",!0),o.commit("expStore/setLevel",0),e.resert(),e.$eventBus.emit("closeCfg")):(o.commit("menuStore/setStructMenu",!1),gt.clearSelection(),e.resetExplodeMode(),e.progressRef.resetRatio(0),o.commit("modelStore/setBombScale",0)),jt.sendCenter(4),jt.sendCenter(3),setTimeout(()=>{jt.sendCenter(5)},100)},s=()=>{o.commit("menuStore/setMenuChoose",""),o.commit("menuStore/setAttrMenu",!1),o.commit("menuStore/setStructMenu",!1),o.commit("menuStore/setShowManyConfig",!0),e.$eventBus.emit("closeAttrBox")},d=(e={})=>{r.expRatio=e.expRatio,r.expLeft=e.expLeft,r.expDistance=e.expDistance,r.explodeMode=e.explodeMode,r.explodeObjects=We(e.explodeObjects),r.tiped=e.tiped,r.progressRatio=e.progressRatio,r.openPartCout=e.openPartCout,r.resetTag=e.resetTag;const t=e._store;t&&(o.commit("expStore/setMode",t.modeIndex),o.commit("expStore/setAxis",t.axis),o.commit("expStore/setLevel",t.level))};return{...Object(i["toRefs"])(r),store:o,expStore:n,close:s,progressRef:a,changeOpenPart:c,setDataInfo:d}},methods:{initExplodeParams(e){void 0!=e.expRatio?this.expRatio=e.expRatio:this.expRatio=gt.getExplodeFactor(),this.progressRatio=this.expRatio,this.store.commit("modelStore/setBombScale",this.expRatio),this.explodeObjects=e.explodeObjects,this.store.commit("expStore/setMode",32==e.explodeMode?0:1),this.explodeMode=e.explodeMode,32!=e.explodeMode&&(this.store.commit("expStore/setAxis",e.axis),e.explodeObjects&&e.explodeObjects.length>0?(this.openPartCout=!0,this.store.commit("expStore/setLevel",0)):this.store.commit("expStore/setLevel",e.level))},dragMove(e){this.store.commit("modelStore/setBombScale",e);const t=gt.getSelectedObjects();if(this.openPartCout&&t.length>0){let e=NDS.EXPLODEMODE.SELECTED+this.store.state.expStore.axis;gt._viewer.setExplodeMode(e)}e&&(gt._viewer.setPmiVisible2(!1),this.store.commit("modelStore/setIsShowPmi",!1),this.$eventBus.emit("hideNowMeasureSub")),gt.onExplode(e)},dragMoveUp(){jt.sendCenter(4)},dragStart(){},choiceNode(){this.store.commit("setTreemode","explode"),this.store.commit("expStore/setLevel",0),this.resert(),this.$emit("showTree")},clearExplode(){this.store.commit("expStore/setMode",0),this.explodeObjects=[],gt._viewer.explodeObjects=[],this.store.commit("expStore/setAxis",0),this.store.commit("expStore/setLevel",0),this.resetExplodeMode(),this.resert()},resetExplodeMode(){try{if(0==this.store.state.expStore.modeIndex)this.explodeMode=NDS.EXPLODEMODE.NORMAL,gt._viewer.setExplodeMode(NDS.EXPLODEMODE.NORMAL);else{var e=this.store.state.expStore.axis,t=this.store.state.expStore.level,o=e;0==e&&(o+=NDS.EXPLODEMODE.NORMAL),t>0&&(o+=NDS.EXPLODEMODE.LEVEL);var i=gt.getSelectedObjects().length>0;i&&(o+=NDS.EXPLODEMODE.SELECTED),this.explodeMode=o,gt._viewer.setExplodeMode(this.explodeMode,t+1)}}catch(n){}},show(){var e=this.store.state.expStore.level;this.store.commit("expStore/setShowHide",!0);var t=gt._viewer.isExploded();0==this.explodeObjects.length&&(this.explodeObjects=gt._viewer.explodeObjects),1==this.store.state.expStore.modeIndex&&this.explodeObjects.length>0?(t||(gt._viewer.explodeObjects=this.explodeObjects,gt._viewer.setExplodeMode(this.explodeMode,e+1,!0)),gt._viewer.selectionManager.selectObjectByList(this.explodeObjects),gt._viewer.render()):t||gt._viewer.setExplodeMode(this.explodeMode,e+1);const o=this.store.state.modelStore.bombScale;gt.onExplode(o)},modeChange(e){this.store.state.expStore.modeIndex!=e&&(gt.clearSelection(),this.resert()),0==e&&this.store.commit("menuStore/setStructMenu",!1),this.store.commit("expStore/setMode",e),this.resetExplodeMode();var t=0==e?"expFree":"expAdv";B(t),jt.sendCenter(3),jt.sendCenter(4)},levelChange(e){if(!this.openPartCout){this.tiped||(this.tiped=!0);var t=this.store.state.expStore.level;t==e?this.store.commit("expStore/setLevel",0):this.store.commit("expStore/setLevel",e),this.explodeObjects=[],gt._viewer.explodeObjects=[],gt.clearSelection(),this.resetExplodeMode(),this.resert(),jt.sendCenter(4)}},axisChange(e,t){var o=this.store.state.expStore.axis;_l&&clearTimeout(_l),this.tiped||(this.tiped=!0),o==e?(gt._viewer.setExplodeAxisVisible(!1),this.store.commit("expStore/setAxis",0),this.resetExplodeMode()):(this.store.commit("expStore/setAxis",e),this.resetExplodeMode(),gt._viewer.setExplodeAxisVisible(!0,t),_l=setTimeout(()=>{gt._viewer.setExplodeAxisVisible(!1)},2e3)),this.resert(),jt.sendCenter(4)},resert(){this.expRatio=0,this.expLeft=0,this.expDistance=0,this.progressRef&&this.progressRef.resetRatio(0),this.store.commit("modelStore/setBombScale",this.expRatio),gt.onExplode(this.expRatio)},resertClick(){gt.clearSelection(),this.progressRatio=0,1==this.store.state.expStore.modeIndex&&(this.explodeObjects=[],gt._viewer.explodeObjects=[],this.store.commit("expStore/setAxis",0),this.store.commit("expStore/setLevel",0)),this.resetExplodeMode(),this.resert(),this.openPartCout=!1,this.store.commit("menuStore/setStructMenu",!1),jt.sendCenter(3),jt.sendCenter(4)},chooseToBang(){this.store.commit("expStore/setShowHide",!0),this.store.commit("hideCtrlBtn"),this.store.commit("setShowAreaTips",!1),gt.onSectionView(!1),gt.onBoxSectionView(!1),gt.closeClipControl(),B("bigBang"),this.clearObJStatus()},getExpRatio(){return 100*this.expRatio+"%"},onDragStart(e){e.targetTouches?this.expLeft=e.targetTouches[0].clientX:this.expLeft=e.touches[0].clientX,1==this.explodeMode&&0==this.store.state.expStore.level&&(this.explodeObjects=gt._viewer.explodeObjects.concat())},OnDragOver(e,t){if(e.targetTouches)var o=e.targetTouches[0].clientX;else o=e.touches[0].clientX;let i=document.getElementById("ratioAll").clientWidth-18;this.expDistance+=o-this.expLeft,this.expDistance=this.expDistance<0?0:this.expDistance,this.expDistance=this.expDistance>i?i:this.expDistance,this.expLeft=o,this.expRatio=this.expDistance/i,this.store.commit("modelStore/setBombScale",this.expRatio),this.expRatio&&(this.store.commit("modelStore/setIsShowPmi",!1),this.isPMIVisible=!1,gt.setPmiVisible2(!1)),gt.onExplode(this.expRatio)},closeToMain(e){if(this.store.commit("expStore/setShowHide",!1),1!=e){var t=this.store.state.expStore.level;this.explodeObjects=0==t?gt._viewer.explodeObjects.concat():[]}gt._viewer.selectExplodeEvent(!1),this.store.commit("setTreemode","normal"),NDSWebViewer.SETTING.enableSelect=!0,this.store.commit("showCtrlBtn"),this.store.commit("setShowAreaTips",!0),gt.clearSelection(),gt._viewer.setExplodeAxisVisible(!1)},resetRatio(e){this.progressRef.resetRatio(e||0)}}};o("7e48");const Ll=_t()(Pl,[["render",Bl],["__scopeId","data-v-28e38b03"]]);var $l=Ll,zl=o("0ec3"),Rl=o.n(zl),Fl=o("bcdb"),Hl=o.n(Fl),Ul=o("961b"),Wl=o.n(Ul),Gl=o("7e0f"),Yl=o.n(Gl);Object(i["pushScopeId"])("data-v-41c5f722");const Zl={class:"viewports-title"},Xl=Object(i["createElementVNode"])("img",{src:Rl.a,alt:""},null,-1),Kl=["id","onUpdate:modelValue","onKeyup","onBlur"],Jl=["onDblclick"],ql={key:2,class:"ico-wrap"},Ql=["onClick"],ed=["onClick"],td=["onClick"],od=["src","onClick"];function id(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card"),s=Object(i["resolveComponent"])("delete-pop");return Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],null,[Object(i["createVNode"])(c,{class:Object(i["normalizeClass"])(["ndp3-my-page viewports-card",{"struct-top":n.store.state.modelStore.configs.length<2}]),onClose:n.close},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Zl,Object(i["toDisplayString"])(e.$t("viewport")),1),Object(i["createElementVNode"])("div",{class:"add-viewport",onClick:t[0]||(t[0]=(...e)=>n.addViewHandler&&n.addViewHandler(...e))},[Xl,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("addViewport")),1)]),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["viewports-wrap",{"has-child":!!n.viewportList.length}]),id:"viewports-wrap"},[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.viewportList,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["viewport-item",{light:n.viewStore.currentSelectedIndex==o}]),key:t.uuid},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["title",{"input-active":e.nameChangeIndex==o}])},[e.nameChangeIndex==o?Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("input",{key:0,maxlength:"15",id:t.uuid,type:"text","onUpdate:modelValue":e=>t.rename=e,onKeyup:Object(i["withKeys"])(e=>n.inputBlurHandler(e,t),["enter"]),onBlur:e=>n.inputBlurHandler(e,t)},null,40,Kl)),[[i["vModelText"],t.rename]]):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:1,onDblclick:e=>n.nameChangeHandler(o,t)},Object(i["toDisplayString"])(t.rename||""),41,Jl)),e.nameChangeIndex==o?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ql,[Object(i["createElementVNode"])("img",{src:Hl.a,style:{"padding-right":"5px"},onClick:e=>n.nameSubmitHandler(t.rename,t),alt:""},null,8,Ql),Object(i["createElementVNode"])("img",{src:Wl.a,style:{"padding-left":"5px"},onClick:e=>n.cancelInputHandler(t),alt:""},null,8,ed)])):(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:3,src:Yl.a,onClick:e=>n.deleteHandler(t),alt:""},null,8,td))],2),Object(i["createElementVNode"])("img",{src:t.modelViewCapture,alt:"",onClick:e=>n.selectView(t,o)},null,8,od)],2))),128))],2)]),_:1},8,["class","onClose"]),e.dialogShow?(Object(i["openBlock"])(),Object(i["createBlock"])(s,{key:0,modelValue:e.dialogShow,"onUpdate:modelValue":t[1]||(t[1]=t=>e.dialogShow=t),onSubmit:n.submitHandler},null,8,["modelValue","onSubmit"])):Object(i["createCommentVNode"])("",!0)],64)}Object(i["popScopeId"])();var nd=o("d3ee"),ad=o.n(nd),rd=o("1a3e"),cd=o.n(rd);Object(i["pushScopeId"])("data-v-c6fc745e");const sd={key:0,class:"dialog-mask"},ld={class:"dialog-wrap"},dd={class:"title"},md={class:"title-content"},ud=Object(i["createElementVNode"])("img",{class:"ico",src:ad.a,alt:""},null,-1),pd={class:"bottom"};function hd(e,t,o,n,a,r){return e.modelValue?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",sd,[Object(i["createElementVNode"])("div",ld,[Object(i["createElementVNode"])("div",dd,[Object(i["createElementVNode"])("div",md,[ud,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("deleteThisViewport")),1)]),Object(i["createElementVNode"])("img",{class:"close",src:cd.a,onClick:t[0]||(t[0]=(...t)=>e.closeHandler&&e.closeHandler(...t)),alt:""})]),Object(i["createElementVNode"])("div",pd,[Object(i["createElementVNode"])("div",{class:"btn cancel",onClick:t[1]||(t[1]=(...t)=>e.closeHandler&&e.closeHandler(...t))},Object(i["toDisplayString"])(e.$t("viewportCancel")),1),Object(i["createElementVNode"])("div",{class:"btn submit",onClick:t[2]||(t[2]=(...t)=>e.submitHandler&&e.submitHandler(...t))},Object(i["toDisplayString"])(e.$t("viewportDelete")),1)])])])):Object(i["createCommentVNode"])("",!0)}Object(i["popScopeId"])();var gd=Object(i["defineComponent"])({emits:["update:modelValue","submit"],props:{modelValue:{type:Boolean,default:!1}},setup(e,{emit:t}){const o=()=>{t("update:modelValue",!1)},i=()=>{t("submit")};return{closeHandler:o,submitHandler:i}}});o("5e01");const vd=_t()(gd,[["render",hd],["__scopeId","data-v-c6fc745e"]]);var bd=vd,wd={name:"",components:{card:ua,deletePop:bd},setup(){const{proxy:e,appContext:t}=Object(i["getCurrentInstance"])(),o=Object(l["useStore"])(),{viewStore:n,tagStore:a,modelStore:r}=o.state,c=Object(i["reactive"])({dialogShow:!1,nameChangeIndex:-1,curDeleteItem:{},timer:null,blurCanChange:!0,canNameUpdate:!0}),s=Object(i["computed"])(()=>{const{configNum:e,configName:t}=window.nd_getNowConfig(),o=n.viewDataList.filter(t=>t.configNum==e);return o});Object(i["nextTick"])(()=>{t.config.globalProperties.$viewports=e}),Object(i["watch"])(()=>o.state.menuStore.menuChoose,e=>{o.commit("viewStore/setCurrentSelectedIndex",-1)}),Object(i["watch"])(()=>o.state.viewStore.viewDataList,(e,t)=>{e.length==n.currentSelectedIndex+1&&g()},{deep:!0}),Object(i["onMounted"])(()=>{const e=document.getElementById("t_container");e.addEventListener("mousedown",()=>{o.commit("viewStore/setCurrentSelectedIndex",-1)})}),Object(i["onUnmounted"])(()=>{});const d=()=>{o.commit("menuStore/setMenuChoose",""),o.commit("menuStore/setAttrMenu",!1),o.commit("menuStore/setStructMenu",!1),o.commit("menuStore/setViewPortsMenu",!1),o.commit("menuStore/setShowManyConfig",!0),e.$eventBus.emit("closeAttrBox")},m=(e={})=>{e.uuid&&(c.curDeleteItem=e,c.dialogShow=!0)},u=()=>{c.curDeleteItem.uuid&&(o.commit("viewStore/deleteViewportByUUID",{uuid:c.curDeleteItem.uuid}),c.dialogShow=!1)},p=(e,t)=>{if(n.currentSelectedIndex==t)return;o.commit("viewStore/setCurrentSelectedIndex",t);const i=e.modelViewData;o.commit("viewStore/setModelInfo",e),gt.setModelViewInfo(i),o.commit("tagStore/setTagHideList",s());const a=(gt.getMeasureListContent()||[]).map(e=>e.measureId||""),c=e.measureShowList||[];function s(){const t=r.nowTag.map(e=>e.tagId),o=e.tagShowList||[],i=[];return t.forEach(e=>{o.includes(e)||i.push(e)}),i}a.forEach(e=>{c.includes(e)?gt._viewer.setMeasureVisibilityByUuid(!0,e):gt._viewer.setMeasureVisibilityByUuid(!1,e)})},h=()=>{if(!n.canAdd)return;const e=gt.getModelViewInfo();e&&(o.commit("viewStore/setCanAdd",!1),o.dispatch("viewStore/addViewDataAction",{modelViewData:e}))},g=()=>{const e=document.getElementById("viewports-wrap");Object(i["nextTick"])(()=>{e.scrollTop=e.scrollHeight+20})},v=(e,t)=>{c.nameChangeIndex=e;const o=t.uuid;Object(i["nextTick"])(()=>{const e=document.getElementById(o);e.focus()})},b=(e,t)=>{if(!c.canNameUpdate)return;c.canNameUpdate=!1;const i=e.target.value;setTimeout(()=>{c.nameChangeIndex=-1,c.canNameUpdate=!0,i?c.blurCanChange?o.commit("viewStore/updateViewName",{item:t,value:i}):c.blurCanChange=!0:o.commit("viewStore/updateViewName",{item:t,value:t.preName})},100)},w=(e,t)=>{c.canNameUpdate&&(c.canNameUpdate=!1,setTimeout(()=>{c.nameChangeIndex=-1,c.canNameUpdate=!0,e?o.commit("viewStore/updateViewName",{item:t,value:e}):o.commit("viewStore/updateViewName",{item:t,value:t.preName})},100))},S=e=>{const t=document.getElementById(e.uuid);t.value=e.preName,o.commit("viewStore/updateViewName",{item:e,value:e.preName}),c.blurCanChange=!1};return{...Object(i["toRefs"])(c),viewStore:n,store:o,viewportList:s,close:d,submitHandler:u,deleteHandler:m,selectView:p,addViewHandler:h,nameChangeHandler:v,inputBlurHandler:b,cancelInputHandler:S,nameSubmitHandler:w}}};o("6074");const Sd=_t()(wd,[["render",id],["__scopeId","data-v-41c5f722"]]);var Cd=Sd,Od=o("a961"),fd=o.n(Od);Object(i["pushScopeId"])("data-v-6d51662c");const yd={class:"facecheck-top"},jd={class:"facecheck-title"},xd={class:"accuracy-setting"},Td={class:"number-select"},Md={class:"number-list"},kd=["onClick"],Ed={key:0,src:Hl.a,alt:""},Dd={class:"facecheck-result"};function Bd(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("CheckResult"),s=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"ndp3-my-page facecheck-card",onClose:n.closeHandler},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",yd,[Object(i["createElementVNode"])("div",jd,Object(i["toDisplayString"])(e.$t("facecheck")),1),Object(i["createElementVNode"])("div",xd,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("accuracy")),1),Object(i["createElementVNode"])("div",Td,[Object(i["createElementVNode"])("span",{onClick:t[0]||(t[0]=(...e)=>n.listShowToggle&&n.listShowToggle(...e))},Object(i["toDisplayString"])(e.accuracy),1),Object(i["createElementVNode"])("img",{onClick:t[1]||(t[1]=(...e)=>n.listShowToggle&&n.listShowToggle(...e)),src:fd.a,alt:""}),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Md,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.accuracyList,t=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["number-list-item",{active:e.accuracy==t}]),key:t,onClick:e=>n.selectHandler(t)},[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t),1),e.accuracy==t?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",Ed)):Object(i["createCommentVNode"])("",!0)],10,kd))),128))],512),[[i["vShow"],e.listShow]])])]),Object(i["createElementVNode"])("div",{class:"check-start-btn",onClick:t[2]||(t[2]=(...e)=>n.startHandler&&n.startHandler(...e))},Object(i["toDisplayString"])(e.$t("start")),1)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Dd,[Object(i["createVNode"])(c,{dataList:e.resultList},null,8,["dataList"])],512),[[i["vShow"],e.resultShow]])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var Ad=o("e67b"),Nd=o.n(Ad),Id=o("b11c"),Vd=o.n(Id),_d=o("0795"),Pd=o.n(_d),Ld=o("55b3"),$d=o.n(Ld);Object(i["pushScopeId"])("data-v-7148844a");const zd={class:"check-result"},Rd={class:"result-title"},Fd={key:0,class:"tree-wrap"},Hd=["onClick"],Ud=["onClick"],Wd=["onClick"],Gd=["onClick"],Yd={key:0,class:"child-wrap"},Zd=["onClick"],Xd=Object(i["createElementVNode"])("img",{class:"icon-model",src:$d.a,alt:""},null,-1),Kd={key:1,class:"no-result"},Jd={class:"hide-no-facecheck"},qd={class:"hide-title"};function Qd(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",zd,[Object(i["createElementVNode"])("div",Rd,Object(i["toDisplayString"])(e.$t("facecheckResult"))+Object(i["toDisplayString"])(e.dataList.length>999?"(999+)":`(${e.dataList.length})`),1),e.dataList.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Fd,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.dataList,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"tree-item-wrap",key:t.id},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["tree-item",{active:e.selectFaceCheckList.map(e=>e.id).includes(t.id)}])},[t.open?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:1,class:"icon-arrow",onClick:o=>e.closeHandler(t),src:Vd.a,alt:""},null,8,Ud)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"icon-arrow",onClick:o=>e.openHandler(t),src:Nd.a,alt:""},null,8,Hd)),Object(i["createElementVNode"])("img",{onClick:i=>e.selectFacecheck(i,t,o),class:"icon-face-check",src:Pd.a,alt:""},null,8,Wd),Object(i["createElementVNode"])("div",{onClick:i=>e.selectFacecheck(i,t,o),class:"node-name"},Object(i["toDisplayString"])(t.name),9,Gd)],2),t.open?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Yd,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.list,t=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["tree-item-child",{active:e.selectPartList.map(e=>e.id).includes(t.id)}]),key:t.id,onClick:o=>e.selectPart(t)},[Xd,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.name),1)],10,Zd))),128))])):Object(i["createCommentVNode"])("",!0)]))),128))])):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Kd,Object(i["toDisplayString"])(e.$t("noInterference")),1)),Object(i["createElementVNode"])("div",Jd,[Object(i["createElementVNode"])("span",qd,Object(i["toDisplayString"])(e.$t("facecheckHideModel")),1),Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.hideNoFaceCheck,"onUpdate:modelValue":t[0]||(t[0]=t=>e.hideNoFaceCheck=t),onChange:e.switchChange},null,8,["modelValue","onChange"])])])}Object(i["popScopeId"])();var em=Object(i["defineComponent"])({components:{xdSwitch:ar},props:{dataList:{type:Array,default:()=>[]}},setup(e){const{proxy:t,appContext:o}=Object(i["getCurrentInstance"])(),n=Object(i["reactive"])({hideNoFaceCheck:!1,selectFaceCheckList:[],selectPartList:[],preShiftFaceCheck:null});Object(i["onMounted"])(()=>{t.$eventBus.on("pickOnUnderICheck",()=>{a()})}),Object(i["onUnmounted"])(()=>{}),Object(i["watch"])(()=>e.dataList,e=>{e.length>0&&(gt.unSelectAllICheck(!0),gt.unSelectAllICheck(!1),n.selectFaceCheckList=[e[0]],n.selectPartList=[],setTimeout(()=>{gt.selectItemsICheck(n.selectFaceCheckList.map(e=>e.id),!0,!1)},100))},{deep:!0});const a=()=>{n.selectPartList=[],n.selectFaceCheckList=[],gt.unSelectAllICheck(!0),gt.unSelectAllICheck(!1)},r=e=>{gt.hidePartsUselessICheck(e)},c=e=>{e.open=!0},s=e=>{e.open=!1},l=(t,o,i)=>{if(n.selectPartList=[],1==n.selectFaceCheckList.length&&n.selectFaceCheckList[0].id==o.id)return;const a=t.ctrlKey,r=t.shiftKey;if(r||(n.preShiftFaceCheck=null),r){if(n.selectFaceCheckList.find(e=>e.id==o.id))return;if(0==n.selectFaceCheckList.length)n.selectFaceCheckList=[o],n.preShiftFaceCheck=o;else if(n.preShiftFaceCheck){n.selectFaceCheckList.push(o);const t=m(n.preShiftFaceCheck),i=m(o),a=t<i?t:i,r=t<i?i:t;for(let o=a+1;o<r;o++){const t=e.dataList[o],i=u(t);i||n.selectFaceCheckList.push(t)}n.preShiftFaceCheck=null}else n.selectFaceCheckList.push(o),n.preShiftFaceCheck=o}else if(a)if(n.selectFaceCheckList.find(e=>e.id==o.id)){let e=[];n.selectFaceCheckList.forEach(t=>{t.id!=o.id&&e.push(t)}),n.selectFaceCheckList=e}else n.selectFaceCheckList.push(o);else n.selectFaceCheckList=[o];gt.unSelectAllICheck(!0),gt.unSelectAllICheck(!1),gt.selectItemsICheck(n.selectFaceCheckList.map(e=>e.id),!0,!1)},d=e=>{n.selectFaceCheckList=[],n.selectPartList=[e],gt.unSelectAllICheck(!0),gt.unSelectAllICheck(!1),gt.selectItemsICheck(n.selectPartList.map(e=>e.id),!0,!0)},m=t=>{let o=0;return e.dataList.forEach((e,i)=>{e.id==t.id&&(o=e.id)}),o},u=e=>{const t=n.selectFaceCheckList.find(t=>t.id==e.id);return!!t};return{...Object(i["toRefs"])(n),switchChange:r,openHandler:c,closeHandler:s,selectFacecheck:l,selectPart:d}}});o("9b4f");const tm=_t()(em,[["render",Qd],["__scopeId","data-v-7148844a"]]);var om=tm,im={name:"",components:{card:ua,CheckResult:om},setup(){const{proxy:e,appContext:t}=Object(i["getCurrentInstance"])(),o=Object(l["useStore"])(),{viewStore:n,menuStore:a,modelStore:r}=o.state,c=Object(i["reactive"])({accuracy:"0.1mm",accuracyList:["1mm","0.1mm","0.01mm","0.001mm"],listShow:!1,resultShow:!1,resultList:[]});Object(i["nextTick"])(()=>{t.config.globalProperties.$faceckeck=e}),Object(i["onMounted"])(()=>{e.$eventBus.on("facecheckSuccess",p),e.$eventBus.on("facecheckFail",h)}),Object(i["watch"])(()=>a.menuChoose,(e,t)=>{"facecheck"==t&&c.resultShow&&(c.resultShow=!1,gt.closeICheck(),r.measureShow&>._viewer.setMeasureVisible(!0),"lineColor"==a.preShowSetting&>.setRenderMode("shadedWithEdges"),"color"==a.preShowSetting&>.setRenderMode("shaded"),"hidelineToSee"==a.preShowSetting&>.setRenderMode("hiddenLineVisible"),"hidelineToHide"==a.preShowSetting&>.setRenderMode("hiddenLineRemove"),"wireframe"==a.preShowSetting&>.setRenderMode("wireframe"),"transparent"==a.preShowSetting&>.setRenderMode("transparent"))});const s=()=>{o.commit("menuStore/setMenuChoose","")},d=()=>{c.listShow=!1,c.accuracyList.forEach((e,t)=>{e==c.accuracy&>.setTouchLevelICheck(t)});const t=gt.getEstimateTimeICheck();let o=0,i=e.$t("facecheckMin");t<60?(o=t,i=e.$t("facecheckSec")):o=parseInt(t/60),e.$msgBox.showMsgAndTip({msg:`${e.$t("facecheckTitle")} ${o} ${i}`,tip:e.$t("facecheckTip"),submitMsg:e.$t("facecheckContinue")},(function(){e.$eventBus.emit("switchNormalPortSub"),gt.setAnnotationsVisibility(0),gt._viewer.setMeasureVisible(!1),e.$bottomBtn.chooseAddcolor(!0),gt.onSectionView(!1),gt.clearSelection(),gt.closeICheck(),gt.openICheck(),e.$eventBus.emit("loadingShowHandler",{flag:!0,message:e.$t("facechecking")})}),(function(){}))},m=e=>{c.accuracy=e,c.listShow=!1},u=()=>{c.listShow=!c.listShow},p=(t={})=>{const o=t.data||[];c.resultList=o,g(),e.$eventBus.emit("loadingShowHandler",{flag:!1}),c.resultShow=!0},h=()=>{e.$eventBus.emit("loadingShowHandler",{flag:!1}),c.resultShow=!0,c.resultList=[]},g=()=>(c.resultList=c.resultList.map((t,o)=>{const i=[];return t.uuid0&&i.push({id:t.uuid0,name:t.name0}),t.uuid1&&i.push({id:t.uuid1,name:t.name1}),{id:t.uuid,name:`${e.$t("interference")}${o+1}`,open:!1,list:i}}),c.resultList);return{...Object(i["toRefs"])(c),store:o,closeHandler:s,selectHandler:m,listShowToggle:u,startHandler:d}}};o("8b6c");const nm=_t()(im,[["render",Bd],["__scopeId","data-v-6d51662c"]]);var am=nm,rm=o("b4dc"),cm=o.n(rm);Object(i["pushScopeId"])("data-v-f587a6dc");const sm=["title"],lm={class:"cfg-content"},dm=["onClick"],mm=["data-nopic"],um=["src"],pm={class:"cfg-bottom"},hm=["title"];function gm(e,t,o,n,a,r){return n.store.state.modelStore.configs.length>1&&n.checkBtnExit("#ico-multipleSetting")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"ndp3-my-page config-switch",onContextmenu:t[2]||(t[2]=Object(i["withModifiers"])(()=>{},["right","stop","prevent"])),onMouseenter:t[3]||(t[3]=(...e)=>n.cfgMouseEnter&&n.cfgMouseEnter(...e)),onMouseleave:t[4]||(t[4]=(...e)=>n.cfgMouseLeave&&n.cfgMouseLeave(...e))},[Object(i["createElementVNode"])("div",{class:"cfg-top",onClick:t[0]||(t[0]=(...e)=>n.showCfgList&&n.showCfgList(...e))},[Object(i["createElementVNode"])("p",{title:e.configList[e.cfgIdx]&&e.configList[e.cfgIdx].Name},Object(i["toDisplayString"])(e.$t("pcNowConfig"))+":"+Object(i["toDisplayString"])(e.configList[e.cfgIdx]&&e.configList[e.cfgIdx].Name),9,sm),Object(i["createElementVNode"])("img",{class:Object(i["normalizeClass"])(["menu-ctrl-icon",{open:e.showCfgContent}]),src:cm.a,alt:""},null,2)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",lm,[Object(i["createElementVNode"])("ul",null,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.configList,(o,a)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{class:"cfg-list",key:a,onClick:e=>n.chooseCfg(a)},[Object(i["createElementVNode"])("div",{class:"cfg-list-pic","data-nopic":e.$t("pcNoPic")},[Object(i["createElementVNode"])("img",{class:"cfg-img-cap",src:o.captureImg,onError:t[1]||(t[1]=(...e)=>n.imgLoadError&&n.imgLoadError(...e)),alt:""},null,40,um)],8,mm),Object(i["createElementVNode"])("div",pm,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(e.cfgIdx==a?"icon-radio-checked":"icon-radio-nocheck")},null,2),Object(i["createElementVNode"])("span",{title:o.Name,class:Object(i["normalizeClass"])({light:e.cfgIdx==a})},Object(i["toDisplayString"])(o.Name),11,hm)])],8,dm))),128))])],512),[[i["vShow"],e.showCfgContent]])],32)):Object(i["createCommentVNode"])("",!0)}Object(i["popScopeId"])();var vm={name:"",setup(){const e=Object(i["reactive"])({showCfgContent:!1,configList:[],cfgIdx:0,isStartToChange:!1,timer:null,needUpdateRtm:!1,rtmSwitchTimer:null,rtmSwitchTimer2:null}),t=Object(l["useStore"])(),{proxy:n,appContext:a}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{a.config.globalProperties.$configSwitch=n}),Object(i["watch"])(()=>t.state.modelStore.configs,t=>{e.configList=t}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{n.$eventBus.on("loadAndInitSub",d),n.$eventBus.on("loadFail",m),n.$eventBus.on("closeCfg",()=>{e.showCfgContent=!1})});const r=(o,i,a)=>{const r=()=>{-1!==e.cfgIdx&&(t.commit("menuStore/setStructMenu",!1),t.commit("menuStore/setAttrMenu",!1),t.commit("menuStore/setCoutMenu",!1),t.commit("menuStore/setShowOneMenu",!0),a||(t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setMenuChoose3","")),t.commit("animationStore/setHasAnimation",!1),gt._viewer.showprompt(!1),n.$eventBus.emit("clearbroadTimer"),n.$eventBus.emit("stopAnimation"),gt._viewer.OpMeasureRelease(),gt._viewer.setMeasureOpType(""),setTimeout(()=>{n.$eventBus.emit("closeTagSeeSub"),jt.sendCenter(6),t.commit("modelStore/changeMultipleCfg",e.cfgIdx),e.isStartToChange=!0}))};clearTimeout(e.timer),e.timer=setTimeout(()=>{e.cfgIdx!=o&&(i&&(e.needUpdateRtm=!0),n.$eventBus.emit("switchNormalPortSub"),clearTimeout(e.rtmSwitchTimer),clearTimeout(e.rtmSwitchTimer2),e.cfgIdx=o,r())},200)},c=e=>{let t=event.srcElement,i=n.$i18n.locale||"en";"zh"!=i&&(i="en"),t.src=o("3c8f")(`./nomsg-${i}.png`),t.classList.add("nomsg")},s=()=>{e.showCfgContent=!e.showCfgContent,e.showCfgContent&&(t.commit("menuStore/setStructMenu",!1),t.commit("menuStore/setViewPortsMenu",!1),"struct"!=t.state.menuStore.menuChoose&&"viewports"!=t.state.menuStore.menuChoose||(t.commit("menuStore/setMenuChoose",""),jt.sendCenter(2))),jt.sendCenter(3)},d=o=>{n.$eventBus.emit("resertALL"),n.$eventBus.emit("cfgSwitchSub",o);const i=o=>{clearTimeout(e.rtmSwitchTimer),e.rtmSwitchTimer=setTimeout(()=>{gt._viewer.getScreenCapturethumbnail((function(n){if(n){let e=t.state.modelStore.configs[o];nd_viewCtrl.configImgUpload&&nd_viewCtrl.configImgUpload(e,n),t.state.modelStore.configs[o].imgURL=n,t.state.modelStore.configs[o].captureImg=n}else e.rtmSwitchTimer2=setTimeout(()=>{i(o)},1e3)}))},1e3)};e.cfgIdx=t.state.modelStore.nowConfig,t.state.modelStore.configs[e.cfgIdx]&&!t.state.modelStore.configs[e.cfgIdx].imgURL&&i(e.cfgIdx),e.isStartToChange=!1,e.needUpdateRtm&&(jt.receiveAllMsg(null,[8]),e.needUpdateRtm=!1),t.state.modelIsLoaded||jt.sendCenter(6),jt.sendCenter(3),jt.sendCenter(5),jt.sendCenter(8)},m=()=>{e.isStartToChange=!1},u=e=>ae(e),p=()=>{const e=document.querySelector(".pc-alert");e&&(e.style.display="none")},h=()=>{const e=document.querySelector(".pc-alert");e&&e.innerText&&(e.style.display="block")},g=Object(i["toRefs"])(e);return{...g,store:t,chooseCfg:r,showCfgList:s,checkBtnExit:u,imgLoadError:c,cfgMouseEnter:p,cfgMouseLeave:h}},methods:{}};o("5e6b");const bm=_t()(vm,[["render",gm],["__scopeId","data-v-f587a6dc"]]);var wm=bm;Object(i["pushScopeId"])("data-v-80febd94");const Sm={class:"ndp3-win-frame tijizhongliang"},Cm={class:"ndp3-win-content tijizhongliang-lavel"},Om={class:"select-material-attr"},fm={class:"select-con"},ym=Object(i["createElementVNode"])("em",null,null,-1),jm={key:0,class:"select-subBox test-1"},xm=["onClick","title"],Tm=["title"],Mm=Object(i["createElementVNode"])("em",null,null,-1),km={key:0,class:"select-subBox test-1"},Em=["onClick"],Dm=["title"],Bm={class:"select-material-attr"},Am={class:"select-con",style:{"padding-top":"0"}},Nm={class:"select-custom"},Im=["placeholder"],Vm=["title"],_m={class:"error-ts"},Pm={class:"select-parameter"};function Lm(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(c,{onClose:n.closeVw,class:"ndp3-my-page volume-weight"},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("volumeWeight")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Sm,[Object(i["createElementVNode"])("div",Cm,[Object(i["createElementVNode"])("div",Om,[Object(i["createElementVNode"])("div",{onClick:t[0]||(t[0]=e=>n.chooseAttrType(1)),class:Object(i["normalizeClass"])(["select-tit",{active:1==e.chooseType}])},Object(i["toDisplayString"])(e.$t("pcChooseCommonMt")),3),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",fm,[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["select-name",{"select-name-en":"en"==e.$i18n.locale}])},Object(i["toDisplayString"])(e.$t("pcMtType"))+":",3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["select-drop-down",{"select-drop-down-en":"en"==e.$i18n.locale}]),onMouseenter:t[1]||(t[1]=t=>e.showMTList=!0)},[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])({"gray-txt":!n.returnName()})},Object(i["toDisplayString"])(n.returnName()||e.$t("pcChooseMtType")),3),ym,e.showMTList?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",jm,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.materialDatas,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{onClick:e=>n.chooseMT(o),key:o,class:Object(i["normalizeClass"])(["select-drop-name",{select:e.nowMTidx===o}]),title:t.type},Object(i["toDisplayString"])(t.type),11,xm))),128))])):Object(i["createCommentVNode"])("",!0)],34)],512),[[i["vShow"],1==e.chooseType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["select-con",{no:!n.returnName()}])},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["select-name",{"select-name-en":"en"==e.$i18n.locale}])},Object(i["toDisplayString"])(e.$t("pcMtName"))+":",3),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["select-drop-down",{"select-drop-down-en":"en"==e.$i18n.locale}]),onMouseenter:t[2]||(t[2]=t=>e.showMTDList=!0),title:e.nowMTDname},[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])(["select-txt-only",{"no-choose-txt":!e.nowMTDname}])},Object(i["toDisplayString"])(e.nowMTDname||e.$t("pcChooseMtDe")),3),Mm,e.showMTDList&&n.returnChild().length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",km,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.returnChild(),(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{onClick:e=>n.chooseMTD(o,t),class:Object(i["normalizeClass"])(["select-drop",{select:e.nowMTDTidx===o}]),key:o},[Object(i["createElementVNode"])("span",{class:"select-drop-name",title:t.name+" "+e.unitDensitySwitch},Object(i["toDisplayString"])(t.name),9,Dm),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.density)+"("+Object(i["toDisplayString"])(e.unitDensitySwitch)+")",1)],10,Em))),128))])):Object(i["createCommentVNode"])("",!0)],42,Tm)],2),[[i["vShow"],1==e.chooseType]])]),Object(i["createElementVNode"])("div",Bm,[Object(i["createElementVNode"])("div",{onClick:t[3]||(t[3]=e=>n.chooseAttrType(2)),class:Object(i["normalizeClass"])(["select-tit",{active:2==e.chooseType}])},Object(i["toDisplayString"])(e.$t("selfMaterial")),3),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Am,[Object(i["createElementVNode"])("div",Nm,[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("enterSelfMaterial"))+"("+Object(i["toDisplayString"])(e.unitDensitySwitch)+"): ",1),Object(i["createElementVNode"])("p",{class:Object(i["normalizeClass"])({"no-txt":!e.selfMaterialData||e.selfMTDErr})},[Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{class:"error self_input",maxlength:"10",onInput:t[4]||(t[4]=(...e)=>n.selfMTDchange&&n.selfMTDchange(...e)),"onUpdate:modelValue":t[5]||(t[5]=t=>e.selfMaterialData=t),placeholder:e.$t("enterSelfMaterial2"),type:"number",name:"fname"},null,40,Im),[[i["vModelText"],e.selfMaterialData]]),Object(i["createElementVNode"])("span",{onClick:t[6]||(t[6]=(...e)=>n.sureSelfMTD&&n.sureSelfMTD(...e)),title:e.$t("sure")},Object(i["toDisplayString"])(e.$t("sure")),9,Vm)],2)]),Object(i["createElementVNode"])("div",_m,Object(i["toDisplayString"])(e.selfMTDErr),1)],512),[[i["vShow"],2==e.chooseType]])]),Object(i["createElementVNode"])("div",Pm,[Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])("volumeWeight"==n.menuStore.menuChoose3?e.$t("selectedVolumn"):e.$t("pcAllVol")),1),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(n.judgeNaN(e.volume)||"0"),1)]),Object(i["createElementVNode"])("li",null,[Object(i["createTextVNode"])(Object(i["toDisplayString"])("volumeWeight"==n.menuStore.menuChoose3?e.$t("selectedWeight"):e.$t("pcAllWeight")),1),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(n.judgeNaN(e.weight)||"0"),1)])])])])])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var $m={name:"",components:{card:ua},setup(){const e=Object(i["reactive"])({chooseType:1,volume:"",weight:"",density:"",nowMTidx:-1,nowMTDTidx:0,nowMTDTitem:null,nowMTDname:"",showMTList:!1,showMTDList:!1,selfMaterialData:"",selfMTDErr:"",selectBodyEvent:null,unitDensitySwitch:""}),{proxy:t,appContext:n}=Object(i["getCurrentInstance"])(),a=Object(l["useStore"])(),{menuStore:r}=a.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$volumeWeight=e}),Object(i["watch"])(()=>e.selfMaterialData,(t,o)=>{let i=t+"";i.length>10&&(e.selfMaterialData=1*i.slice(0,10))}),t.$eventBus.on("VolumnChange",A(t=>{jt.judgeCanWatch()&&("volumeWeight"==r.menuChoose3||"volumeWeightAll"==r.menuChoose3||e.volume)&&(e.selectBodyEvent=t,t&&m(t.volume,e.density,t.modelUnit),t||(e.volume=0,e.weight=0,jt.sendCenter(4)))})),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{e.unitDensitySwitch="g/cm³"});const c="zh"!=t.$i18n.locale?"_en":"",s=o("60ca")("./materialDensity"+c),d=s.default[0].materials.concat(s.default[1].materials),m=(t,o,i)=>{e.volume=Q(t)+" "+K(i),e.weight=G(u(o,i),parseFloat(t),X(i||"millimeter")),jt.sendCenter(4)},u=(e,t)=>{const o=Z(X(t||"millimeter"));if("in"==o){if("string"==typeof e&&e.indexOf("~")>0){const t=e.split("~");let o=t[0],i=t[1];return o*=.036127,i*=.036127,`${o}~${i}`}return.036127*e}return e},p=t=>{e.chooseType=t,jt.sendCenter(4),e.weight=0,1==t?-1!=e.nowMTDTidx&&e.nowMTDTitem&&g(e.nowMTDTidx,e.nowMTDTitem):2==t&&v()},h=t=>{e.nowMTidx=t,e.nowMTDTidx=-1,e.nowMTDname="",e.nowMTDTitem=null,e.showMTList=!1,jt.sendCenter(4)},g=(o,i)=>{e.nowMTDTidx=o,e.nowMTDTitem=i,e.nowMTDname=`${i.name} ${i.density}(${e.unitDensitySwitch})`,e.showMTDList=!1,e.density=i.density,e.selectBodyEvent&&m(e.selectBodyEvent.volume,e.density,t.selectBodyEvent.modelUnit),e.selectBodyEvent||jt.sendCenter(4)},v=()=>{e.selfMTDErr||(e.density=e.selfMaterialData,e.selectBodyEvent&&m(e.selectBodyEvent.volume,e.density,t.selectBodyEvent.modelUnit))};let b=Object(i["ref"])(null);const w=t=>{e.selfMTDErr=f(e.selfMaterialData),clearTimeout(b),b=setTimeout(()=>{jt.sendCenter(4)},200)},S=()=>{a.commit("menuStore/setMenuChoose3",""),gt.setMeasureOpType("")},C=()=>e.nowMTidx<0?"":d[e.nowMTidx].type,O=()=>e.nowMTidx<0?[]:d[e.nowMTidx].childs,f=o=>{let i=String(o),n="";t.$i18n.locale;try{(/[^0-9\+\.]/g.test(i)||i.split(".").length>2||i.lastIndexOf(".")+1==i.length)&&(n=t.$t("meterDetail1")),""==i.trim()&&(n=t.$t("meterDetail2"),e.selfMaterialData=" ")}catch{n=t.$t("meterDetail1")}return n},y=e=>e!==e?0:e,j=Object(i["toRefs"])(e);return{...j,menuStore:r,closeVw:S,chooseAttrType:p,materialDatas:d,chooseMT:h,chooseMTD:g,sureSelfMTD:v,selfMTDchange:w,returnName:C,returnChild:O,judgeNaN:y}}};o("003a");const zm=_t()($m,[["render",Lm],["__scopeId","data-v-80febd94"]]);var Rm=zm;Object(i["pushScopeId"])("data-v-029f9ca2");const Fm={class:"header"},Hm={class:"p2ppface-content"},Um={class:"flex-start"},Wm={class:"flex-start"},Gm={class:"flex-start"},Ym={class:"flex-start"};function Zm(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createVNode"])(c,{class:"ndp3-my-page lm-p2ppface",onClose:n.closeBox},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Fm,Object(i["toDisplayString"])(e.$t("choosePface")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Hm,[Object(i["createElementVNode"])("div",Um,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["radio-btn",{choose:"X"==e.pface}]),onClick:t[0]||(t[0]=e=>n.chooseFace("X"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[1]||(t[1]=e=>n.chooseFace("X")),class:Object(i["normalizeClass"])({"txt-blue":"X"==e.pface})},Object(i["toDisplayString"])(e.$t("xPface")),3)]),Object(i["createElementVNode"])("div",Wm,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["radio-btn",{choose:"Y"==e.pface}]),onClick:t[2]||(t[2]=e=>n.chooseFace("Y"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[3]||(t[3]=e=>n.chooseFace("Y")),class:Object(i["normalizeClass"])({"txt-blue":"Y"==e.pface})},Object(i["toDisplayString"])(e.$t("yPface")),3)]),Object(i["createElementVNode"])("div",Gm,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["radio-btn",{choose:"Z"==e.pface}]),onClick:t[4]||(t[4]=e=>n.chooseFace("Z"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[5]||(t[5]=e=>n.chooseFace("Z")),class:Object(i["normalizeClass"])({"txt-blue":"Z"==e.pface})},Object(i["toDisplayString"])(e.$t("zPface")),3)]),Object(i["createElementVNode"])("div",Ym,[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["radio-btn",{choose:"S"==e.pface}]),onClick:t[6]||(t[6]=e=>n.chooseFace("S"))},null,2),Object(i["createElementVNode"])("div",{onClick:t[7]||(t[7]=e=>n.chooseFace("S")),class:Object(i["normalizeClass"])({"txt-blue":"S"==e.pface})},Object(i["toDisplayString"])(e.$t("sPface")),3)])])]),_:1},8,["onClose"])])}Object(i["popScopeId"])();var Xm={name:"",components:{card:ua},setup(){const e=Object(i["reactive"])({pface:""}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$lmPface=e}),Object(i["watch"])(()=>t.state.menuStore.coutMenu,e=>{}),o.$eventBus.on("Lineargauge3DMeasureEndEvent",t=>{e.pface="",jt.sendCenter(4)}),o.$eventBus.on("clearP2ppface",t=>{e.pface="",jt.sendCenter(4)}),Object(i["onMounted"])(()=>{});const a=t=>{e.pface=t,gt._viewer.setMeasureProjectPlane(t),jt.sendCenter(4)},r=()=>{t.commit("menuStore/setMenuChoose3","")},c=()=>{e.pface=""},s=Object(i["toRefs"])(e);return{...s,store:t,chooseFace:a,closeBox:r,clearData:c}}};o("103c"),o("bdca");const Km=_t()(Xm,[["render",Zm],["__scopeId","data-v-029f9ca2"]]);var Jm=Km,qm=o("a016"),Qm=o.n(qm);Object(i["pushScopeId"])("data-v-54878bf0");const eu={class:"struct-tabswitch"},tu={class:"struct-tab"},ou={class:"search-cont"},iu={class:"search-select"},nu={class:"search-inp-t"},au=["placeholder"],ru={class:"tree-node-item"},cu=["title"],su={key:0,class:"struc-content"},lu={key:0,class:"search-list"},du=["onClick","onContextmenu"],mu=["onClick"],uu=["title"],pu={key:1,class:"nomsg-txt"};function hu(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("stru-select"),s=Object(i["resolveComponent"])("tree-node"),l=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(l,{id:"structCard",class:Object(i["normalizeClass"])(["ndp3-my-page structure-tree tree-card",{"struct-top":n.store.state.modelStore.configs.length<2||"explode"==n.menuStore.menuChoose}]),onClose:n.close,canDrag:!0,onScrollChange:n.getTreeScroll,onSizeDrag:n.structSizeDrag,ref:"structCardRef"},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",eu,[Object(i["createElementVNode"])("span",tu,Object(i["toDisplayString"])(e.$t("structureTree")),1)])]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",null,[Object(i["createElementVNode"])("div",ou,[Object(i["createElementVNode"])("div",iu,[Object(i["createVNode"])(c,{modelValue:e.searchType,"onUpdate:modelValue":t[0]||(t[0]=t=>e.searchType=t)},null,8,["modelValue"])]),Object(i["createElementVNode"])("div",nu,[Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{class:Object(i["normalizeClass"])(["search-inp",{"en-inp":"en"==e.$i18n.locale}]),placeholder:e.$t("searchTree2"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.keyWord=t),onKeyup:t[2]||(t[2]=Object(i["withKeys"])((...e)=>n.goToSearch&&n.goToSearch(...e),["enter"])),maxlength:"30",type:"text"},null,42,au),[[i["vModelText"],e.keyWord]]),e.searchMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:Object(i["normalizeClass"])(["clear-icon",{"en-icon-clear":"en"==e.$i18n.locale}]),onClick:t[3]||(t[3]=(...e)=>n.exitSearch&&n.exitSearch(...e)),src:Qm.a,alt:""},null,2)):Object(i["createCommentVNode"])("",!0)]),Object(i["createElementVNode"])("span",{class:"search-txt",onClick:t[4]||(t[4]=(...e)=>n.goToSearch&&n.goToSearch(...e))},Object(i["toDisplayString"])(e.$t("search")),1)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"struc-content",onScrollPassive:t[9]||(t[9]=(...e)=>n.getTreeScroll&&n.getTreeScroll(...e)),ref:"scrollRef"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",ru,[Object(i["createElementVNode"])("div",{onClick:t[7]||(t[7]=t=>n.selectNode(e.modelTreeData)),onContextmenu:t[8]||(t[8]=Object(i["withModifiers"])(t=>n.rightEvent(t,e.modelTreeData),["right","stop","prevent"])),class:Object(i["normalizeClass"])(["treenode-node-item",{select:e.modelTreeData.isHighlight&&e.modelTreeData.isChecked}])},[e.modelTreeData.children&&e.modelTreeData.children.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:0,class:Object(i["normalizeClass"])({"tree-node-open":e.modelTreeData.isOpenChild,"tree-node-close":!e.modelTreeData.isOpenChild}),onClick:t[5]||(t[5]=Object(i["withModifiers"])((...e)=>n.toggleOpenChild&&n.toggleOpenChild(...e),["stop"]))},null,2)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(["tree-node-checkbox",{"ico-tree-checkedbox":"Y"==e.modelTreeData.isChecked,"ico-tree-checkhalf":"P"==e.modelTreeData.isChecked}]),onClick:t[6]||(t[6]=Object(i["withModifiers"])(t=>n.toggleVisible(e.modelTreeData),["stop"]))},null,2),Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(e.modelTreeData.type)},null,2),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:e.modelTreeData.rename||e.modelTreeData.name},Object(i["toDisplayString"])(e.modelTreeData.rename||e.modelTreeData.name),9,cu)],34),e.modelTreeData.isOpenChild&&e.modelTreeData.children&&e.modelTreeData.children.length&&n.menuStore.structMenu?(Object(i["openBlock"])(),Object(i["createBlock"])(s,{key:Math.random(),treeData:e.modelTreeData,defaulOpen:!0,level:1,isPmi:!1,isCap:!1,isSelect:e.modelTreeData.isHighlight},null,8,["treeData","isSelect"])):Object(i["createCommentVNode"])("",!0)])],512),[[i["vShow"],e.hasData]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("noTreeData2")),513),[[i["vShow"],!e.hasData]])],544),[[i["vShow"],!e.searchMode]]),e.searchMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",su,[e.searchData&&e.searchData.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",lu,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.searchData,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:o,class:Object(i["normalizeClass"])([{select:t.isHighlight},"treenode-node-item"]),onClick:e=>n.selectSearchNode(t),onContextmenu:Object(i["withModifiers"])(e=>n.rightEvent(e,t),["right","stop","prevent"])},[Object(i["createElementVNode"])("i",{onClick:Object(i["withModifiers"])(e=>n.toggleVisible(t),["stop"]),class:Object(i["normalizeClass"])(["tree-node-checkbox",{"ico-tree-checkedbox":"Y"==t.isChecked,"ico-tree-checkhalf":"P"==t.isChecked}])},null,10,mu),Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(t.type)},null,2),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:0==e.searchType?t.fullpath:t.searchName},Object(i["toDisplayString"])(0==e.searchType?t.name:t.searchName),9,uu)],42,du))),128))])):(Object(i["openBlock"])(),Object(i["createElementBlock"])("p",pu,Object(i["toDisplayString"])(e.$t("noTreeData2")),1))])):Object(i["createCommentVNode"])("",!0)])]),_:1},8,["onClose","onScrollChange","onSizeDrag","class"])}Object(i["popScopeId"])(),Object(i["pushScopeId"])("data-v-7a53043e");const gu={class:"se-content"},vu=["title"],bu=Object(i["createElementVNode"])("div",{class:"cut-line"},null,-1),wu={class:"se-ul"},Su=["title","onMousedown"];function Cu(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",gu,[Object(i["createElementVNode"])("div",{class:"se-flex",onMousedown:t[0]||(t[0]=Object(i["withModifiers"])((...e)=>n.showMenuClick&&n.showMenuClick(...e),["stop"]))},[Object(i["createElementVNode"])("div",{class:"se-span",title:e.list[e.index]},Object(i["toDisplayString"])(e.list[e.index]||""),9,vu),Object(i["createElementVNode"])("img",{class:Object(i["normalizeClass"])(["se-ico",{"menu-close":!e.showMenu}]),src:cm.a,alt:""},null,2),bu],32),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",wu,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.list,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["se-li",{"select-li":o==e.index}]),title:e.listAllName[o],onMousedown:Object(i["withModifiers"])(e=>n.choose(o),["stop"])},Object(i["toDisplayString"])(t),43,Su))),256))],512),[[i["vShow"],e.showMenu]])])}Object(i["popScopeId"])();var Ou={name:"",emits:["update:modelValue","choose"],props:{modelValue:{type:[String,Number],default:!1}},setup(e,t){const{proxy:o}=Object(i["getCurrentInstance"])(),n=Object(i["reactive"])({index:0,list:[o.$t("pcStruSelect1"),o.$t("pcStruSelect2"),o.$t("pcStruSelect3")],listAllName:[o.$t("pcStruSelect1"),o.$t("pcStruSelectAll2"),o.$t("pcStruSelectAll3")],showMenu:!1});o.$eventBus.on("rigthClickEvent",()=>{n.showMenu=!1}),Object(i["watch"])(()=>n.index,()=>{t.emit("update:modelValue",n.index)}),Object(i["watch"])(()=>e.modelValue,e=>{n.index=e}),Object(i["onMounted"])(()=>{n.index=e.modelValue});const a=e=>{n.index!=e&&(n.index=e,n.showMenu=!1)},r=()=>{n.showMenu=!n.showMenu},c=Object(i["toRefs"])(n);return{...c,choose:a,showMenuClick:r}}};o("5d2b");const fu=_t()(Ou,[["render",Cu],["__scopeId","data-v-7a53043e"]]);var yu=fu;Object(i["pushScopeId"])("data-v-04e5d70c");const ju=["onClick","onContextmenu","id","lev"],xu={key:0,class:"tree-module"},Tu=["onClick"],Mu=["onClick"],ku=["title"];function Eu(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("tree-node",!0);return Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(o.treeData.children,(t,a,r,l)=>{const d=[t.isHighlight,t.isChecked,t.isOpenChild];if(l&&l.key===Math.random()&&Object(i["isMemoSame"])(l,d))return l;const m=(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:Math.random()},[n.judgeExplodeShowNode(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:Object(i["normalizeClass"])(["treenode-node-item",{select:t.isHighlight,"parent-select":o.isSelect,"node-special":n.judgeSpecialNode(t),"node-rt":!n.judgeIconShow(t)&&t.hasSection}]),onClick:e=>n.selectNode(t),onContextmenu:Object(i["withModifiers"])(e=>n.rightEvent(e,t),["right","stop","prevent"]),id:t.uuid,lev:o.level,style:Object(i["normalizeStyle"])({"padding-left":n.nodeLeftCmp})},[t&&t.children.length?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",xu)),t.children.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:1,class:Object(i["normalizeClass"])({"tree-node-open":t.isOpenChild,"tree-node-close":!t.isOpenChild}),onClick:Object(i["withModifiers"])(e=>n.toggleOpen(t),["stop"])},null,10,Tu)):Object(i["createCommentVNode"])("",!0),n.judgeShowCheckbox(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:2,onClick:Object(i["withModifiers"])(e=>n.toggleVisible(t),["stop"]),class:Object(i["normalizeClass"])(["tree-node-checkbox",{"ico-tree-checkedbox":"Y"==t.isChecked,"ico-tree-checkhalf":"P"==t.isChecked}])},null,10,Mu)):Object(i["createCommentVNode"])("",!0),n.judgeIconShow(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:3,class:Object(i["normalizeClass"])(n.transformPmiType(t,o.isPmi))},null,2)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:t.rename||t.name},Object(i["toDisplayString"])(t.rename||t.name),9,ku),!n.judgeIconShow(t)&&t.hasSection?(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:4,class:Object(i["normalizeClass"])(["node-switch",{"en-switch":"en"==e.$i18n.locale}]),modelValue:t.sectionOpen,"onUpdate:modelValue":e=>t.sectionOpen=e,title:t.sectionOpen?e.$t("pcCoutShow"):e.$t("pcCoutHide"),onChange:e=>n.switchChange(e,t)},null,8,["class","modelValue","onUpdate:modelValue","title","onChange"])):Object(i["createCommentVNode"])("",!0)],46,ju)):Object(i["createCommentVNode"])("",!0),t.children.length&&t.isOpenChild&&n.judgeExplodeShowNode(t)?(Object(i["openBlock"])(),Object(i["createBlock"])(s,{key:Math.random(),treeData:t,isSelect:t.isHighlight,level:o.level+1,isPmi:"PMI"==t.type,isCap:"views"==t.type||"captures"==t.type},null,8,["treeData","isSelect","level","isPmi","isCap"])):Object(i["createCommentVNode"])("",!0)],64));return m.memo=d,m},t,0),128)}Object(i["popScopeId"])();var Du={name:"",props:["treeData","defaulOpen","level","isPmi","isCap","isSelect"],components:{xdSwitch:ar},setup(e,t){const o=Object(i["reactive"])({}),{proxy:n}=Object(i["getCurrentInstance"])(),a=Object(l["useStore"])();n.$eventBus.on("SelectNodeChildSub",({node:e,flag:t})=>{u(e,t)}),Object(i["onMounted"])(()=>{e.treeData.children&&e.treeData.children.map((t,o)=>{t.parent||(t.parent=e.treeData),e.defaulOpen&&(t.isRendered=!0),je(t)?t.isChecked=gt.getPMIObjectOrSomeChildVisibleStatus(t):t.isChecked=gt.getObjectOrSomeChildVisibleStatus(t),e.treeData.isHighlight&&!je(t)&&(t.isHighlight=!0),gt._viewer.isEmptyNode(t)&&e.treeData.remove(t),c(t)})});var r=Object(i["computed"])(t=>20*e.level+"px");const c=e=>{if(!ye(e)||e.renameRender)return;const t=nd_viewCtrl.structAttrList||[];if(e.renameRender=!0,t.length<=0)return;let o=gt._viewer.getObjectProByName(e.uuid,t);o.length>0&&(e.rename=e.name+" / "+o.join(" / "))},s=e=>{e.isRendered=!0,e.isOpenChild=!e.isOpenChild,jt.sendCenter(1),jt.sendCenter(5)},d=e=>{if(je(e))return g(e),jt.sendCenter(1),void jt.sendCenter(5);"P"==e.isChecked||"Y"==e.isChecked?e.isChecked="N":e.isChecked="Y",ce(e),se(e,e.isChecked),gt.showObject(e,"Y"==e.isChecked),gt.render(),n.$forceUpdate(),jt.sendCenter(1),jt.sendCenter(5)},m=e=>{let t=a.state.modelStore._highLightNode.indexOf(e.uuid);if(t>-1)return t>-1},u=(t,o)=>{const i=(e.treeData.children||[]).find(e=>e.uuid==t.uuid);i&&a.state.canUseProxyEmit&&(a.commit("setCanUseProxyEmit",!1),o==i.isHighlight&&(p(i),n.$eventBus.emit("VolumnChange",{area:null,volume:null,modelUnit:null,type:"delBody"})))},p=(t,o)=>{if("views"!=t.type&&"captures"!=t.type){if(e.isCap)b(t);else if(je(t))h(t);else if(a.state.isInCtrl||t.isHighlight||a.state.isInShift||gt.clearSelection(),!a.state.isInShift||!t.isHighlight||o){"explode"==a.state.menuStore.menuChoose&&n.$eventBus.emit("structSelectSub"),t.isHighlight=!t.isHighlight,t.isHighlight&&n.$eventBus.emit("countSelectTreeNode",t),window.structflag=!0;var i=t.isHighlight?"select":"deselect";nd_viewCtrl&&nd_viewCtrl.selectChangeEvent&&nd_viewCtrl.selectChangeEvent(i),t.isHighlight?(he(t),gt.selectObject(t),!o&&a.state.isInShift&&v(t)):(pe(t),gt.deselectObject(t)),ge(t,t.isHighlight),gt.render(),n.$eventBus.emit("selectChange"),jt.sendCenter(1),jt.sendCenter(5)}}else t.isOpenChild=!0},h=e=>{e.isHighlight=!e.isHighlight,e.isHighlight?(Se(e),gt._viewer.selectPMIObject(e,!1)):(Ce(e),gt._viewer.deselectPMIObject(e,!1)),gt.render(),jt.sendCenter(1),jt.sendCenter(5)},g=e=>{"P"==e.isChecked||"Y"==e.isChecked?e.isChecked="N":e.isChecked="Y",fe(e),gt._viewer.setPMIObjectVisible(e,"Y"==e.isChecked,!1),gt.render()},v=e=>{if(!a.state.isInShift)return void a.commit("setPreShiftNode",{});if(!a.state.preShiftNode.uuid)return void a.commit("setPreShiftNode",e);const t=a.state.preShiftNode;if(e.parent.uuid!=t.parent.uuid)return void a.commit("setPreShiftNode",e);const o=e.parent;let i=-1,n=o.children.length,r=[];o.children.forEach((o,a)=>{o.uuid!=e.uuid&&o.uuid!=t.uuid||(i<0?i=a:n=a),i>-1&&a>i&&a<n&&!o.isHighlight&&r.push(o)}),window.structShift=!0,r.map(e=>{p(e,"noShift")}),setTimeout(()=>{window.structShift=!1,a.commit("setPreShiftNode",{})},100)},b=e=>{gt._viewer.setCaptureView(e,!!e.sectionOpen)},w=(e,t)=>{if(!t)return e.type;const o=["Dimension","Datum","Note","Other","Roughness","GeomTol","Object3D","PMI"];return o.includes(e.type)?e.type:"Other"},S=e=>{const t=["views","captures","view","capture"];return!t.includes(e.type)},C=e=>{const t=["view","capture"];return!t.includes(e.type)},O=e=>{const t=["view","capture","views","captures"];return t.includes(e.type)},f=e=>{const t=["views","captures","PMI"];return!(t.includes(e.type)&&"explode"==a.state.menuStore.menuChoose)},y=(e,t)=>{t.isHighlight||p(t),ye(t)&&n.$eventBus.emit("rigthClickEvent",{clientX:e.clientX,clientY:e.clientY,innerHeight:e.view.innerHeight,innerWidth:e.view.innerWidth,structData:t,fromStruct:!0,showPop:!0})},j=(e,t)=>{t.sectionOpen=e,b(t),jt.sendCenter(5)},x=Object(i["toRefs"])(o);return{...x,nodeLeftCmp:r,toggleOpen:s,toggleVisible:d,checkIsHighLight:m,selectNode:p,rightEvent:y,judgeShowCheckbox:S,judgeIconShow:C,transformPmiType:w,judgeSpecialNode:O,judgeExplodeShowNode:f,switchChange:j}}};o("1619");const Bu=_t()(Du,[["render",Eu],["__scopeId","data-v-04e5d70c"]]);var Au=Bu,Nu={name:"",components:{card:ua,treeNode:Au,struSelect:yu},setup(){const e=Object(i["reactive"])({modelTreeData:{},searchMode:!1,keyWord:"",hasData:!0,searchData:[],structFlash:!1,scrollTop:0,structWidth:null,structHeight:null,activeTab:1,hasPmiStruct:!1,inExplodeMode:!1,searchType:0}),t=Object(l["useStore"])(),{menuStore:o}=t.state,{proxy:n,appContext:a}=Object(i["getCurrentInstance"])(),r=Object(i["ref"])(null),c=Object(i["ref"])(null);Object(i["nextTick"])(()=>{a.config.globalProperties.$structureTree=n}),Object(i["watch"])(()=>t.state.menuStore.structMenu,o=>{jt.judgeCanWatch()&&(o?(t.commit("setPreShiftNode",{}),jt.judgeCanWatch()&&(e.keyWord="",e.searchMode&&u()),s(),e.structWidth=c.value.cardRef.clientWidth,e.structHeight=c.value.cardRef.clientHeight,jt.sendCenter(7),"explode"==t.state.menuStore.menuChoose?e.inExplodeMode=!0:e.inExplodeMode=!1):(window.structChangeTag=!1,e.activeTab=1))}),Object(i["watch"])(()=>e.searchMode,()=>{jt.judgeCanWatch()&&t.commit("setPreShiftNode",{})}),Object(i["watch"])(()=>e.searchType,t=>{e.keyWord&&p()}),n.$eventBus.on("clearTreeHighlight",e=>{w(e)}),n.$eventBus.on("loadAndInitSub",()=>{b(),k()}),n.$eventBus.on("VolumnChange",e=>{if(e&&(e.modelUnit||e.volumeAreaInfo||"delBody"==e.type)&&jt.judgeCanWatch()&&(window.structChangeTag=!0,t.state.menuStore.structMenu||t.state.menuStore.structEasyMenu)){if(window.structflag)return void(window.structflag=!1);if(window.structShift)return;s(),jt.sendCenter(1),jt.sendCenter(3),jt.sendCenter(5)}}),n.$eventBus.on("structAllShow",()=>{v(e.modelTreeData,"Y")}),n.$eventBus.on("nodeShowChange",()=>{jt.judgeCanWatch()&&(s(),jt.sendCenter(1),jt.sendCenter(5))}),n.$eventBus.on("clearSelectionSub",()=>{jt.judgeCanWatch()&&(t.commit("setPreShiftNode",{}),t.state.menuStore.structMenu&&(s(),jt.sendCenter(1),jt.sendCenter(5)))}),n.$eventBus.on("clearSelPMISub",t=>{Oe(e.modelTreeData)}),n.$eventBus.on("deselPMISub",e=>{d()}),n.$eventBus.on("selPMISub",e=>{d()}),n.$eventBus.on("SelectNodeSub",e=>{h(e)}),Object(i["onMounted"])(()=>{}),Object(i["onUnmounted"])(()=>{});const s=()=>{e.modelTreeData.isChecked=gt.getObjectOrSomeChildVisibleStatus(e.modelTreeData);let t=gt.getSelectedNewObjects();if(e.modelTreeData.isHighlight=!1,ve(e.modelTreeData,!1),t&&t.length>0){let e=t.length;t.map((t,o)=>{t.isHighlight||(t.isHighlight=!0,ge(t,!0),he(t),o>=e-1&&(be(t),m(t)))})}n.$forceUpdate()},d=()=>{const t=gt._viewer.getPMINDSBodySelectList()||[];Oe(e.modelTreeData),setTimeout(()=>{t.map(e=>{Se(e)}),n.$forceUpdate(),jt.sendCenter(1),jt.sendCenter(5)})},m=e=>{setTimeout(()=>{const t=document.getElementById("structCard"),o=e&&document.getElementById(e.uuid);if(!o||!t)return;const i=t.offsetHeight,n=o.offsetTop,a=o.getBoundingClientRect().y;(i-n<15||a<0)&&o.scrollIntoView({behavior:"smooth",block:"center",inline:"end"})},200)},u=()=>{e.keyWord="",p(),w()},p=()=>{w(),pe(e.modelTreeData),ge(e.modelTreeData,!1),""==e.keyWord?(e.searchMode=!1,e.searchData=[]):(0==e.searchType?e.searchData=ee(e.keyWord,"name",e.modelTreeData):1==e.searchType?e.searchData=te(e.modelTreeData,e.keyWord,1):2==e.searchType&&(e.searchData=te(e.modelTreeData,e.keyWord,2)),e.searchData.map(e=>{e.isChecked=gt.getObjectOrSomeChildVisibleStatus(e)}),e.searchMode=!0),jt.sendCenter(5),jt.sendCenter(10)},h=e=>{"explode"==t.state.menuStore.menuChoose&&n.$eventBus.emit("structSelectSub"),e.isHighlight=!e.isHighlight,e.isHighlight&&n.$eventBus.emit("countSelectTreeNode",e);var o=e.isHighlight?"select":"deselect";nd_viewCtrl&&nd_viewCtrl.selectChangeEvent&&nd_viewCtrl.selectChangeEvent(o),window.structflag=!0,e.isHighlight?(he(e),gt.selectObject(e)):(pe(e),gt.deselectObject(e)),ge(e,e.isHighlight),gt.render(),n.$eventBus.emit("selectChange"),jt.sendCenter(1),jt.sendCenter(5)},g=(e,o)=>{t.state.isInCtrl||e.isHighlight||t.state.isInShift||gt.clearSelection(),t.state.isInShift&&e.isHighlight&&!o||("explode"==t.state.menuStore.menuChoose&&n.$eventBus.emit("structSelectSub"),e.isHighlight=!e.isHighlight,window.structflag=!0,e.isHighlight?(he(e),gt.selectObject(e),!o&&t.state.isInShift&&O(e)):(pe(e),gt.deselectObject(e)),ge(e,e.isHighlight),gt.render(),n.$eventBus.emit("selectChange"),jt.sendCenter(5),jt.sendCenter(10))},v=(e,t)=>{"P"==e.isChecked||"Y"==e.isChecked?e.isChecked="N":e.isChecked="Y",t&&(e.isChecked=t),ce(e),se(e,e.isChecked),gt.showObject(e,"Y"==e.isChecked),gt.render(),jt.sendCenter(1),jt.sendCenter(5),jt.sendCenter(10)},b=()=>{e.searchMode||(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo?e.modelTreeData=gt.getModelTotalTree(!0)||{}:e.modelTreeData=gt.getModelTotalTree()||{}),E(e.modelTreeData),S(e.modelTreeData),e.modelTreeData&&Object.keys(e.modelTreeData).length>0?e.modelTreeData.isOpenChild=!0:e.hasData=!1,e.modelTreeData.isChecked=gt.getObjectOrSomeChildVisibleStatus(e.modelTreeData),e.modelTreeData.isRendered=!0,e.modelTreeData.level=1},w=e=>{t.commit("modelStore/setHighLightNode",[]),e||gt.clearSelection()},S=e=>{e.isRendered&&(e.isHighlight=!1),e.children&&e.children.map(e=>{e.children&&e.isRendered&&C(e)})},C=e=>(ye(e)&&(e&&(e.isChecked=gt.getObjectOrSomeChildVisibleStatus(e)),e.isHighlight=!1),je(e)&&(e.isChecked=gt._viewer.isPMIObjectOrSomeChildHidden(e),e.isHighlight=gt._viewer.isPMIObjectSelect(e)),e.children.map(t=>{t.parent=e,t.children&&C(t)}),e),O=o=>{if(!t.state.isInShift)return void t.commit("setPreShiftNode",{});if(!t.state.preShiftNode.uuid)return void t.commit("setPreShiftNode",o);const i=t.state.preShiftNode;let n=-1,a=e.searchData.length,r=[];e.searchData.some((e,t)=>{if(e.uuid!=o.uuid&&e.uuid!=i.uuid||(n<0?n=t:a=t),n>-1&&t>n&&t<a&&!e.isHighlight&&r.push(e),t>a)return!0}),window.structShift=!0,r.map(e=>{g(e,"noShift")}),setTimeout(()=>{window.structShift=!1,t.commit("setPreShiftNode",{})},100)},f=(e,t)=>{t.isHighlight||h(t),n.$eventBus.emit("rigthClickEvent",{clientX:e.clientX,clientY:e.clientY,innerHeight:e.view.innerHeight,innerWidth:e.view.innerWidth,structData:t,fromStruct:!0,showPop:!0})},y=t=>{t&&"{}"!=JSON.stringify(t)&&(xe(t,e.modelTreeData),n.$forceUpdate())},j=t=>{t&&"[]"!=JSON.stringify(t)&&(Te(t,e.searchData),n.$forceUpdate())},x=()=>{const e=t.state.menuStore;"struct"==e.menuChoose&&t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setStructMenu",!1)},T=()=>{e.modelTreeData.isOpenChild=!e.modelTreeData.isOpenChild,jt.sendCenter(1),jt.sendCenter(5)},M=o=>{e.activeTab=o,t.commit("setPreShiftNode",{})},k=()=>{nd_viewCtrl.setStructWidth&&c.value.setCardWidth(nd_viewCtrl.setStructWidth)},E=e=>{const t=nd_viewCtrl.structAttrList||[];if(t.length<=0)return;let o=gt._viewer.getObjectProByName(e.uuid,t);o.length>0&&(e.rename=e.name+" / "+o.join(" / "))},D=t=>{e.scrollTop=t.target.scrollTop,jt.sendCenter(7)},B=t=>{e.scrollTop=t,Object(i["nextTick"])(()=>{c.value.setTreeScroll(t)})},A=e=>{c.value.cardRef.style.width=e.structWidth||null,c.value.cardRef.style.height=e.structHeight||null},N=t=>{e.structWidth=t.cardWidth,e.structHeight=t.cardHeight,jt.sendCenter(7)},I=Object(i["toRefs"])(e);return{...I,close:x,exitSearch:u,goToSearch:p,store:t,menuStore:o,toggleOpenChild:T,toggleVisible:v,selectNode:h,selectSearchNode:g,rightEvent:f,coverTreeData:y,coverSearchData:j,getTreeScroll:D,setTreeScroll:B,setTreeSize:A,structSizeDrag:N,scrollRef:r,structCardRef:c,switchTab:M}}};o("5b49");const Iu=_t()(Nu,[["render",hu],["__scopeId","data-v-54878bf0"]]);var Vu=Iu,_u=o("2748"),Pu=o.n(_u),Lu=o("3261"),$u=o.n(Lu);Object(i["pushScopeId"])("data-v-79e7ff29");const zu=["title"],Ru={class:"ndp3-win-content ndp3-shuxin-lavel"},Fu=["title"],Hu={class:"ndp3-text-box-wth"},Uu=["title"],Wu=["title"],Gu=["title"],Yu=["title"],Zu=["title"],Xu={class:"ndp3-text-box-wth"},Ku=["title"],Ju=["title"],qu=["title"],Qu=["title"],ep=["title"],tp=["title"],op=["title"],ip=["title"],np=["title"],ap=["title"],rp={key:0},cp=["title"],sp=["title"],lp=["title"],dp={key:0,class:"action-icon"},mp=["onClick"],up=["onClick"],pp={class:"hover-con two"},hp={key:0,class:"no-attr-word"},gp={key:1,class:"add-attribute"},vp=Object(i["createElementVNode"])("img",{src:Pu.a},null,-1),bp={class:"ndp3-win-content edit-box"},wp={class:"select-con"},Sp=Object(i["createElementVNode"])("a",{class:"red_a"},"*",-1),Cp=Object(i["createElementVNode"])("em",null,null,-1),Op={key:0,class:"select-subBox test-1"},fp=["onClick"],yp=["title"],jp=Object(i["createElementVNode"])("a",{class:"red_a"},"*",-1),xp=["placeholder"],Tp=["title"],Mp=Object(i["createElementVNode"])("a",null," ",-1),kp=["placeholder"],Ep={class:"dialog-warn-title"},Dp=Object(i["createElementVNode"])("img",{src:$u.a,alt:""},null,-1),Bp={class:"dialog-warn-content"};function Ap(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card"),s=Object(i["resolveComponent"])("xd-dialog");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",null,[Object(i["createVNode"])(c,{class:"ndp3-my-page ndp3-attr-page ndp3-win-frame",onClose:n.close},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",{class:"ndp3-attr_title",title:0==e.attrMode?e.attrTitle:e.attrTitleSelf},Object(i["toDisplayString"])(0==e.attrMode?e.attrTitle:e.attrTitleSelf)+" ",9,zu)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Ru,[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["ndp3-tab-box",{"one-attr-tab":n.store.state.modelStore.hideItem.userdyAttr}])},[Object(i["createElementVNode"])("span",{onClick:t[0]||(t[0]=e=>n.chooseAttrType(0)),class:Object(i["normalizeClass"])({select:0==e.attrMode})},Object(i["toDisplayString"])(e.$t("normalAttr")),3),1==n.store.state.modelStore.hideItem.userdyAttr||e.hideSelfAttr?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",{key:0,onClick:t[1]||(t[1]=e=>n.chooseAttrType(1)),class:Object(i["normalizeClass"])({select:1==e.attrMode})},Object(i["toDisplayString"])(e.$t("selfAttr")),3))],2),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"ndp3-tab-content test-1",onScrollPassive:t[2]||(t[2]=(...e)=>n.getAttrScroll&&n.getAttrScroll(...e)),ref:"scrollRef_1",style:{height:"calc(100% - 55px)",padding:"0"}},[Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("material")},Object(i["toDisplayString"])(e.$t("material")),9,Fu),Object(i["createElementVNode"])("span",Hu,Object(i["toDisplayString"])(e.modelAttrData.material||"/"),1)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("faceFace")},Object(i["toDisplayString"])(e.$t("faceFace")),9,Uu),Object(i["createElementVNode"])("span",{title:e.modelAttrData.area,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.area||"/"),9,Wu)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("volumn")},Object(i["toDisplayString"])(e.$t("volumn")),9,Gu),Object(i["createElementVNode"])("span",{title:e.modelAttrData.volume,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.volume||"/"),9,Yu)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("weight")},Object(i["toDisplayString"])(e.$t("weight")),9,Zu),Object(i["createElementVNode"])("span",Xu,Object(i["toDisplayString"])(e.modelAttrData.weight||"/"),1)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("boxVolume")},Object(i["toDisplayString"])(e.$t("boxVolume")),9,Ku),Object(i["createElementVNode"])("span",{title:e.modelAttrData.boundingboxVolume,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.boundingboxVolume||"/"),9,Ju)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("meterBox")},Object(i["toDisplayString"])(e.$t("meterBox")),9,qu),Object(i["createElementVNode"])("span",{title:e.modelAttrData.boundingbox,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.boundingbox||"/"),9,Qu)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("objNum")},Object(i["toDisplayString"])(e.$t("objNum")),9,ep),Object(i["createElementVNode"])("span",{title:e.modelAttrData.bodyNum,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.bodyNum||"/"),9,tp)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("partNum")},Object(i["toDisplayString"])(e.$t("partNum")),9,op),Object(i["createElementVNode"])("span",{title:e.modelAttrData.meshNum,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.meshNum||"/"),9,ip)]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("pmiNum")},Object(i["toDisplayString"])(e.$t("pmiNum")),9,np),Object(i["createElementVNode"])("span",{title:e.modelAttrData.pmiNum,class:"ndp3-text-box-wth"},Object(i["toDisplayString"])(e.modelAttrData.pmiNum||"/"),9,ap)])])],544),[[i["vShow"],0==e.attrMode]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"ndp3-tab-content test-1",onScrollPassive:t[4]||(t[4]=(...e)=>n.getAttrScroll2&&n.getAttrScroll2(...e)),ref:"scrollRef_2"},[Object(i["createElementVNode"])("ul",null,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.modelAttrData_self,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:o},[e.modelAttrData_self.length>1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",rp,[Object(i["createElementVNode"])("div",{title:t.name},Object(i["toDisplayString"])(t.name),9,cp)])):Object(i["createCommentVNode"])("",!0),(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(t.value,(o,a)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:a},[Object(i["createElementVNode"])("p",{title:o.key},Object(i["toDisplayString"])(o.key),9,sp),Object(i["createElementVNode"])("span",{title:o.value},Object(i["toDisplayString"])(r.judgeTxtNone(o.value)||"/"),9,lp),n.store.state.modelStore._allowEditAttr?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",dp,[Object(i["createElementVNode"])("i",{class:"icon-delete",onClick:e=>r.delAttrClick(o,t.name)},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["hover-con two",{"en-del":"en"==e.$i18n.locale}])},Object(i["toDisplayString"])(e.$t("del")),3)],8,mp),Object(i["createElementVNode"])("i",{class:"icon-edit",onClick:e=>r.modifyAttr(o,t.name)},[Object(i["createElementVNode"])("div",pp,Object(i["toDisplayString"])(e.$t("pcEdit")),1)],8,up)])):Object(i["createCommentVNode"])("",!0)]))),128))],64))),128))]),e.modelAttrData_self.length<1?(Object(i["openBlock"])(),Object(i["createElementBlock"])("p",hp,Object(i["toDisplayString"])(e.$t("noAttr")),1)):Object(i["createCommentVNode"])("",!0),0!=e.modelAttrData_self.length&&n.store.state.modelStore._allowEditAttr?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",gp,[Object(i["createElementVNode"])("a",{onClick:t[3]||(t[3]=e=>r.modifyAttr(!1))},[vp,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("addAttr2")),1)])])):Object(i["createCommentVNode"])("",!0)],544),[[i["vShow"],1==e.attrMode]])])]),_:1},8,["onClose"]),Object(i["createVNode"])(s,{title:e.dialogTitle,visible:e.showAddDialog,onClose:r.closeDialog,onCancel:r.closeDialog,onSure:r.sureDialog,class:"ndp3-shuxing-tc-box"},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",bp,[Object(i["createElementVNode"])("ul",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("li",wp,[Object(i["createElementVNode"])("p",{class:Object(i["normalizeClass"])([{"en-txt":"en"==e.$i18n.locale},"position-rel"])},[Sp,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("attrType"))+":",1)],2),Object(i["createElementVNode"])("div",{class:"select-drop-down",onMouseenter:t[5]||(t[5]=t=>e.isOpenList=!0)},[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])({"no-choose-txt":!e.modifyAttrData.type})},Object(i["toDisplayString"])(e.modifyAttrData.type||e.$t("chooseMateria2")),3),Cp,e.isOpenList?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Op,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(e.modifyAttrData.alltype,(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:o,onClick:o=>{e.modifyAttrData.type=t,e.isOpenList=!1}},Object(i["toDisplayString"])(t),9,fp))),128))])):Object(i["createCommentVNode"])("",!0)],32)],512),[[i["vShow"],e.modifyAttrData.isNew&&e.modifyAttrData.alltype.length>1]]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{class:"position-rel",title:e.$t("attrName")},[jp,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("attrName"))+":",1)],8,yp),Object(i["createElementVNode"])("span",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{class:"input-common",type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>e.modifyAttrData.key=t),placeholder:e.$t("pcInpAttrName2"),maxlength:"50"},null,8,xp),[[i["vModelText"],e.modifyAttrData.key]])])]),Object(i["createElementVNode"])("li",null,[Object(i["createElementVNode"])("p",{title:e.$t("attrValue")},[Mp,Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("attrValue"))+":",1)],8,Tp),Object(i["createElementVNode"])("span",null,[Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{class:"input-common",type:"text","onUpdate:modelValue":t[7]||(t[7]=t=>e.modifyAttrData.value=t),placeholder:e.$t("pcInpAttrValue"),maxlength:"50"},null,8,kp),[[i["vModelText"],e.modifyAttrData.value]])])])])])]),_:1},8,["title","visible","onClose","onCancel","onSure"]),Object(i["createVNode"])(s,{visible:e.showDelDialog,onClose:t[8]||(t[8]=t=>e.showDelDialog=!1),onCancel:t[9]||(t[9]=t=>e.showDelDialog=!1),onSure:r.sureDelDialog,sureTxt:e.$t("del")},{default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Ep,[Dp,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("sureToDelAttr")),1)]),Object(i["createElementVNode"])("div",Bp,Object(i["toDisplayString"])(e.$t("pcDelAttrTips")),1)]),_:1},8,["visible","onSure","sureTxt"])])}Object(i["popScopeId"])();var Np={name:"",props:["isSelectMode"],components:{card:ua,xdDialog:qa},setup(){const e=Object(i["reactive"])({attrMode:0,modelAttrData:{},modelAttrData_self:[],delAttr:null,modelInitData:null,modelSelfData:null,isShowAttrModify:!1,modifyAttrData:{},oldAttr:{},isOpenList:!1,showAddDialog:!1,dialogTitle:"",showDelDialog:!1,attrTitle:"",attrTitleSelf:"",hideSelfAttr:!1,attrScroll_1:0,attrScroll_2:0,scrollTimer:null}),t=Object(l["useStore"])(),{menuStore:o,modelStore:n}=t.state,{proxy:a,appContext:r}=Object(i["getCurrentInstance"])(),c=Object(i["ref"])(null),s=Object(i["ref"])(null);Object(i["watch"])(()=>o.attrMenu,()=>{}),Object(i["nextTick"])(()=>{r.config.globalProperties.$attrCom=a}),a.$eventBus.on("VolumnChange",e=>{if(jt.judgeCanWatch())if("attrAll"==o.menuChoose3||"attrSingle"==o.menuChoose3){if("attrAll"==o.menuChoose3)return;const e=gt.getSelectedObjects();1==e.length?(d(o.menuChoose3,e),t.commit("menuStore/setAttrMenu",!0)):t.commit("menuStore/setAttrMenu",!1),jt.sendCenter(3)}else t.commit("menuStore/setAttrMenu",!1),setTimeout(()=>{jt.sendCenter(3)})}),a.$eventBus.on("rendAttrDataSub",e=>{jt.judgeCanWatch()&&(d(e.type,e.node),t.commit("menuStore/setAttrMenu",!0),jt.sendCenter(3))}),a.$eventBus.on("loadBack",()=>{e.hideSelfAttr=nd_viewCtrl.hideAttr}),Object(i["watch"])(()=>o.menuChoose3,e=>{jt.judgeCanWatch()&&"attrAll"==e&&d(o.menuChoose3)}),Object(i["onMounted"])(()=>{});const d=(t,o,i)=>{if("attrAll"==t){const t=gt.getModelTree();return e.attrMode=0,a.getModelAttr(t),e.attrTitle=t.name,void(e.attrTitleSelf=t.name)}o[0]&&(a.getModelAttr(o[0]),e.attrTitle=o[0].name,o[0].children.length>0||"Body"!=o.type?e.attrTitleSelf=o[0].name:o[0].parent?e.attrTitleSelf=o[0].parent.name:e.attrTitleSelf=o[0].name)},m=()=>{"meter"!=o.menuChoose&&"attrSingle"!=o.menuChoose3&&t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setAttrMenu",!1),e.delAttr=null,e.modelInitData=null,e.modelSelfData=null,e.modifyAttrData={}},u=t=>{e.attrMode=t,jt.sendCenter(4)},p=(t,o)=>{e.attrScroll_1=t,e.attrScroll_2=o,Object(i["nextTick"])(()=>{c.value.scrollTop=t,s.value.scrollTop=o})},h=t=>{clearTimeout(e.scrollTimer),e.scrollTimer=setTimeout(()=>{e.attrScroll_1=t.target.scrollTop,jt.sendCenter(7)},100)},g=t=>{clearTimeout(e.scrollTimer),e.scrollTimer=setTimeout(()=>{e.attrScroll_2=t.target.scrollTop,jt.sendCenter(7)},100)},v=Object(i["toRefs"])(e);return{...v,store:t,close:m,modelStore:n,chooseAttrType:u,getAttrScroll:h,getAttrScroll2:g,setAttrScroll:p,scrollRef_1:c,scrollRef_2:s}},methods:{judgeTxtNone(e){return e&&"string"==typeof e&&""==e.replace(/^[ ]*$/g,"")?"":e},chooseEditAttrType(e){this.modifyAttrData.type=e},getModelAttr(e,t){var o=this;!t&&(this.attrMode=0),this.modelInitData=e;let i=e.children.length>0||"Body"!=e.type?e:e.parent;0!=e.children.length||e.parent||(i=e);const n=(e,t)=>{e=e||{},t=t||{},o.formatAttr(t,i.name),nd_viewCtrl.attrfromBusi||o.store.state.modelStore._allowEditAttr?gt.getObjectProperty(i,a):gt.getObjectProperty(i,(e,t)=>{o.formatAttr_self(e)})},a=(t,i)=>{if(nd_viewCtrl.getEditProperty){const i=gt.getfileguid(e.uuid);nd_viewCtrl.getEditProperty(i,(function(e){e&&e.PropertyCategories.length>0?o.formatAttr_self(o.handEnterToNeed(e)):o.formatAttr_self(t)}))}else o.formatAttr_self(t)};gt.getObjectProperty(e,n)},formatAttr(e,t){this.modelAttrData={},this.modelAttrData.name=t;const o=X(e.unit);if(e.area&&"Infinity"!=e.area&&(this.modelAttrData.area=q(e.area)+" "+o+"²"),e.volume&&"Infinity"!=e.volume&&(this.modelAttrData.volume=q(e.volume)+" "+o+"³"),e.boundingboxVolume&&"Infinity"!=e.boundingboxVolume&&(this.modelAttrData.boundingboxVolume=q(e.boundingboxVolume)+" "+o+"³"),e.boundingbox&&e.boundingbox.x&&e.boundingbox.y&&e.boundingbox.z&&"Infinity"!=e.boundingbox.x&&"Infinity"!=e.boundingbox.y&&"Infinity"!=e.boundingbox.z){var i=q(e.boundingbox.x)+"×",n=q(e.boundingbox.y)+"×",a=q(e.boundingbox.z)+" "+o;this.modelAttrData.boundingbox=i+n+a}e.bodyNum&&"Infinity"!=e.bodyNum&&Number(e.bodyNum)>0&&(this.modelAttrData.bodyNum=e.bodyNum+this.$t("gUnit")),e.meshNum&&"Infinity"!=e.meshNum&&Number(e.meshNum)>0&&(this.modelAttrData.meshNum=e.meshNum+this.$t("gUnit")),e.pmiNum&&"Infinity"!=e.pmiNum&&Number(e.pmiNum)>0&&(this.modelAttrData.pmiNum=e.pmiNum+this.$t("gUnit"))},formatAttr_self(e){this.modelAttrData_self=[],this.modelSelfData=e,e=e?e.PropertyCategories:[];var t=this;e&&e.map(e=>{for(var o in e){var i=[];if(e[o]&&e[o].length>0)for(var n=0;n<e[o].length;)i.push({key:e[o][n],value:e[o][n+1]}),n+=2;t.modelAttrData_self.push({name:o,value:i})}}),setTimeout(()=>{jt.sendCenter(4)},100)},getProperty(e,t){var o=this,i=ndViewer.ObjectIdTouuid(e),n=ndViewer.getBodyNodeFromUuid(i);gt.getObjectProperty(n,(e,i)=>{o.formatAttr(i,n.name),Be(n,(function(e){gt.getObjectProperty(e,(i,n)=>{o.formatAttr_self(i);var a={partname:e.name,data:o.modelAttrData_self};t&&t(o.modelAttrData,a)})}))})},delAttrClick(e,t){this.delAttr={type:t,data:e},this.showDelDialog=!0},sureDelDialog(){this.syncDelAttr(),this.showDelDialog=!1},syncDelAttr(){const e=this.modelSelfData.PropertyCategories,t=this;e.map(e=>{for(var o in e)if(o==t.delAttr.type)for(var i=0;i<e[o].length;i+=2)if(e[o][i]==t.delAttr.data.key)return void e[o].splice(i,2)});const o=gt.getfileguid(this.modelInitData.uuid),i=this.handleAttrData(this.modelSelfData);nd_viewCtrl.eidtProperty(i,o,(function(e){e?t.getModelAttr(t.modelInitData,"noFresh"):t.store.commit("showMsgTip",{txt:this.$t("serveErrorTips")})}))},resetDialog(){this.modifyAttrData={key:"",value:""}},closeDialog(){this.showAddDialog=!1},sureDialog(){if(this.modifyAttrData.alltype.length<2&&(this.modifyAttrData.type=this.modifyAttrData.alltype[0]),this.dialogTitle==this.$t("addAttr")&&!this.modifyAttrData.type)return void this.$eventBus.emit("MsgTipEvent",this.$t("pcInpAttrType"));if(!this.modifyAttrData.key||""==this.modifyAttrData.key.replace(/^[ ]*$/g,""))return void this.$eventBus.emit("MsgTipEvent",this.$t("pcInpAttrName2"));const e=this.syncModifyAttr(this.modifyAttrData);e||(this.showAddDialog=!1)},modifyAttr(e,t){const o=[];this.modelAttrData_self.map(e=>{o.push(e.name)});const i=!1===e;this.modifyAttrData={type:t,alltype:o,key:e.key,value:e.value,isNew:i},this.oldAttr=JSON.parse(JSON.stringify(e)),e&&(this.showAddDialog=!0,this.dialogTitle=this.$t("editAttr")),e||(this.showAddDialog=!0,this.dialogTitle=this.$t("addAttr"))},closeModify(e){this.isShowAttrModify=!1,e&&this.syncModifyAttr(e)},syncModifyAttr(e){const t=this.modelSelfData.PropertyCategories,o=this;let i=!1;if(e.isNew?t.map(t=>{for(var n in t){if(n==o.modifyAttrData.type)for(var a=0;a<t[n].length;a+=2)if(t[n][a]==e.key){i=!0;break}if(i){o.$eventBus.emit("MsgTipEvent",this.$t("pcInpAttrName3"));break}n==e.type&&(t[n].push(e.key),t[n].push(e.value))}}):t.map(t=>{for(var n in t){if(n==o.modifyAttrData.type)for(var a=0;a<t[n].length;a+=2)if(t[n][a]==e.key&&e.key!=o.oldAttr.key){i=!0;break}if(i){o.$eventBus.emit("MsgTipEvent",this.$t("pcInpAttrName3"));break}if(n==o.modifyAttrData.type&&!i)for(a=0;a<t[n].length;a+=2)if(t[n][a]==o.oldAttr.key)return t[n][a]=e.key,void(t[n][a+1]=e.value)}}),i)return!0;const n=gt.getfileguid(this.modelInitData.uuid),a=this.handleAttrData();nd_viewCtrl.eidtProperty(a,n,(function(e){e?o.getModelAttr(o.modelInitData,"noFresh"):o.store.commit("showMsgTip",{txt:this.$t("serveErrorTips")})}))},handleAttrData(){const e=this.modelSelfData.PropertyCategories;let t={name:this.attrTitleSelf,PropertyCategories:[]};function o(e){return e.filter((e,t)=>t%2==0)}function i(e){return e.filter((e,t)=>t%2!=0)}return e.map((e,n)=>{for(let a in e)t.PropertyCategories.push({id:n,typename:a,keys:o(e[a]),values:i(e[a])})}),t},handEnterToNeed(e){if(!e)return{};let t={name:e.name,PropertyCategories:[]};return e.PropertyCategories.map(e=>{let o=e.typename,i=[],n={};e.keys.map((t,o)=>{i.push(t),i.push(e.values[o]||"")}),n[o]=i,t.PropertyCategories.push(n)}),t}}};o("260f");const Ip=_t()(Np,[["render",Ap],["__scopeId","data-v-79e7ff29"]]);var Vp=Ip,_p=o("d36d"),Pp=o.n(_p),Lp=o("82fc"),$p=o.n(Lp),zp=o("dd36"),Rp=o.n(zp),Fp=o("9718"),Hp=o.n(Fp),Up=o("1635"),Wp=o.n(Up),Gp=o("433e"),Yp=o.n(Gp),Zp=o("f04e"),Xp=o.n(Zp),Kp=o("0410"),Jp=o.n(Kp),qp=o("0e31"),Qp=o.n(qp);Object(i["pushScopeId"])("data-v-212d6bf5");const eh={class:"ts-tcCnt dialog_header"},th={class:"ndp3-Annotation2"},oh={class:"textarea-box-SaveAnnotation"},ih={class:"textarea-img-wrap"},nh={class:"textarea-img-box"},ah=["src"],rh=["placeholder"],ch={id:"textarea-num"},sh={class:"tool-box tool-box-SaveAnnotation"},lh={class:"tool-title"},dh={class:"tool-list"},mh={class:"pen-box"},uh={class:"pathline-img"},ph={class:"arrow-img"},hh={class:"straight-img"},gh={class:"circle-img"},vh={class:"rect-img"},bh={class:"line-box"},wh={class:"line-spread-box"},Sh={class:"line1-img"},Ch={class:"line2-img"},Oh={class:"line3-img"},fh={class:"color-box"},yh={class:"color-spread-box"},jh={class:"orange-img"},xh={class:"blue-img"},Th={class:"green-img"},Mh={class:"grey-img"},kh={class:"add-img-box"},Eh=["accept"],Dh=Object(i["createElementVNode"])("div",{class:"line"},null,-1),Bh=["idx"],Ah={key:1,class:"ndp3-save-btn no"},Nh={class:"anno-box-cont"},Ih={class:"img-box"},Vh=["src"],_h=["title","innerHTML"],Ph={class:"ndp3-file-markSub",id:"calcAudioShow"},Lh={class:"anno-oper-content"},$h={class:"ndp3-file-markSub-main audio"},zh={class:"main voice-box"},Rh={class:"ndp3-voice-block",style:{cursor:"pointer"}},Fh={src:Jp.a,width:"12"},Hh={src:Qp.a,width:"12"},Uh={class:"ndp3-voice-number"},Wh=Object(i["createTextVNode"])(">"),Gh={class:"reading"};function Yh(e,t,n,a,r,c){const s=Object(i["resolveComponent"])("bigimg"),l=Object(i["resolveComponent"])("video-com"),d=Object(i["resolveComponent"])("confirm"),m=Object(i["resolveDirective"])("drag");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{style:{"z-index":"5"},onContextmenu:t[43]||(t[43]=Object(i["withModifiers"])(()=>{},["right","stop","prevent"]))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("section",{class:"sign-out",onClick:t[0]||(t[0]=(...e)=>c.cancelSave&&c.cancelSave(...e)),onMouseenter:t[1]||(t[1]=(...e)=>c.tagMouseEnter&&c.tagMouseEnter(...e))},Object(i["toDisplayString"])(e.$t("tagExit2")),545),[[i["vShow"],e.tcStep0]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"ndp3-tc-box_2 ts-tc comment-tc",id:"tcStep1",onMouseenter:t[34]||(t[34]=(...e)=>c.tagMouseEnter&&c.tagMouseEnter(...e))},[Object(i["createElementVNode"])("div",eh,[Object(i["createElementVNode"])("div",th,[Object(i["createElementVNode"])("div",oh,[Object(i["createElementVNode"])("div",{class:"textarea-wrap",onMousedown:t[8]||(t[8]=(...e)=>c.inputMouse&&c.inputMouse(...e))},[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",ih,[Object(i["createElementVNode"])("div",nh,[Object(i["createElementVNode"])("img",{class:"textarea-img",src:e.imgSrc_add||o("0d85"),alt:"",onClick:t[2]||(t[2]=(...e)=>c.upimgClick&&c.upimgClick(...e))},null,8,ah),e.isVideo?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"textarea-img-video",src:Pp.a,alt:"",onClick:t[3]||(t[3]=(...e)=>c.upimgClick&&c.upimgClick(...e))})):Object(i["createCommentVNode"])("",!0)]),Object(i["createElementVNode"])("div",{class:"delete-img-btn",onClick:t[4]||(t[4]=(...e)=>c.onDelimg&&c.onDelimg(...e))},Object(i["toDisplayString"])(e.$t("tagDelImg")),1)],512),[[i["vShow"],e.tcTagImg]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("textarea",{id:"annoText",placeholder:e.$t("tagTips"),maxlength:"50",rows:"4","onUpdate:modelValue":t[5]||(t[5]=t=>e.annoText_add=t),onKeyup:t[6]||(t[6]=(...e)=>c.textChange&&c.textChange(...e)),onKeydown:t[7]||(t[7]=Object(i["withKeys"])((...e)=>c.textareaKeydown&&c.textareaKeydown(...e),["enter","native"]))},null,40,rh),[[i["vModelText"],e.annoText_add]]),Object(i["createElementVNode"])("div",ch,Object(i["toDisplayString"])(e.annoText_add.length)+"/50",1)],32)]),Object(i["createElementVNode"])("div",sh,[Object(i["createElementVNode"])("p",lh,Object(i["toDisplayString"])(e.$t("tagDraw")),1),Object(i["createElementVNode"])("div",dh,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",mh,[Object(i["createElementVNode"])("img",{src:$p.a,alt:"",onClick:t[9]||(t[9]=e=>c.setSpreadType("pen"))})],512),[[i["vShow"],"pen"!=e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:"pen-spread-box",onClick:t[16]||(t[16]=Object(i["withModifiers"])((...e)=>c.none&&c.none(...e),["stop"]))},[Object(i["createElementVNode"])("img",{src:$p.a,alt:"",onClick:t[10]||(t[10]=e=>c.setSpreadType(""))}),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",uh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["pathline",{active:"0"==e.selectIdx}]),onClick:t[11]||(t[11]=Object(i["withModifiers"])(e=>c.tagPenClick(0,"point"),["stop"]))},null,2)],512),[[i["vShow"],"sync"!=e.viewMode]]),Object(i["createElementVNode"])("div",ph,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["arrow",{active:"1"==e.selectIdx}]),onClick:t[12]||(t[12]=Object(i["withModifiers"])(e=>c.tagPenClick(1,"arrow"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",hh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["straight",{active:"2"==e.selectIdx}]),onClick:t[13]||(t[13]=Object(i["withModifiers"])(e=>c.tagPenClick(2,"line"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",gh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["circle",{active:"3"==e.selectIdx}]),onClick:t[14]||(t[14]=Object(i["withModifiers"])(e=>c.tagPenClick(3,"circle"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",vh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["rect",{active:"4"==e.selectIdx}]),onClick:t[15]||(t[15]=Object(i["withModifiers"])(e=>c.tagPenClick(4,"rect"),["stop"]))},null,2)])],512),[[i["vShow"],"pen"==e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",bh,[Object(i["createElementVNode"])("img",{src:Rp.a,alt:"",onClick:t[17]||(t[17]=e=>c.setSpreadType("line"))})],512),[[i["vShow"],"line"!=e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",wh,[Object(i["createElementVNode"])("img",{src:Rp.a,alt:"",onClick:t[18]||(t[18]=e=>c.setSpreadType(""))}),Object(i["createElementVNode"])("div",Sh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["line1",{active:2==e.strokeWidth}]),onClick:t[19]||(t[19]=Object(i["withModifiers"])(e=>c.tagLineClick(2),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",Ch,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["line2",{active:4==e.strokeWidth}]),onClick:t[20]||(t[20]=Object(i["withModifiers"])(e=>c.tagLineClick(4),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",Oh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["line3",{active:6==e.strokeWidth}]),onClick:t[21]||(t[21]=Object(i["withModifiers"])(e=>c.tagLineClick(6),["stop"]))},null,2)])],512),[[i["vShow"],"line"==e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",fh,[Object(i["createElementVNode"])("img",{src:Hp.a,alt:"",onClick:t[22]||(t[22]=e=>c.setSpreadType("color"))})],512),[[i["vShow"],"color"!=e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",yh,[Object(i["createElementVNode"])("img",{src:Hp.a,alt:"",onClick:t[23]||(t[23]=e=>c.setSpreadType(""))}),Object(i["createElementVNode"])("div",jh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["orange",{active:"rgb(255,99,2)"==e.strokeColor}]),onClick:t[24]||(t[24]=Object(i["withModifiers"])(e=>c.tagColorClick("rgb(255,99,2)"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",xh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["blue",{active:"rgb(34,131,249)"==e.strokeColor}]),onClick:t[25]||(t[25]=Object(i["withModifiers"])(e=>c.tagColorClick("rgb(34,131,249)"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",Th,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["green",{active:"rgb(29,231,96)"==e.strokeColor}]),onClick:t[26]||(t[26]=Object(i["withModifiers"])(e=>c.tagColorClick("rgb(29,231,96)"),["stop"]))},null,2)]),Object(i["createElementVNode"])("div",Mh,[Object(i["createElementVNode"])("a",{class:Object(i["normalizeClass"])(["grey",{active:"rgb(51,51,51)"==e.strokeColor}]),onClick:t[27]||(t[27]=Object(i["withModifiers"])(e=>c.tagColorClick("rgb(51,51,51)"),["stop"]))},null,2)])],512),[[i["vShow"],"color"==e.spreadType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",kh,[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])(["add-img",{active:e.activeImg}]),onClick:t[29]||(t[29]=(...e)=>c.upimgClick&&c.upimgClick(...e))},[Object(i["createElementVNode"])("input",{style:{display:"none"},type:"file",onChange:t[28]||(t[28]=(...e)=>c.onChange&&c.onChange(...e)),ref:"picSelectInput",class:"choosepic",accept:e.fileLimitType},null,40,Eh)],2)],512),[[i["vShow"],e.showImgTag]]),Dh,Object(i["createElementVNode"])("div",{class:"revoke-box",onClick:t[30]||(t[30]=(...e)=>c.revokeClick&&c.revokeClick(...e))},[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])(["revoke",{no:!e.revokeEnable}])},null,2)]),Object(i["createElementVNode"])("div",{class:"empty-box",onClick:t[31]||(t[31]=(...e)=>c.clearClick&&c.clearClick(...e))},[Object(i["createElementVNode"])("span",{class:Object(i["normalizeClass"])(["empty",{no:!e.emptyEnable}])},null,2)])])]),Object(i["createElementVNode"])("section",{class:"btn-box",idx:e.selectIdx},[Object(i["createElementVNode"])("button",{class:"cancel-btn",onClick:t[32]||(t[32]=(...e)=>c.cancelSaveClick&&c.cancelSaveClick(...e))},Object(i["toDisplayString"])(e.$t("tagCancle")),1),e.saveEnable?(Object(i["openBlock"])(),Object(i["createElementBlock"])("button",{key:0,class:"ndp3-save-btn",onClick:t[33]||(t[33]=(...e)=>c.sureSave&&c.sureSave(...e))},Object(i["toDisplayString"])(e.$t("tagSave")),1)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("button",Ah,Object(i["toDisplayString"])(e.$t("tagSave")),1))],8,Bh)])])],544),[[i["vShow"],e.tcStep1],[m]]),(Object(i["openBlock"])(),Object(i["createBlock"])(i["Teleport"],{to:e.teleportTo},[Object(i["createElementVNode"])("section",{class:Object(i["normalizeClass"])(["ndp3-Annotation-content",{"only-text":e.annoText_check&&!e.imgSrc_check,"anno-no-preview":!c.c_hasContent,"no-conent":!e.isEditType}]),id:"calcPicTextShow"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["anno-oper-content",{"anno-no-content":!c.c_hasContent}])},[c.checkBtnExit("#tag-can-del")&&"sync"!=e.viewMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"anno-oper-img anno-edit-ico",onClick:t[35]||(t[35]=(...e)=>c.editAnno&&c.editAnno(...e)),src:Wp.a,alt:""})):Object(i["createCommentVNode"])("",!0),c.checkBtnExit("#tag-can-edit")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:1,class:"anno-oper-img",onClick:t[36]||(t[36]=(...e)=>c.delAnno&&c.delAnno(...e)),src:Yp.a,alt:""})):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("img",{class:"anno-oper-img",onClick:t[37]||(t[37]=(...e)=>c.exitChecktag&&c.exitChecktag(...e)),src:Xp.a,alt:""})],2),[[i["vShow"],e.tcCheckTI&&"checkaudio"!=e.tcType]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Nh,[Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Ih,[Object(i["createElementVNode"])("img",{class:"Annotation-img",src:e.imgSrc_check,alt:"",onClick:t[38]||(t[38]=(...e)=>c.checkBigimg&&c.checkBigimg(...e))},null,8,Vh),e.isVideo?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"textarea-img-video",src:Pp.a,alt:"",onClick:t[39]||(t[39]=(...e)=>c.checkBigimg&&c.checkBigimg(...e))})):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],e.imgSrc_check]]),Object(i["createElementVNode"])("p",{class:Object(i["normalizeClass"])(["Annotation-desc",{mt8:e.imgSrc_check&&e.annoText_check}]),title:e.annoText_check,innerHTML:e.annoText_check},null,10,_h)],512),[[i["vShow"],e.tcCheckTI&&"checkaudio"!=e.tcType&&(e.imgSrc_check||c.judgeTxtEmpty(e.annoText_check))]])],2),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Ph,[Object(i["createElementVNode"])("div",Lh,[c.checkBtnExit("#tag-can-edit")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:"anno-oper-img",onClick:t[40]||(t[40]=(...e)=>c.delAnno&&c.delAnno(...e)),src:Yp.a,alt:""})):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("img",{class:"anno-oper-img",onClick:t[41]||(t[41]=(...e)=>c.exitChecktag&&c.exitChecktag(...e)),src:Xp.a,alt:""})]),Object(i["createElementVNode"])("div",$h,[Object(i["createElementVNode"])("div",zh,[Object(i["createElementVNode"])("div",{class:"voice",onClick:t[42]||(t[42]=(...e)=>c.audioClick&&c.audioClick(...e))},[Object(i["createElementVNode"])("label",Rh,[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Fh,null,512),[[i["vShow"],!e.audioPlaying]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Hh,null,512),[[i["vShow"],e.audioPlaying]]),Object(i["createElementVNode"])("span",Uh,Object(i["toDisplayString"])(e.audioTime)+' "',1)])])])])],512),[[i["vShow"],e.tcCheckTI&&"checkaudio"==e.tcType]])],8,["to"])),Object(i["withDirectives"])(Object(i["createVNode"])(s,{ref:"bigImg","img-src":e.imgSrc_check,onClose:c.closeBigimg},{default:Object(i["withCtx"])(()=>[Wh]),_:1},8,["img-src","onClose"]),[[i["vShow"],e.tcCheckBig]]),Object(i["withDirectives"])(Object(i["createVNode"])(l,{ref:"videoCom","img-src":e.imgSrc_check,onClose:c.closeVideoCom},null,8,["img-src","onClose"]),[[i["vShow"],e.tcCheckVideo]]),Object(i["createVNode"])(d,{ref:"msgBox"},null,512),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",Gh,[Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("uploadLoading")),1)],512),[[i["vShow"],e.reading]])],32)}Object(i["popScopeId"])();var Zh=o("04b3"),Xh=o.n(Zh);const Kh={class:"tag-my-dialog dialog",style:{}},Jh=Object(i["createElementVNode"])("div",{class:"dialog-cover"},null,-1),qh={class:"dialog-model",style:{width:"90%",height:"90%"}},Qh={class:"dialog-content"},eg={class:"big-viewer-title"},tg={class:"big-title"},og=["data-tip2"],ig=Object(i["createElementVNode"])("img",{src:Xh.a,alt:""},null,-1),ng=[ig],ag={class:"bigimg-content"},rg={class:"drag-div",id:"drag-div",ref:"dragImgRef2"},cg=["src"];function sg(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Kh,[Jh,Object(i["createElementVNode"])("div",qh,[Object(i["createElementVNode"])("div",Qh,[Object(i["createElementVNode"])("div",eg,[Object(i["createElementVNode"])("div",tg,Object(i["toDisplayString"])(e.$t("tagSeeBigImg")),1),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("tagSeeSmallImg"),onClick:t[0]||(t[0]=(...e)=>n.closeClick&&n.closeClick(...e)),style:{cursor:"pointer"}},ng,8,og)])]),Object(i["createElementVNode"])("div",ag,[Object(i["createElementVNode"])("div",rg,[Object(i["createElementVNode"])("img",{id:"bigImg",class:"big_img",style:Object(i["normalizeStyle"])([{cursor:"pointer"},{transform:"rotateY("+e.overturn+"deg) rotate("+e.rotate+"deg) scale("+e.scale+")"}]),src:o.imgSrc,ondragStart:"return false",alt:""},null,12,cg)],512)])])])}var lg={props:{imgSrc:{type:String,default:""}},setup(e){const{proxy:t}=Object(i["getCurrentInstance"])(),o=(Object(l["useStore"])(),Object(i["reactive"])({showBigModel:!1,rotate:0,overturn:0,scale:1})),n=Object(i["ref"])(null);Object(i["watch"])(()=>t.imgSrc,()=>{a()}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{o.rotate=0,o.overturn=0,o.scale=1,n.value&&n.value.removeAttribute("style"),r()};function r(){var e=new Image;e.src=t.imgSrc,e.onload=function(){n.value&&n.value.removeAttribute("style");var t=e.width,o=e.height,i=1,a=$("#bigImg").parent().width(),r=$("#bigImg").parent().height();$("#bigImg").css("cursor","default"),o>r||t>a?(i=Math.min(r/o,a/t),$("#bigImg").css("width",i*t)):$("#bigImg").css("width","auto"),o*i<r&&$("#bigImg").parent().css("top",(r-o*i)/2),$("#bigImg").css("opacity",1)}}const c=()=>{ctx.emit("closeSee")},s=e=>{o.rotate=o.rotate+e},d=()=>{180==o.overturn?o.overturn=0:o.overturn=180},m=e=>{e.wheelDelta>0?o.scale=o.scale+.05:o.scale=o.scale-.05,o.scale<1&&(o.scale=1),o.scale>5&&(o.scale=5)},u=()=>{o.showBigModel=!0,o.scale=1};function p(){t.$emit("close")}return{...Object(i["toRefs"])(o),closeClick:p,closeSee:c,rotateClick:s,rotateTurnClick:d,rollImg:m,resetModel:u,resetStyle:a,dragImgRef2:n}}};o("67c4");const dg=_t()(lg,[["render",sg]]);var mg=dg;const ug={class:"tag-my-dialog dialog",style:{}},pg=Object(i["createElementVNode"])("div",{class:"dialog-cover"},null,-1),hg={class:"dialog-content"},gg={class:"big-viewer-title"},vg={class:"big-title"},bg=["data-tip2"],wg=Object(i["createElementVNode"])("img",{src:Xh.a,alt:""},null,-1),Sg=[wg],Cg={style:{width:"100%",height:"100%",position:"absolute","z-index":"8",top:"0px",left:"0px"}},Og=["poster"],fg=["src"],yg=Object(i["createTextVNode"])(" Your browser does not support the video tag. "),jg=["poster"],xg=["src"],Tg=Object(i["createTextVNode"])(" Your browser does not support the video tag. ");function Mg(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ug,[pg,Object(i["createElementVNode"])("div",{class:"dialog-model",style:Object(i["normalizeStyle"])(e.styleStr)},[Object(i["createElementVNode"])("div",hg,[Object(i["createElementVNode"])("div",gg,[Object(i["createElementVNode"])("div",vg,Object(i["toDisplayString"])(e.$t("tagSeeVideo")),1),Object(i["createElementVNode"])("div",{"data-tip2":e.$t("tagSeeSmallImg"),onClick:t[0]||(t[0]=(...e)=>n.closeClick&&n.closeClick(...e)),style:{cursor:"pointer"}},Sg,8,bg)])]),Object(i["createElementVNode"])("div",{class:"video-content",style:Object(i["normalizeStyle"])(e.styleStr2)},[Object(i["createElementVNode"])("div",Cg,[0==e.videoCur&&e.videoSrc?(Object(i["openBlock"])(),Object(i["createElementBlock"])("video",{key:0,id:"curVi0",muted:"",preload:"Metadata","webkit-playsinline":"",playsinline:"","x5-video-player-poster":"h5","x5-video-player-fullscreen":"false","x5-video-orientation":"portraint",style:{width:"100%",height:"100%","object-fit":"contain"},controls:"",controlslist:"nodownload noremoteplayback noplaybackrate",disablePictureInPicture:"true",disableRemotePlayback:"true",autoplay:"",poster:e.videoPoster},[Object(i["createElementVNode"])("source",{src:e.videoSrc,type:"video/mp4"},null,8,fg),yg],8,Og)):Object(i["createCommentVNode"])("",!0),1==e.videoCur&&e.videoSrc?(Object(i["openBlock"])(),Object(i["createElementBlock"])("video",{key:1,id:"curVi1",muted:"",preload:"Metadata","webkit-playsinline":"",playsinline:"","x5-video-player-poster":"h5","x5-video-player-fullscreen":"false","x5-video-orientation":"portraint",style:{width:"100%",height:"100%","object-fit":"contain"},controls:"",controlslist:"nodownload noremoteplayback noplaybackrate",disablePictureInPicture:"true",disableRemotePlayback:"true",autoplay:"",poster:e.videoPoster},[Object(i["createElementVNode"])("source",{src:e.videoSrc,type:"video/mp4"},null,8,xg),Tg],8,jg)):Object(i["createCommentVNode"])("",!0)])],4)],4)])}var kg={props:{imgSrc:{type:String,default:""}},setup(e){const{proxy:t}=Object(i["getCurrentInstance"])(),o=(Object(l["useStore"])(),Object(i["reactive"])({videoNum:1,player:void 0,videoSrc:"",videoCur:0,videoPoster:"../../assets/img/pz.png",videoObj:null,styleStr:"padding-bottom: 10px;width:60%",styleStr2:"position: relative;height:500px"}));function n(){var e=Math.round(.6*document.querySelector("#vueMain").clientWidth*.618),t=document.querySelector("#vueMain").clientHeight-100,i=Math.max(e,t);o.styleStr2=`position: relative;height:${i-42}px;`}function a(){o.videoObj&&o.videoObj.pause(),o.videoCur=2}function r(){const e=document.getElementById("curVi0"),t=document.getElementById("curVi1");e&&e.pause(),t&&t.pause()}function c(e){n(),o.videoCur=0==o.videoCur?1:0,o.videoPoster=e.imgUrl,o.videoSrc=e.videoURL;var t=document.getElementById("curVi"+o.videoCur);o.videoObj=t,o.videoObj&&(o.videoObj.pause(),o.videoObj.muted=!1)}function s(e){o.videoPoster=e.imgUrl,o.videoSrc=e.videoURL;var t=document.getElementById("curVi"+o.videoCur);o.videoObj=t,o.videoObj&&(o.videoObj.play(),o.videoObj.muted=!1),2==window.parent.pageWindow&&document.addEventListener("WeixinJSBridgeReady",(function(){nd_viewCtrl.logInfo&&nd_viewCtrl.logInfo("WeixinJSBridgeReady"),t&&t.play()}),!1)}function d(){this.videoObj&&this.videoObj.pause(),t.$emit("close")}return Object(i["onMounted"])(()=>{n()}),Object(i["watch"])(()=>t.imgSrc,()=>{}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{}),{...Object(i["toRefs"])(o),closeClick:d,playVideo:s,preVideoSource:c,closeVideoTc:a,pauseVideo:r}}};o("526e");const Eg=_t()(kg,[["render",Mg]]);var Dg=Eg,Bg=o("c7ac"),Ag=o.n(Bg);Object(i["pushScopeId"])("data-v-7d346965");const Ng={key:0,class:"mask-box",style:{display:"flex"}},Ig={class:"dialog-box"},Vg={class:"warn-box"},_g=Object(i["createElementVNode"])("img",{class:"warn-img",src:Ag.a,alt:""},null,-1),Pg={key:0,class:"dialog-tips"},Lg={class:"btn-box"};function $g(e,t,o,n,a,r){return e.isShow?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ng,[Object(i["createElementVNode"])("div",Ig,[Object(i["createElementVNode"])("img",{class:"close-img",src:Xh.a,alt:"",onClick:t[0]||(t[0]=(...e)=>n.closeClick&&n.closeClick(...e))}),Object(i["createElementVNode"])("div",Vg,[_g,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.msg),1)]),e.tip?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Pg,Object(i["toDisplayString"])(e.tip),1)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("section",Lg,[Object(i["withDirectives"])(Object(i["createElementVNode"])("button",{class:"cancel-btn",onClick:t[1]||(t[1]=(...e)=>n.cancelClick&&n.cancelClick(...e))},Object(i["toDisplayString"])(e.$t("cancel")),513),[[i["vShow"],e.showCancel]]),Object(i["createElementVNode"])("button",{class:"ndp3-save-btn",onClick:t[2]||(t[2]=(...e)=>n.sureClick&&n.sureClick(...e))},Object(i["toDisplayString"])(e.submitMsg||(e.showCancel?e.$t("save"):e.$t("sure"))),1)])])])):Object(i["createCommentVNode"])("",!0)}Object(i["popScopeId"])();var zg={setup(){const{proxy:e,appContext:t}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{t.config.globalProperties.$msgBox=e});const o=Object(i["reactive"])({msg:"",tip:"",isShow:!1,showCancel:!0,submitMsg:""});var n=()=>{},a=()=>{},r=()=>{};function c(e,t,o,i){this.msg=e,this.isShow=!0,this.showCancel=!0,n=t,a=o,r=i||o}function s(e,t){this.msg=e,this.isShow=!0,this.showCancel=!1,n=t,r=t}function l({msg:e="",tip:t="",submitMsg:o=""},i,c,s){this.msg=e,this.tip=t,this.isShow=!0,this.showCancel=!0,this.submitMsg=o,n=i,a=c,r=s||c}function d(){this.isShow=!1,n&&n()}function m(){this.submitMsg="",this.tip="",this.isShow=!1,a&&a()}function u(){this.submitMsg="",this.tip="",this.isShow=!1,r&&r()}return{...Object(i["toRefs"])(o),showMsg:c,showTip:s,showMsgAndTip:l,cancelClick:m,sureClick:d,closeClick:u}}};o("e3e9");const Rg=_t()(zg,[["render",$g],["__scopeId","data-v-7d346965"]]);var Fg=Rg;const Hg=["","rgb(242,242,242)","rgb(196,196,196)","rgb(136,198,255)","img/scene/bg4.png","img/scene/bg5.png","img/scene/bg6.png"],Ug={A:["img/scene/1/右.jpg","img/scene/1/左.jpg","img/scene/1/上.jpg","img/scene/1/下.jpg","img/scene/1/前.jpg","img/scene/1/后.jpg"],B:["img/scene/2/右.jpg","img/scene/2/左.jpg","img/scene/2/上.jpg","img/scene/2/下.jpg","img/scene/2/前.jpg","img/scene/2/后.jpg"],C:["img/scene/3/右.jpg","img/scene/3/左.jpg","img/scene/3/上.jpg","img/scene/3/下.jpg","img/scene/3/前.jpg","img/scene/3/后.jpg"],D:["img/scene/4/右.jpg","img/scene/4/左.jpg","img/scene/4/上.jpg","img/scene/4/下.jpg","img/scene/4/前.jpg","img/scene/4/后.jpg"],E:["img/scene/5/右.jpg","img/scene/5/左.jpg","img/scene/5/上.jpg","img/scene/5/下.jpg","img/scene/5/前.jpg","img/scene/5/后.jpg"]},Wg=[{key:"material",valueCN:"材料",valueEN:"Material"},{key:"area",valueCN:"表面积",valueEN:"Superficial Area"},{key:"volume",valueCN:"体积",valueEN:"Volume"},{key:"weight",valueCN:"重量",valueEN:"Weight"},{key:"boundingboxVolume",valueCN:"包围盒体积",valueEN:"Box volume"},{key:"boundingbox",valueCN:"包围盒",valueEN:"Bounding Box"},{key:"bodyNum",valueCN:"实体数",valueEN:"Entities"},{key:"meshNum",valueCN:"零件数",valueEN:"Parts"},{key:"pmiNum",valueCN:"PMI数量",valueEN:"PMI"}],Gg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASUAAAD5CAYAAABh7COXAAAAAXNSR0IArs4c6QAAEYZJREFUeF7tnc26GzcORG+2fv9XtbcznxzLkeVuNUD8sMg+2czCTQI4VajbUq4z/3z//v1/X/wDAQhAQITAP4SSiBK0AQEI/CRAKGEECEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOEBCEBAigChJCUHzUAAAoQSHoAABKQIEEpSctAMBCBAKOGB7Qh8+/btj5l+/Pix3Yw7D0QoLajuY+kei/b83wVHSG35lcfRxYRSKu7yywilcsT5Bd7fBB4V7rZ4Rww+kb4bn3zX9d1IKPWxTqnkWcbdFtEz+zvs3VikmEn0EkJJVJiztkYWc8WPeiNz8qa0mJlP2iWUFtMxa1nV3hyuvheKyqQ2b3Senc8TSoupmxVKr2PPWtiKWXhbWszQB+0SSgtp2LnElUHVOYdC+C5kMYlWCSUJGWxNzFjm6u+jOmeqDFqbgjxlIUAoWSiJPNO5wLM+BlXOSCiJGPmiDUJpDZ1+/qKk4j/Vi549d3W/ihqt1hOhtIhi2ctZOXbV4mcwqOqtkufd7iaUFlE8YyFnjFoZAq9/zcbKp7KfGXx3rEkoLaLqyNJZz3QjqAoG67xV9bs57lqPUFpE2ejCWc9346gKiE/zVtXsZrdrPUJpAWU9gWJdOM+dnYis/Xt7ep23qoa3J54/JkAoLeAMa4BEls1aoxtXZKbuXqmXQ4BQyuFYeos1MLIW2FqvdOiTy7NmnNE7NW0ECCUbp6lPWUOiamGt9bshVc3bPQf1/iRAKIk7whMIXUvq6akTb9f8nTPdsRahJK66NQBmLaS1vxmYZzGZMetONQklcTWtS6+ygNZ+Z2BXYTRj9pVqEkrCankWXHXhPDN0SqHKq5OBai1CabIyr39V4r0V60KvtGDWmTplWYlfJ5dZtQilZvJHS3m2FNYFXnWprPN1SrQqy05G1bUIpWrCX1+X/9mRo0XwLOwui+SZuUG23yV24dvJLFKLUIrQOznrWa7oW9KjhV2XxsOxQMbTK3fl3cnwUy1CKUmJ0QWKhtKdFmSUcZLEhFQ1yF/3E0oDoDOXg1AaEMDwkXjs1vipO/2QiNM6voFQMpLNDKLXknyfZBTg4rEqfTK6I6h8FAmlhO+FfMj/ezr6lrTz90mjTJ/nFEPqofenXwGJzrzLeULpTclOM0dDiZ/A9jXs1NXe1b7/ksLD4P1ZQolQivhnybOKAcUPmP+sRChNCqXoWxIf3fLyUCGkCCVC6dTRHQb9ZEBP/QojP+vf+fsPjwZZ0VihZVZv3ffwptT0pmQ1nXUhrPdZDGWpmVnP0pPKMxY2Gb3ele8RO0LpgEqGEUdNZq09ev/7uNZ6fFz8l5yHlyessvT01FR9llBKCqUMU3kM313viSmjruoyjPTl0ezsfpj+SYZQCoZSpqE8Bs+o66lHKF1H1ghP3kD/5koonXjNarCMcHi20FnTWusIT+bM16u+5hMevvDkTcnk8m5TKdd7B8YSXVvIqicseVO6dtOvJ6ymynr9Vq5HKJlt4/4ynFAilMzuUg2JLBN75iOUzLYhlHyoDp/mO6Xgd0rdb0qEUoLri6/wBH6WnsUjtV5PKH3A3WWurjqvo3pq8qbk20krWwLpmCuhlBBKUXNZTZz1VvYc2VP3eSY6q2+913vawxSWhJLb4V0Gs9bJNrG17iu47B7coogf8DCFJaE0ZGerySIG66hxNry1dvZb2pAYCxyCZ1wkPr5dMKw2WfX9Vot86iMSuNb6uzxn1ROm54oTSoTSbwKPhXosy3OxWBxfVFoDibfOz1wJpUVCiYDwBcSMpwmlHOqEkoGj1WwjwVF5t2E0HkkkgJY5MAklA0er2byv5VX3Gkba9pHnR9AZA1r1HPnhNWOeWTUJJQN5q9mqQgkTX4v0qtEMXlUeuZ58vycIJaOmVtN5FqLiTuM42z1GKO0jKaFk1DI7QKz3ed++jONs89gZR88PhwwYVj27+8qYrfsOQslI3Go6a4hk32ccY6vHlH63yqonoXRtQULpmtHPJ6ymyw6lFU3c8XtOKwaS1RtGS277GKHkkNYaTJYgybzLMULpo+8zWTiMNGRhV1X7qF9LP89znX2NsFU4Qyg5VLCa78p41ntW+sna8d2OKjdrX1e+cFhx60cJJYe8VvNdhUnWPY7Wyx8llK4RE0rXjB5PEEo2TqnfK1lDqdLEjx4y7rfMEq1jqfEuY7Sm1Rae3rp6svau+hyh5FTGasJPBsy4w9n2H49n/U6PdY6rN8dPs3hqvN7TFQCe/rp6inhD4Syh5FTBasIzA1rPRxbZs+Sji+KZY3QWb40Zb0vWHkc5O+25xeOEklPGqAmt50cX+Wqco/rehfHMMPr2MlpjtN4Vt6M/9/ToZTzSzy5nCCWnklYjRt+Usk38qW9PLev8R1itdSI1nnWttZzyn34Mvrqno5+rHlb5c0JpQCnL0qwUSta3MsvcVzivljOjRlcweXq9mvuK253+nFAaUPvKjNFAsoaEtfWrfi31LHdY+slgY6ljmcl6z9lzViYEko80oeTj9fPpKzNmLF6Wka96tXwH47nDgvN9tuz7O96UPD1naWlhu8MzhNKAileGjIZSlomv+rz63mfkvBXnc8aOGtaePM95+s7S09Pfys8SSoPqeb847jaxp97R29Lo+UGcJccqw8DKp7KHEmgClxJKgyKcmTL6lpTxXYh1YQZHX+pYVShYGVfVX0oEZ7OEkhPY8/GqUIqa2Losg2MvdyzK82hgD+OK+suJ4GyYUHICe338yJzRN6WoiT0LExh9iaNRlmdDehhX9bCEAINNEkqD4B7HrKHUZWJPncDYSx2tCAUr54raS8EfbJZQGgR3FErRt6TR75OsSxIYddmj2cHgYZ1de1kRnI0TSk5gnz6+RUNp1MSeRQmMu+TRUaZ8dJsnN6EUZP8aCLNC6TkC4fS3mIRS0OATjhNKQehXoeQJiswF8tQNIpA+nsn07HvEIwDZdaUhJzdHKAWBPpc/+pY0+n2Stf27hlRmOHgYZta1arzLc4RSgpIPs0ZDqdvEngVLQDT1iiy2HmZZNaeCm1ScUEoAfxZKK5nY02sCsrYrMsPByiizZhsooUKEUqEYVhNXf3Tzjujp23v3jOezQsLKJaveDFYKNQmlQhV2MbF1jkKUoaszQsLDIKNeaODFDxNKhQJajbyaia1zFaJ1XZ3B1zNzRj3XgJs9TCgVCeoxsdrHNw8S75yeu7OezQgJ65wZtbLmXvUeQqlIOauJj8qvbOzI3EVStP2fbq78w6WK/ci9hNIINcOZzOUkpAzAPzwS5efRMlorNukepwmlIh09Rva0sLLpq5hY+EW4efqO1LHMcYdnCKUClT0mjpZfeQm6OEUZWfuM1ol6YZfzhFKBklYTZ5d+LMWn3y7Prpd9XyW3SGBY+4rUyGa58n2EUoF6VhMXlP7rypUXJZPjKAdPD6M1OnywUg1CqUAtj5ELyp9eufLSRJmOzu6pO1qj0wMr1CKUklXymDi5tPu6lZfIy3l0Vmud0fvdot3gAKGULLLVxMllw9etvlRX3Efmu7rzFfrI/WHRNr2AUEoW1mPk5NKp162+ZO86jMzj0XLk/lTBNrqMUEoW02Pk5NKl1628dKP/RtKj5cp8So0zcDmhNADt7IjHxIllp1x1hyW06nkHFp0mI5QSaVtNnFhS4qodl9Kj5Y7zzzQWoZRI32PkxLJyV+2wpB4td5hXyUSEUqIaHiMnlpW/asWl9Wi54nzKpiGUktTxmDip5LLXqC+xR0v1WVY0CaGUpJrHyEklt7hGdamteqr2v7I5CKUk9awmTiq37TUKS+7RUqHf3cxAKCUp6jFyUslbXDNj6T1azuhvd+EJpQSFPSZOKHfrK6pDwKNldS93FZpQSlDeY+SEclzxi0BFKHi0rKiPuF9fhFKCCzxGTijHFScEMkLCo2VGPcT8mwChFHSFx8TBUhx3EhgJDY+eI/c7R7jl44RSUHaPiYOlOB4kcBUiHi2v7gq2euvjhFJQfo+Rg6U4nkjgKFQ8WhJKiWK8XUUoBdh6TBwow1FBAoRSnSiEUoAtoRSAt/BRAqlWPEIpwJdQCsBb+CihVCseoRTgSygF4C18lFCqFY9QGuRLIA2C2+AYoVQrIqE0yJdQGgS3+DECqV5AQmmQMaE0CG7xY4RSvYCEUoAxwRSAt+hRQqleOEIpiTEBlQRS+BoCqUccQqmIMyFVBHbitYRSD3xCqYfzFyHVBLqwDKFUCPflakKph/PvKoRTM/DEcoRSIswPVxFKPZxPqxBSkwUwlieQjKASHiOUEiBmXUFAZZHMv4dQymd6diOh1MfaXYmQciMrO0AolaH962JCqY91uBIhFUY4fAGhNIzOfZBQciPTOUBI9WhBIPVwflYhlHp5l1UjoMrQfhFKdWyPbiaUenn/rvYMkSrDE1J5wlZplNfhXjcRSpP0PAuNqgUgpMaErtJjrJt7nCKUJulsDYmqpbDWn4RHpmwVf5kBBRshlCaJMhIKVQsy0sskbO1lq5i3D7JQQUJpoljRMKhamGhfE5Gml65inN7oRhcSShPFzF7+qgXK7nMiclfpKp6uJm74MKE0UfTqZa9aquq+J0ryR+kqfirzqfZBKE1UpnO5qxbsMcPj7s5ZuiSrYtbV/6p1CKXJys1a5sqFmzVTppSVfDL73PEuQmmyqioLXLmEKjN6pa5k4u3lTs8TSpPVVlzY6mVUnPndBtUMJttOujyhJCCPwpLOWkKF2Y8sMIuHgB2nt0AoTZfga8qXxKpLpxBSqmwErNrSAqHUgvlzkY5FXHXROtjw0U1gCV5aIJQE9KhavFWD6JMkVaxea+7ITcDm5hYIJTOq2gczlu1uy5TBjO+Tan09cjuhNEKt4MzIgt0thK6wjzDko9sV1f4/J5T6mR9WtCwUIeQTy8KUUPIx7XiaUOqgbKhxtkAEkQGe4RFrQMHbALP4EUKpGLDn+uffI/Oc4dkxAvwQGOPWcYpQ6qBMDXkC/EDQkYhQ0tGCTiAAga+vL0IJG0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAAUIJD0AAAlIECCUpOWgGAhAglPAABCAgRYBQkpKDZiAAgf8DxG/jYOZJtzYAAAAASUVORK5CYII=";var Yg={components:{bigimg:mg,videoCom:Dg,confirm:Fg},setup(){const{proxy:e,appContext:t}=Object(i["getCurrentInstance"])(),o=Object(l["useStore"])(),{menuStore:n}=o.state,a=Object(i["reactive"])({interfaceOpenFlag:!1,teleportTo:"body",tagNum:0,tagNum_list:0,svgNum_list:[],ctrlDraw:{tagIdx:0,_openDraw:!1,setPen:function(){}},annoText_add:"",annoText_check:"",imgSrc_check:"",imgSrc_add:"",curUuid:"",viewMode:"",tcChecktag:!1,tcStep0:!1,tcStep1:!1,tcTagImg:!1,tcCheckTI:!1,tcCheckBig:!1,tcCheckVideo:!1,selectIdx:"-1",spreadType:"",colors:["rgb(255,99,2)","rgb(34,131,249)","rgb(29,231,96)","rgb(51,51,51)"],strokeColor:"rgb(255,99,2)",strokeWidth:2,activeImg:!1,saveEnable:!1,emptyEnable:!1,revokeEnable:!1,setTime0:null,audioPlaying:!1,audioTime:0,audioObj:null,isEditType:!1,curTagDrawInfo:null,editHasRecord:!1,showImgTag:!0,tagSaveFlag:!1,selectAnnoTimer:null,isVideo:!1,videoData:{},videoType:"",reading:!1,fileLimitType:"image/gif,image/jpeg,image/jpg,image/png,image/bmp,video/*,video/x-matroska"}),r=Object(i["ref"])(null);var c=Object(i["computed"])(()=>o.state.nowTag);return Object(i["nextTick"])(()=>{t.config.globalProperties.$tag=e}),Object(i["watch"])(()=>o.state.modelStore.delTagUuid,t=>{("sync"!=nd_viewCtrl.viewMode||nd_viewCtrl.rtmSDK.isRtmOperate||nd_viewCtrl.rtmSDK.isRtmFreeOper)&&a.curUuid&&a.curUuid==t&&e.exitChecktag()}),Object(i["watch"])(()=>a.annoText_add,t=>{t&&e.onCheckSaveEable()}),Object(i["watch"])(()=>a.curUuid,()=>{o.commit("tagStore/setTagCurUuid",a.curUuid)}),{...Object(i["toRefs"])(a),store:o,menuStore:n,tagList:c,picSelectInput:r}},computed:{c_hasContent(){return!!this.judgeTxtEmpty(this.annoText_check)||this.imgSrc_check}},mounted(){var e=document.getElementById("viewer");e&&(this.ctrlDraw=new st(e,this),window.ctrlDraw=this.ctrlDraw),this.viewMode=nd_viewCtrl.viewMode,setTimeout(()=>{this.teleportTo="#vueMain"}),this.$eventBus.on("loadAndInitSub",()=>{this.initListenEvent(),clearTimeout(this.selectAnnoTimer),this.store.state.modelStore.annotationTagId&&(this.selectAnnoTimer=setTimeout(()=>{gt.selectAnnotation(this.store.state.modelStore.annotationTagId),this.store.commit("modelStore/setAnnotationTagId",""),this.store.commit("menuStore/setTagListMenu",!0)},600)),nd_viewCtrl&&nd_viewCtrl.limitTagVideo&&(this.fileLimitType="image/gif,image/jpeg,image/jpg,image/png,image/bmp")}),this.$eventBus.on("addtagEvent",e=>{this.tcChecktag&&("out"==e?this.exitChecktag(e):this.exitChecktag(!0)),"sync"==nd_viewCtrl.viewMode&&(this.showImgTag=!1),this.startDrawTag(),this.store.commit("menuStore/setTagListMenu",!1)}),this.$eventBus.on("closeTagSeeSub",e=>{this.tcChecktag&&this.exitChecktag(!0)}),this.$eventBus.on("editTagSub",e=>{this.curUuid=e.tagId||e.state.uuid,this.curTagInfo=e,gt.setAnnotationsVisibility(0),setTimeout(()=>{gt._viewer.setAnnotationsVisibilityByUuid(1,this.curUuid)},100),this.store.commit("menuStore/setShowOneMenu",!1),this.editAnno()}),this.$eventBus.on("delTagSub",e=>{this.delAnno("fromSub",e)})},methods:{initListenEvent(){gt._viewer?this.listenered||(this.listenered=!0,this.addViewListen(),this.addAnnoSelectListen()):setTimeout(()=>{this.initListenEvent()},500)},addAnnoSelectListen(){var e=this;gt._viewer.addEventListener("annotationSelectedEvent",t=>{if(e.tcChecktag&&!e.interfaceOpenFlag)return void(e.interfaceOpenFlag=!1);this.audioObj&&this.audioObj.pause(),gt.clearSelection(),e.tcType="",e.tcAnnotext=!1;const o=document.getElementById("tagCancelButton"),i=document.getElementById("tagSaveButton"),n=document.getElementById("tagTooltips");o&&(o.style.display="none"),i&&(i.style.display="none"),n&&(n.style.display="none"),e.$eventBus.emit("openTagPointSub"),e.$eventBus.emit("rigthClickEvent",{showPop:!1}),e.$eventBus.emit("closeShowSetting"),e.$eventBus.emit("CloseExpbox"),setTimeout(()=>{NDSWebViewer.SETTING.enableArrowKeyOp=!0,NDSWebViewer.SETTING.enableSelect=!1},200),e.store.commit("menuStore/setShowAllMenu",!1),gt._viewer.setOperatorByID("OpOrbit"),gt.setMeasureOpType(""),e.store.commit("menuStore/setGrithMenu",!1),e.store.commit("menuStore/setMenuChoose","tag"),e.store.commit("menuStore/setMenuChoose2",""),e.store.commit("menuStore/setMenuChoose3",""),e.store.commit("menuStore/setStructMenu",!1),e.store.commit("menuStore/setAttrMenu",!1),e.store.commit("menuStore/setCoutMenu",!1),e.store.commit("menuStore/setUnitMenu",!1),e.store.commit("menuStore/setPmiMenu",!1),e.interfaceOpenFlag=!1,e.curUuid=t.userData.uuid;let a=e.store.state.modelStore.nowTag,r=a.filter((function(t){return t.state.uuid==e.curUuid}))[0];r.state.locationObject&&(r.state.locationObject=null),r=JSON.parse(JSON.stringify(r)),r.list||(r.list=[]),e.curTagInfo=r,this.tcCheckTI=!0,this.isVideo=!1,this.imgSrc_check="",this.annoText_check="",this.tcCheckBig=!1,"AudioAnno"==r.state.type?e.checkTag_Audio(r,r.imgURL):e.checkTag_base(r),this.tcStep0=!1,this.tcStep1=!1,this.imgSrc_add=!1,this.annoText_add=!1,this.tcTagImg=!1,NDSWebViewer.SETTING.enableSelect=!1,this.chectTag_Normal(r),nd_viewCtrl&&nd_viewCtrl.beSelectTag&&nd_viewCtrl.beSelectTag(r.state.uuid)})},addViewListen(){var e=this,t=document.querySelector(".canvas2DBIM"),o=function(t){e.tcChecktag&&e.ctrlDraw.resizeTags()},i=function(){t.removeEventListener("mousemove",o),t.removeEventListener("mouseup",i)};t.addEventListener("mousedown",(function(){t.addEventListener("mousemove",o,!1),t.addEventListener("mouseup",i,!1)}),!1),t.removeEventListener("DOMMouseScroll",o),t.removeEventListener("mousewheel",o),t.addEventListener("mousewheel",o,!1),t.addEventListener("DOMMouseScroll",o,!1),document.addEventListener("keydown",(function(e){switch(e.keyCode){case 37:case 39:setTimeout(()=>{o()},200);break}}))},textareaKeydown(){let e=window.event||arguments[0];if("Enter"==e.key||"Enter"==e.code||13==e.keyCode)return e.returnValue=!1,!1},textChange(){setTimeout(()=>{this.onCheckSaveEable()},0)},onCheckSaveEable(){var e=!1;this.annoText_add.trim().length>0&&(e=!0);var t=!1;this.ctrlDraw.drawInfo&&this.ctrlDraw.drawInfo.list&&this.ctrlDraw.drawInfo.list.length>0&&(this.ctrlDraw.drawInfo.list.length>1||"text"!=this.ctrlDraw.drawInfo.list[0].type)&&(e=!0,t=!0),this.imgSrc_add&&(e=!0),this.saveEnable=e,this.revokeEnable=t,this.emptyEnable=t},onShowstep1(){this.tcStep0=!1,window._this=this,this.selectIdx="-1",this.spreadType="",this.setTime0&&clearTimeout(this.setTime0),this.isVideo=!1,this.tcStep1=!0,NDSWebViewer.SETTING.enableArrowKeyOp=!1,this.ctrlDraw._openDraw=!1,this.setTime0=setTimeout(()=>{$("#annoText").focus(),"sync"==this.viewMode?this.tagPenClick(1,"arrow"):this.tagPenClick(0,"point"),this.ctrlDraw._openDraw=!1},800)},setSpreadType(e){this.spreadType=e,this.activeImg=!1,this.ctrlDraw._openDraw=!!e},checkBigimg(){this.isVideo?(this.tcCheckVideo=!0,this.$refs.videoCom.playVideo(this.curTagInfo)):(this.tcCheckBig=!0,this.$refs.bigImg.resetStyle(),jt.sendCenter(6,{tcCheckBig:!0,openTagId:this.curTagInfo.state.uuid}))},closeBigimg(){this.tcCheckBig=!1,jt.sendCenter(6,{tcCheckBig:!1,openTagId:this.curTagInfo.state.uuid})},revokeClick(){this.revokeEnable&&(this.ctrlDraw&&this.ctrlDraw.cancelDraw(),this.onCheckSaveEable())},clearClick(){this.emptyEnable&&(this.ctrlDraw&&this.ctrlDraw.clear(),this.onCheckSaveEable())},upimgClick(){this.activeImg=!0,setTimeout(()=>{this.activeImg=!1},1e3),this.$refs.picSelectInput.value="",this.picSelectInput.dispatchEvent(new MouseEvent("click"))},none(){},onDelimg(){this.imgSrc_add="",this.tcTagImg=!1,this.activeImg=!1,this.onCheckSaveEable()},onChange(e){var t=this,o=e.target.files[0];if(o){var i=o.name.toLowerCase(),n=/\.(?:gif|jpeg|jpg|png|bmp)$/.test(i),a=/\.(?:rmvb|mp4|mov|m4v|mkv|flv|dat|avi|3gp)$/.test(i);if(n||a){if(this.isVideo=a,n&&o.size>5242880)return this.$msgBox.showTip(this.$t("tagTip2")),t.imgSrc_add="",void(t.tcTagImg=!1);if(this.isVideo)this.reading=!0,B("videoUpload"),this.videoType=o.type,this.videoData=new FormData,this.videoData.append("file",o),this.videoData.append("type","file"),He(o).then(e=>{t.imgSrc_add=e,t.tcTagImg=!0,t.onCheckSaveEable(),t.reading=!1}).catch(()=>{t.$msgBox.showTip(t.$t("tagTip3")),t.imgSrc_add=Gg,t.tcTagImg=!0,t.onCheckSaveEable(),t.reading=!1});else if(n){var r=new FileReader;r.onload=function(e){t.imgSrc_add=e.target.result,t.tcTagImg=!0,t.onCheckSaveEable()},r.readAsDataURL(o)}t.activeImg=!1}else this.$msgBox.showTip(this.$t("tagTip3"))}},chectTag_Normal:function(e){this.ctrlDraw.showTags(e),this.showTag_only(e),this.tcChecktag=!0},resetTagMsg(){this.selectIdx=-1,this.imgSrc_add="",this.annoText_add="",this.tcTagImg=!1,this.saveEnable=!1,this.revokeEnable=!1,this.emptyEnable=!1},startDrawTag(e){this.setTime0&&clearTimeout(this.setTime0),this.resetTagMsg(),this.showTagTips(),this.tcStep0=!0,this.tcTagImg=!1,this.imgSrc_add="",this.isEditType=!1,this.tcStep1=!1,this.imgSrc_add="",this.annoText_add="",this.isVideo="",this.videoType="",this.videoData={},this.reading=!1,this.tagNum=this.store.state.modelStore.allTag.length+1,this.saveEnable=!1,this.revokeEnable=!1,this.emptyEnable=!1,this.ctrlDraw.setPen("text"),this.ctrlDraw.openDraw(this.tagNum),this.tagNum_list=0,setTimeout(()=>{$("#annoText").focus()},500)},showTagTips(){const e=document.getElementById("tagTooltips");e.style.display="block",e.innerHTML=this.$t("choosePoint"),e.style.left="-1000px"},hideTagTips(){const e=document.getElementById("tagTooltips");e.style.display="none"},sureSave:function(){if(this.tagSaveFlag)return;if(1==this.reading)return;var e=this;e.curUuid="",e.ctrlDraw.closeDraw(),e.tagSaveFlag=!0,$(".nd-selector-box").css("display","none");var t=e.ctrlDraw.drawInfo;e.isEditType&&(t&&t.list&&(e.curTagInfo.list=t.list),t=e.curTagInfo),t.text=encodeURIComponent(this.annoText_add);const o=()=>{e.tcStep0=!1,e.tcStep1=!1,e.tcTagImg=!1,e.annoText_add="",e.imgSrc_add="",e.tagSaveFlag=!1,e.curTagInfo=!1,e.tcChecktag=!1,e.annoText_check="",e.imgSrc_check="",e.ctrlDraw&&e.ctrlDraw.destroy(),gt._viewer.resetSelectAnnotation(),NDSWebViewer.SETTING.enableArrowKeyOp=!0,NDSWebViewer.SETTING.enableSelect=!0,e.store.commit("menuStore/setShowOneMenu",!0),e.store.commit("menuStore/setShowAllMenu",!0),e.store.commit("menuStore/setTagListMenu",!0),this.$eventBus.emit("openTagPointSub"),"sync"==nd_viewCtrl.viewMode&&setTimeout(()=>{window.nd_rtmReceiveAllMsg()})};e.tcTagImg&&e.imgSrc_add?this.isEditType?e.editTag(t,this.imgSrc_add,"",o):e.addTag(t,this.imgSrc_add,"",o):this.isEditType?e.editTag(t,"","",o):e.addTag(t,"","",o)},cancelSaveClick(){var e=this;this.compareEditTag(),this.onCheckSaveEable(),this.saveEnable?this.isEditType&&!this.editHasRecord?this.cancelSave("tagClick"):this.$msgBox.showMsg(this.$t("tagSaveConfirm2"),(function(){e.sureSave()}),(function(){e.cancelSave("tagClick")})):this.cancelSave("tagClick")},cancelSave(e,t){NDSWebViewer.SETTING.enableArrowKeyOp=!0,this.hideTagTips(),this.ctrlDraw&&this.ctrlDraw.destroy(),this.tcChecktag=!1,this.tagSaveFlag=!1,this.store.commit("tagStore/setTagdrawing",!1),this.curTagInfo=null,this.curUuid="",this.store.commit("menuStore/setTagListMenu",!0),1!=e&&"out"!=e&&this.showTag();try{"tagClick"==e&&this.curTagInfo&&(this.curTagInfo.list=this.curTagDrawInfo)}catch(o){}this.saveEnable=!1,this.tcStep1=!1,this.tcStep0=!1,this.selectIdx=-1,this.tcType="",this.imgSrc_check="",this.imgSrc_add="",this.store.commit("menuStore/setTagListMenu",!0),"tag"==this.menuStore.menuChoose&&(this.store.commit("menuStore/setShowOneMenu",!0),this.store.commit("menuStore/setShowAllMenu",!0)),1!=e&&(setTimeout(()=>{jt.sendCenter(2),jt.sendCenter(3),jt.endTagChange()},200),"sync"==nd_viewCtrl.viewMode&&this.$eventBus.emit("openTagPointSub"))},exitChecktag(e){if(this.tcCheckBig=!1,this.tcChecktag=!1,this.tcCheckTI=!1,this.annoText_check="",this.imgSrc_check="",this.imgSrc_add="",this.curUuid="",gt._viewer.resetSelectAnnotation(),NDSWebViewer.SETTING.enableSelect=!0,this.ctrlDraw&&this.ctrlDraw.destroy(),this.audioObj&&this.audioObj.pause(),"tag"==this.menuStore.menuChoose){let e=this.store.state.tagStore.tagShow;return gt.setAnnotationsVisibility(e),this.store.commit("menuStore/setShowOneMenu",!0),void this.store.commit("menuStore/setShowAllMenu",!0)}try{this.ctrlDraw&&this.ctrlDraw.destroy(),e||"click"==e||gt.pdfTag.restoreState_BeforeCheckTag(),this.store.commit("tagStore/setTagdrawing",!1),this.cancelSave(e)}catch(i){}e&&"out"==e?this.hideTag():this.showTag();var t=document.querySelector(".imgAnnotationLogoSelected"),o=document.querySelectorAll(".imgAnnotationLogo");for(let n=0;n<o.length;n++){let e=o[n].getAttribute("uuid");t&&!e&&(e=t.getAttribute("uuid")),e&>.setAnnotationType("annotationLogo",e)}this.store.commit("setShowAreaTips",!0),this.store.commit("menuStore/setShowAllMenu",!0),nd_viewCtrl.setBoxHide||gt._viewer.displayViewBox(!0),this.store.commit("menuStore/setShowManyConfig",!0),this.curTagInfo=!1,nd_viewCtrl&&nd_viewCtrl.exitTag&&nd_viewCtrl.exitTag(),e&&"click"==e&&jt.sendCenter(6,{closeTag:!0,tcCheckBig:!1})},showTag_only:function(e){this.hideTag(),setTimeout(()=>{gt._viewer.setAnnotationsVisibilityByUuid(1,e.state.uuid)},100),jt.sendCenter(6,{openTagId:e.state.uuid})},hideTag:function(){this.store.state.modelStore.nowTag.length>0&>.setAnnotationsVisibility(0)},showTag:function(){setTimeout(()=>{gt.setAnnotationsVisibility(1)},200),this.store.commit("tagStore/setTagshow",!0)},checkTag_Audio:function(e,t){let o=this;this.tcType="checkaudio",this.audioPlaying=!1,this.tcChecktag&&(this.tcChecktag=!1,this.curTagInfo=!1,this.tcType="",this.store.commit("tagStore/setTagdrawing",!1));try{this.audioTime=0,e.state.stime&&(this.audioTime=e.state.stime);var i=document.createElement("audio");i.pause(),i.src=t||e.src,i.load(),i.oncanplay=function(){},i.onloadedmetadata=function(){i.play(),i.paused||(o.audioPlaying=!0),i.paused&&document.querySelector(".voice").click()},i.addEventListener("ended",(function(){o.audioPlaying=!1}),!1),this.audioObj=i}catch(n){}},checkTag_base(e){this.tcType="checkpic",this.imgSrc_check=e.imgURL||e.state.imgURL,this.annoText_check=z(e.text||""),"VideoAnno"!=e.state.type&&"VideoAnno"!=e.state.origiType||(this.isVideo=!0,this.$refs.videoCom.preVideoSource(e)),this.store.state.modelStore.needOpenImg&&(this.checkBigimg(),this.store.commit("modelStore/setNeedOpenImg",!1))},audioClick:function(){try{this.audioObj.currentTime=0,this.audioPlaying=!0,this.audioObj.play().catch(e=>{this.audioPlaying=!1})}catch(e){this.audioPlaying=!1}},tagPenClick(e,t){this.selectIdx=e,this.ctrlDraw&&(this.ctrlDraw._openDraw=!0,this.ctrlDraw.setPen(t))},tagLineClick(e){this.strokeWidth=e,this.ctrlDraw&&(this.ctrlDraw._openDraw=!0,this.ctrlDraw.setLineWidth(e))},tagColorClick(e){this.strokeColor=e,this.ctrlDraw&&(this.ctrlDraw._openDraw=!0,this.ctrlDraw.setColor(e))},forceExit:function(){this.$msgBox.isShow&&(this.$msgBox.isShow=!1),this.tcCheckBig&&(this.tcCheckBig=!1),this.tcChecktag&&this.exitChecktag(),(this.tcStep0||this.tcStep1)&&this.cancelSave()},addTag:function(e,t,o,i){var n=this,a=n.store.state.modelStore.allTag.length+1,r=Je(e.cx,e.cy,e.cz),c=Qe(r.x,r.y);function s(){i&&i(),e.index=a,gt._viewer.addAnnotation(e),gt.setAnnotationsVisibility(1),n.store.commit("modelStore/addTag",e),n.store.commit("tagStore/setTagshow",!0),setTimeout(()=>{jt.sendCenter(1),jt.sendCenter(2),jt.sendCenter(3),jt.sendCenter(6)},300),jt.endTagChange()}c=Object.assign({},c),c.version="5",c.uuid=re(),c.origiType="ImageAnno",e.state=c,e.modelName=this.store.state.modelStore.nowConfigName,e.tagId=c.uuid,"yzp"!=nd_viewCtrl.viewMode&&"sync"!=nd_viewCtrl.viewMode||(e.screenShotImg=o||""),nd_viewCtrl.userInfo&&nd_viewCtrl.userInfo.userName&&(e.userInfo={userName:nd_viewCtrl.userInfo.userName}),e.state.locationObject&&(e.state.locationObject=null),t?this.isVideo?(c.origiType="VideoAnno",c.videoType=this.videoType,xt({tagType:c.origiType,tagInfo:e,tagUuid:c.uuid,imageFile:t,videoFile:this.videoData},(function(t,o){c.index=a,e.imgURL=t,e.videoURL=o,s()}))):xt({tagType:c.origiType,tagInfo:e,tagUuid:c.uuid,imageFile:t},(function(t){c.index=a,e.imgURL=t,s()})):xt({tagType:c.origiType,tagInfo:e,tagUuid:c.uuid,imageFile:t},(function(e){c.index=a,s()}))},editTag(e,t,o,i){var n=this;function a(){i&&i(),gt.setAnnotationsVisibility(1),n.store.commit("tagStore/setTagshow",!0)}"yzp"!=nd_viewCtrl.viewMode&&"sync"!=nd_viewCtrl.viewMode||(e.screenShotImg=o||""),e.imgURL=t,this.isVideo?(e.state.origiType="VideoAnno",Tt({tagType:e.state.origiType,tagInfo:e,tagUuid:e.state.uuid,imageFile:t,videoFile:this.videoData},(function(t,o){t&&(e.imgURL=t),nd_viewCtrl.userInfo&&nd_viewCtrl.userInfo.userName&&(e.userInfo={userName:nd_viewCtrl.userInfo.userName}),e.videoURL=o,n.store.commit("modelStore/editTag",e),a()}))):(e.state.origiType="ImageAnno",Tt({tagType:e.state.origiType,tagInfo:e,tagUuid:e.state.uuid,imageFile:t},(function(t){t&&(e.imgURL=t),nd_viewCtrl.userInfo&&nd_viewCtrl.userInfo.userName&&(e.userInfo={userName:nd_viewCtrl.userInfo.userName}),n.store.commit("modelStore/editTag",e),a()})))},updateTagText(e,t){e==this.curUuid&&(this.annoText_check=t)},exitDrawtag(){nd_viewCtrl.setBoxHide||gt._viewer.displayViewBox(!0),this.ctrlDraw&&this.ctrlDraw.destroy(),this.curTagInfo=!1,this.store.commit("menuStore/setShowManyConfig",!0)},inputMouse(e){e.stopPropagation()},tagMouseEnter(){const e=document.getElementById("tagTooltips");e&&(e.style.left="-1000px")},judgeTxtEmpty(e){return!e.match(/^[ ]*$/)},closeVideoCom(){this.tcCheckVideo=!1,this.$refs.videoCom.pauseVideo()},delAnno(e,t){let o=this,i=o.curUuid;t&&(i=t.tagId),nd_viewCtrl&&nd_viewCtrl.beDelTag&&nd_viewCtrl.beDelTag(i,(function(){gt._viewer.removeAnnotation(i),o.store.commit("modelStore/delTagByuuid",i),"fromSub"!=e&&o.exitChecktag(),ut()}))},editAnno(){const e=this.curTagInfo;e.list||(e.list=[]),this.curTagDrawInfo=JSON.parse(JSON.stringify(e.list||[])),this.tagNum_list=e.list&&e.list.length,this.editHasRecord=!1,this.tcChecktag=!1,this.isEditType=!0,this.tcStep1=!0,this.tcCheckTI=!1,this.tcType="",this.annoText_add=z(e.text||""),this.imgSrc_add=e.imgURL,e.imgURL&&(this.tcTagImg=!0),"VideoAnno"==e.state.type||"VideoAnno"==e.state.origiType?(this.isVideo=!0,this.videoData=new FormData,this.videoData.append("type","src"),this.videoData.append("src",e.videoURL)):this.isVideo=!1,this.ctrlDraw.editDraw(e),this.ctrlDraw.closeDraw(),this.selectIdx=0,this.spreadType="",this.ctrlDraw.setPen("point"),this.onCheckSaveEable(),this.store.commit("menuStore/setTagListMenu",!1),nd_viewCtrl&&nd_viewCtrl.exitTag&&nd_viewCtrl.exitTag(),setTimeout(()=>{$("#annoText").focus()},500)},compareEditTag(){try{z(this.curTagInfo.text||"")!=this.annoText_add&&(this.editHasRecord=!0,this.curTagInfo.text||this.annoText_add||(this.editHasRecord=!1)),this.curTagInfo.imgURL!=this.imgSrc_add&&(this.editHasRecord=!0),JSON.stringify(this.curTagInfo.list)!=JSON.stringify(this.curTagDrawInfo)&&(this.editHasRecord=!0)}catch(e){}},checkBtnExit(e){return ae(e)},clearFlag(){this.tagSaveFlag=!1}}};o("f0a0");const Zg=_t()(Yg,[["render",Yh],["__scopeId","data-v-212d6bf5"]]);var Xg=Zg;function Kg(e,t,o,n,a,r){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"exit-tag",onClick:t[0]||(t[0]=(...e)=>n.exitLineTag&&n.exitLineTag(...e))},Object(i["toDisplayString"])(e.$t("tagExit2")),1)}var Jg={name:"",setup(){const e=Object(i["reactive"])({}),t=Object(l["useStore"])(),{proxy:o}=Object(i["getCurrentInstance"])(),{menuStore:n}=t.state;o.$eventBus.on("exitLineTagSub",e=>{("lineTag"==n.menuChoose3||e)&&a(e)});const a=e=>{t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setMenuChoose","tag"),t.commit("menuStore/setMenuChoose2",""),t.commit("menuStore/setMenuChoose3",""),gt.setOperatorByID("OpOrbit"),"fromClose"!=e&&(gt.setAnnotationsVisibility(1),t.commit("tagStore/setTagshow",!0))},r=Object(i["toRefs"])(e);return{...r,exitLineTag:a}}};o("27ab");const qg=_t()(Jg,[["render",Kg],["__scopeId","data-v-a83ebba6"]]);var Qg=qg;Object(i["pushScopeId"])("data-v-2952b248");const ev={class:"dialog_header pop-content"},tv={key:0,class:"pop-list"},ov={key:1,class:"pop-list"},iv={key:2,class:"pop-list"},nv={key:3,class:"pop-list"};function av(e,t,o,n,a,r){const c=Object(i["resolveDirective"])("drag");return Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"ndp3-my-volare",onMouseenter:t[0]||(t[0]=(...e)=>n.mourseBigMenu&&n.mourseBigMenu(...e)),onMouseleave:t[1]||(t[1]=(...e)=>n.mourseBigMenuLeave&&n.mourseBigMenuLeave(...e))},[Object(i["createElementVNode"])("div",ev,[e.ypShowTips?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:0},[e.isShowArea?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",tv,Object(i["toDisplayString"])(e.$t("areaBoxTxt"))+Object(i["toDisplayString"])(e.area),1)):Object(i["createCommentVNode"])("",!0),e.isShowAllArea?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ov,Object(i["toDisplayString"])(e.$t("areaAllBoxTxt"))+Object(i["toDisplayString"])(e.allArea),1)):Object(i["createCommentVNode"])("",!0),e.isShowVolume?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",iv,Object(i["toDisplayString"])(e.$t("volumnBoxTxt"))+Object(i["toDisplayString"])(e.volume),1)):Object(i["createCommentVNode"])("",!0),e.isShowAllVolume?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",nv,Object(i["toDisplayString"])(e.$t("volumnAllBoxTxt"))+Object(i["toDisplayString"])(e.allVolume),1)):Object(i["createCommentVNode"])("",!0)],64)),e.ypAttrTips.length>0&&e.ypShowTips?(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],{key:1},Object(i["renderList"])(e.ypAttrTips,(e,t)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"pop-list",key:t},Object(i["toDisplayString"])(e.key)+":"+Object(i["toDisplayString"])(e.value),1))),128)):Object(i["createCommentVNode"])("",!0)])],544)),[[i["vShow"],e.isShowDataBox],[c]])}Object(i["popScopeId"])();var rv={name:"",setup(){const e=Object(i["reactive"])({isShowDataBox:!1,isShowPRDataBox:!1,prNums:[],prUnit:"",area:"",volume:"",allArea:"",allVolume:"",isShowArea:!1,isShowVolume:!1,isShowAllArea:!1,isShowAllVolume:!1,ypAttrTips:[],ypShowTips:!1,volumnData:null}),t=Object(i["toRefs"])(e),o=Object(l["useStore"])(),{menuStore:n}=o.state,{proxy:a,appContext:r}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{r.config.globalProperties.$attrVolArea=a});const c=t=>{const o=["areaFace","areaEntity","areaTotal","volumeWeight","volumeWeightAll"];if(t&&"BodyPerimeter"==t.type&&!t.modelUnit&&"[]"==JSON.stringify(t.perimeters))return;if(!t||"BodyAllVolume"==t.type||"BodyVolume"==t.type||"delBody"==t.type)return void(e.isShowDataBox=!1);const i=nd_viewCtrl.homeShowTipAttrs;"lengthGirth"!=n.menuChoose3?(i?o.includes(n.menuChoose3)?(t&&d(t),e.ypShowTips=!1):(t&&s(t),e.ypShowTips=!0):t&&d(t),e.isShowDataBox=!!t):e.isShowDataBox=!1};a.$eventBus.on("decimalChangeSub",()=>{e.isShowDataBox&&e.volumnData&&d(e.volumnData)}),Object(i["onMounted"])(()=>{a.$eventBus.on("VolumnChange",c),a.$eventBus.on("clearSelectionSub",h),a.$eventBus.on("closeAttrBox",g),e.area="",e.volume=""});const s=()=>{const t=nd_viewCtrl.tipAttrs||[],o=gt._viewer.selectionManager.getSelectedObjects();let i={},n=o[0];n&&0==n.children.length&&n.parent&&(n=n.parent);const a=(o,a)=>{let r=v(a);r=S(r);for(let e in r)t.includes(e)&&(i[e]=r[e]);i=m(o,i,t);const c=gt.getfileguid(n.uuid);nd_viewCtrl.getEditProperty(c,(function(o){o&&o.PropertyCategories.length>0&&(i=u(o.PropertyCategories,i,t)),e.ypAttrTips=p(i,t)}))};o&&1==o.length?gt.getObjectProperty(n,a):g()},d=t=>{e.volumnData=t;const i=X(t&&t.modelUnit);if("Body"==t.type&&o.state.showAreaTips){if(C())return;e.area=q(t.area)+" "+i+"²",e.volume=q(t.volume)+" "+i+"³",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!0,e.isShowVolume=!0,e.isShowAllArea=!1,e.isShowAllVolume=!1}else"BodyArea"==t.type?(e.area=q(t.area)+" "+i+"²",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!0,e.isShowVolume=!1,e.isShowAllArea=!1,e.isShowAllVolume=!1):"BodyVolume"==t.type&&o.state.showAreaTips?(e.volume=q(t.volume)+" "+i+"³",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!1,e.isShowVolume=!0,e.isShowAllArea=!1,e.isShowAllVolume=!1):"BodyFace"==t.type?(e.area=q(t.area)+" "+i+"²",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!0,e.isShowVolume=!1,e.isShowAllArea=!1,e.isShowAllVolume=!1):"BodyAllVolume"==t.type&&o.state.showAreaTips?(e.allVolume=q(t.volume)+" "+i+"³",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!1,e.isShowVolume=!1,e.isShowAllArea=!1,e.isShowAllVolume=!0):"BodyAllArea"==t.type?(e.allArea=q(t.area)+" "+i+"²",e.isShowDataBox=!0,e.isShowPRDataBox=!1,e.isShowArea=!1,e.isShowVolume=!1,e.isShowAllArea=!0,e.isShowAllVolume=!1):"BodyPerimeter"==t.type&&(e.prNums=t.perimeters,e.prUnit=i,e.isShowDataBox=!1,t.modelUnit?e.isShowPRDataBox=!0:e.isShowPRDataBox=!1);"volumeWeight"!=n.menuChoose3&&"volumeWeightAll"!=n.menuChoose3||(e.isShowDataBox=!1)},m=(e,t,o)=>{if(!e||!e.PropertyCategories)return t;const i=e.PropertyCategories||[],n=t||{},a=o||[];return i.map(e=>{for(let t in e)e[t].map((o,i)=>{a.includes(o)&&i%2==0&&(n[o]=e[t][++i])})}),n},u=(e,t,o)=>{const i=e||[],n=t||{},a=o||[];return i.map(e=>{e.keys.map((t,o)=>{a.includes(t)&&(n[t]=e.values[o])})}),n},p=(e,t)=>{let o=[];return t.map(t=>{o.push({key:t,value:e[t]})}),o},h=()=>{e.isShowDataBox=!1,e.isShowPRDataBox=!1,e.ypShowTips=!1,e.ypAttrTips=[]},g=()=>{e.isShowDataBox=!1,e.isShowPRDataBox=!1,e.ypShowTips=!1,e.ypAttrTips=[]},v=e=>{const t={},o=X(e.unit);if(e.area&&"Infinity"!=e.area&&(t.area=q(e.area)+" "+o+"²"),e.volume&&"Infinity"!=e.volume&&(t.volume=q(e.volume)+" "+o+"³"),e.boundingboxVolume&&"Infinity"!=e.boundingboxVolume&&(t.boundingboxVolume=q(e.boundingboxVolume)+" "+o+"³"),e.boundingbox&&e.boundingbox.x&&e.boundingbox.y&&e.boundingbox.z&&"Infinity"!=e.boundingbox.x&&"Infinity"!=e.boundingbox.y&&"Infinity"!=e.boundingbox.z){var i=q(e.boundingbox.x)+"×",n=q(e.boundingbox.y)+"×",r=q(e.boundingbox.z)+" "+o;t.boundingbox=i+n+r}return e.bodyNum&&"Infinity"!=e.bodyNum&&Number(e.bodyNum)>0&&(t.bodyNum=e.bodyNum+a.$t("gUnit")),e.meshNum&&"Infinity"!=e.meshNum&&Number(e.meshNum)>0&&(t.meshNum=e.meshNum+a.$t("gUnit")),e.pmiNum&&"Infinity"!=e.pmiNum&&Number(e.pmiNum)>0&&(t.pmiNum=e.pmiNum+a.$t("gUnit")),t},b=()=>{const e=document.querySelector(".pc-alert");e&&(e.style.display="none")},w=()=>{const e=document.querySelector(".pc-alert");e&&e.innerText&&(e.style.display="block")},S=e=>{const t={},o="zh"==a.$i18n.locale?"valueCN":"valueEN";for(let i in e)Wg.map(n=>{n.key==i?t[n[o]]=e[i]:t[i]=e[i]});return t};return{...t,store:o,mourseBigMenu:b,mourseBigMenuLeave:w}}};o("0de3");const cv=_t()(rv,[["render",av],["__scopeId","data-v-2952b248"]]);var sv=cv;Object(i["pushScopeId"])("data-v-7eedd8c6");const lv={class:"search-cont"},dv={class:"search-inp-t"},mv=["placeholder"],uv={class:"struc-content"},pv={class:"tree-node-item"},hv=["title"],gv={key:0,class:"struc-content"},vv=["onClick"],bv=["title"],wv={key:1,class:"nomsg-txt"};function Sv(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("tree-node-easy"),s=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"ndp3-my-page structure-tree tree-card",id:"structEasyCard",canDrag:!0,onClose:n.close,hideClose:"true",onContextmenu:Object(i["withModifiers"])(n.rightEvent,["right","stop","prevent"])},{header:Object(i["withCtx"])(()=>[Object(i["createTextVNode"])(Object(i["toDisplayString"])(e.$t("structureTree")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",lv,[Object(i["createElementVNode"])("div",dv,[Object(i["withDirectives"])(Object(i["createElementVNode"])("input",{class:Object(i["normalizeClass"])(["search-inp",{"en-inp":"en"==e.$i18n.locale}]),placeholder:e.$t("searchTree2"),maxlength:"20",onKeyup:t[0]||(t[0]=Object(i["withKeys"])((...e)=>n.goToSearch&&n.goToSearch(...e),["enter"])),"onUpdate:modelValue":t[1]||(t[1]=t=>e.keyWord=t),type:"text"},null,42,mv),[[i["vModelText"],e.keyWord]]),e.searchMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,class:Object(i["normalizeClass"])(["clear-icon",{"en-icon-clear":"en"==e.$i18n.locale}]),onClick:t[2]||(t[2]=(...e)=>n.exitSearch&&n.exitSearch(...e)),src:Qm.a,alt:""},null,2)):Object(i["createCommentVNode"])("",!0)]),Object(i["createElementVNode"])("span",{class:"search-txt",onClick:t[3]||(t[3]=(...e)=>n.goToSearch&&n.goToSearch(...e))},Object(i["toDisplayString"])(e.$t("search")),1)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",uv,[Object(i["withDirectives"])(Object(i["createElementVNode"])("ul",null,[Object(i["createElementVNode"])("div",pv,[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["treenode-node-item",{select:e.modelTreeData.isEasyChecked}]),onClick:t[5]||(t[5]=t=>n.toggleVisible(e.modelTreeData))},[e.modelTreeData.children&&e.modelTreeData.children.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:0,class:Object(i["normalizeClass"])({"tree-node-open":e.modelTreeData.isOpenChild,"tree-node-close":!e.modelTreeData.isOpenChild}),onClick:t[4]||(t[4]=Object(i["withModifiers"])((...e)=>n.toggleOpenChild&&n.toggleOpenChild(...e),["stop"]))},null,2)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(e.modelTreeData.type)},null,2),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:e.modelTreeData.name},Object(i["toDisplayString"])(e.modelTreeData.name),9,hv)],2),e.modelTreeData.isOpenChild&&e.modelTreeData.children&&e.modelTreeData.children.length?(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:Math.random(),treeData:e.modelTreeData,defaulOpen:!0,level:"2",isSelect:e.modelTreeData.isEasyChecked},null,8,["treeData","isSelect"])):Object(i["createCommentVNode"])("",!0)])],512),[[i["vShow"],e.hasData]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("p",null,Object(i["toDisplayString"])(e.$t("noTreeData2")),513),[[i["vShow"],!e.hasData]])],512),[[i["vShow"],!e.searchMode]]),e.searchMode?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",gv,[e.searchData&&e.searchData.length>0?(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],{key:0},Object(i["renderList"])(e.searchData,(e,t)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:"search-list",key:t},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["treenode-node-item",{select:e.isEasyChecked}]),onClick:t=>n.toggleSearchVisible(e)},[Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(e.type)},null,2),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:e.fullpath},Object(i["toDisplayString"])(e.name),9,bv)],10,vv)]))),128)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("p",wv,Object(i["toDisplayString"])(e.$t("noTreeData2")),1))])):Object(i["createCommentVNode"])("",!0)]),_:1},8,["onClose","onContextmenu"])}Object(i["popScopeId"])(),Object(i["pushScopeId"])("data-v-c590bd28");const Cv=["onClick","lev","id"],Ov=Object(i["createElementVNode"])("i",{class:"tree-module"},null,-1),fv=["onClick"],yv=["title"];function jv(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("tree-node-easy",!0);return Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(o.treeData.children,(e,t)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])(i["Fragment"],{key:t},[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["treenode-node-item",{select:e.isEasyChecked,"parent-select":o.isSelect}]),onClick:t=>n.toggleVisible(e),lev:o.level,id:e.objectid},[Ov,(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.getLevel(e),(e,t)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("b",{key:t}))),128)),e.children.length>0?(Object(i["openBlock"])(),Object(i["createElementBlock"])("i",{key:0,class:Object(i["normalizeClass"])({"tree-node-open":e.isOpenChild,"tree-node-close":!e.isOpenChild}),onClick:Object(i["withModifiers"])(t=>n.toggleOpen(e),["stop"])},null,10,fv)):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("i",{class:Object(i["normalizeClass"])(n.transformPmiType(e,!1))},null,2),Object(i["createElementVNode"])("span",{class:"tree-node-txt",title:e.name},Object(i["toDisplayString"])(e.name),9,yv)],10,Cv),e.children.length&&e.isOpenChild?(Object(i["openBlock"])(),Object(i["createBlock"])(c,{key:Math.random(),treeData:e,level:o.level+1,isSelect:e.isEasyChecked},null,8,["treeData","level","isSelect"])):Object(i["createCommentVNode"])("",!0)],64))),128)}Object(i["popScopeId"])();var xv={name:"",props:["treeData","defaulOpen","level","isSelect"],setup(e,t){const o=Object(i["reactive"])({}),{proxy:n}=Object(i["getCurrentInstance"])(),a=Object(l["useStore"])();Object(i["onMounted"])(()=>{e.defaulOpen?e.treeData.children&&e.treeData.children.map(t=>{t.parent||(t.parent=e.treeData),t.isRendered=!0}):e.treeData.children&&e.treeData.children.map(t=>{t.parent||(t.parent=e.treeData),e.treeData.isHighlight&&(t.isHighlight=!0)})});const r=e=>{var t=0;while(null!==e.parent)t++,e=e.parent;return t},c=e=>{e.isRendered=!0,e.isOpenChild=!e.isOpenChild,jt.sendCenter(9)},s=(e,t)=>{!t&&d(e),e.isEasyChecked&&a.state.isInShift&&!t||(a.state.isInCtrl||e.isEasyChecked||a.state.isInShift||gt.clearSelection(),a.commit("menuStore/setAttrMenu",!1),e.isEasyChecked=!e.isEasyChecked,window.structflag=!0,e.isEasyChecked?(de(e),gt.selectObject(e)):(le(e),gt.deselectObject(e)),me(e,e.isEasyChecked),gt.render(),jt.sendCenter(9))},d=e=>{if(!a.state.isInShift)return void a.commit("setPreShiftNode",{});if(!a.state.preShiftNode.uuid)return void a.commit("setPreShiftNode",e);const t=a.state.preShiftNode;if(e.parent.uuid!=t.parent.uuid)return void a.commit("setPreShiftNode",e);const o=e.parent;let i=-1,n=o.children.length,r=[];o.children.forEach((o,a)=>{o.uuid!=e.uuid&&o.uuid!=t.uuid||(i<0?i=a:n=a),i>-1&&a>i&&a<n&&!o.isEasyChecked&&r.push(o)}),window.structShift=!0,r.map(e=>{s(e,"noShift")}),setTimeout(()=>{window.structShift=!1,a.commit("setPreShiftNode",{})},100)},m=e=>{let t=a.state.modelStore._highLightNode.indexOf(e.uuid);if(t>-1)return t>-1},u=(e,t)=>{if(!t)return e.type;const o=["Dimension","Datum","Note","Other","Roughness","GeomTol","Object3D","PMI"];return o.includes(e.type)?e.type:"Other"},p=Object(i["toRefs"])(o);return{...p,getLevel:r,toggleOpen:c,toggleVisible:s,checkIsHighLight:m,transformPmiType:u}}};o("3b08");const Tv=_t()(xv,[["render",jv],["__scopeId","data-v-c590bd28"]]);var Mv=Tv,kv={name:"",components:{card:ua,treeNodeEasy:Mv},setup(){const e=Object(i["reactive"])({modelTreeData:{},searchMode:!1,keyWord:"",hasData:!0,searchData:[]}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{n.config.globalProperties.$structureTreeEasy=o}),Object(i["watch"])(()=>e.searchMode,()=>{t.commit("setPreShiftNode",{})}),Object(i["onMounted"])(()=>{o.$eventBus.on("selectObjectEvent",a),o.$eventBus.on("deselectObjectEvent",r),o.$eventBus.on("clearSelectionSub",c),t.commit("setPreShiftNode",{}),g()}),Object(i["onUnmounted"])(()=>{o.$eventBus.off("selectObjectEvent",a),o.$eventBus.off("deselectObjectEvent",r),o.$eventBus.off("clearSelectionSub",c)});const a=()=>{jt.judgeCanWatch()&&t.state.menuStore.structEasyMenu&&(s(),jt.sendCenter(9))},r=()=>{jt.judgeCanWatch()&&t.state.menuStore.structEasyMenu&&(s(),jt.sendCenter(9))},c=()=>{jt.judgeCanWatch()&&(e.searchMode||"meter"!=t.state.menuStore.menuChoose||(t.commit("setPreShiftNode",{}),e.searchMode=!1,e.keyWord="",s(),e.modelTreeData.children.map(e=>{e.isOpenChild=!1}),jt.sendCenter(9)))},s=()=>{let t=gt.getSelectedNewObjects();me(e.modelTreeData,!1),e.modelTreeData.isEasyChecked=!1,t.length<1||t.map(e=>{e.isEasyChecked=!0,de(e),me(e,!0),be(e)}),t&&t.length>0&&setTimeout(()=>{u(t[0])}),o.$forceUpdate()},d=()=>{e.keyWord="",m()},m=()=>{gt.clearSelection(),e.modelTreeData.isEasyChecked=!1,me(e.modelTreeData,!1),""==e.keyWord?e.searchMode=!1:(e.searchData=ee(e.keyWord,"name",e.modelTreeData),e.searchMode=!0),gt.clearSelection(),jt.sendCenter(9)},u=e=>{const t=document.getElementById("structEasyCard"),o=e&&document.getElementById(e.objectid);if(!o||!t)return;const i=t.offsetHeight,n=o.offsetTop,a=o.getBoundingClientRect().y;(i-n<15||a<0)&&o.scrollIntoView({behavior:"smooth",block:"center",inline:"end"})},p=e=>{t.commit("menuStore/setAttrMenu",!1),window.structflag=!0,e.isEasyChecked=!e.isEasyChecked,e.isEasyChecked?(de(e),gt.selectObject(e)):(le(e),gt.deselectObject(e)),me(e,e.isEasyChecked),gt.render(),jt.sendCenter(9)},h=(e,o)=>{!o&&v(e),e.isEasyChecked&&t.state.isInShift&&!o||(t.commit("menuStore/setAttrMenu",!1),window.structflag=!0,e.isEasyChecked=!e.isEasyChecked,e.isEasyChecked?gt.selectObject(e):gt.deselectObject(e),gt.showObject(e,!0),gt.render(),jt.sendCenter(9))},g=()=>{nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo?e.modelTreeData=gt.getModelTree(!0)||{}:e.modelTreeData=gt.getModelTree()||{},e.modelTreeData&&Object.keys(e.modelTreeData).length>0?e.modelTreeData.isOpenChild=!0:e.hasData=!1,e.modelTreeData.isRendered=!0,e.modelTreeData.level=1,e.modelTreeData.isEasyChecked=!1,ue(e.modelTreeData,!1)},v=o=>{if(!t.state.isInShift)return void t.commit("setPreShiftNode",{});if(!t.state.preShiftNode.uuid)return void t.commit("setPreShiftNode",o);const i=t.state.preShiftNode;let n=-1,a=e.searchData.length,r=[];e.searchData.some((e,t)=>{if(e.uuid!=o.uuid&&e.uuid!=i.uuid||(n<0?n=t:a=t),n>-1&&t>n&&t<a&&!e.isEasyChecked&&r.push(e),t>a)return!0}),window.structShift=!0,r.map(e=>{h(e,"noShift")}),setTimeout(()=>{window.structShift=!1,t.commit("setPreShiftNode",{})},100)},b=(e,t)=>{},w=()=>{const e=t.state.menuStore;"struct"==e.menuChoose&&t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setStructMenu",!1)},S=()=>{e.modelTreeData.isOpenChild=!e.modelTreeData.isOpenChild,jt.sendCenter(9)},C=t=>{t&&"{}"!=JSON.stringify(t)&&Object(i["nextTick"])(()=>{Me(t,e.modelTreeData),o.$forceUpdate()})},O=t=>{t&&"[]"!=JSON.stringify(t)&&(ke(t,e.searchData),o.$forceUpdate())},f=Object(i["toRefs"])(e);return{...f,close:w,exitSearch:d,goToSearch:m,toggleVisible:p,toggleSearchVisible:h,rightEvent:b,coverTreeDataEasy:C,coverSearchDataEasy:O,toggleOpenChild:S}}};o("6a12");const Ev=_t()(kv,[["render",Sv],["__scopeId","data-v-7eedd8c6"]]);var Dv=Ev;Object(i["pushScopeId"])("data-v-3254d4d2");const Bv={class:"header"},Av={class:"unit-content"},Nv={src:wl.a,alt:""},Iv={src:Cl.a,alt:""},Vv={src:wl.a,alt:""},_v={src:Cl.a,alt:""},Pv={src:wl.a,alt:""},Lv={src:Cl.a,alt:""};function $v(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(c,{class:"ndp3-my-page unit-card",onClose:n.close},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Bv,Object(i["toDisplayString"])(e.$t("pcUnitIcon")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Av,[Object(i["createElementVNode"])("div",{onClick:t[0]||(t[0]=e=>n.unitChange("")),class:"uni-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Nv,null,512),[[i["vShow"],""==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Iv,null,512),[[i["vShow"],""!=n.modelStore.unit]]),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("pcUnitType1")),1)]),Object(i["createElementVNode"])("div",{onClick:t[1]||(t[1]=e=>n.unitChange("mm")),class:"uni-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Vv,null,512),[[i["vShow"],"mm"==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",_v,null,512),[[i["vShow"],"mm"!=n.modelStore.unit]]),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("pcUnitType2")),1)]),Object(i["createElementVNode"])("div",{onClick:t[2]||(t[2]=e=>n.unitChange("in")),class:"uni-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Pv,null,512),[[i["vShow"],"in"==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Lv,null,512),[[i["vShow"],"in"!=n.modelStore.unit]]),Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("pcUnitType3")),1)])])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var zv={name:"",components:{card:ua},setup(){const e=Object(i["reactive"])({}),t=Object(l["useStore"])(),{modelStore:o}=t.state,{proxy:n}=Object(i["getCurrentInstance"])();Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const a=()=>{t.commit("menuStore/setUnitMenu",!1),t.commit("menuStore/setMenuChoose","")},r=e=>{switch(t.commit("modelStore/setUnitType",e),gt._viewer.setDispalyModelUnit(e),e){case"":B("pcUnitType1");break;case"mm":B("pcUnitType2");break;case"in":B("pcUnitType3");break;default:break}},c=Object(i["toRefs"])(e);return{...c,modelStore:o,unitChange:r,close:a}}};o("2473");const Rv=_t()(zv,[["render",$v],["__scopeId","data-v-3254d4d2"]]);var Fv=Rv;Object(i["pushScopeId"])("data-v-1fc5b7d0");const Hv={class:"header"},Uv={class:"pmi-content"};function Wv(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:Object(i["normalizeClass"])(["ndp3-my-page pmi-card",{"en-pmi-card":"en"==e.$i18n.locale}]),onClose:n.close},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Hv,Object(i["toDisplayString"])(e.$t("pmiTxt1")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Uv,[Object(i["createElementVNode"])("div",{onClick:t[1]||(t[1]=e=>n.openPmiSwitch()),class:"pmi-flex"},[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("pmiTxt2")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.pmiSetObject.openPmi,"onUpdate:modelValue":t[0]||(t[0]=t=>e.pmiSetObject.openPmi=t)},null,8,["modelValue"])]),Object(i["createElementVNode"])("div",{onClick:t[3]||(t[3]=e=>n.openPmiZptSwitch()),class:"pmi-flex"},[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("pmiTxt3")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.pmiSetObject.openZptPmi,"onUpdate:modelValue":t[2]||(t[2]=t=>e.pmiSetObject.openZptPmi=t)},null,8,["modelValue"])]),Object(i["createElementVNode"])("div",{onClick:t[5]||(t[5]=e=>n.openPmiPartSwitch()),class:"pmi-flex"},[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("pmiTxt4")),1),Object(i["createVNode"])(c,{class:"switch-cp",modelValue:e.pmiSetObject.openPartPmi,"onUpdate:modelValue":t[4]||(t[4]=t=>e.pmiSetObject.openPartPmi=t)},null,8,["modelValue"])])])]),_:1},8,["class","onClose"])}Object(i["popScopeId"])();var Gv={name:"",components:{card:ua,xdSwitch:ar},setup(){const e=Object(i["reactive"])({pmiSetObject:{openPmi:!1,openZptPmi:!1,openPartPmi:!1},pmiDefaultSet:{assembly:!1,part:!1}}),t=Object(l["useStore"])(),{modelStore:o}=t.state,{proxy:n,appContext:a}=Object(i["getCurrentInstance"])();Object(i["nextTick"])(()=>{a.config.globalProperties.$pmiSetCom=e}),n.$eventBus.on("loadComplete",()=>{if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo){if(nd_viewCtrl.hideItem&&nd_viewCtrl.hideItem.pmi)e.pmiSetObject.openZptPmi=!1,e.pmiSetObject.openPartPmi=!1;else{const t=nd_viewCtrl.shareInfo.pmiSetObj;e.pmiSetObject.openZptPmi=t&&t.openZptPmi,e.pmiSetObject.openPartPmi=t&&t.openPartPmi}void 0!=e.pmiSetObject.openPartPmi&>._viewer.setPartPMIVisible(!!e.pmiSetObject.openPartPmi),void 0!=e.pmiSetObject.openZptPmi&>._viewer.setAssemblyPMIVisible(!!e.pmiSetObject.openZptPmi)}else{const t=gt._viewer.isAssemblyPMIVisible(),o=gt._viewer.isPartPmiVisible();e.pmiSetObject.openZptPmi=!!t,e.pmiSetObject.openPartPmi=!!o}m()}),n.$eventBus.on("closePmiSetSub",()=>{d("close")}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{});const r=()=>{t.commit("menuStore/setPmiMenu",!1),t.commit("menuStore/setMenuChoose","")},c=()=>{gt.onSectionView(!1),gt._viewer.setPartPMIVisible(e.pmiSetObject.openPartPmi),B(e.pmiSetObject.openPartPmi?"pmiShow":"pmiHide"),m(),jt.sendCenter(4)},s=()=>{gt._viewer.setAssemblyPMIVisible(e.pmiSetObject.openZptPmi),B(e.pmiSetObject.openZptPmi?"pmiShow":"pmiHide"),gt.onSectionView(!1),m(),jt.sendCenter(4)},d=t=>{t&&(e.pmiSetObject.openPmi=!1);const o=e.pmiSetObject.openPmi;e.pmiSetObject.openZptPmi=o,e.pmiSetObject.openPartPmi=o,!t&&B(e.pmiSetObject.openPmi?"pmiShow":"pmiHide"),gt.onSectionView(!1),gt._viewer.setAssemblyPMIVisible(e.pmiSetObject.openZptPmi),gt._viewer.setPartPMIVisible(e.pmiSetObject.openPartPmi),jt.sendCenter(4)},m=()=>{e.pmiSetObject.openZptPmi||e.pmiSetObject.openPartPmi?e.pmiSetObject.openPmi=!0:e.pmiSetObject.openPmi=!1},u=Object(i["toRefs"])(e);return{...u,close:r,openPmiPartSwitch:c,openPmiZptSwitch:s,openPmiSwitch:d}}};o("ef79");const Yv=_t()(Gv,[["render",Wv],["__scopeId","data-v-1fc5b7d0"]]);var Zv=Yv,Xv=o("dbcb"),Kv=o.n(Xv);Object(i["pushScopeId"])("data-v-62d389ee");const Jv={class:"header"},qv={class:"color-content"},Qv=Object(i["createElementVNode"])("img",{class:"color_cancel_img",src:Kv.a,alt:""},null,-1);function eb(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("color-picker"),s=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"ndp3-my-page color-card",onClose:n.close},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Jv,Object(i["toDisplayString"])(e.$t("colorTxt3")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",qv,[Object(i["createVNode"])(c,{onPureColorChange:n.colorChange,pickerType:"chrome",pureColor:e.selectColor,"onUpdate:pureColor":t[0]||(t[0]=t=>e.selectColor=t),isWidget:!0,disableHistory:!0,roundHistory:!0,disableAlpha:!0,format:"rgb"},null,8,["onPureColorChange","pureColor"]),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["color_cancel",{disable:!e.hasSelectNode}]),onClick:t[1]||(t[1]=(...e)=>n.cancelColor&&n.cancelColor(...e))},[Qv,Object(i["createTextVNode"])(" "+Object(i["toDisplayString"])(e.$t("bgDelColor")),1)],2),Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["confrim_btn",{disable:!e.selectColor||!e.hasSelectNode}]),onClick:t[2]||(t[2]=(...e)=>n.chooseColor&&n.chooseColor(...e))},Object(i["toDisplayString"])(e.$t("sure")),3)])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var tb=o("b4f6"),ob=(o("839c"),{name:"",components:{card:ua,ColorPicker:tb["a"]},setup(){const e=Object(i["reactive"])({selectColor:"rgb(0, 0, 0)",hasSelectNode:!1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{menuStore:a,modelStore:r}=t.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$colorSet=e}),Object(i["watch"])(()=>a.colorMenu,e=>{e&&u()}),Object(i["watch"])(()=>a.menuChoose,e=>{"colorSet"!=e&&a.colorMenu&&t.commit("menuStore/setColorMenu",!1)}),o.$eventBus.on("openTagPointSub",e=>{c()}),o.$eventBus.on("clearSelectionSub",e=>{a.colorMenu&&u()}),o.$eventBus.on("deselectObjectEvent",e=>{a.colorMenu&&u()}),o.$eventBus.on("VolumnChange",e=>{a.colorMenu&&u()}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{Object(i["nextTick"])(()=>{$(".vc-saturation__cursor").removeAttr("style")})});const c=()=>{t.commit("menuStore/setColorMenu",!1)},s=()=>{if("#000000"==e.selectColor||!e.selectColor)return;if(!e.hasSelectNode)return;const o=gt._viewer.selectionManager.getSelectedObjects();if(!o||0==o.length)return;const i=N(e.selectColor),n=r.partAddColor||{},a=r.nowConfig,s=n[a]||{};o.map(e=>{gt._viewer.changeObjectColor(e.uuid,i),s[e.uuid]&&delete s[e.uuid],s[e.uuid]=i}),n[a]=s,t.commit("modelStore/sertPartAddColor",n),gt.clearSelection(),c(),jt.sendCenter(3)},d=o=>{o&&"#000000"!=o&&t.state.modelStore._brepload&&(e.selectColor=o,jt.sendCenter(4))},m=()=>{const e=gt._viewer.selectionManager.getSelectedObjects();if(!e||0==e.length)return;const o=r.partAddColor||{},i=r.nowConfig,n=o[i]||{};e.map(e=>{gt._viewer.changeObjectColor(e.uuid,null),n[e.uuid]=""}),o[i]=n,t.commit("modelStore/sertPartAddColor",o),gt.clearSelection(),c(),jt.sendCenter(3)},u=()=>{try{const t=gt._viewer.selectionManager.getSelectedObjects();t&&t.length>0?e.hasSelectNode=!0:e.hasSelectNode=!1}catch(t){e.hasSelectNode=!1}},p=Object(i["toRefs"])(e);return{close:c,chooseColor:s,colorChange:d,cancelColor:m,...p}}});o("582e");const ib=_t()(ob,[["render",eb],["__scopeId","data-v-62d389ee"]]);var nb=ib,ab=o("6e1e"),rb=o.n(ab),cb=o("c972"),sb=o.n(cb);Object(i["pushScopeId"])("data-v-0bfa1df1");const lb={class:"header"},db={class:"settings-content"},mb={class:"settings-title"},ub={class:"unit-flex"},pb={src:wl.a,alt:""},hb={src:Cl.a,alt:""},gb={src:wl.a,alt:""},vb={src:Cl.a,alt:""},bb={src:wl.a,alt:""},wb={src:Cl.a,alt:""},Sb={src:wl.a,alt:""},Cb={src:Cl.a,alt:""},Ob={class:"decimal-content"},fb={class:"decimal-oper"},yb={class:"deciaml-txt"},jb={class:"settings-title"},xb={class:"settings-flex bg-ul"},Tb={class:"bg-title"},Mb={key:0,class:"settings-flex bg-ul"},kb={class:"bg-title"},Eb={class:"settings-title"},Db={class:"settings-flex between"},Bb={key:0,class:"settings-li"},Ab={key:1,class:"settings-li"},Nb={class:"settings-li"},Ib={key:2,class:"settings-li"},Vb=Object(i["createElementVNode"])("img",{src:zn.a,alt:""},null,-1);function _b(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("card"),l=Object(i["resolveDirective"])("set-bg");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:Object(i["normalizeClass"])(["ndp3-my-page settings-card",{"settings-card-en":"en"==e.$i18n.locale}]),onClose:t[21]||(t[21]=e=>n.close(!0))},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",lb,Object(i["toDisplayString"])(e.$t("settings")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",db,[Object(i["createElementVNode"])("div",mb,Object(i["toDisplayString"])(e.$t("pcUnitIcon")),1),Object(i["createElementVNode"])("div",ub,[Object(i["createElementVNode"])("div",{onClick:t[0]||(t[0]=e=>n.unitChange("")),class:"settings-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",pb,null,512),[[i["vShow"],""==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",hb,null,512),[[i["vShow"],""!=n.modelStore.unit]]),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcUnitType1")),1)]),Object(i["createElementVNode"])("div",{onClick:t[1]||(t[1]=e=>n.unitChange("mm")),class:"settings-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",gb,null,512),[[i["vShow"],"mm"==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",vb,null,512),[[i["vShow"],"mm"!=n.modelStore.unit]]),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcUnitType2")),1)]),Object(i["createElementVNode"])("div",{onClick:t[2]||(t[2]=e=>n.unitChange("um")),class:"settings-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",bb,null,512),[[i["vShow"],"um"==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",wb,null,512),[[i["vShow"],"um"!=n.modelStore.unit]]),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcUnitType4")),1)]),Object(i["createElementVNode"])("div",{onClick:t[3]||(t[3]=e=>n.unitChange("in")),class:"settings-flex flex-start-radio"},[Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Sb,null,512),[[i["vShow"],"in"==n.modelStore.unit]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("img",Cb,null,512),[[i["vShow"],"in"!=n.modelStore.unit]]),Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcUnitType3")),1)])]),Object(i["createElementVNode"])("div",Ob,[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("measureDecimal")),1),Object(i["createElementVNode"])("div",fb,[Object(i["createElementVNode"])("img",{class:Object(i["normalizeClass"])({disable:n.modelStore.decimalNum<=2}),onClick:t[4]||(t[4]=(...e)=>n.decDecimal&&n.decDecimal(...e)),src:rb.a,alt:""},null,2),Object(i["createElementVNode"])("div",yb,Object(i["toDisplayString"])(n.modelStore.decimalNum),1),Object(i["createElementVNode"])("img",{class:Object(i["normalizeClass"])({disable:n.modelStore.decimalNum>=8}),onClick:t[5]||(t[5]=(...e)=>n.addDecimal&&n.addDecimal(...e)),src:sb.a,alt:""},null,2)])]),Object(i["createElementVNode"])("div",jb,Object(i["toDisplayString"])(e.$t("bgSetTxt")),1),Object(i["createElementVNode"])("ul",xb,[Object(i["createElementVNode"])("div",Tb,Object(i["toDisplayString"])(e.$t("bgColorTxt")),1),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])(["color-one",{active:1==e.bgTag||"num:15921906"==e.bgTag}]),onClick:t[6]||(t[6]=e=>n.setBg(1))},null,2),Object(i["createElementVNode"])("li",{class:Object(i["normalizeClass"])(["color-three",{active:3==e.bgTag}]),onClick:t[7]||(t[7]=e=>n.setBg(3))},null,2),e.isPackOne?Object(i["createCommentVNode"])("",!0):Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:0,class:Object(i["normalizeClass"])(["color-four",{active:4==e.bgTag}]),onClick:t[8]||(t[8]=e=>n.setBg(4))},null,2)),[[l,"img/scene/bg4.png"]]),e.isPackOne?Object(i["createCommentVNode"])("",!0):Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:1,class:Object(i["normalizeClass"])(["color-five",{active:5==e.bgTag}]),onClick:t[9]||(t[9]=e=>n.setBg(5))},null,2)),[[l,"img/scene/bg5.png"]]),e.isPackOne?Object(i["createCommentVNode"])("",!0):Object(i["withDirectives"])((Object(i["openBlock"])(),Object(i["createElementBlock"])("li",{key:2,class:Object(i["normalizeClass"])(["color-five",{active:6==e.bgTag}]),onClick:t[10]||(t[10]=e=>n.setBg(6))},null,2)),[[l,"img/scene/bg6.png"]])]),e.isPackOne?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("ul",Mb,[Object(i["createElementVNode"])("div",kb,Object(i["toDisplayString"])(e.$t("bgSceneTxt")),1),Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{onClick:t[11]||(t[11]=e=>n.setBg("A")),class:Object(i["normalizeClass"])({active:"A"==e.bgTag})},null,2),[[l,"img/scene/1.jpg"]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{onClick:t[12]||(t[12]=e=>n.setBg("B")),class:Object(i["normalizeClass"])({active:"B"==e.bgTag})},null,2),[[l,"img/scene/2.jpg"]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{onClick:t[13]||(t[13]=e=>n.setBg("C")),class:Object(i["normalizeClass"])({active:"C"==e.bgTag})},null,2),[[l,"img/scene/3.jpg"]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{onClick:t[14]||(t[14]=e=>n.setBg("D")),class:Object(i["normalizeClass"])({active:"D"==e.bgTag})},null,2),[[l,"img/scene/4.jpg"]]),Object(i["withDirectives"])(Object(i["createElementVNode"])("li",{onClick:t[15]||(t[15]=e=>n.setBg("E")),class:Object(i["normalizeClass"])({active:"E"==e.bgTag})},null,2),[[l,"img/scene/5.jpg"]])])),Object(i["createElementVNode"])("div",Eb,Object(i["toDisplayString"])(e.$t("otherSetsTxt")),1),Object(i["createElementVNode"])("div",Db,[e.hasPmi?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Bb,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcPmiCover")),1),Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.pmiSet,"onUpdate:modelValue":t[16]||(t[16]=t=>e.pmiSet=t),onChange:n.pmiSetChange},null,8,["modelValue","onChange"])])):Object(i["createCommentVNode"])("",!0),e.hasAuxLine?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ab,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("setTxt3")),1),Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.auxLineShow,"onUpdate:modelValue":t[17]||(t[17]=t=>e.auxLineShow=t),onChange:n.auxSetChange},null,8,["modelValue","onChange"])])):Object(i["createCommentVNode"])("",!0),Object(i["createElementVNode"])("div",Nb,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("setTxt2")),1),Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.measureShow,"onUpdate:modelValue":t[18]||(t[18]=t=>e.measureShow=t),onChange:n.measureSetChange},null,8,["modelValue","onChange"])]),"NX"==e.modelType&&e.modelHasTrans?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ib,[Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcTransTips")),1),Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.transSet,"onUpdate:modelValue":t[19]||(t[19]=t=>e.transSet=t),onChange:n.transSetChange},null,8,["modelValue","onChange"])])):Object(i["createCommentVNode"])("",!0)]),Object(i["createElementVNode"])("div",{class:"reset-content",onClick:t[20]||(t[20]=(...e)=>n.resetClick&&n.resetClick(...e))},[Vb,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("pcReset")),1)])])]),_:1},8,["class"])}Object(i["popScopeId"])();var Pb={components:{card:ua,xdSwitch:ar},name:"",setup(){const e=Object(i["reactive"])({bgTag:"1",sceneFinal:"",sceneLoading:!1,pmiSet:!1,auxLineShow:!1,tagShow:!1,measureShow:!1,transSet:!1,hasAuxLine:!0,hasPmi:!0,isPackOne:!1,modelType:"",modelHasTrans:!1}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{modelStore:a,tagStore:r}=t.state;Object(i["nextTick"])(()=>{n.config.globalProperties.$settingsCom=o,n.config.globalProperties.$settingsData=e}),o.$eventBus.on("shareBgSetSub",t=>{-1==t?e.bgTag=-1:u(t)}),o.$eventBus.on("openTagPointSub",e=>{m()}),o.$eventBus.on("loadAndInitSub",t=>{c(),e.isPackOne=!1}),Object(i["watch"])(()=>r.tagShow,t=>{e.tagShow=r.tagShow}),Object(i["watch"])(()=>a.measureShow,t=>{e.measureShow=a.measureShow});const c=()=>{e.hasAuxLine=gt._viewer.getHasAuxiliaryLine(),gt.getViewerIntance()&>.getViewerIntance().pmiObject?e.hasPmi=!0:e.hasPmi=!1,h(a.pmiCoverShow),g(a.measureShow),v(a.auxLineShow),S(a.decimalNum),e.modelType=gt._viewer.getModelFormat(),e.modelHasTrans=gt._viewer.HasBodyTransparent(),"NX"==e.modelType&&e.modelHasTrans&&(e.transSet=a.transSetShow,C(e.transSet))},s=e=>{t.commit("modelStore/setUnitType",e),gt._viewer.setDispalyModelUnit(e),jt.sendCenter(4)},d=()=>{s(""),u(1,!0),h(!1),v(!1),g(!0),"NX"==e.modelType&&e.modelHasTrans&&C(!1),S(4),jt.sendCenter(4)},m=e=>{t.commit("menuStore/setSettingsMenu",!1),e&&t.commit("menuStore/setMenuChoose","")},u=o=>{e.bgTag=o;const i=/^[1-3]*$/g,n=/^[4-6]*$/g,r=/^[A-E]*$/g,c="";if(String(o).startsWith("num:")){var s=Number(o.split(":")[1]);gt.setBackGroundColor(s)}else if(String(o).startsWith("img:")){s=o.split(":")[1];gt._viewer.setBackGroundImage(s)}else if(i.test(o)){const e=N(Hg[o]);gt.setBackGroundColor(e)}else if(n.test(o))gt._viewer.setBackGroundImage(c+Hg[o]);else if(r.test(o)){let t=Ug[o],i=[];t.map(e=>i.push(c+e)),t=i,e.sceneFinal=t,p(t)}const l=a.bgSetList||[],d=a.nowConfig;l[d]=o,t.commit("modelStore/setBgSetList",l),B("backgroundSetTxt"),jt.sendCenter(4)},p=t=>{gt._viewer.setEnvMapTextures(t,o=>{1==o&&JSON.stringify(t)!=JSON.stringify(e.sceneFinal)&&p(e.sceneFinal)},e=>{})},h=o=>{e.pmiSet=o,gt._viewer.stopPMIOcclusion(!o),t.commit("modelStore/setPmiCoverShow",o),jt.sendCenter(4)},g=o=>{e.measureShow=o,t.commit("modelStore/setMeasureShow",o),gt._viewer.setMeasureVisible(o),gt.setAllMeasureVisible(!0)},v=o=>{e.auxLineShow=o,t.commit("modelStore/setAuxLineShow",o),gt._viewer.setAuxiliaryLineVisible(o)},b=()=>{let e=a.decimalNum;e>=8||(e+=1,S(e))},w=()=>{let e=a.decimalNum;e<=2||(e-=1,S(e))},S=e=>{gt._viewer.setMeasuringDecimal(e),t.commit("modelStore/setDecimalNum",e),o.$eventBus.emit("decimalChangeSub")},C=o=>{e.transSet=o,t.commit("modelStore/setTransSetShow",o),gt._viewer.enableTransparent(o)},O=o=>{e.bgTag=o.bgTag,e.sceneFinal=o.sceneFinal,e.sceneLoading=o.sceneLoading,e.pmiSet=o.pmiSet,e.auxLineShow=o.auxLineShow,e.tagShow=o.tagShow,e.measureShow=o.measureShow,e.transSet=o.transSet,e.hasAuxLine=o.hasAuxLine,e.hasPmi=o.hasPmi,e.isPackOne=o.isPackOne,e.modelType=o.modelType,e.modelHasTrans=o.modelHasTrans,g(o.measureShow);const i=o._store||{};t.commit("modelStore/setUnitType",i.unit||""),gt._viewer.setDispalyModelUnit(i.unit||""),t.commit("modelStore/setDecimalNum",i.decimalNum),S(i.decimalNum)},f=Object(i["toRefs"])(e);return{modelStore:a,tagStore:r,unitChange:s,resetClick:d,close:m,setBg:u,pmiSetChange:h,measureSetChange:g,transSetChange:C,auxSetChange:v,addDecimal:b,decDecimal:w,setDataInfo:O,...f}}};o("2a24");const Lb=_t()(Pb,[["render",_b],["__scopeId","data-v-0bfa1df1"]]);var $b=Lb,zb=o("ddd8"),Rb=o.n(zb),Fb=o("2b82"),Hb=o.n(Fb),Ub=o("2216"),Wb=o.n(Ub),Gb=o("f148"),Yb=o.n(Gb),Zb=o("fa5f"),Xb=o.n(Zb);Object(i["pushScopeId"])("data-v-be0972e2");const Kb={class:"header"},Jb=Object(i["createElementVNode"])("img",{class:"tag-ico-tw",src:Rb.a,alt:"",srcset:""},null,-1),qb=Object(i["createElementVNode"])("img",{class:"tag-ico-line",src:Hb.a,alt:"",srcset:""},null,-1),Qb=Object(i["createElementVNode"])("div",{class:"cut-line"},null,-1),ew={class:"tag-list-top"},tw={class:"tag-list-content"},ow=["onClick"],iw={class:"item-oper"},nw={class:"tag-water"},aw=Object(i["createElementVNode"])("img",{class:"tag-water-bg",src:Wb.a,alt:""},null,-1),rw={key:0,class:"tag-line-note",src:Yb.a},cw={key:1,class:"tag-audio",src:Xb.a},sw={key:2,class:"tag-water-num"},lw={class:"item-userName"},dw=["onClick","data-tip2"],mw=["src"],uw=["onClick","data-tip2"],pw=["src"],hw=["src"],gw=["onClick","data-tip2"],vw=["src"],bw={class:"item-content"},ww={key:0,class:"type-image"},Sw=["src"],Cw={key:0,class:"video-image",src:Pp.a,alt:""},Ow={key:1,class:"anno-text"},fw={key:2,class:"anno-draw"},yw={key:3,class:"anno-audio"},jw=Object(i["createElementVNode"])("img",{class:"tag-content-audio",src:Xb.a},null,-1),xw={key:0,class:"no-msg"};function Tw(e,t,o,n,a,r){const c=Object(i["resolveComponent"])("xd-switch"),s=Object(i["resolveComponent"])("card");return Object(i["openBlock"])(),Object(i["createBlock"])(s,{class:"tag-list",onClose:n.close},{header:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",Kb,Object(i["toDisplayString"])(e.$t("tagListTxt1")),1)]),default:Object(i["withCtx"])(()=>[Object(i["createElementVNode"])("div",{class:Object(i["normalizeClass"])(["tag-oper",{"none-oper":!n.checkBtnExit("#ico-tagPicText")&&!n.checkBtnExit("#ico-tagLine")}])},[n.checkBtnExit("#ico-tagPicText")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"tag-oper-li tag-oper-tw",onClick:t[0]||(t[0]=(...e)=>n.tagPicText&&n.tagPicText(...e))},[Jb,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("tagListTxt2")),1)])):Object(i["createCommentVNode"])("",!0),n.checkBtnExit("#ico-tagLine")?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:1,class:"tag-oper-li tag-oper-line",onClick:t[1]||(t[1]=(...e)=>n.tagLineClick&&n.tagLineClick(...e))},[qb,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(e.$t("tagListTxt3")),1)])):Object(i["createCommentVNode"])("",!0)],2),Qb,Object(i["createElementVNode"])("div",ew,[Object(i["createElementVNode"])("div",null,Object(i["toDisplayString"])(e.$t("tagListShowComments"))+"("+Object(i["toDisplayString"])(n.modelStore.nowTag.length||0)+")",1),Object(i["createElementVNode"])("div",null,[Object(i["createVNode"])(c,{class:"set-switch",modelValue:e.tagShow,"onUpdate:modelValue":t[2]||(t[2]=t=>e.tagShow=t),onChange:n.tagSetChange},null,8,["modelValue","onChange"])])]),Object(i["createElementVNode"])("div",tw,[(Object(i["openBlock"])(!0),Object(i["createElementBlock"])(i["Fragment"],null,Object(i["renderList"])(n.modelStore.nowTag.slice().reverse(),(t,o)=>(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{class:Object(i["normalizeClass"])(["tag-item",{active:n.noteSelectComptuted(t.tagId||t.state.uuid),"hide-item":n.tagSeeComputed(t),islast:o==n.modelStore.nowTag.length-1&&1!=n.modelStore.nowTag.length}]),onClick:e=>n.selectTag(t),key:o},[Object(i["createElementVNode"])("div",iw,[Object(i["createElementVNode"])("div",nw,[aw,"lineNote"==t.state.origiType?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",rw)):n.audioComptuted(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",cw)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("span",sw,Object(i["toDisplayString"])(n.tagIndexComptuted(t.tagId)),1))]),Object(i["createElementVNode"])("div",lw,Object(i["toDisplayString"])(t.userInfo&&t.userInfo.userName||"User"),1),n.audioComptuted(t)?Object(i["createCommentVNode"])("",!0):(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",{key:0,class:"item-edit item-oper-ico",onClick:Object(i["withModifiers"])(e=>n.editTag(t,n.tagSeeComputed(t)),["stop"]),"data-tip2":e.$t("pcEdit")},[Object(i["createElementVNode"])("img",{src:n.icoEdit,alt:""},null,8,mw)],8,dw)),Object(i["createElementVNode"])("div",{class:"item-see item-oper-ico",onClick:Object(i["withModifiers"])(e=>n.hideSingleTag(t),["stop"]),"data-tip2":n.tagSeeComputed(t)?e.$t("tagListTxt5"):e.$t("tagListTxt4")},[n.tagSeeComputed(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:0,src:n.icoSeeClose,alt:""},null,8,pw)):(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",{key:1,src:n.icoSee,alt:""},null,8,hw))],8,uw),Object(i["createElementVNode"])("div",{class:"item-del item-oper-ico",onClick:Object(i["withModifiers"])(e=>n.deleteTag(t),["stop"]),"data-tip2":e.$t("del")},[Object(i["createElementVNode"])("img",{src:n.icoDel,alt:""},null,8,vw)],8,gw)]),Object(i["withDirectives"])(Object(i["createElementVNode"])("div",bw,[t.imgURL&&"AudioAnno"!=t.state.origiType?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",ww,[Object(i["createElementVNode"])("img",{class:"anno-image",src:t.imgURL,alt:""},null,8,Sw),n.videoComputed(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("img",Cw)):Object(i["createCommentVNode"])("",!0)])):Object(i["createCommentVNode"])("",!0),t.text?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",Ow,Object(i["toDisplayString"])(n.FilterDecode(t.text)),1)):Object(i["createCommentVNode"])("",!0),n.drawComputed(t.list||[])?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",fw,Object(i["toDisplayString"])(e.$t("tagListTxt6"))+" >",1)):Object(i["createCommentVNode"])("",!0),n.audioComptuted(t)?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",yw,[jw,Object(i["createElementVNode"])("span",null,Object(i["toDisplayString"])(t.time||0)+' "',1)])):Object(i["createCommentVNode"])("",!0)],512),[[i["vShow"],!n.tagSeeComputed(t)]])],10,ow))),128)),0==n.modelStore.nowTag.length?(Object(i["openBlock"])(),Object(i["createElementBlock"])("div",xw,Object(i["toDisplayString"])(e.$t("tagListNo")),1)):Object(i["createCommentVNode"])("",!0)])]),_:1},8,["onClose"])}Object(i["popScopeId"])();var Mw=o("c9f2"),kw=o.n(Mw),Ew=o("494f"),Dw=o.n(Ew),Bw=o("30f3"),Aw=o.n(Bw),Nw={name:"",components:{card:ua,xdSwitch:ar},setup(){const e=Object(i["reactive"])({tagShow:!0}),t=Object(l["useStore"])(),{proxy:o,appContext:n}=Object(i["getCurrentInstance"])(),{modelStore:a,tagStore:r}=t.state;Object(i["watch"])(()=>r.tagShow,()=>{e.tagShow=r.tagShow}),Object(i["onBeforeMount"])(()=>{}),Object(i["onMounted"])(()=>{}),Object(i["nextTick"])(()=>{n.config.globalProperties.$tagList=o,n.config.globalProperties.$tagData=e});const c=Object(i["computed"])(()=>e=>e.length>1||1==e.length&&"text"!=e[0].type),s=Object(i["computed"])(()=>e=>"VideoAnno"==e.state.type||"VideoAnno"==e.state.origiType),d=Object(i["computed"])(()=>e=>!!r.tagHideList.includes(e.tagId)),m=Object(i["computed"])(()=>e=>"AudioAnno"==e.state.type||"AudioAnno"==e.state.origiType),u=Object(i["computed"])(()=>e=>r.noteSelectId.includes(e)||r.tagCurUuid==e),p=Object(i["computed"])(()=>e=>{let t=1;return a.allTag.map((o,i)=>{o.tagId==e&&(t=i+1)}),t}),h=Object(i["computed"])(()=>{const e=a.nowTag||[];return e.reverse()}),g=i=>{e.tagShow=i,setTimeout(()=>{gt.setAnnotationsVisibility(i)},100),t.commit("tagStore/setTagshow",i),o.$eventBus.emit("exitLineTagSub","fromClose"),r.tagCurUuid&&o.$eventBus.emit("closeTagSeeSub")},v=()=>{gt.setOperatorByID("OpOrbit"),o.$eventBus.emit("addtagEvent"),t.commit("menuStore/setMenuChoose3","txtTag"),t.commit("menuStore/setShowOneMenu",!1),gt.setAnnotationsVisibility(0)},b=()=>{r.tagCurUuid&&o.$eventBus.emit("closeTagSeeSub"),gt._viewer.setOperatorByID("OpAnnotationNew"),gt._viewer.createNote(),t.commit("menuStore/setMenuChoose3","lineTag"),t.commit("menuStore/setShowOneMenu",!1)},w=e=>{let i=e.tagId||e.state.uuid,n=r.noteSelectId,a=r.tagCurUuid;r.tagHideList.includes(e.tagId)||a!=i&&(n.includes(i)||(o.$eventBus.emit("exitLineTagSub"),"lineNote"==e.state.origiType?(a&&o.$eventBus.emit("closeTagSeeSub"),n.push(i),t.commit("tagStore/setNoteSelectId",n),gt._viewer.selectAnnotation(i)):(o.$tag.tcChecktag=!1,o.$tag.interfaceOpenFlag=!0,gt._viewer.selectAnnotation(i))))},S=(e,t)=>{let i=e.tagId||e.state.uuid;if(!t&&!r.tagHideList.includes(e.tagId))if(o.$eventBus.emit("exitLineTagSub"),"lineNote"==e.state.origiType)gt._viewer.enterEditLineNote(i);else{let t=e;t.state.locationObject&&(t.state.locationObject=null),t=JSON.parse(JSON.stringify(t)),o.$eventBus.emit("editTagSub",t),gt.selectAnnotation(0)}},C=e=>{let t=e;t.state.locationObject&&(t.state.locationObject=null),t=JSON.parse(JSON.stringify(t)),o.$eventBus.emit("delTagSub",t),o.$eventBus.emit("exitLineTagSub")},O=e=>{o.$eventBus.emit("exitLineTagSub");let i=e.tagId||e.state.uuid;r.tagHideList.includes(i)?(t.commit("tagStore/setDelTagHideList",i),gt._viewer.setAnnotationsVisibilityByUuid(1,i)):(t.commit("tagStore/setAddTagHideList",i),gt._viewer.setAnnotationsVisibilityByUuid(0,i)),gt.setAnnotationsVisibility(!!r.tagShow),r.tagCurUuid&&(r.tagCurUuid==e.tagId?o.$eventBus.emit("closeTagSeeSub"):(gt.setAnnotationsVisibility(0),setTimeout(()=>{gt._viewer.setAnnotationsVisibilityByUuid(1,r.tagCurUuid)},100)))},f=e=>ae(e),y=()=>{o.$eventBus.emit("closeTagSeeSub"),o.$eventBus.emit("exitLineTagSub","fromClose"),t.commit("menuStore/setMenuChoose",""),t.commit("menuStore/setMenuChoose3",""),t.commit("menuStore/setShowOneMenu",!0),t.commit("menuStore/setShowAllMenu",!0)},j=o=>{e.tagShow=o,setTimeout(()=>{gt.setAnnotationsVisibility(o)},100),t.commit("tagStore/setTagshow",o)},x=Object(i["toRefs"])(e);return{...x,tagSetChange:g,tagPicText:v,tagLineClick:b,selectTag:w,editTag:S,hideSingleTag:O,deleteTag:C,close:y,audioComptuted:m,drawComputed:c,videoComputed:s,tagSeeComputed:d,noteSelectComptuted:u,tagIndexComptuted:p,reverseNowTag:h,modelStore:a,tagStore:r,icoEdit:Wp.a,icoDel:kw.a,icoSee:Dw.a,icoSeeClose:Aw.a,FilterDecode:z,checkBtnExit:f,setDataInfo:j}}};o("96af");const Iw=_t()(Nw,[["render",Tw],["__scopeId","data-v-be0972e2"]]);var Vw=Iw;let _w,Pw=null,Lw=null,$w=null;var zw={install(e){_w=e},props:{viewCtrl:{type:Object,default:{language:"en",configNum:-1,bgColor:15921906,autoPlay:0,showShadow:!1,allowEditAttr:!1,tagRelateConfig:!1,configNum:-1,askAccuracy:!1,viewerReqHeader:"",hideItem:{userdyAttr:!0,structTree:!0,pmi:!0,measure:!0},hidebtnCfg:[]}}},components:{MsgTip:Lt,Tips:Ht,Loading:Xt,Loading2:io,ClickPop:To,BottomBtn:vl,explode:$l,viewPorts:Cd,faceCheck:am,configSwitch:wm,coutSelect:sr,volumeWeigth:Rm,structureTree:Vu,attrBox:Vp,tagCom:Xg,tagLine:Qg,attrVolArea:sv,grith:Bc,structureTreeEasy:Dv,unitChange:Fv,pmiSet:Zv,colorSet:nb,settings:$b,lmP2ppface:Jm,tagList:Vw},setup(){const e=Object(i["reactive"])({loadingObj:{show:!1,message:""},language:"en",askAlready:!1,showError:!1,unshowtag:!0,saveInit:!1,loadAndInitFlag:!1,isLoaded:!1,broadTimer:null,logoConfig:"",logoConfigStyle:{}});$w=e;const t=Object(l["useStore"])(),{menuStore:o,modelStore:n}=t.state,{proxy:a}=Object(i["getCurrentInstance"])(),{locale:r}=Object(d["useI18n"])();Pw=a,Lw=t,window.nd_viewCtrl||(window.nd_viewCtrl=a.viewCtrl),Object(i["onMounted"])(()=>{g();const o=o=>{try{o&&nd_viewCtrl.initLoad&&nd_viewCtrl.initLoad(t.state.modelStore.nowConfig),!o&&nd_viewCtrl.loadFaild&&nd_viewCtrl.loadFaild(),nd_viewCtrl.viewports&&Array.isArray(nd_viewCtrl.viewports)&&t.commit("viewStore/loadViewPortList",nd_viewCtrl.viewports),o&&(u(),b(),e.saveInit=!0,Object(i["nextTick"])(()=>{const e=document.querySelector(".viewbox");null!=e&&e.addEventListener("contextmenu",e=>{e.preventDefault(),e.stopPropagation()})}),S(),v(),y(),setTimeout(()=>{m()},50)),t.commit("setModelIsLoaded",!0),gt._viewer.setDispalyModelUnit(t.state.modelStore.unit),C(nd_viewCtrl.viewerBoxStyle||{})}catch(n){}};a.$eventBus.on("loadBack",o),a.$eventBus.on("clearbroadTimer",()=>{clearTimeout(e.broadTimer)}),a.$eventBus.on("loadingShowHandler",({flag:t=!1,message:o=""})=>{e.loadingObj.show=t,e.loadingObj.message=o})}),nd_viewCtrl.hideItem&&t.commit("modelStore/setHideItem",nd_viewCtrl.hideItem),r.value=nd_viewCtrl.language||"zh";const c=window.navigator.userAgent.toLocaleLowerCase(),s=/iphone|ipad|ipod|mac/.test(c);function m(){function o(){t.commit("showBottomBtn"),t.commit("showCtrlBtn"),t.commit("menuStore/setShowAllMenu",!0),a.$eventBus.emit("loadAndInitSub",e.loadAndInitFlag),e.loadAndInitFlag=!0,jt.sendCenter(2)}e.loadAndInitFlag?o():Ot.readyForDom(()=>{o()})}function u(){if(!e.saveInit){var o=gt._viewer.getUnvisibleList();o&&o.length>0&&t.commit("saveInitUnvisible",o);var i=gt._viewer.getTransparentList();i&&i.length>0&&t.commit("saveInitTransparent",i),t.state.modelStore.unit&&t.commit("saveInitUnit",t.state.modelStore.unit);var n=gt._viewer.getviewState(),a=gt.isPerspective()?"Perspective":"Orthographic";t.commit("saveInitViewparams",{viewState:n,proMode:a});var r=t.state.initParams.bgColor,c=t.state.initParams.bgImg,s=t.state.modelStore.configs.length;s=Math.max(s,1);var l=[];if(c){var d="img:"+nd_viewCtrl.bgImg;for(let e=0;e<s;e++)l[e]=d;t.commit("modelStore/setBgSetList",l),t.commit("saveInitBgSetList",l)}else if("0x"!=r&&""!=r&&void 0!=r){var m="num:"+String(r);for(let e=0;e<s;e++)l[e]=m;t.commit("modelStore/setBgSetList",l),t.commit("saveInitBgSetList",l)}else t.commit("setInitBgparams",{bgColor:"",bgImg:""})}}function p(e){w();var t={},o=e.shareInfo.camerainfo;o&&(t=e.shareInfo),gt._viewer.setSectionImageFlag(!0),gt.loadModelView(e.modejsPath,(function(){setTimeout(()=>{gt._viewer.onWindowResize()},2e3)}),e.configNum,o,t)}function h(e){t.commit("setAskaccruacyTc",!1),t.commit("modelStore/setAccuracyLevel",e);var o=t.state.modelStore.accuracyInfo.data,i=t.state.opt;if(window.accData=o,o&&o.length>0){var n=o.find(t=>t.Level==e||t.Folder==e);if(n){var r=i.mpath+n.Folder+"/";a.loadViewer(r)}}}function g(){e.language=nd_viewCtrl.language||"zh",0!=nd_viewCtrl.default&&nd_viewCtrl.src&&a.loadViewer(),window.nd_load3Dviewer=a.loadViewer,window.NDS=window.NDSWebViewer.NDS,nd_viewCtrl.logoConfig||(nd_viewCtrl.logoConfig={}),e.logoConfig={...nd_viewCtrl.logoConfig},e.logoConfigStyle=ze(e.logoConfig)}function v(){"yzp"!=nd_viewCtrl.viewMode&&(nd_viewCtrl.hideRightkeyBtnClass||(nd_viewCtrl.hideRightkeyBtnClass=[]));n.nowConfig;nd_viewCtrl.hidebtnCfg&&nd_viewCtrl.hidebtnCfg.includes("#ico-lineTagEdit")&>._viewer.showEditIcon(!1),nd_viewCtrl.hidebtnCfg&&nd_viewCtrl.hidebtnCfg.includes("#ico-lineTagDel")&>._viewer.showDeleteIcon(!1),t.commit("tagStore/setTagshow",!0),lt(t.state.modelStore.nowTag,t.state.modelStore.allTag)}function b(){e.saveInit||t.commit("saveInitConfig",n.nowConfig),nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.cutInfo&&(a.$eventBus.emit("shareCoutSub",nd_viewCtrl.shareInfo.cutInfo),t.commit("saveInitCut",nd_viewCtrl.shareInfo.cutInfo)),nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo&&nd_viewCtrl.shareInfo.camerainfo.isPerspective&&a.$eventBus.emit("isPerspectiveSub");const o=gt._viewer.getCameraInfo().isPerspective;if(o&&a.$eventBus.emit("isPerspectiveSub"),nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo){let o=nd_viewCtrl.shareInfo.pmiVisible;const i=nd_viewCtrl&&(nd_viewCtrl.hideShowPMI||nd_viewCtrl._opt&&nd_viewCtrl._opt.hideShowPMI)||!1;i&&(o=!1);const n=gt._viewer.isAssemblyPmi()&>._viewer.isPartPmi();nd_viewCtrl.hideItem&&nd_viewCtrl.hideItem.pmi&&(o=!1),n||gt.setPmiVisible2(o),t.commit("modelStore/setIsShowPmi",o),e.saveInit||t.commit("saveInitPMI",o)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo){const o=nd_viewCtrl.shareInfo;var i={explodeMode:o.explodeMode,axis:o.explodeAxis,explodeObjects:o.explodeObjects,level:o.explodeLevel-1,expRatio:o.explodeFactor};a.$eventBus.emit("shareExplodeSub",Object.assign({},i)),e.saveInit||t.commit("saveInitExplode",i),gt._viewer.selectExplodeEvent(!1)}nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo&&(nd_viewCtrl.unitType=nd_viewCtrl.shareInfo.unitType||"");let r=n.nowConfig,c=n.autoColorHex,s=n.partAddColor;if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo&&(c&&!L(c)||(c=nd_viewCtrl.shareInfo.autoColorHex||{}),s&&!L(s)||(s=nd_viewCtrl.shareInfo.partAddColor||{})),c&&!L(c)&&(c[r]&>._viewer.autoChangeObjectColor(!0,c[r]),t.commit("modelStore/setAutoColorHex",c),e.saveInit||t.commit("saveInitAutoColorHex",c)),s&&!L(s)){t.commit("modelStore/sertPartAddColor",s),e.saveInit||t.commit("saveInitPartAddColor",s);let o=s[r];for(let e in o)o[e]?gt._viewer.changeObjectColor(e,o[e]):gt._viewer.changeObjectColor(e,null)}let l=n.bgSetList||[];if(!e.saveInit&&nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.bgSetList){const e=nd_viewCtrl.shareInfo.bgSetList;e&&e.length>0&&(l=e,t.commit("modelStore/setBgSetList",l),t.commit("saveInitBgSetList",l))}const d=nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.camerainfo,m=gt._viewer.BloadreleaseModel()||!1;if(d||!m){if(l[r]?a.$eventBus.emit("shareBgSetSub",l[r]):a.$eventBus.emit("shareBgSetSub","1"),nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("pmiCoverShow")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.pmiCoverShow;t.commit("modelStore/setPmiCoverShow",!!e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("auxLineShow")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.auxLineShow;t.commit("modelStore/setAuxLineShow",!!e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("tagShow")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.tagShow;t.commit("tagStore/setTagshow",!!e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("measureShow")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.measureShow;t.commit("modelStore/setMeasureShow",!!e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("decimalNum")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.decimalNum;t.commit("modelStore/setDecimalNum",e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("transSetShow")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.transSetShow;t.commit("modelStore/setTransSetShow",e)}if(nd_viewCtrl.shareInfo&&nd_viewCtrl.shareInfo.hasOwnProperty("tagHideList")&&!e.saveInit){let e=nd_viewCtrl.shareInfo.tagHideList||[];t.commit("tagStore/setTagHideList",e)}}else a.$eventBus.emit("shareBgSetSub","-1")}function w(o){a.$eventBus||(a.$eventBus=_w.$eventBus);const i=gt.getViewerIntance();i.addEventListener("loadBegin",(function(){t.commit("setShowLoading",!1)})),i.addEventListener("pickOnEmptyArea",(function(){a.$eventBus.emit("clickBlankPosition")})),i.addEventListener("pickOnUnderICheck",(function(){a.$eventBus.emit("pickOnUnderICheck")})),i.addEventListener("BVHInfoEvent",(function(e){t.state.modelStore._geometryload&&t.state.modelStore._pmiload&&(a.$eventBus.emit("loadBack",!0),a.$eventBus.emit("loadComplete")),t.commit("modelStore/setBvhLoad",!0)})),i.addEventListener("GeomEmpty",(function(){t.commit("modelStore/setGeomEmpty",!0)})),i.addEventListener("PMIInfoEvent",(function(){t.state.modelStore._geometryload&&t.state.modelStore._bvhload&&(a.$eventBus.emit("loadBack",!0),a.$eventBus.emit("loadComplete")),t.commit("modelStore/setPmiload",!0),nd_viewCtrl.loadedEvent&&nd_viewCtrl.loadedEvent({geometry:t.state.modelStore._geometryload,pmi:!0,brep:t.state.modelStore._brepload})})),i.addEventListener("geometryAllLoadedEvent",(function(o){"animation"!==t.state.menuStore.menuChoose&&(t.commit("setShowLoading",!1),t.state.modelStore._pmiload&&t.state.modelStore._bvhload&&(a.$eventBus.emit("loadBack",!0),a.$eventBus.emit("loadComplete")),t.commit("modelStore/setGeometryload",!0),a.$eventBus.emit("geometrySub",!0),nd_viewCtrl.loadedEvent&&nd_viewCtrl.loadedEvent({geometry:!0,pmi:t.state.modelStore._pmiload,brep:t.state.modelStore._brepload}),setTimeout(()=>{e.unshowtag=!1},1e3))})),i.addEventListener("loadError",(function(o){e.showError=!0,a.$eventBus.emit("MsgTipEvent",a.$t("modelLoadErr")),t.commit("setShowLoading",!1),a.$eventBus.emit("loadBack",!1),a.$eventBus.emit("loadFail")})),i.addEventListener("clearSelection",(function(e){a.$eventBus.emit("clearSelectionSub")})),i.addEventListener("measureTimes",(function(e){a.$eventBus.emit("measureTimesSub"),"sync"==nd_viewCtrl.viewMode&&e.times>9&&a.$eventBus.emit("MsgTipEvent",a.$t("measureTimesErr")),nd_viewCtrl.measureTimes&&nd_viewCtrl.measureTimes(e)})),i.addEventListener("BrepInfoEvent",(function(e){t.commit("modelStore/setBrepload",!0),nd_viewCtrl.loadedEvent&&nd_viewCtrl.loadedEvent({geometry:t.state.modelStore._geometryload,pmi:t.state.modelStore._pmiload,brep:!0})})),i.addEventListener("selectObjectEvent",(function(e){nd_viewCtrl&&nd_viewCtrl.selectChangeEvent&&nd_viewCtrl.selectChangeEvent("select"),a.$eventBus.emit("selectObjectEvent",gt.getSelectedObjects()),a.$eventBus.emit("countSelectTreeNode",gt.getSelectedObjects())})),i.addEventListener("deselectObjectEvent",(function(e){nd_viewCtrl&&nd_viewCtrl.selectChangeEvent&&nd_viewCtrl.selectChangeEvent("deselect"),a.$eventBus.emit("deselectObjectEvent")})),i.addEventListener("annotationSelectedEvent",(function(e){a.$eventBus.emit("resetAll")})),i.addEventListener("BodySelectionChangeEvent",(function(e){var o=null;e.volumeAreaInfo?o={area:e.volumeAreaInfo.area,volume:e.volumeAreaInfo.volume,modelUnit:e.modelUnit,type:"Body"}:(e.volumeAreaInfo||e.modelUnit)&&(o={area:null,volume:null,modelUnit:null,type:"delBody"}),a.$eventBus.emit("VolumnChange",o);const i=gt.getSelectedObjects();t.state.menuStore.structMenu&&t.state.menuStore.attrMenu&&1==i.length&&i[0].children.length<1&&a.$eventBus.emit("structNodeChoose",i)})),i.addEventListener("BodyMeasureChangeEvent",(function(e){var t=null;e.volumeAreaInfo&&("BodyArea"==e.measureType&&e.volumeAreaInfo.area>0?t={area:e.volumeAreaInfo.area,volume:null,modelUnit:e.modelUnit,type:"BodyArea"}:"BodyVolume"==e.measureType&&e.volumeAreaInfo.volume>0&&(t={area:null,volume:e.volumeAreaInfo.volume,modelUnit:e.modelUnit,type:"BodyVolume"})),a.$eventBus.emit("VolumnChange",t)})),i.addEventListener("FaceSelectionPerimeterEvent",(function(e){var t=null;"FaceSelectionPerimeterEvent"==e.type&&(t={perimeters:e.perimeters,modelUnit:e.modelUnit,type:"BodyPerimeter"}),a.$eventBus.emit("FaceSelectionPerimeterSub",t),a.$eventBus.emit("VolumnChange",t)})),i.addEventListener("FaceSelectionChangeEvent",(function(e){var t=null;e.faceArea&&(t={area:e.faceArea,modelUnit:e.modelUnit,type:"BodyFace"}),a.$eventBus.emit("VolumnChange",t)})),i.addEventListener("BodyTotalVolumeEvent",(function(e){var t=null;e.totalVolume&&(t={volume:e.totalVolume,modelUnit:e.modelUnit,type:"BodyAllVolume"}),a.$eventBus.emit("VolumnChange",t)})),i.addEventListener("BodyTotalAreaEvent",(function(e){var t=null;e.totalArea&&(t={area:e.totalArea,modelUnit:e.modelUnit,type:"BodyAllArea"}),a.$eventBus.emit("VolumnChange",t)})),i.addEventListener("ActiveSectionViewChangeEvent",(function(e){a.$eventBus.emit("coutBaseImg",e.base64Img)})),i.addEventListener("Lineargauge3DMeasureEndEvent",(function(e){a.$eventBus.emit("Lineargauge3DMeasureEndEvent")})),i.addEventListener("broadcastEvent",(function(o){if("sync"==nd_viewCtrl.viewMode)try{if(e.broadTimer)return;e.broadTimer=setTimeout(()=>{clearInterval(e.broadTimer),e.broadTimer=null,t.state.modelStore._geometryload&&t.state.modelStore._pmiload&&(a.$tag.tcStep0||a.$tag.tcStep1||nd_viewCtrl.rtmSDK.joinStatus&&jt.sendCenter(1))},100)}catch(i){}})),i.addEventListener("selPMI",A((function(e){a.$eventBus.emit("selPMISub",e)}))),i.addEventListener("deselPMI",A((function(e){a.$eventBus.emit("deselPMISub",e)}))),i.addEventListener("clearSelPMI",(function(e){a.$eventBus.emit("clearSelPMISub",e)})),i.addEventListener("AnimationLoaded",()=>{t.commit("animationStore/setHasAnimation",!0),a.$eventBus.emit("animationLoadedSub")}),i.addEventListener("AnimationLoaded",()=>{a.$eventBus.emit("AnimationLoaded")}),i.addEventListener("NoteAdd",e=>{nd_viewCtrl.userInfo&&nd_viewCtrl.userInfo.userName&&(e.data.userInfo={userName:nd_viewCtrl.userInfo.userName}),xt({tagType:"lineNote",tagInfo:e.data,tagUuid:e.data.tagId},o=>{e.addNote("failed"!=o),"failed"!=o&&t.commit("modelStore/addTag",e.data)})}),i.addEventListener("NoteChange",e=>{nd_viewCtrl.userInfo&&nd_viewCtrl.userInfo.userName&&(e.data.userInfo={userName:nd_viewCtrl.userInfo.userName}),Tt({tagType:"lineNote",tagInfo:e.data,tagUuid:e.data.tagId},o=>{e.editNote("failed"!=o),"failed"!=o&&t.commit("modelStore/editTag",e.data)})}),i.addEventListener("NoteDelete",e=>{nd_viewCtrl.beDelTag&&nd_viewCtrl.beDelTag(e.data.tagId,o=>{"failed"!=o&&(e.delete(),t.commit("modelStore/delTagByuuid",e.data.tagId),ut())})}),i.addEventListener("NoteSelect",e=>{let o=e.data,i=[];o.map(e=>i.push(e.tagId)),t.commit("tagStore/setNoteSelectId",i)}),i.addEventListener("measureChangeEvent",e=>{"add"==e.measureType&&t.commit("modelStore/setAddMeasure",e.data),"delete"==e.measureType&&t.commit("modelStore/setDelMeasure",e.data),nd_viewCtrl.measureChange&&nd_viewCtrl.measureChange({type:e.measureType,data:e.data})}),i.addEventListener("viewportDisconnectView",e=>{a.$eventBus.emit("viewportDisconnectViewSub",e)}),i.addEventListener("viewportChange",e=>{a.$eventBus.emit("viewportChangeSub",e)}),i.addEventListener("rigisterCompleteEventICheck",e=>{a.$eventBus.emit("facecheckSuccess",e)}),i.addEventListener("rigisterFailedEventICheck",e=>{a.$eventBus.emit("facecheckFail",e)}),i.addEventListener("clippingBall",e=>{a.$eventBus.emit("clippingBallSub",e)}),window.addEventListener("keydown",e=>{t.state.isInShift||16!=e.keyCode||t.commit("setIsInShift",!0),t.state.isInCtrl||17!=e.keyCode||t.commit("setIsInCtrl",!0)}),window.addEventListener("keyup",e=>{16==e.keyCode&&t.commit("setIsInShift",!1),17==e.keyCode&&t.commit("setIsInCtrl",!1)})}function S(){const e=document.querySelector(".viewbox");e&&e.addEventListener("mouseenter",()=>{const e=document.querySelector(".pc-alert");e&&(e.style.display="none")}),e&&e.addEventListener("mouseleave",()=>{const e=document.querySelector(".pc-alert");e&&e.innerText&&(e.style.display="block")})}function C(e){const t=document.querySelectorAll("#viewer .viewbox"),o=e.top||null,i=e.right||null;o&&(t[0].style.top=o),i&&(t[0].style.right=i)}function O(){a.$eventBus.emit("rigthClickEvent",{showPop:!1})}function f(e){"lineTag"!=o.menuChoose3&&a.$eventBus.emit("rigthClickEvent",{clientX:e.clientX,clientY:e.clientY,innerHeight:e.view.innerHeight,innerWidth:e.view.innerWidth,showPop:!0})}function y(){if("sync"!=nd_viewCtrl.viewMode)return!1;gt._viewer.startBroadcast(nd_viewCtrl.rtmSDK.isRtmOperate);let o=!1;e.isLoaded||(o=!nd_viewCtrl.rtmSDK.isRtmOperate&&!nd_viewCtrl.rtmSDK.isRtmFreeOper,t.commit("setRtmNeedCover",o),nd_viewCtrl.rtmSDK.isRtmOperate&&(jt.sendCenter(1),jt.sendCenter(2),jt.sendCenter(3),jt.sendCenter(4),jt.sendCenter(5),jt.sendCenter(6),jt.sendCenter(7),jt.sendCenter(9),jt.sendCenter(10)),nd_viewCtrl.rtmSDK.isRtmOperate||window.nd_rtmReceiveAllMsg()),e.isLoaded=!0}return s&&window.addEventListener("resize",(function(){t.state.isShowBottomBtn=!t.state.isShowBottomBtn,t.state.isShowCtrlBtn=!t.state.isShowCtrlBtn,setTimeout(()=>{t.state.isShowBottomBtn=!t.state.isShowBottomBtn,t.state.isShowCtrlBtn=!t.state.isShowCtrlBtn,a.$forceUpdate()},0)})),{...Object(i["toRefs"])(e),store:t,menuStore:o,modelStore:n,watchAllClick:O,watchRightClick:f,loadViewer2:p,setAccruacy:h}},methods:{loadViewer:function(e){void 0==e&&(e=nd_viewCtrl.src),bt(e,(function(e){var t;if(Lw.commit("setOpt",e),null!==(t=$w)&&void 0!==t&&t.askAlready||!e.hasManyAccuracy||!e.askAccuracy){var o;Lw.commit("modelStore/setMeasureAcc",2),null===(o=Pw)||void 0===o||o.loadViewer2(e)}else{let e=2;Lw.commit("modelStore/setMeasureAcc",2),nd_viewCtrl.accuracyInfo&&nd_viewCtrl.accuracyInfo.curLevel&&(e=nd_viewCtrl.accuracyInfo.curLevel),Pw.setAccruacy(e)}}))},loadSingleViewer:function(){wt(e=>{var t;Lw.commit("setOpt",e),Lw.commit("modelStore/setMeasureAcc",2),null===(t=Pw)||void 0===t||t.loadViewer2(e)})}}};o("fa30"),o("e1bf"),o("cd10"),o("743d"),o("449f");const Rw=_t()(zw,[["render",s],["__scopeId","data-v-11affd56"]]);var Fw=Rw,Hw=o("1344"),Uw={cancel:"取消",save:"保存",sure:"确定",sure2:"确认",search:"搜索",back:"返回",exit:"退出",del:"删除",searchTree:"搜索结构树",searchTree2:"搜索关键字",gUnit:"个",areaBoxTxt:"面积:",volumnBoxTxt:"体积:",areaAllBoxTxt:"总面积:",volumnAllBoxTxt:"总体积:",premierTxt:"周长",noTxt:"序号",sizeTxt:"尺寸",accuracyInfo:"该模型比较复杂,图形加载可能比较慢,浏览可能会不够流畅,建议您选择低精度模式查看。",lowAccuracy:"低精度模式",highAccuracy:"高精度模式",showSetting:"显示设置",multipleSetting:"多配置",colorLine:"边线上色",color:"上色",hidelineToSee:"隐线可见",hidelineToHide:"隐线消除",resetEye:"重置视角",reset:"重置",hideNote:"隐藏批注",showNote:"显示批注",tagNote:"批注",meter:"测量",pmiHide:"隐藏PMI",pmiShow:"显示PMI",coutObj:"基础剖切",coutObj2:"盒剖切",structureTree:"结构树",facecheck:"干涉检查",interference:"干涉",noInterference:"暂无干涉",accuracy:"精度设置",start:"开始检查",attr:"属性",bigBang:"爆炸",drag:"拖动",showHide:"显示隐藏",Animation:"动画",animation:"动画",animationPlay:"播放",animationPause:"暂停",animationMultiple:"倍数",animationModel:"模式",animationExample:"实例",animationReset:"重置",chooseMeterType:"选择测量形式",chooseMeterDistanceType:"选择距离形式",chooseMeterLengthType:"选择长度形式",chooseMeterAngleType:"选择角度形式",chooseMeterAreaType:"选择面积形式",chooseMeterVolumnWeightType:"选择体积重量形式",chooseTagType:"选择批注形式",distance:"距离",distanceSmart:"智能测量",pointToPoint:"点到点",pointToLine:"点到线",pointToFace:"点到面",lineToLine:"线到线",lineToFace:"线到面",faceToFace:"面到面",circleDistance:"圆心距",dotToPoint:"孔轴到点",dotToLine:"孔轴到线",dotToFace:"孔轴到面",length:"长度",lengthSmart:"智能测量",meterLine:"线测量",circleLength:"周长",angleSmart:"智能测量",angle:"角度",lineToAngle:"线夹角",faceToAngle:"面夹角",lineToFaceAngle:"线面夹角",radius:"半径",area:"面积",selectedFace:"指定面",selectedObj:"指定实体",totalArea:"总面积",volumeWeight:"体积重量",selectToObj:"指定实体",totalObj:"总实体",volumnWeightDetail:"体积重量详情",material:"材料",chooseMaterial:"请选择材料",chooseMateria2:"请选择属性类型",enterSelfMaterial:"请输入材料/密度",enterSelfMaterial2:"请输入材料密度",selectedVolumn:"指定实体体积",selectedWeight:"指定实体重量",usualMaterial:"常用材料",selfMaterial:"自定义材料",meterBox:"包围盒",chooseMeterBoxType:"选择包围盒形式",totalBox:"总包围盒",clear:"清空",chooseStructureTree:"选择结构树",noTreeData:"暂无搜索结果",noTreeData2:"暂无数据",chooseAttrType:"选择属性形式",totalAttr:"总属性",singleAttr:"指定实体",selAttrDetail:"指定实体属性详情",totalattrDetail:"总属性详情",normalAttr:"常规属性",selfAttr:"自定义属性",noAttr:"暂无自定义属性",material:"材料",faceFace:"表面积",volumn:"体积",weight:"重量",boxVolume:"包围盒体积",objNum:"实体数",partNum:"零件数",pmiNum:"PMI数量",sureToDelAttr:"确定删除属性?",chooseCoutType:"选择剖切形式",chooseCoutType2:"选择剖切",chooseCoutSubTitle:"剖面选项",chooseCoutChange:"剖面变换",chooseCoutSetting:"剖面设置",chooseCoutAngle:"度",coutFaceShow:"切面显示",coutFaceShow2:"开启剖切",coutFaceHide:"切面隐藏",reverseCout:"反向剖切",viewport:"视图",addViewport:"添加视图",deleteThisViewport:"删除该视图?",viewportCancel:"取消",viewportDelete:"删除",CustomSection:"自定义剖面",displayHatching:"显示剖面线",displaySectionCover:"显示剖面盖",displaySectionOverlap:"显示剖面重叠",hideSlicePlane:"剖面隐藏",viewSection:"查看剖面",cuttingRange:"按零部件的剖面",excludeParts:"排除选定项",includedPart:"包括选定项",clearSection:"消除选择",deleteSection:"删除",UseDefaultColors:"使用默认颜色",UseModelColors:"使用模型颜色",CountColoring:"一键上色",CountColors:"主题颜色",chooseToBang:"滑动选择爆炸程度",chooseToDrag:"选择拖动形式",singleDrag:"单个拖动",singleDragResert:"单个复位",allDragResert:"全部复位",editAttr:"编辑属性",attrType:"属性分类",attrName:"属性名称",attrValue:"属性值",addAttr:"新增属性",addAttr2:"添加属性",chooseDisplayType:"选择显示隐藏形式",highLight:"突出显示",displayHide:"隐藏显示",transparent:"透明显示",displayResert:"全部还原",revert:"还原",backToBegin:"回到初始",displayHideOther:"单独显示",chooseToPart:"单击确定零件",chooseToReverse:"反选",chooseShowType:"选择显示设置形式",serveErrorTips:"提示:服务器异常,请稍候重试",dataIsNeed:"必填信息不能为空",noChildCfg:"缺少当前子菜单配置",choosePoint:"单击确定批注位置",tagTitle:"文本批注",tagholder:"请在此输入批注说明(选填)",tagPoint:"点",tagText:"文本",tagDraw:"绘图",tagArrow:"箭头",tagLine:"线段",tagCircle:"圆形",tagRect:"方形",tagSave:"保存",tagCancle:"取消",tagTip1:"禁止输入非法字符",tagTip2:"图片过大",tagTip3:"文件格式不正确",tagTip4:"请选择图片",tagTip5:"选择图片",loadError:"加载错误",tagDensity1:"请输入密度",tagDensity2:"请输入正确的密度",expMode:"选择爆炸模式",expArea:"局部爆炸-选择结构树",expFree:"自由爆炸",expAdv:"高级爆炸",expDirect:"爆炸方向",expDirectX:"沿X轴爆炸",expDirectY:"沿Y轴爆炸",expDirectZ:"沿Z轴爆炸",expLevel:"结构树级别",expLevel1:"一级",expLevel2:"二级",expLevel3:"三级",expLevel4:"四级",expLevel5:"五级",expSmall:"所选部件小于当前选择级别",expBar:"拖动滚动条查看爆炸效果",pcNowConfig:"当前配置",pcPartName:"零件名称",pcAllVolWt:"总体积重量",pcEdit:"编辑",pcInpAttrName:"请输入属性名称",pcInpAttrType:"请填写属性类型",pcInpAttrName2:"请输入属性名称",pcInpAttrName3:"属性名重复",pcInpAttrValue:"请输入属性值",pcDelAttrTips:"删除后属性数据不再保留",pcBrepNotEnd:"提示:测量数据正在加载,请稍候重试...",pcFileTypeTips:"提示:图片格式不正确!",pcTrans:"透明显示",pcCancelTrans:"取消透明",pcHidePart:"隐藏显示",pcShowPart:"取消隐藏",pcHideOther:"隐藏其它",pcAllShow:"全部还原",displaySetting:"显示设置",pcSingleShow:"单独显示",pcHighLight:"突出显示",pcStructLv:"结构树层级",pcStructCon:"局部爆炸-开启结构树爆炸",pcChooseCommonMt:"选择常用材料",pcChooseMtDe:"请选择材料名称及密度",pcChooseMtType:"请选择材料类型",pcMtType:"材料类型",pcMtName:"材料名称",pcSeePlan:"查看剖面",pcSeePlan2:"查看切面",pcChoosePlan:"选择切割面",pcXcut:"沿X轴切割",pcYcut:"沿Y轴切割",pcZcut:"沿Z轴切割",pcReset:"重置",pcReset2:"恢复默认设置",pcClickSurePart:"单击确定零件",pcMtxtLineShade:"边线上色",pcMtxtShade:"上色",pcMtxtLineSee:"隐线可见",pcMtxtLineMove:"隐线消除",pcMtxtTagHide:"隐藏批注",pcMtxtTagShow:"显示批注",pcMtxtWireframe:"线框模式",pcMtxtTransparent:"透明模式",pcMtxtPers:"透视",pcMtxtOrth:"正交",pcMtxtHomeView:"重置视角",pcMtxtTagTxt:"文本批注",pcMtxtTagImg:"图片批注",pcMtxtTagTxtImg:"图文批注",pcMtxtTagImg2:"图片路径",pcMtxtSmartMeter:"智能测量",pcMtxtDistance:"距离",pcMtxtLength:"长度",pcMtxtAngle:"角度",pcMtxtRadius:"半径",pcMtxtArea:"面积",pcMtxtVolWet:"体积重量",pcMtxtBox:"包围盒",pcMtxtP2P:"点到点",pcMtxtP2L:"点到线",pcMtxtP2F:"点到面",pcMtxtL2L:"线到线",pcMtxtL2F:"线到面",pcMtxtF2F:"面到面",pcMtxtCpoint:"圆心距",pcMtxtX2P:"孔轴到点",pcMtxtX2L:"孔轴到线",pcMtxtX2F:"孔轴到面",pcMtxtLmeter:"线测量",pcMtxtPmeter:"周长",pcMtxtAngleL:"线夹角",pcMtxtAngleF:"面夹角",pcMtxtAngleLF:"线面夹角",pcMtxtToF:"指定面",pcMtxtToSingle:"指定实体",pcMtxtToAllPart:"总实体",pcMtxtToAllBox:"总包围盒",pcMtxtToAllAttr:"总属性",pcMtxtTolArea:"总面积",pcMtxtIselect:"框选",pcMtxtIplus:"框选放大",pcMtxtIhight:"框选高亮",pcMtxtLasso:"套索选取",pcCoutTip1:"顺时针旋转",pcCoutTip2:"逆时针旋转",pcCoutTip3:"最大化",pcCoutTip4:"镜像",pcCoutTip5:"最小化",pcCursorTip:"单击确定指定实体",pcAllVol:"总体积",pcAllWeight:"总重量",pcNoPic:"暂无图片",pcUnitIcon:"单位设置",pcUnitType1:"默认",pcUnitType2:"mm/kg",pcUnitType3:"in/lb",pcUnitType4:"um/g",pcPmiCover:"模型遮挡PMI",tagAudioTips1:"说话时间太短",tagDelConfirm:"确定要删除当前批注吗?",tagSaveConfirm:"是否要保存当前的批注?",facecheckTitle:"该模型的干涉检查预计需要",facecheckMin:"分钟",facecheckSec:"秒钟",facecheckTip:"请知悉:干涉检查一旦开始将无法中断",facecheckContinue:"继续",facecheckResult:"检查结果",facecheckHideModel:"隐藏无干涉零件",facechecking:"干涉检查中…",tagAudioTimeTip:"",tagAudioCreate:"松开即可形成一条语音",tagAudioPress:"按住说话",tagExitSee:"退出查看批注",tagExit:"退出",tagExit2:"退出批注",tagTips:"请输入文本",tagDelImg:"删除",tagNoRoot:"请前往设置开启麦克风权限",tagSaveConfirm2:"是否要保存当前的批注?",tagSeeBigImg:"查看大图",tagSeeSmallImg:"最小化",tagSeeVideo:"查看视频",pmiTxt1:"选择PMI",pmiTxt2:"开启PMI",pmiTxt3:"开启装配体PMI",pmiTxt4:"开启子件PMI",backgroundSetTxt:"背景/场景设置",attrPop:"属性",colorTxt1:"一键上色",colorTxt2:"取消上色",colorTxt3:"设置颜色",settings:"设置",bgColorTxt:"背景色",bgSceneTxt:"场景图",bgSetTxt:"背景设置",openThisPart:"当前标签页打开",bgDelColor:"去除颜色",measureTimesErr:"当前测量数据过多,请清除后再进行添加",modelLoadErr:"模型加载失败",modelLimitErr:"当前使用人数超过限制",full:"全屏",fullout:"退出全屏",hideMeasure:"隐藏测量",showMeasure:"显示测量",pcMtxtFull:"全屏",pcMtxtFullexit:"退出全屏",pcMtxtMeasureShow:"显示测量",pcMtxtMeasureHide:"隐藏测量",wireframemode:"线框模式",transparentmode:"透明模式",hideMeasure:"隐藏测量",showMeasure:"显示测量",pcMtxtMeasureShow:"显示测量",pcMtxtMeasureHide:"隐藏测量",videoUpload:"上传视频",boxhighLight:"框选高亮",uploadLoading:"上传中...",WallThickness:"壁厚测量",Lineargauge:"线性测量",choosePface:"选择投影面",xPface:"X-投影面",yPface:"Y-投影面",zPface:"Z-投影面",sPface:"自定义",LmPt2Pt:"点到点",LmPt2Line:"点到线",LmLine2Line:"线到线",LmHole2Hole:"圆心距",LmAxis2Pt:"孔轴到点",LmAxis2Line:"孔轴到线",aniPlayType1:"正常播放",aniPlayType2:"循环播放",aniPlayType3:"往复播放",pcCoutUsually:"基础剖切",pcCoutBox:"盒剖切",pcCoutShow:"显示剖面",pcCoutHide:"隐藏剖面",pcCoutSwitchTxt1:"剖面",pcCoutSwitchTxt2:"剖面",pcMtxtTagLine:"引线批注",pcStruSelect1:"部件名称",pcStruSelect2:"属性名称",pcStruSelect3:"属性值",pcStruSelectAll2:"属性名称",pcStruSelectAll3:"属性值",otherSetsTxt:"其它设置",setTxt1:"显示批注",setTxt2:"显示测量",setTxt3:"显示辅助线",measureDecimal:"测量小数位",tagListTxt1:"批注",tagListTxt2:"图文",tagListTxt3:"引线",tagListTxt4:"隐藏",tagListTxt5:"显示",tagListTxt6:"查看绘图",tagListNo:"暂无批注",tagListShowComments:"显示批注",pcTransTips:"显示透明",meterDetail1:"请输入正确的密度",meterDetail2:"请输入密度",vportWindow:"窗口",vportMenu1:"视口",vportTxt1:"连接视图",vportTxt2:"四视图",vportTxt3:"二视图-垂直",vportTxt4:"二视图-水平",vportTxt5:"单一视图"},Ww={cancel:"Cancel",save:"Save",sure:"Confirm",sure2:"Confirm",search:"Search",back:"Back",exit:"Exit",del:"Delete",searchTree:"Search Designs",searchTree2:"enter keywords",gUnit:"",areaBoxTxt:"Area:",volumnBoxTxt:"Volume:",areaAllBoxTxt:"Total Area:",volumnAllBoxTxt:"Total Volume:",premierTxt:"Perimeter",noTxt:"NO.",sizeTxt:"Size",accuracyInfo:"The model is too complex to load, you are advised to choose low precision mode to view. ",lowAccuracy:"Low precision mode",highAccuracy:"High precision mode",showSetting:"Display mode",multipleSetting:"Multiple Configuration",colorLine:"Shaded without edges",color:"Shaded",hidelineToSee:"Hidden edges visible",hidelineToHide:"Hidden edges removed",resetEye:"Home view",reset:"Reset",hideNote:"Hide comment",showNote:"Show comment",tagNote:"Comment",meter:"Measure",pmiHide:"Hide PMI",pmiShow:"Show PMI",coutObj:"Section view",structureTree:"Designs",facecheck:"Interference Check",interference:"Interference",noInterference:"No interference",accuracy:"Accuracy",start:"Start",attr:"Properties",bigBang:"Exploded views",drag:"Drag",showHide:"Show and hide",Animation:"Animation",animation:"Animation",animationPlay:"Play",animationPause:"Pause",animationMultiple:"Speed",animationModel:"Mode",animationExample:"Sample(s)",animationReset:"Reset",chooseMeterType:"Forms of Measurement",chooseMeterDistanceType:"Forms of Distance",chooseMeterLengthType:"Forms of Length",chooseMeterAngleType:"Forms of Angle",chooseMeterAreaType:"Forms of Area",chooseMeterVolumnWeightType:"Forms of Volume",chooseTagType:"Forms of Markup",distance:"Distance",pointToPoint:"Point to Point",pointToLine:"Point to Straight Line",pointToFace:"Point to Surface",lineToLine:"Line to Straight Line",lineToFace:"Straight Line to Surface",faceToFace:"Surface to Surface",circleDistance:"Center Distance",dotToPoint:"Axial-hole to Point",dotToLine:"Axial-hole to Straight Line",dotToFace:"Axial-hole to Surface",length:"Length",meterLine:"Line Meaurement ",circleLength:"Perimeter",angle:"Angle",lineToAngle:"Angle between straight lines",faceToAngle:"Angle between planes",lineToFaceAngle:"Angle between line and plane",radius:"Radius",area:"Area",selectedFace:"Select a plane",selectedObj:"Select a entity",totalArea:"Total area",volumeWeight:"Volume and Weight",selectToObj:"Select a entity",totalObj:"Total Entities",volumnWeightDetail:"Volume and Weight Details",material:"Material",chooseMaterial:"Choose A Material",enterSelfMaterial:"Insert the material/density",enterSelfMaterial2:"Insert the material density",selectedVolumn:"Volume",selectedWeight:"Weight",usualMaterial:"Common Material",selfMaterial:"Custom Material",meterBox:"Bounding Box",chooseMeterBoxType:"Forms of Bounding Box",totalBox:"Total bounding box",clear:"Clear",chooseStructureTree:"Designs",noTreeData:"No Result Found",noTreeData2:"No Result Found",chooseAttrType:"From of Properties",totalAttr:"Total Properties",selAttrDetail:"Select a entity",totalattrDetail:"Total Properties Details",normalAttr:"General",selfAttr:"User-defined",noAttr:"No user-defined found",faceFace:"Surface area",volumn:"Volume",weight:"Weight",boxVolume:"Box volume",objNum:"Entities",partNum:"Parts",pmiNum:"PMI",sureToDelAttr:"Sure to delete the Properties?",chooseCoutType:"Form of section view",chooseCoutType2:"Section view",chooseCoutSubTitle:"Section options",chooseCoutChange:"Shift section",chooseCoutSetting:"Section Setting",chooseCoutAngle:"°",coutFaceShow:"Display section plane",coutFaceShow2:"Open",coutFaceHide:"Hide",reverseCout:"Opposite",viewport:"viewport",addViewport:"Add view",deleteThisViewport:"Delete the view?",viewportCancel:"cancel",viewportDelete:"delete",CustomSection:"Custom Section",displayHatching:"Display hatching",displaySectionCover:"Display section cover",displaySectionOverlap:"Display section overlap",hideSlicePlane:"Hide slice plane",viewSection:"View section",cuttingRange:"Cutting range",excludeParts:"Exclude parts",includedPart:"Included part",clearSection:"clear",deleteSection:"delete",UseDefaultColors:"Use default colors",UseModelColors:"Use model colors",CountColoring:"Coloring",CountColors:"Colors",chooseToBang:"Slide to Choose the Explode stages",chooseToDrag:"Form of Drag",singleDrag:"Single drag",singleDragResert:"Single reset",allDragResert:"All reset",editAttr:"Edit Properties",attrType:"Classification",attrName:"Name",attrValue:"Values",addAttr:"Add Property",addAttr2:"Add Property",chooseDisplayType:"Form of Show and Hide",highLight:"Isolate",displayHide:"Hide",transparent:"Transparent",displayResert:"Show All",chooseToPart:"Click to select a part.",chooseToReverse:"Invert selection",chooseShowType:"Display mode",serveErrorTips:"Exception",dataIsNeed:"Required",noChildCfg:"缺少当前子菜单配置",choosePoint:"Click to choose the location for the comment",tagTitle:"Markup",tagholder:"Please enter your descriptions here. (optional)",tagPoint:"point",tagText:"text",tagDraw:"draw",tagArrow:"arrow",tagLine:"line",tagCircle:"circle",tagRect:"rect",tagSave:"Save",tagCancle:"Cancel",tagTip1:"Do not enter illegal characters",tagTip2:"The picture is too large",tagTip3:"Invalid picture format",tagTip4:"Please select a picture",tagTip5:"Select",loadError:"Loading error",tagDensity1:"Please fill out the density",tagDensity2:"Please fill out the correct density",expMode:"Explosion mode",expArea:"Explosion view of area",expFree:"Free explosion",expAdv:"Advanced explosion",expDirect:"Direction",expDirectX:"X-axis",expDirectY:"Y-axis",expDirectZ:"Z-axis",expLevel:"Level",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"The part is smaller than the current selected level",expBar:"Drag the bar to see the explosion effect",pcNowConfig:"Current configuration",pcPartName:"Part Name",pcAllVolWt:"Total entity",pcEdit:"Edit",pcInpAttrName:"Please enter the property name",pcInpAttrName2:"Please enter the property name",pcInpAttrType:"Please enter the property type",pcInpAttrValue:"Please enter the property value",pcDelAttrTips:"Property data is no longer retained after deleted",pcBrepNotEnd:"Something wrong with measurement,please try again",pcFileTypeTips:"Invalid picture format",pcTrans:"Transparent",pcCancelTrans:"Cancel transparent",pcHidePart:"Hide",pcShowPart:"Unhide",pcHideOther:"Hide others",pcAllShow:"Restore all",displaySetting:"Display mode",revert:"Revert",backToBegin:"Return to initial",pcSingleShow:"Hide other parts",pcHighLight:"Isolate",pcStructLv:"Desigh hierarchy",pcStructCon:"Confined explosion",pcChooseCommonMt:"Choose common materials",pcChooseMtDe:"Please choose the material and density",pcChooseMtType:"Please choose the material type",pcMtType:"Material type",pcMtName:"Material name",pcSeePlan:"Information",pcSeePlan2:"Information",pcChoosePlan:"Select section",pcXcut:"X-axis",pcYcut:"Y-axis",pcZcut:"Z-axis",pcReset:"Reset",pcReset2:"Reset",pcClickSurePart:"Click to select a part",chooseMateria2:"Select the property type",pcInpAttrName3:"Duplicate name",pcMtxtLineShade:"Shaded without edges",pcMtxtShade:"Shaded",pcMtxtLineSee:"Hidden edges visible",pcMtxtLineMove:"Hidden edges removed",pcMtxtTagHide:"Hide comment",pcMtxtTagShow:"Show comment",pcMtxtWireframe:"Wire frame",pcMtxtTransparent:"Transparent",pcMtxtPers:"Perspective",pcMtxtOrth:"Orthogonality",pcMtxtHomeView:"Home view",pcMtxtTagTxt:"Text",pcMtxtTagImg:"Picture",pcMtxtTagTxtImg:"Picture & Text",pcMtxtTagImg2:"Picture",pcMtxtTagLine:"Line",pcMtxtSmartMeter:"Intelligent measurement",pcMtxtDistance:"Distance",pcMtxtLength:"Length",pcMtxtAngle:"Angle",pcMtxtRadius:"Radius",pcMtxtArea:"Area",pcMtxtVolWet:"Volume and weight",pcMtxtBox:"Bounding box",pcMtxtP2P:"Point to point",pcMtxtP2L:"Point to straight line",pcMtxtP2F:"Point to surface",pcMtxtL2L:"Straight line to straight line",pcMtxtL2F:"Line to surface",pcMtxtF2F:"Surface to surface",pcMtxtCpoint:"Center distance",pcMtxtX2P:"Axial-hole to point",pcMtxtX2L:"Axial-hole to line",pcMtxtX2F:"Axial-hole to surface",pcMtxtLmeter:"Line measurement",pcMtxtPmeter:"Perimeter",pcMtxtAngleL:"Angle between straight lines",pcMtxtAngleF:"Angle between planes",pcMtxtAngleLF:"Angle between line and plane",pcMtxtToF:"Select a plane",pcMtxtToSingle:"Select a entity",pcMtxtToAllPart:"Total entity",pcMtxtToAllBox:"Total bounding box",pcMtxtToAllAttr:"Total properties",pcMtxtTolArea:"Total area",pcMtxtIselect:"Box select",pcMtxtIplus:"Zoom extents",pcMtxtIhight:"High light",pcMtxtLasso:"Lasso Selection",pcCoutTip1:"Clockwise rotation",pcCoutTip2:"Contrarotate",pcCoutTip3:"Maximize",pcCoutTip4:"Mirror",pcCoutTip5:"Minimize",pcCursorTip:"Click to select the object",pcAllVol:"Total volume",pcAllWeight:"Total weight",pcNoPic:"No picture",pcUnitIcon:"Unit settings",pcUnitType1:"Default",pcUnitType2:"mm/kg",pcUnitType3:"in/lb",pcUnitType4:"um/g",pcPmiCover:"Stereo PMI",tagAudioTips1:"Speaking time is too short",tagDelConfirm:"Are you sure to delete the current comment?",tagSaveConfirm:"Do you want to save the current comments?",facecheckTitle:"The interference check of this model is expected to take",facecheckMin:"minutes",facecheckSec:"seconds",facecheckTip:"Please be aware that interference checks cannot be interrupted once started",facecheckContinue:"Continue",facecheckResult:"Result",facecheckHideModel:"Hide non-interfering parts",facechecking:"Interference Checking...",tagAudioTimeTip:"",tagAudioCreate:"Undo to create a voice",tagAudioPress:"Push to talk",tagExitSee:"Exit",tagExit:"Exit",tagExit2:"Exit",tagTips:"Please enter text",tagDelImg:"Delete",tagNoRoot:"Please allow access to your microphone",tagSaveConfirm2:"Do you want to save the current comments?",tagSeeBigImg:"See a larger image",tagSeeSmallImg:"Minimize",tagSeeVideo:"See video",pmiTxt1:"Select PMI",pmiTxt2:"Show PMI",pmiTxt3:"Show assembly PMI",pmiTxt4:"Show part PMI",colorTxt1:"Color all parts",colorTxt2:"Cancel all color",colorTxt3:"Select color",settings:"Settings",bgColorTxt:"Color",bgSceneTxt:"Skybox",bgSetTxt:"Background settings",openThisPart:"Preview Part",bgDelColor:"Cancel color",measureTimesErr:"Currently, there are too much measurement data, please delete them then try again",modelLoadErr:"model loaded error!",modelLimitErr:"Exceeded the maximum numer of users",pcMtxtFull:"Full screen",pcMtxtFullexit:"Exit full",hideMeasure:"Hide Measure",showMeasure:"Show Measure",pcMtxtMeasureShow:"Show Measure",pcMtxtMeasureHide:"Hide Measure",uploadLoading:"Uploading...",WallThickness:"Wall thickness",Lineargauge:"Linear measurement",choosePface:"Select projective plane",xPface:"X-projective plane",yPface:"Y-projective plane",zPface:"Z-projective plane",sPface:"Custom",aniPlayType1:"Normal",aniPlayType2:"Loop",aniPlayType3:"Reciprocating",pcCoutUsually:"Classic",pcCoutBox:"Box",pcCoutShow:"Section view",pcCoutHide:"Section view",pcCoutSwitchTxt1:"on",pcCoutSwitchTxt2:"off",pcStruSelect1:"parts name",pcStruSelect2:"PPTY name",pcStruSelect3:"PPTY value",pcStruSelectAll2:"property name",pcStruSelectAll3:"property value",otherSetsTxt:"Other Settings",setTxt1:"Comment",setTxt2:"Measure",setTxt3:"Auxiliary Line",measureDecimal:"Digits of precision",tagListTxt1:"Comments",tagListTxt2:"Graphic",tagListTxt3:"Leader",tagListTxt4:"Hide",tagListTxt5:"Show",tagListTxt6:"View drawing",tagListNo:"No Comment",tagListShowComments:"Show Comments",pcTransTips:"Transparent",meterDetail1:"Please fill out the correct density",meterDetail2:"Please fill out the density",vportWindow:"Wndow",vportMenu1:"Viewport",vportTxt1:"Connection view model",vportTxt2:"Four Comp views",vportTxt3:"Vertical Two views",vportTxt4:"Horizontal Two views",vportTxt5:"Single view"},Gw={cancel:"Annulez",save:"Sauvegardez",sure:"Confirmez",sure2:"Confirmez",search:"Recherchez",back:"Retournez",exit:"Quittez",del:"Supprimez",searchTree:"Recherchez des dessins",searchTree2:"Saisissez des mots-clés",gUnit:"",areaBoxTxt:"Surface:",volumnBoxTxt:"Volume:",areaAllBoxTxt:"Surface totale:",volumnAllBoxTxt:"Volume total:",premierTxt:"Périmètre",noTxt:"NON.",sizeTxt:"Taille",accuracyInfo:"Le modèle est trop complexe à charger, il est conseillé de choisir le mode basse précision pour le visualiser.",lowAccuracy:"Mode de basse précision",highAccuracy:"Mode de haute précision",showSetting:"Mode d'affichage",multipleSetting:"Configuration multiple",colorLine:"Ombré sans bords",color:"Ombré",hidelineToSee:"Bords cachés visibles",hidelineToHide:"Bords cachés éliminés",resetEye:"Vue d'accueil",reset:"Réinitialisation",hideNote:"Cachez le commentaire",showNote:"Affichez le commentaire",tagNote:"Commentaire",meter:"Mesure",pmiHide:"Cachez PMI",pmiShow:"Montrez PMI",coutObj:"Visualisation de section",structureTree:"Dessins",attr:"Propriétés",bigBang:"Visualisations éclatée",drag:"Glissez",showHide:"Affichez et masquez",Animation:"Animation",animation:"Animation",animationPlay:"Jouez",animationPause:"Pause",animationMultiple:"Vitesse",animationModel:"Mode",animationExample:"Exemple",animationReset:"Réinitialisation",chooseMeterType:"Formes de mesure",chooseMeterDistanceType:"Formes de distance",chooseMeterLengthType:"Formes de longueur",chooseMeterAngleType:"Formes d'angle",chooseMeterAreaType:"Formes de zone",chooseMeterVolumnWeightType:"Formes de volume",chooseTagType:"Formes de marquage",distance:"Distance",pointToPoint:"Point à point",pointToLine:"Point à ligne droite",pointToFace:"Point à surface",lineToLine:"Ligne à ligne droite",lineToFace:"Ligne droite à surface",faceToFace:"Surface à surface",circleDistance:"Distance centrale",dotToPoint:"Trou axial à point",dotToLine:"Trou axial à ligne droite",dotToFace:"Trou axial à surface",length:"Longueur",meterLine:"Mesure de ligne ",circleLength:"Périmètre",angle:"Angle",lineToAngle:"Angle entre lignes droites",faceToAngle:"Angle entre plans",lineToFaceAngle:"Angle entre une ligne et un plan",radius:"Rayon",area:"Zone",selectedFace:"Choisissez une face",selectedObj:"Choisissez une entité",totalArea:"Surface totale",volumeWeight:"Volume et poids",selectToObj:"Choisissez une entité",totalObj:"Entités totales",volumnWeightDetail:"Détails du volume et du poids",material:"Matériau",chooseMaterial:"Choisissez un matériau",enterSelfMaterial:"Insérez le matériau la densité",enterSelfMaterial2:"Insérez la densité du matériau",selectedVolumn:"Volume",selectedWeight:"Poids",usualMaterial:"Matériau commun",selfMaterial:"Matériau personnalisé",meterBox:"Boîte d'encastrement",chooseMeterBoxType:"Formes de la boîte d'encastrement",totalBox:"Boîte d'encastrement totale",clear:"Effacez",chooseStructureTree:"Dessins",noTreeData:"Aucun résultat trouvé",noTreeData2:"Aucun résultat trouvé",chooseAttrType:"Formes des propriétés",totalAttr:"Total des propriétés",selAttrDetail:"Choisissez une entité",totalattrDetail:"Total des détails des propriétés",normalAttr:"Général",selfAttr:"Défini par l'utilisateur",noAttr:"Aucun attribut trouvé",faceFace:"Zone de surface",volumn:"Volume",weight:"Poids",boxVolume:"Volume de la boîte",objNum:"Entités",partNum:"Pièces",pmiNum:"PMI",sureToDelAttr:"Vous êtes sûr de vouloir supprimer les propriétés?",chooseCoutType:"Forme de la vue de section",chooseCoutType2:"Visualisation de section",coutFaceShow:"Affichez le plan de section",coutFaceShow2:"Ouvrez",coutFaceHide:"Masquez",reverseCout:"Opposez",chooseToBang:"Glissez pour choisir les étapes d'éclatement",chooseToDrag:"Choisissez la forme du glissement",singleDrag:"Glissez simple",singleDragResert:"Réinitialisation simple",allDragResert:"Toutes les réinitialisations",editAttr:"Modifiez les propriétés",attrType:"Classification",attrName:"Nom de la propriété",attrValue:"Valeurs de la propriété",addAttr:"Ajoutez une propriété",addAttr2:"Ajoutez une propriété",chooseDisplayType:"Choisissez la forme d'affichage et de masquage",highLight:"Isolez",displayHide:"Cachez",transparent:"Transparent",displayResert:"Affichez tout",chooseToPart:"Cliquez pour sélectionner une partie.",chooseToReverse:"Inversez la sélection",chooseShowType:"Mode d'affichage",serveErrorTips:"Exception",dataIsNeed:"Requis",noChildCfg:"Configuration manquante du sous-menu actuel",choosePoint:"Cliquez pour choisir la position du commentaire",tagTitle:"Marquage",tagholder:"Veuillez saisir vos descriptions ici. (facultatif)",tagPoint:"point",tagText:"texte",tagDraw:"dessin",tagArrow:"flèche",tagLine:"ligne",tagCircle:"cercle",tagRect:"rectangle",tagSave:"Sauvegardez",tagCancle:"Annulez",tagTip1:"Ne saisissez pas de caractères illégaux",tagTip2:"L'image est trop grande",tagTip3:"Format d'image non valide",tagTip4:"Veuillez sélectionner une image",tagTip5:"Sélectionnez",loadError:"Erreur de chargement",tagDensity1:"Veuillez indiquer la densité",tagDensity2:"Veuillez indiquer la densité correcte",expMode:"Mode d'explosion",expArea:"Zone de la visualisation d’explosion",expFree:"Explosion libre",expAdv:"Explosion avancée",expDirect:"Direction",expDirectX:"Axe X",expDirectY:"Axe Y",expDirectZ:"Axe Z",expLevel:"Niveau",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"La pièce est plus petite que le niveau actuellement sélectionné",expBar:"Faites glisser la barre pour voir l'effet d'explosion",pcNowConfig:"Configuration actuelle",pcPartName:"Nom de la pièce",pcAllVolWt:"Entité totale",pcEdit:"Éditez",pcInpAttrName:"Saisissez le nom de propriété",pcInpAttrName2:"Saisissez le nom de propriété",pcInpAttrType:"Saisissez le type de propriété",pcInpAttrValue:"Saisissez la valeur de propriété",pcDelAttrTips:"Les données de propriété ne sont plus conservées après la suppression",pcBrepNotEnd:"Un erreur rencontré, veuillez réessayer",pcFileTypeTips:"Format d'image non valide",pcTrans:"Transparent",pcCancelTrans:"Annulez le transparent",pcHidePart:"Cachez",pcShowPart:"Affichez",pcHideOther:"Cachez les autres",pcAllShow:"Resteraurez tout",pcSingleShow:"Cachez d'autres parties",pcHighLight:"Isolez",pcStructLv:"Hiérarchie de dessin",pcStructCon:"Explosion confinée",pcChooseCommonMt:"Sélectionnez les matériaux courants",pcChooseMtDe:"Sélectionnez le matériau et la densité",pcChooseMtType:"Sélectionnez le type de matériau",pcMtType:"Type de matériau",pcMtName:"Nom du matériau",pcSeePlan:"Infos",pcSeePlan2:"Infos",pcChoosePlan:"Sélectionnez une section",pcXcut:"Plan X",pcYcut:"Plan Y",pcZcut:"Plan Z",pcReset:"Réinitialisation",pcReset2:"Réinitialisation",pcClickSurePart:"Cliquez pour sélectionner une pièce",chooseMateria2:"Sélectionnez le type de propriété",pcInpAttrName3:"Noms dupliqués",pcMtxtLineShade:"Ombré sans bords",pcMtxtShade:"Ombré",pcMtxtLineSee:"Bords cachés visibles",pcMtxtLineMove:"Bords cachés éliminés",pcMtxtTagHide:"Cachez le commentaire",pcMtxtTagShow:"Affichez le commentaire",pcMtxtWireframe:"Cadre filaire",pcMtxtTransparent:"Transparent",pcMtxtPers:"Perspective",pcMtxtOrth:"Orthogonalité",pcMtxtHomeView:"Vue d'accueil",pcMtxtTagTxt:"Texte",pcMtxtTagImg:"Image",pcMtxtTagTxtImg:"Image & Texte",pcMtxtTagImg2:"Image",pcMtxtTagLine:"Ligne",pcMtxtSmartMeter:"Mesure intelligente",pcMtxtDistance:"Distance",pcMtxtLength:"Longueur",pcMtxtAngle:"Angle",pcMtxtRadius:"Rayon",pcMtxtArea:"Zone",pcMtxtVolWet:"Volume et poids",pcMtxtBox:"Boîte d'encastrement",pcMtxtP2P:"Point à point",pcMtxtP2L:"Point à ligne droite",pcMtxtP2F:"Point à surface",pcMtxtL2L:"Ligne à ligne droite",pcMtxtL2F:"Ligne à surface",pcMtxtF2F:"Surface à surface",pcMtxtCpoint:"Distance centrale",pcMtxtX2P:"Trou axial à point",pcMtxtX2L:"Trou axial à ligne",pcMtxtX2F:"Trou axial à surface",pcMtxtLmeter:"Mesure de ligne",pcMtxtPmeter:"Périmètre",pcMtxtAngleL:"Angle entre lignes droites",pcMtxtAngleF:"Angle entre plans",pcMtxtAngleLF:"Angle entre une ligne et un plan",pcMtxtToF:"Choisissez une face",pcMtxtToSingle:"Choisissez une entité",pcMtxtToAllPart:"Entité totale",pcMtxtToAllBox:"Boîte d'encastrement totale",pcMtxtToAllAttr:"Total des propriétés",pcMtxtTolArea:"Surface totale",pcMtxtIselect:"Sélectionnez une boîte",pcMtxtIplus:"Zoom sur l'étendue",pcMtxtIhight:"Souligne",pcMtxtLasso:"Sélectionnez Lasso",pcCoutTip1:"Rotation anti-horaire",pcCoutTip2:"Rotation inversée",pcCoutTip3:"Maximisez",pcCoutTip4:"Miroir",pcCoutTip5:"Minimisez",pcCursorTip:"Cliquez pour sélectionner l'objet",pcAllVol:"Volume total",pcAllWeight:"Poids total",pcNoPic:"Pas d'image",pcUnitIcon:"Paramètres de l'unité",pcUnitType1:"Unité par défaut",pcUnitType2:"mm/kg",pcUnitType3:"po/lb",pcUnitType4:"um/g",pcPmiCover:"Stéréo PMI",tagAudioTips1:"Le temps de parole est trop court",tagDelConfirm:"Êtes-vous sûr de vouloir supprimer le commentaire actuel?",tagSaveConfirm:"Voulez-vous sauvegarder les commentaires actuels?",tagAudioTimeTip:"",tagAudioCreate:"Annulez pour créer une voix",tagAudioPress:"Poussez pour parler",tagExitSee:"Quittez",tagExit:"Quittez",tagExit2:"Quittez",tagTips:"Veuillez saisir le texte",tagDelImg:"Effacez",tagNoRoot:"Veuillez autoriser l'accès à votre microphone",tagSaveConfirm2:"Voulez-vous sauvegarder les commentaires actuels?",tagSeeBigImg:"Voir une image plus grande",tagSeeSmallImg:"Minimisez",tagSeeVideo:"Voir la vidéo",pmiTxt1:"Sélectionnez PMI",pmiTxt2:"Montrez PMI",pmiTxt3:"Affichez l'assemblage PMI",pmiTxt4:"Affichez la pièce PMI",colorTxt1:"Coloriez toutes les parties",colorTxt2:"Annulez toutes les couleurs",colorTxt3:"Sélectionnez la couleur",settings:"Paramètres",bgColorTxt:"Couleur",bgSceneTxt:"SkyBox",bgSetTxt:"Paramètres d'arrière-plan",openThisPart:"Aperçu de la partie",bgDelColor:"Couleur d'annulation",measureTimesErr:"Actuellement, trop de données de mesure, supprimez et réessayez-les",modelLoadErr:"Erreur de chargement du modèle !",modelLimitErr:"Le nombre maximum d'utilisateurs a été dépassé",pcMtxtFull:"Plein écran",pcMtxtFullexit:"Quittez complètement",hideMeasure:"Cachez la mesure",showMeasure:"Affichez la mesure",pcMtxtMeasureShow:"Affichez la mesure",pcMtxtMeasureHide:"Cachez la mesure",uploadLoading:"Téléchargement...",WallThickness:"Épaisseur du mur",Lineargauge:"Mesure linéaire",choosePface:"Sélection d'un plan de projection",xPface:"Plan X",yPface:"Plan Y",zPface:"Plan Z",sPface:"Personnalisé",aniPlayType1:"Normal",aniPlayType2:"Boucle",aniPlayType3:"Réciproque",pcCoutUsually:"Classique",pcCoutBox:"Boîte",pcCoutShow:"Visualisation de section",pcCoutHide:"Vue de section",pcCoutSwitchTxt1:"activé",pcCoutSwitchTxt2:"désactivée",pcStruSelect1:"nom des pièces",pcStruSelect2:"nom PPTY",pcStruSelect3:"valeur PPTY",pcStruSelectAll2:"nom de la propriété",pcStruSelectAll3:"valeur de la propriété",otherSetsTxt:"Autres réglages",setTxt1:"Commentaires",setTxt2:"Mesure",setTxt3:"Ligne auxiliaire",measureDecimal:"Chiffres de précision",tagListTxt1:"Commentaires",tagListTxt2:"Graphique",tagListTxt3:"Ligne directrice",tagListTxt4:"Cacher",tagListTxt5:"Afficher",tagListTxt6:"Voir le dessin",tagListNo:"Pas de commentaire",tagListShowComments:"Affichez les commentaires",pcTransTips:"Transparent",meterDetail1:"Indiquer la densité correcte",meterDetail2:"Indiquer la densité",viewport:"Vue",addViewport:"Ajouter une vue",deleteThisViewport:"Supprimer la vue ?",viewportCancel:"Annulez",viewportDelete:"Supprimez",CustomSection:"Section personnalisée",displayHatching:"Affichage des hachures",displaySectionCover:"Couverture de la section affichée",displaySectionOverlap:"Aff. Chevauchement des sections",hideSlicePlane:"Masquer le plan de coupe",viewSection:"Visualiser la section",cuttingRange:"Gamme de coupe",excludeParts:"Exclure des pièces",includedPart:"Pièce incluse",clearSection:"Supprimer",deleteSection:"Supprimez",UseDefaultColors:"Utiliser les couleurs par défaut(Couleurs par défaut)",UseModelColors:"Utiliser les couleurs du modèle",CountColoring:"Colorez tout",CountColors:"Couleurs",vportWindow:"Fenêtre",vportMenu1:"Port de vue",vportTxt1:"Modèle de vue de connexion",vportTxt2:"Quatre vues Comp",vportTxt3:"Deux vues vertical",vportTxt4:"Deux vues horizontal",vportTxt5:"Vue unique",revert:"Restaurer",backToBegin:"Retour à initial",facecheck:"Contrôle des interférences",interference:"interférence",noInterference:"Pas d'interférence",accuracy:"Précision",start:"Démarrage",facecheckTitle:"Le contrôle des interférences de ce modèle devrait durer",facecheckMin:"minutes",facecheckSec:"secondes",facecheckTip:"Notez que les contrôles d'interférence ne peuvent pas être interrompus une fois qu'ils ont commencé.",facecheckContinue:"Continuer",facecheckResult:"résultat",facecheckHideModel:"Masquer les parties non gênantes",facechecking:"Contrôle des interférences...",chooseCoutSubTitle:"Options de la section",chooseCoutChange:"Décaler la section",chooseCoutSetting:"Réglage de la section",chooseCoutAngle:"°",displaySetting:"Display mode"},Yw={cancel:"Abbrechen",save:"Speichern",sure:"Übernehmen",sure2:"Übernehmen",search:"Suchen",back:"Zurück",exit:"Beenden",del:"Löschen",searchTree:"Entwürfe suchen",searchTree2:"Schlüsselwörter eingeben",gUnit:"",areaBoxTxt:"Fläche:",volumnBoxTxt:"Volumen:",areaAllBoxTxt:"Gesamtfäche:",volumnAllBoxTxt:"Gesamtumfang:",premierTxt:"Umkreis",noTxt:"Nr.",sizeTxt:"Größe",accuracyInfo:"Das Modell ist zu komplex, um es zu laden. Es wird empfohlen, den Gering-Genauigkeit-Modus zu wählen.",lowAccuracy:"Gering-Genauigkeit-Modus",highAccuracy:"Hoch-Genauigkeit-Modus",showSetting:"Anzeigemodus",multipleSetting:"Mehrfach-Konfiguration",colorLine:"Schattiert ohne Kanten",color:"Schattiert",hidelineToSee:"Verdeckte Kanten sichtbar",hidelineToHide:"Verdeckte Kanten entfernt",resetEye:"Home-Ansicht",reset:"Zurücksetzen",hideNote:"Kommentar ausblenden",showNote:"Kommentar anzeigen",tagNote:"Kommentar",meter:"Messen",pmiHide:"PMI ausblenden",pmiShow:"PMI anzeigen",coutObj:"Schnittansicht",structureTree:"Entwürfe",attr:"Eigenschaften",bigBang:"Explosionsansicht",drag:"Ziehen",showHide:"Ein- und Ausblenden",Animation:"Animation",animation:"Animation",animationPlay:"Abspielen",animationPause:"Pause",animationMultiple:"Geschwindigkeit",animationModel:"Modus",animationExample:"Probe(n)",animationReset:"Zurücksetzen",chooseMeterType:"Formen der Messung",chooseMeterDistanceType:"Formen der Entfernung",chooseMeterLengthType:"Formen der Länge",chooseMeterAngleType:"Formen des Winkels",chooseMeterAreaType:"Formen der Fläche",chooseMeterVolumnWeightType:"Formen des Volumens",chooseTagType:"Formen der Markierung",distance:"Entfernung",pointToPoint:"Punkt zu Punkt",pointToLine:"Punkt zu Geraden",pointToFace:"Punkt zu Fläche",lineToLine:"Linie zu Linie",lineToFace:"Linie zu Fläche",faceToFace:"Fläche zu Fläche",circleDistance:"Mittenabstand",dotToPoint:"Axial-Loch zu Punkt",dotToLine:"Axial-Loch zu Gerade",dotToFace:"Axial-Loch zu Oberfläche",length:"Länge",meterLine:"Linienmessung",circleLength:"Umkreis",angle:"Winkel",lineToAngle:"Winkel zwischen Geraden",faceToAngle:"Winkel zwischen Ebenen",lineToFaceAngle:"Winkel zwischen Linie und Ebene",radius:"Radius",area:"Fläche",selectedFace:"Eine Fläche Auswählen",selectedObj:"Ein Element Auswählen",totalArea:"Gesamtfäche",volumeWeight:"Volumen und Gewicht",selectToObj:"Ein Element Wählen",totalObj:"Gesame Elemente",volumnWeightDetail:"Details zu Volumen und Gewicht",material:"Material",chooseMaterial:"Ein Material Wählen",enterSelfMaterial:"Bitte geben Sie das Material/die Dichte (g/cm³) ein:",enterSelfMaterial2:"Materialdichte einfügen",selectedVolumn:"Volumen",selectedWeight:"Gewicht",usualMaterial:"Gewöhnliches Material",selfMaterial:"Benutzerdefiniertes Material",meterBox:"Bounding Box",chooseMeterBoxType:"Formen der Bounding Box",totalBox:"Gesame Bounding Box",clear:"Übersichtlich",chooseStructureTree:"Entwürfe",noTreeData:"Kein Ergebnis gefunden",noTreeData2:"Kein Ergebnis gefunden",chooseAttrType:"Aus Eigenschaften Wählen",totalAttr:"Gesamte Eigenschaften",selAttrDetail:"Ein Element Auswählen",totalattrDetail:"Details zu Eigenschaften",normalAttr:"Allgemeine Eigenschaften",selfAttr:"Benutzerdefinierte Eigenschaften",noAttr:"Keine Benutzerdefinition gefunden",faceFace:"Oberfläche",volumn:"Volumen",weight:"Gewicht",boxVolume:"Volumen der Bounding Box",objNum:"Anzahl der Elemente",partNum:"Anzahl der Teile",pmiNum:"Anzahl von PMI",sureToDelAttr:"Möchten Sie die Eigenschaften wirklich löschen?",chooseCoutType:"Form der Schnittansicht",chooseCoutType2:"Schnittansicht",coutFaceShow:"Schnittebene Anzeigen",coutFaceShow2:"Öffnen",coutFaceHide:"Schnittebene Ausblenden",reverseCout:"Gegenüber",chooseToBang:"Slide zur Auswahl der Explosionsstufen",chooseToDrag:"Form des Ziehens Auswählen",singleDrag:"Einfaches Ziehen",singleDragResert:"Einfaches Zurücksetzen",allDragResert:"Alle Zurücksetzen",editAttr:"Eigenschaften Bearbeiten",attrType:"Klassifizierung der Eigenschaften:",attrName:"Eigenschaftsname:",attrValue:"Eigenschaftswerte:",addAttr:"Eigenschaft Hinzufügen",addAttr2:"Eigenschaft Hinzufügen",chooseDisplayType:"Form des Ein- und Ausblendens wählen",highLight:"Isolieren",displayHide:"Ausblenden",transparent:"Transparent",displayResert:"Alles Anzeigen",chooseToPart:"Zum Auswählen eines Teils anklicken.",chooseToReverse:"Auswahl umkehren",chooseShowType:"Anzeigemodus",serveErrorTips:"Ausnahme",dataIsNeed:"Erforderlich",noChildCfg:"Konfiguration des aktuellen Untermenüs fehlt",choosePoint:"Zum Auswählen der Position für Kommentar anklicken",tagTitle:"Markierung",tagholder:"Bitte geben Sie hier Ihre Beschreibungen ein. (optional)",tagPoint:"Punkt",tagText:"Text",tagDraw:"zeichnen",tagArrow:"Pfeil",tagLine:"Linie",tagCircle:"Kreis",tagRect:"Rechtes",tagSave:"Speichern",tagCancle:"Abbrechen",tagTip1:"Keine illegalen Zeichen eingeben",tagTip2:"Zu großes Bild",tagTip3:"Ungültiges Bildformat",tagTip4:"Bitte wählen Sie ein Bild aus",tagTip5:"Auswählen",loadError:"Fehler beim Laden",tagDensity1:"Bitte geben Sie die Dichte an",tagDensity2:"Bitte geben Sie die richtige Dichte ein",expMode:"Explosionsmodus",expArea:"Explosionsansicht der Fläche",expFree:"Freie Explosion",expAdv:"Erweiterte Explosion",expDirect:"Richtung",expDirectX:"X-Achse",expDirectY:"Y-Achse",expDirectZ:"Z-Achse",expLevel:"Ebene",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"Das Teil ist kleiner als die aktuell ausgewählte Ebene",expBar:"Ziehen Sie den Balken, um den Explosionseffekt anzuzeigen",pcNowConfig:"Aktuelle Konfiguration",pcPartName:"Teilname",pcAllVolWt:"Gesame Einheit",pcEdit:"Bearbeiten",pcInpAttrName:"Eigenschaftsname eingeben",pcInpAttrName2:"Eigenschaftsname eingeben",pcInpAttrType:"Eigenschaftsart eingeben",pcInpAttrValue:"Eigenschaftswert eingeben",pcDelAttrTips:"Eigenschaftsdaten werden nach Löschen nicht mehr beibehalten",pcBrepNotEnd:"Messung nicht korrekt, bitte erneut versuchen",pcFileTypeTips:"Ungültiges Bildformat",pcTrans:"Transparent",pcCancelTrans:"Transparenz abbrechen",pcHidePart:"Ausblenden",pcShowPart:"Einblenden",pcHideOther:"Andere ausblenden",pcAllShow:"Alle wiederherstellen",pcSingleShow:"Andere Teile ausblenden",pcHighLight:"Isolieren",pcStructLv:"Entwurf Hierarchie",pcStructCon:"Eingeschränkte Explosion",pcChooseCommonMt:"Gewöhnliche Materialien auswählen",pcChooseMtDe:"Material und Dichte auswählen",pcChooseMtType:"Materialart auswählen",pcMtType:"Materialart",pcMtName:"Materialbezeichnung",pcSeePlan:"Informationen",pcSeePlan2:"Informationen",pcChoosePlan:"Abschnitt auswählen",pcXcut:"X-Achse",pcYcut:"Y-Achse",pcZcut:"Z-Achse",pcReset:"Zurücksetzen",pcReset2:"Zurücksetzen",pcClickSurePart:"Zum Auswählen eines Teils anklicken",chooseMateria2:"Eigenschaftsart auswählen",pcInpAttrName3:"Name duplizieren",pcMtxtLineShade:"Schattiert ohne Kanten",pcMtxtShade:"Schattiert",pcMtxtLineSee:"Verdeckte Kanten sichtbar",pcMtxtLineMove:"Verdeckte Kanten entfernt",pcMtxtTagHide:"Kommentar ausblenden",pcMtxtTagShow:"Kommentar anzeigen",pcMtxtWireframe:"Gitterrahmen",pcMtxtTransparent:"Transparent",pcMtxtPers:"Perspektive",pcMtxtOrth:"Orthogonalität",pcMtxtHomeView:"Home-Ansicht",pcMtxtTagTxt:"Text",pcMtxtTagImg:"Bild",pcMtxtTagTxtImg:"Bild & Text",pcMtxtTagImg2:"Bild",pcMtxtTagLine:"Linie",pcMtxtSmartMeter:"Intelligente Messung",pcMtxtDistance:"Entfernung",pcMtxtLength:"Länge",pcMtxtAngle:"Winkel",pcMtxtRadius:"Radius",pcMtxtArea:"Fläche",pcMtxtVolWet:"Volumen und Gewicht",pcMtxtBox:"Bounding Box",pcMtxtP2P:"Punkt zu Punkt",pcMtxtP2L:"Punkt zu Geraden",pcMtxtP2F:"Punkt zu Fläche",pcMtxtL2L:"Linie zu Linie",pcMtxtL2F:"Linie zu Fläche",pcMtxtF2F:"Fläche zu Fläche",pcMtxtCpoint:"Mittenabstand",pcMtxtX2P:"Axial-Loch zu Punkt",pcMtxtX2L:"Axial-Loch zu Gerade",pcMtxtX2F:"Axial-Loch zu Oberfläche",pcMtxtLmeter:"Linienmessung",pcMtxtPmeter:"Umkreis",pcMtxtAngleL:"Winkel zwischen Geraden",pcMtxtAngleF:"Winkel zwischen Ebenen",pcMtxtAngleLF:"Winkel zwischen Linie und Ebene",pcMtxtToF:"Eine Fläche Auswählen",pcMtxtToSingle:"Ein Element Auswählen",pcMtxtToAllPart:"Gesame Einheit",pcMtxtToAllBox:"Gesame Bounding Box",pcMtxtToAllAttr:"Gesamte Eigenschaften",pcMtxtTolArea:"Gesamtfäche",pcMtxtIselect:"Box-Auswahl",pcMtxtIplus:"Box-Auswahl zoomen",pcMtxtIhight:"Box-Auswahl markieren",pcMtxtLasso:"Lasso-Auswahl",pcCoutTip1:"Drehen im Uhrzeigersinn",pcCoutTip2:"Kontrarotieren",pcCoutTip3:"Maximieren",pcCoutTip4:"Spiegeln",pcCoutTip5:"Minimieren",pcCursorTip:"Zum Auswählen des Objekts anklicken",pcAllVol:"Gesamtumfang",pcAllWeight:"Gesamtes Gewicht",pcNoPic:"Kein Bild",pcUnitIcon:"Einheiteneinstellungen",pcUnitType1:"Standard",pcUnitType2:"mm/kg",pcUnitType3:"Zoll/lb",pcUnitType4:"µm/g",pcPmiCover:"Stereo PMI",tagAudioTips1:"Zu kurze Sprechzeit",tagDelConfirm:"Möchten Sie den aktuellen Kommentar wirklich löschen?",tagSaveConfirm:"Möchten Sie den aktuellen Kommentar speichern?",tagAudioTimeTip:"",tagAudioCreate:"Rückgängig machen, um eine Stimme zu erzeugen",tagAudioPress:"Zum Sprechen drücken",tagExitSee:"Beenden",tagExit:"Beenden",tagExit2:"Beenden",tagTips:"Bitte geben Sie den Text ein",tagDelImg:"Bild löschen",tagNoRoot:"Bitte erlauben Sie den Zugriff auf Ihr Mikrofon",tagSaveConfirm2:"Möchten Sie den aktuellen Kommentar speichern?",tagSeeBigImg:"Siehe ein größeres Bild",tagSeeSmallImg:"Minimieren",tagSeeVideo:"Video ansehen",pmiTxt1:"PMI auswählen",pmiTxt2:"PMI anzeigen",pmiTxt3:"Baugruppe-PMI anzeigen",pmiTxt4:"Teil-PMI anzeigen",colorTxt1:"Alle Teile einfärben",colorTxt2:"Alle Farbe aufheben",colorTxt3:"Farbe auswählen",settings:"Einstellungen",bgColorTxt:"Farbe",bgSceneTxt:"SkyBox",bgSetTxt:"Hintergrund-Einstellungen",openThisPart:"Vorschau vom Teil",bgDelColor:"Farbauswahl aufheben",measureTimesErr:"Derzeit sind zu viele Messdaten vorhanden, bitte löschen und erneut versuchen",modelLoadErr:"Fehler beim geladenen Modell!",modelLimitErr:"Maximale Anzahl von Benutzern überschritten",pcMtxtFull:"Voller Bildschirm",pcMtxtFullexit:"Vollbild beenden",hideMeasure:"Messung ausblenden",showMeasure:"Messung anzeigen",pcMtxtMeasureShow:"Messung anzeigen",pcMtxtMeasureHide:"Messung ausblenden",uploadLoading:"Hochladen...",WallThickness:"Wanddicke",Lineargauge:"Lineare Messung",choosePface:"Projektionsebene auswählen",xPface:"X-Projektionsebene",yPface:"Y-Projektionsebene",zPface:"Z-Projektionsebene",sPface:"Benutzerdefiniert",aniPlayType1:"Normal",aniPlayType2:"Loop",aniPlayType3:"Hin- und Hergehen",pcCoutUsually:"Klassisch",pcCoutBox:"Box",pcCoutShow:"Schnittansicht",pcCoutHide:"Schnittansicht",pcCoutSwitchTxt1:"ein",pcCoutSwitchTxt2:"aus",pcStruSelect1:"Teilebezeichnung",pcStruSelect2:"PPTY-Name",pcStruSelect3:"PPTY-Wert",pcStruSelectAll2:"Eigenschaftsname",pcStruSelectAll3:"Eigenschaftswert",otherSetsTxt:"Weitere Einstellungen",setTxt1:"Kommentar",setTxt2:"Messen",setTxt3:"Hilfslinie",measureDecimal:"Ziffern der Genauigkeit",tagListTxt1:"Kommentare",tagListTxt2:"Grafik",tagListTxt3:"Vorlauf",tagListTxt4:"Ausblenden",tagListTxt5:"Anzeigen",tagListTxt6:"Zeichnung anzeigen",tagListNo:"Kein Kommentar",tagListShowComments:"Kommentare anzeigen",pcTransTips:"Transparenz",meterDetail1:"Bitte geben Sie die richtige Dichte an",meterDetail2:"Bitte geben Sie die Dichte ein",viewport:"Ansicht",addViewport:"Ansicht hinzufügen",deleteThisViewport:"Ansicht löschen?",viewportCancel:"Abbrechen",viewportDelete:"Löschen",CustomSection:"Benutzerdefinierter Abschnitt",displayHatching:"Schraffur anzeigen",displaySectionCover:"Schnittabdeckung anzeigen",displaySectionOverlap:"Schnittüberlappung anzeigen",hideSlicePlane:"Schnittebene ausblenden",viewSection:"Schnitt anzeigen",cuttingRange:"Schnittbereich",excludeParts:"Teile ausschließen",includedPart:"Teile einschließen",clearSection:"Entfernen",deleteSection:"Löschen",UseDefaultColors:"Standardfarben verwenden (Standardfarben)",UseModelColors:"Modellfarben verwenden",CountColoring:"Alle Teile einfärben",CountColors:"Farben",vportWindow:"Fenster",vportMenu1:"Ansichtsfenster",vportTxt1:"Verbindungsansichten",vportTxt2:"Vier Ansichten (Comp)",vportTxt3:"Zwei Ansichten (vertikal)",vportTxt4:"Zwei Ansichten (horizontal)",vportTxt5:"Einzelne Ansicht",revert:"Wiederherstellen",backToBegin:"Zurück zum Anfang",facecheck:"Interferenzprüfung",interference:"Interferenz",noInterference:"Keine Interferenz",accuracy:"Genauigkeit",start:"Start",facecheckTitle:"Die Interferenzprüfung dieses Modells wird voraussichtlich",facecheckMin:"Minuten dauern",facecheckSec:"Sekunden dauern.",facecheckTip:"Bitte beachten Sie, dass einmal gestartete Interferenzprüfungen nicht unterbrochen werden können.",facecheckContinue:"Weiter",facecheckResult:"Ergebnis",facecheckHideModel:"Nicht-interferierende Teile ausblenden",facechecking:"Interferenzprüfung wird durchgeführt...",chooseCoutSubTitle:"Abschnittsoptionen",chooseCoutChange:"Abschnitt versetzen",chooseCoutSetting:"Schnitteinstellung",chooseCoutAngle:"°",displaySetting:"Display mode"},Zw={cancel:"Annulla",save:"Salva",sure:"Conferma",sure2:"Conferma",search:"Ricerca",back:"Indietro",exit:"Esci",del:"Cancella",searchTree:"Ricerca di Parti di Design",searchTree2:"inserire parole chiave",gUnit:"",areaBoxTxt:"Area: ",volumnBoxTxt:"Volume: ",areaAllBoxTxt:"Area totale: ",volumnAllBoxTxt:"Volume totale: ",premierTxt:"Perimetro",noTxt:"NO.",sizeTxt:"Dimensioni",accuracyInfo:"Il modello è troppo complesso da caricare, si consiglia di scegliere la modalità di bassa precisione per la visualizzazione.",lowAccuracy:"Modalità di bassa precisione",highAccuracy:"Modalità di alta precisione",showSetting:"Modalità di visualizzazione",multipleSetting:"Configurazione multipla",colorLine:"Ombreggiato senza bordi",color:"Sfumato",hidelineToSee:"Bordi nascosti visibili",hidelineToHide:"Bordi nascosti rimossi",resetEye:"Vista iniziale",reset:"Azzera",hideNote:"Nascondi commento",showNote:"Mostra commento",tagNote:"Commento",meter:"Misura",pmiHide:"Nascondi PMI",pmiShow:"Mostra PMI",coutObj:"Vista della sezione",structureTree:"Disegni",attr:"Proprietà",bigBang:"Viste esplose",drag:"Trascinamento",showHide:"Mostra e Nascondi",Animation:"Animazione",animation:"Animazione",animationPlay:"Riproduzione",animationPause:"Pausa",animationMultiple:"Velocità",animationModel:"Modalità",animationExample:"Campione(i)",animationReset:"Azzera",chooseMeterType:"Forme di Misura",chooseMeterDistanceType:"Forme di Distanza",chooseMeterLengthType:"Forme di Lunghezza",chooseMeterAngleType:"Forme di Angolo",chooseMeterAreaType:"Forme di Area",chooseMeterVolumnWeightType:"Forme di Volume",chooseTagType:"Forme di Marcatura",distance:"Distanza",pointToPoint:"Da Punto a Punto",pointToLine:"Da Punto a Linea Retta",pointToFace:"Da Punto a Superficie",lineToLine:"Da Linea a Linea Retta",lineToFace:"Da Linea Retta a Superficie",faceToFace:"Da Superficie a Superficie",circleDistance:"Distanza dal Centro",dotToPoint:"Foro Assiale a Punto",dotToLine:"Da Foro Assiale a Linea Retta",dotToFace:"Foro Assiale a Superficie",length:"Lunghezza",meterLine:"Misura della Linea ",circleLength:"Perimetro",angle:"Angolo",lineToAngle:"Angolo tra linee rette",faceToAngle:"Angolo tra piani",lineToFaceAngle:"Angolo tra linea e piano",radius:"Raggio",area:"Area",selectedFace:"Scegliere un piano",selectedObj:"Selezionare un'entità",totalArea:"Area totale",volumeWeight:"Volume e Peso",selectToObj:"Selezionare un'entità",totalObj:"Entità Totali",volumnWeightDetail:"Dettagli su Volume e Peso",material:"Materiale",chooseMaterial:"Scegli un Materiale",enterSelfMaterial:"Inserisci materiale/densità",enterSelfMaterial2:"Inserire la densità del materiale",selectedVolumn:"Volume",selectedWeight:"Peso",usualMaterial:"Materiale Comune",selfMaterial:"Materiale Personalizzato",meterBox:"Scatola di Contenimento",chooseMeterBoxType:"Forme del Riquadro di Delimitazione",totalBox:"Riquadro di Delimitazione Totale",clear:"Liberare",chooseStructureTree:"Disegni",noTreeData:"Nessun risultato trovato",noTreeData2:"Nessun risultato trovato",chooseAttrType:"Scegli tra le proprietà",totalAttr:"Totale Proprietà",selAttrDetail:"Selezionare un'entità",totalattrDetail:"Dettagli sulle Proprietà Totali",normalAttr:"Generale",selfAttr:"Definito dall'utente",noAttr:"Non è stata trovata alcuna definizione utente",faceFace:"Area di superficie",volumn:"Volume",weight:"Peso",boxVolume:"Volume del Riquadro di Delimitazione",objNum:"Numero di entità",partNum:"Numero di parti",pmiNum:"Numeri di PMI",sureToDelAttr:"Sei sicuro di voler eliminare le proprietà?",chooseCoutType:"Forma della vista in sezione",chooseCoutType2:"Vista in sezione",coutFaceShow:"Visualizza il Piano di Sezione",coutFaceShow2:"Aperto",coutFaceHide:"Nascondi",reverseCout:"Opposto",chooseToBang:"Scorri per scegliere le fasi di Esplodi",chooseToDrag:"Scegli la forma di trascinamento",singleDrag:"Trascinamento singolo",singleDragResert:"Azzeramento singolo",allDragResert:"Tutti gli azzeramenti",editAttr:"Modifica delle proprietà",attrType:"Classificazione",attrName:"Nome",attrValue:"Valori",addAttr:"Aggiungi proprietà",addAttr2:"Aggiungi proprietà",chooseDisplayType:"Forma di Mostra e Nascondi",highLight:"Isola",displayHide:"Nascondi",transparent:"Trasparente",displayResert:"Mostra tutto",chooseToPart:"Fare clic per selezionare una parte.",chooseToReverse:"Inverti la selezione",chooseShowType:"Modalità di visualizzazione",serveErrorTips:"Eccezione",dataIsNeed:"Richiesto",noChildCfg:"Manca la configurazione del sottomenu corrente",choosePoint:"Fare clic per scegliere la posizione del commento",tagTitle:"Contrassegna",tagholder:"Inserisci qui le descrizioni. (opzionale)",tagPoint:"punto",tagText:"testo",tagDraw:"disegno",tagArrow:"freccia",tagLine:"linea",tagCircle:"cerchio",tagRect:"rettangolo",tagSave:"Salva",tagCancle:"Annulla",tagTip1:"Non inserire caratteri illegali",tagTip2:"L'immagine è troppo grande",tagTip3:"Formato dell'immagine non valido",tagTip4:"Seleziona un'immagine",tagTip5:"Selezionare",loadError:"Errore di caricamento",tagDensity1:"Si prega di compilare la densità",tagDensity2:"Inserisci la densità corretta",expMode:"Modalità esplosione",expArea:"Esplosione dell'area",expFree:"Esplosione libera",expAdv:"Esplosione avanzata",expDirect:"Direzione",expDirectX:"Asse X",expDirectY:"Asse Y",expDirectZ:"Asse Z",expLevel:"Livello",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"La parte è più piccola del livello correntemente selezionato",expBar:"Trascinare la barra per vedere l'effetto esplosione",pcNowConfig:"Configurazione attuale",pcPartName:"Nome della Parte",pcAllVolWt:"Entità totale",pcEdit:"Modifica",pcInpAttrName:"Inserire il nome della proprietà",pcInpAttrName2:"Inserire il nome della proprietà",pcInpAttrType:"Inserire il tipo di proprietà",pcInpAttrValue:"Inserire il valore della proprietà",pcDelAttrTips:"I dati dell'immobile non vengono più conservati dopo la cancellazione",pcBrepNotEnd:"Qualcosa non va nella misurazione, riprovare",pcFileTypeTips:"Formato dell'immagine non valido",pcTrans:"Trasparente",pcCancelTrans:"Annulla la trasparenza",pcHidePart:"Nascondi",pcShowPart:"Mostra",pcHideOther:"Nascondi gli altri",pcAllShow:"Ripristina tutto",pcSingleShow:"Nascondi altre parti",pcHighLight:"Isola",pcStructLv:"Gerarchia del Design",pcStructCon:"Esplosione confinata",pcChooseCommonMt:"Scegliere i materiali comuni",pcChooseMtDe:"Scegliere il materiale e la densità",pcChooseMtType:"Scegliere il tipo di materiale",pcMtType:"Tipo di materiale",pcMtName:"Nome del materiale",pcSeePlan:"Informazioni",pcSeePlan2:"Informazioni",pcChoosePlan:"Selezionare la sezione",pcXcut:"Asse X",pcYcut:"Asse Y",pcZcut:"Asse Z",pcReset:"Azzera",pcReset2:"Azzera",pcClickSurePart:"Fare clic per selezionare una parte",chooseMateria2:"Selezionare il tipo di proprietà",pcInpAttrName3:"Nome duplicato",pcMtxtLineShade:"Ombreggiato senza bordi",pcMtxtShade:"Sfumato",pcMtxtLineSee:"Bordi nascosti visibili",pcMtxtLineMove:"Bordi nascosti rimossi",pcMtxtTagHide:"Nascondi commento",pcMtxtTagShow:"Mostra commento",pcMtxtWireframe:"Cornice metallica",pcMtxtTransparent:"Trasparente",pcMtxtPers:"Prospettiva",pcMtxtOrth:"Ortogonalità",pcMtxtHomeView:"Vista iniziale",pcMtxtTagTxt:"Testo",pcMtxtTagImg:"Immagine",pcMtxtTagTxtImg:"Immagine & Testo",pcMtxtTagImg2:"Immagine",pcMtxtTagLine:"Linea",pcMtxtSmartMeter:"Misura intelligente",pcMtxtDistance:"Distanza",pcMtxtLength:"Lunghezza",pcMtxtAngle:"Angolo",pcMtxtRadius:"Raggio",pcMtxtArea:"Area",pcMtxtVolWet:"Volume e peso",pcMtxtBox:"Scatola di Contenimento",pcMtxtP2P:"Da Punto a Punto",pcMtxtP2L:"Da Punto a Linea Retta",pcMtxtP2F:"Da Punto a Superficie",pcMtxtL2L:"Da Linea a Linea Retta",pcMtxtL2F:"Da Linea Retta a Superficie",pcMtxtF2F:"Da Superficie a Superficie",pcMtxtCpoint:"Distanza dal Centro",pcMtxtX2P:"Foro Assiale a Punto",pcMtxtX2L:"Da Foro Assiale a Linea",pcMtxtX2F:"Foro Assiale a Superficie",pcMtxtLmeter:"Misura della Linea",pcMtxtPmeter:"Perimetro",pcMtxtAngleL:"Angolo tra linee rette",pcMtxtAngleF:"Angolo tra piani",pcMtxtAngleLF:"Angolo tra linea e piano",pcMtxtToF:"Scegliere un piano",pcMtxtToSingle:"Selezionare un'entità",pcMtxtToAllPart:"Entità totale",pcMtxtToAllBox:"Riquadro di Delimitazione Totale",pcMtxtToAllAttr:"Totale Proprietà",pcMtxtTolArea:"Area Totale",pcMtxtIselect:"Selezione della scatola",pcMtxtIplus:"Estensioni dello zoom",pcMtxtIhight:"Alta luce",pcMtxtLasso:"Selezione del Lazo",pcCoutTip1:"Rotazione in senso orario",pcCoutTip2:"Contraddistinguere",pcCoutTip3:"Massimizzare",pcCoutTip4:"Specchio",pcCoutTip5:"Minimizzare",pcCursorTip:"Fare clic per selezionare l'oggetto",pcAllVol:"Volume totale",pcAllWeight:"Peso totale",pcNoPic:"Nessuna immagine",pcUnitIcon:"Impostazioni dell'unità",pcUnitType1:"Predefinito",pcUnitType2:"mm/kg",pcUnitType3:"in/lb",pcUnitType4:"um/g",pcPmiCover:"PMI stereo",tagAudioTips1:"Il tempo di parola è troppo breve",tagDelConfirm:"Sei sicuro di voler eliminare il commento corrente?",tagSaveConfirm:"Vuoi salvare i commenti attuali?",tagAudioTimeTip:"",tagAudioCreate:"Annulla per creare una voce",tagAudioPress:"Premi per parlare",tagExitSee:"Esci",tagExit:"Esci",tagExit2:"Esci",tagTips:"Inserisci il testo",tagDelImg:"Cancella",tagNoRoot:"Consenti l'accesso al microfono",tagSaveConfirm2:"Vuoi salvare i commenti attuali?",tagSeeBigImg:"Vedere un'immagine più grande",tagSeeSmallImg:"Minimizzare",tagSeeVideo:"Vedere il video",pmiTxt1:"Seleziona PMI",pmiTxt2:"Mostra PMI",pmiTxt3:"Mostra l'assieme PMI",pmiTxt4:"Mostra PMI della parte",colorTxt1:"Colora tutte le parti",colorTxt2:"Annulla tutti i colori",colorTxt3:"Seleziona il colore",settings:"Impostazioni",bgColorTxt:"Colore",bgSceneTxt:"SkyBox",bgSetTxt:"Impostazioni dello sfondo",openThisPart:"Anteprima parte",bgDelColor:"Annulla colore",measureTimesErr:"Attualmente ci sono troppi dati di misurazione, si prega di cancellarli e riprovare",modelLoadErr:"modello caricato errore!",modelLimitErr:"Superato il numero massimo di utenti",pcMtxtFull:"Schermo intero",pcMtxtFullexit:"Esci da tutto",hideMeasure:"Nascondi misura",showMeasure:"Mostra misura",pcMtxtMeasureShow:"Mostra Misura",pcMtxtMeasureHide:"Nascondi Misura",uploadLoading:"Caricamento...",WallThickness:"Spessore della parete",WallThickness:"Spessore della parete",Lineargauge:"Misura lineare",choosePface:"Seleziona il piano proiettivo",xPface:"Piano proiettivo X",yPface:"Piano proiettivo Y",zPface:"Piano proiettivo Z",sPface:"Personalizzato",aniPlayType1:"Normale",aniPlayType2:"Anello",aniPlayType3:"Reciproca",pcCoutUsually:"Classico",pcCoutBox:"Scatola",pcCoutShow:"Vista in sezione",pcCoutHide:"Vista in sezione",pcCoutSwitchTxt1:"accceso",pcCoutSwitchTxt2:"spento",pcStruSelect1:"nome delle parti",pcStruSelect2:"Nome PPTY",pcStruSelect3:"Valore PPTY",pcStruSelectAll2:"nome della proprietà",pcStruSelectAll3:"valore della proprietà",otherSetsTxt:"Altre impostazioni",setTxt1:"Commento",setTxt2:"Misura",setTxt3:"Linea ausiliaria",measureDecimal:"Cifre di precisione",tagListTxt1:"Commenti",tagListTxt2:"Grafico",tagListTxt3:"Leader",tagListTxt4:"Nascondere",tagListTxt5:"Mostra",tagListTxt6:"Visualizza disegno",tagListNo:"Nessun commento",tagListShowComments:"Mostra i commenti",pcTransTips:"Trasparente",meterDetail1:"Compilare la densità corretta",meterDetail2:"Compilare la densità",viewport:"Visualizza",addViewport:"Aggiungere una vista",deleteThisViewport:"Cancellare la vista?",viewportCancel:"Annulla",viewportDelete:"Cancella",CustomSection:"Sezione personalizzata",displayHatching:"Visualizza tratteggio",displaySectionCover:"Visualizza copertura di sezione",displaySectionOverlap:"Visualizza sovrapposizione di sezione",hideSlicePlane:"Nascondi piano di taglio",viewSection:"Visualizza sezione",cuttingRange:"Gamma di taglio",excludeParts:"Parti escluse",includedPart:"Parte inclusa",clearSection:"Rimuovi",deleteSection:"Cancella",UseDefaultColors:"Usa colori predefiniti (colori predefiniti)",UseModelColors:"Usa colori del modello",CountColoring:"Colora le parti",CountColors:"Colori",vportWindow:"Finestra",vportMenu1:"Porta di vista",vportTxt1:"Modello di vista di connessione",vportTxt2:"Quattro viste Comp",vportTxt3:"Due viste verticali",vportTxt4:"Due viste orizzontali",vportTxt5:"Vista singola",revert:"Ripristina",backToBegin:"Torna all'inizio",facecheck:"Controllo Interferenze",interference:"interferenza",noInterference:"Nessuna interferenza",accuracy:"Precisione",start:"Avvio",facecheckTitle:"Il controllo delle interferenze di questo modello dovrebbe durare",facecheckMin:"minuti",facecheckSec:"secondi",facecheckTip:"Si ricorda che i controlli delle interferenze non possono essere interrotti una volta avviati.",facecheckContinue:"Continua",facecheckResult:"risultato",facecheckHideModel:"Nascondere le parti non interferenti",facechecking:"Controllo Interferenze...",chooseCoutSubTitle:"Opzioni di sezione",chooseCoutChange:"Sezione di spostamento",chooseCoutSetting:"Impostazione della sezione",chooseCoutAngle:"°",displaySetting:"Display mode"},Xw={cancel:"キャンセル",save:"保存",sure:"確認",sure2:"確認",search:"検索",back:"後",exit:"終了",del:"削除",searchTree:"設計を検索",searchTree2:"キーワードを入力します",gUnit:"",areaBoxTxt:"面積:",volumnBoxTxt:"容積:",areaAllBoxTxt:"総面積:",volumnAllBoxTxt:"総容積:",premierTxt:"周長",noTxt:"NO.",sizeTxt:"寸法",accuracyInfo:"モデルが複雑すぎてロードできないため、低精度モードを選択して表示することをお勧めします。",lowAccuracy:"低精度モード",highAccuracy:"高精度モード",showSetting:"表示モード",multipleSetting:"複数構成",colorLine:"エッジのないシェーディング",color:"シェーディング",hidelineToSee:"隠線表示",hidelineToHide:"隠線なし",resetEye:"ホームビュー",reset:"リセット",hideNote:"コメントを非表示",showNote:"コメントを表示",tagNote:"コメント",meter:"測定",pmiHide:"PMIを非表示",pmiShow:"PMIを表示",coutObj:"断面図",structureTree:"設計",attr:"プロパティ",bigBang:"分解図",drag:"ドラッグ",showHide:"表示と非表示",Animation:"アニメーション",animation:"アニメーション",animationPlay:"再生",animationPause:"一時停止",animationMultiple:"速度",animationModel:"モード",animationExample:"例",animationReset:"リセット",chooseMeterType:"測定形式",chooseMeterDistanceType:"距離形式",chooseMeterLengthType:"長さ形式",chooseMeterAngleType:"角度形式",chooseMeterAreaType:"面積形式",chooseMeterVolumnWeightType:"容積形式",chooseTagType:"マークアップの形式",distance:"距離",pointToPoint:"点から点へ",pointToLine:"点から直線へ",pointToFace:"直線から表面へ",lineToLine:"線から直線へ",lineToFace:"直線から表面へ",faceToFace:"表面から表面へ",circleDistance:"中心距離",dotToPoint:"軸穴から点へ",dotToLine:"軸穴から直線へ",dotToFace:"軸穴から表面へ",length:"長さ",meterLine:"線測定",circleLength:"周長",angle:"角度",lineToAngle:"直線間の角度",faceToAngle:"平面間の角度",lineToFaceAngle:"線と平面の角度",radius:"半径",area:"面積",selectedFace:"フェースを選択",selectedObj:"エンティティを選択",totalArea:"総面積",volumeWeight:"容積と重量",selectToObj:"エンティティを選択",totalObj:"合計エンティティ",volumnWeightDetail:"容積と重量の詳細",material:"材料",chooseMaterial:"材料を選択",enterSelfMaterial:"材料/密度(g/cm³)を挿入してください。",enterSelfMaterial2:"材料密度を挿入してください。",selectedVolumn:"容積",selectedWeight:"重量",usualMaterial:"汎用材料",selfMaterial:"カスタム材料",meterBox:"境界ボックス",chooseMeterBoxType:"境界ボックスの形式",totalBox:"合計境界ボックス",clear:"クリア",chooseStructureTree:"設計",noTreeData:"結果未発見",noTreeData2:"データなし",chooseAttrType:"属性から選択",totalAttr:"合計属性",selAttrDetail:"エンティティを選択",totalattrDetail:"属性詳細",normalAttr:"汎用プロパティ",selfAttr:"ユーザー定義属性",noAttr:"属性未発見",faceFace:"表面面積",volumn:"容積",weight:"重量",boxVolume:"境界ボックスの容積",objNum:"エンティティ数",partNum:"部品数",pmiNum:"PMI数",sureToDelAttr:"プロパティを削除しますか?",chooseCoutType:"断面図の形式",chooseCoutType2:"断面図",coutFaceShow:"断面平面を表示",coutFaceShow2:"開く",coutFaceHide:"断面平面を非表示",reverseCout:"反対側",chooseToBang:"スライドで分解段階を選択",chooseToDrag:"ドラッグ形式を選択",singleDrag:"単一ドラッグ",singleDragResert:"単一リセット",allDragResert:"全部リセット",editAttr:"属性を編集",attrType:"分類",attrName:"属性名",attrValue:"属性値",addAttr:"属性追加",addAttr2:"属性追加",chooseDisplayType:"表示と非表示の形式を選択",highLight:"隔絶",displayHide:"非表示",transparent:"透明",displayResert:"全部表示",chooseToPart:"部品を選択",chooseToReverse:"選択範囲を反転します",chooseShowType:"表示モード",serveErrorTips:"例外",dataIsNeed:"必須",noChildCfg:"現在、サブメニュー設定不十分",choosePoint:"クリックしてコメントの位置を選択します。",tagTitle:"マークアップ",tagholder:"ここに説明を入力してください。(オプション)",tagPoint:"点",tagText:"テキスト",tagDraw:"作図",tagArrow:"矢印",tagLine:"線",tagCircle:"円",tagRect:"直方体",tagSave:"保存",tagCancle:"キャンセル",tagTip1:"不正文字を入力しないでください",tagTip2:"画像過大",tagTip3:"無効な画像形式",tagTip4:"画像を選択してください",tagTip5:"選択",loadError:"読み込みエラー",tagDensity1:"密度を入力してください",tagDensity2:"正しい密度を入力してください",expMode:"分解モード",expArea:"エリアの分解図",expFree:"自由分解",expAdv:"高度分解",expDirect:"方向",expDirectX:"X軸",expDirectY:"Y軸",expDirectZ:"Z軸",expLevel:"レベル",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"部品が現在選択したレベルより小さい",expBar:"バーをドラッグして分解効果を表示",pcNowConfig:"現在の構成",pcPartName:"部品名",pcAllVolWt:"実体全体",pcEdit:"編集",pcInpAttrName:"物件名を入力してください。",pcInpAttrName2:"物件名を入力してください。",pcInpAttrType:"物件のタイプを入力してください",pcInpAttrValue:"物件の値を入力してください",pcDelAttrTips:"削除された物件データは保持されなくなります",pcBrepNotEnd:"測定に問題があります。もう一度お試しください",pcFileTypeTips:"無効な画像形式",pcTrans:"透明",pcCancelTrans:"透明をキャンセル",pcHidePart:"他を非表示",pcShowPart:"非表示解除",pcHideOther:"他の部品を非表示",pcAllShow:"全部復元",pcSingleShow:"他の部品を非表示",pcHighLight:"隔絶",pcStructLv:"設計階層",pcStructCon:"限定爆発",pcChooseCommonMt:"一般的な素材选择します",pcChooseMtDe:"材質と密度を選択してください",pcChooseMtType:"材料の種類を選択してください",pcMtType:"材料の種類",pcMtName:"材料名",pcSeePlan:"情報",pcSeePlan2:"情報",pcChoosePlan:"セクションを選択します。",pcXcut:"X面",pcYcut:"Y面",pcZcut:"Z面",pcReset:"リセット",pcReset2:"リセット",pcClickSurePart:"クリックして部品を選択します",chooseMateria2:"物件のタイプを選択します",pcInpAttrName3:"重複した名前",pcMtxtLineShade:"エッジのないシェーディング",pcMtxtShade:"シェーディング",pcMtxtLineSee:"隠線表示",pcMtxtLineMove:"隠線なし",pcMtxtTagHide:"コメントを非表示",pcMtxtTagShow:"コメントを表示",pcMtxtWireframe:"ワイヤーフレーム",pcMtxtTransparent:"透明",pcMtxtPers:"透視",pcMtxtOrth:"直交性",pcMtxtHomeView:"ホームビュー",pcMtxtTagTxt:"テキスト",pcMtxtTagImg:"画像",pcMtxtTagTxtImg:"画像とテキスト",pcMtxtTagImg2:"画像",pcMtxtTagLine:"線",pcMtxtSmartMeter:"インテリジェントな測定",pcMtxtDistance:"距離",pcMtxtLength:"長さ",pcMtxtAngle:"角度",pcMtxtRadius:"半径",pcMtxtArea:"面積",pcMtxtVolWet:"容積と重量",pcMtxtBox:"境界ボックス",pcMtxtP2P:"点から点へ",pcMtxtP2L:"点から直線へ",pcMtxtP2F:"点から表面へ",pcMtxtL2L:"線から直線へ",pcMtxtL2F:"線から表面へ",pcMtxtF2F:"表面から表面へ",pcMtxtCpoint:"中心距離",pcMtxtX2P:"軸穴から点へ",pcMtxtX2L:"軸穴から直線へ",pcMtxtX2F:"軸穴から表面へ",pcMtxtLmeter:"線測定",pcMtxtPmeter:"周長",pcMtxtAngleL:"直線間の角度",pcMtxtAngleF:"平面間の角度",pcMtxtAngleLF:"線と平面の角度",pcMtxtToF:"フェースを選択",pcMtxtToSingle:"エンティティを選択",pcMtxtToAllPart:"実体全体",pcMtxtToAllBox:"合計境界ボックス",pcMtxtToAllAttr:"合計プロパティ",pcMtxtTolArea:"総面積",pcMtxtIselect:"ボックスの選択",pcMtxtIplus:"ズーム範囲",pcMtxtIhight:"ハイライト",pcMtxtLasso:"投げ縄選択",pcCoutTip1:"時計回り回転",pcCoutTip2:"反転",pcCoutTip3:"最大化",pcCoutTip4:"ミラー",pcCoutTip5:"最小化",pcCursorTip:"クリックしてオブジェクトを選択します",pcAllVol:"総容積",pcAllWeight:"総重量",pcNoPic:"画像なし",pcUnitIcon:"単位設定",pcUnitType1:"デフォルト単位",pcUnitType2:"mm/kg",pcUnitType3:"in/lb",pcUnitType4:"um/g",pcPmiCover:"ステレオPMI",tagAudioTips1:"対話時間過短",tagDelConfirm:"現在のコメントを削除しますか?",tagSaveConfirm:"現在のコメントを保存しますか?",tagAudioTimeTip:"再生",tagAudioCreate:"取り消して音声を作成",tagAudioPress:"プッシュして話す",tagExitSee:"終了",tagExit:"終了",tagExit2:"終了",tagTips:"テキストを入力してください",tagDelImg:"画像を削除",tagNoRoot:"マイクへのアクセスを許可してください",tagSaveConfirm2:"現在のコメントを保存しますか?",tagSeeBigImg:"拡大画像を見ます",tagSeeSmallImg:"最小化",tagSeeVideo:"ビデオを見ます",pmiTxt1:"PMIを選択",pmiTxt2:"PMIを表示",pmiTxt3:"アセンブリPMIを表示",pmiTxt4:"部品PMIを表示",colorTxt1:"すべての部品を着色",colorTxt2:"すべての色をキャンセル",colorTxt3:"色を選択",settings:"設定",bgColorTxt:"色",bgSceneTxt:"スカイボックス",bgSetTxt:"背景設定",openThisPart:"プレビュー部品",bgDelColor:"色をキャンセル",measureTimesErr:"測定データが多すぎるので、削除してもう一度お試しください",modelLoadErr:"モデルロードエラー!",modelLimitErr:"最大ユーザー数を超えました",pcMtxtFull:"フルスクリーン",pcMtxtFullexit:"フルスクリーンを終了",hideMeasure:"メジャーを非表示",showMeasure:"メジャーを表示",pcMtxtMeasureShow:"メジャーを表示",pcMtxtMeasureHide:"メジャーを非表示",uploadLoading:"アップロード中…",WallThickness:"壁厚",Lineargauge:"線形測定",choosePface:"投影面の選択",xPface:"X射影平面",yPface:"Y射影平面",zPface:"Z射影平面",sPface:"カスタム",aniPlayType1:"ノーマル",aniPlayType2:"ループ",aniPlayType3:"往復",pcCoutUsually:"クラシック",pcCoutBox:"ボックス",pcCoutShow:"断面図",pcCoutHide:"断面図",pcCoutSwitchTxt1:"オン",pcCoutSwitchTxt2:"オフ",pcStruSelect1:"部品名",pcStruSelect2:"PPTY名",pcStruSelect3:"PPTY値",pcStruSelectAll2:"属性名",pcStruSelectAll3:"属性価値",otherSetsTxt:"他の設定",setTxt1:"コメント",setTxt2:"測定",setTxt3:"補助線",measureDecimal:"精度桁数",tagListTxt1:"コメント",tagListTxt2:"図形",tagListTxt3:"リーダー",tagListTxt4:"非表示",tagListTxt5:"表示",tagListTxt6:"図面を表示します",tagListNo:"ノーコメント",tagListShowComments:"コメントを表示します",pcTransTips:"透明",meterDetail1:"正しい密度を記入してください",meterDetail2:"密度を記入してください",viewport:"ビュー",addViewport:"ビューを追加する",deleteThisViewport:"ビューを削除する",viewportCancel:"キャンセル",viewportDelete:"削除",CustomSection:"カスタムセクション",displayHatching:"ハッチングを表示する",displaySectionCover:"セクションカバーを表示する",displaySectionOverlap:"セクションのオーバーラップを表示する",hideSlicePlane:"スライス面を隠す",viewSection:"セクションを表示する",cuttingRange:"切断範囲",excludeParts:"部品を除く",includedPart:"部品を含める",clearSection:"削除する",deleteSection:"削除",UseDefaultColors:"デフォルトカラーを使用する(デフォルトカラー)",UseModelColors:"モデルカラーを使用する",CountColoring:"全ての部品の色付け",CountColors:"色",vportWindow:"ウィンドウ",vportMenu1:"ビューポート",vportTxt1:"接続ビュー・モデル",vportTxt2:"4つのコンプ",vportTxt3:"垂直 2つのビュー",vportTxt4:"水平 2つのビュー",vportTxt5:"シングルビュー",revert:"復元する",backToBegin:"最初に戻る",facecheck:"インターフェアランス・チェック",interference:"インターフェアランス",noInterference:"インターフェアランスなし",accuracy:"精度設定",start:"スタート",facecheckTitle:"このモデルのインターフェアランス・チェックには",facecheckMin:"分かかると予想される",facecheckSec:"秒かかると予想される",facecheckTip:"一度開始されたインターフェアランス・チェックは中断できませんのでご注意ください。",facecheckContinue:"続く",facecheckResult:"結果",facecheckHideModel:"インターフェアしない部分を隠す",facechecking:"インターフェアランス・チェック中",chooseCoutSubTitle:"セクションオプション",chooseCoutChange:"シフトセクション",chooseCoutSetting:"セクション設定",chooseCoutAngle:"°",displaySetting:"Display mode"},Kw={cancel:"Cancelar",save:"Guardar",sure:"Confirmar",sure2:"Confirmar",search:"Buscar",back:"Atrás",exit:"Salir",del:"Borrar",searchTree:"Buscar Diseños",searchTree2:"introducir palabras clave",gUnit:"",areaBoxTxt:"Área:",volumnBoxTxt:"Volumen:",areaAllBoxTxt:"Área total:",volumnAllBoxTxt:"Volumen total:",premierTxt:"Perímetro",noTxt:"N.°",sizeTxt:"Tamaño",accuracyInfo:"El modelo es demasiado complejo para cargar, se recomienda elegir el modo de baja precisión para ver.",lowAccuracy:"Modo de baja precisión",highAccuracy:"Modo de alta precisión",showSetting:"Modo de visualización",multipleSetting:"Configuración múltiple",colorLine:"Sombreado sin bordes",color:"Sombreado",hidelineToSee:"Bordes ocultos visibles",hidelineToHide:"Bordes ocultos removidos",resetEye:"Vista del inicio",reset:"Reiniciar",hideNote:"Ocultar comentario",showNote:"Mostrar comentario",tagNote:"Observaciones",meter:"Medir",pmiHide:"Ocultar PMI",pmiShow:"Mostrar PMI",coutObj:"Vista de sección",structureTree:"Diseños",attr:"Propiedades",bigBang:"Vistas explosivas",drag:"Arrastrar",showHide:"Mostrar y ocultar",Animation:"Animación",animation:"Animación",animationPlay:"Reproducir",animationPause:"Pausar",animationMultiple:"Velocidad",animationModel:"Modo",animationExample:"Ejemplo",animationReset:"Reiniciar",chooseMeterType:"Formas de medición",chooseMeterDistanceType:"Formas de distancia",chooseMeterLengthType:"Formas de longitud",chooseMeterAngleType:"Formas de ángulo",chooseMeterAreaType:"Formas de área",chooseMeterVolumnWeightType:"Formas de volumen",chooseTagType:"Formas de marcado",distance:"Distancia",pointToPoint:"Punto a punto",pointToLine:"Punto a línea recta",pointToFace:"Punto a superficie",lineToLine:"Línea a línea recta",lineToFace:"Línea recta a superficie",faceToFace:"Superficie a superficie",circleDistance:"Distancia del centro",dotToPoint:"Orificio axial a punto",dotToLine:"Orificio axial a línea recta",dotToFace:"Orificio axial a superficie",length:"Longitud",meterLine:"Medición de línea",circleLength:"Perímetro",angle:"Ángulo",lineToAngle:"Ángulo entre líneas rectas",faceToAngle:"Ángulo entre planos",lineToFaceAngle:"Ángulo entre línea y plano",radius:"Radio",area:"Zona",selectedFace:"Elige una cara",selectedObj:"Elige una entidad",totalArea:"Área total",volumeWeight:"Volumen y peso",selectToObj:"Elige una entidad",totalObj:"Total de entidades",volumnWeightDetail:"Detalles del volumen y peso",material:"Material",chooseMaterial:"Elige un material",enterSelfMaterial:"Inserte el material/la densidad",enterSelfMaterial2:"Inserte la densidad del material",selectedVolumn:"Volumen",selectedWeight:"Peso",usualMaterial:"Material común",selfMaterial:"Material personalizado",meterBox:"Cuadro delimitador",chooseMeterBoxType:"Formas del cuadro delimitador",totalBox:"Cuadro delimitador total",clear:"Eliminar",chooseStructureTree:"Diseños",noTreeData:"No se encontró ningún resultado",noTreeData2:"No se encontró ningún resultado",chooseAttrType:"De propiedades",totalAttr:"Total de propiedades",selAttrDetail:"Elige una entidad",totalattrDetail:"Detalles las propiedades totales",normalAttr:"General",selfAttr:"Definido por el usuario",noAttr:"No se encontró ningún atributo",faceFace:"Área de la superficie",volumn:"Volumen",weight:"Peso",boxVolume:"Volumen del cuadro delimitador",objNum:"Número de entidades",partNum:"Número de partes",pmiNum:"Número de PMI",sureToDelAttr:"¿Deseas borrar las propiedades?",chooseCoutType:"Elige la forma de la vista de sección",chooseCoutType2:"Vista de sección",coutFaceShow:"Mostrar plano de sección",coutFaceShow2:"Abrir",coutFaceHide:"Ocultar",reverseCout:"Lo contrario",chooseToBang:"Desliza para elegir las etapas de la vista de explosión",chooseToDrag:"Elige la forma de arrastre",singleDrag:"Arrastre único",singleDragResert:"Reinicio único",allDragResert:"Reiniciar todo",editAttr:"Editar propiedades",attrType:"Propiedades de clasificación",attrName:"Nombre de la propiedad",attrValue:"Valores de propiedad",addAttr:"Agregar propiedad",addAttr2:"Agregar propiedad",chooseDisplayType:"Elige la forma de Mostrar y ocultar",highLight:"Aislar",displayHide:"Ocultar",transparent:"Transparente",displayResert:"Mostrar todo",chooseToPart:"Haz clic para seleccionar una parte.",chooseToReverse:"Invertir selección",chooseShowType:"Modo de visualización",serveErrorTips:"Excepción",dataIsNeed:"Requerido",noChildCfg:"Falta la configuración del submenú",choosePoint:"Haz clic para elegir la posición del comentario",tagTitle:"Marcado",tagholder:"Introduce tus descripciones aquí. (opcional)",tagPoint:"punto",tagText:"texto",tagDraw:"dibujar",tagArrow:"flecha",tagLine:"línea",tagCircle:"círculo",tagRect:"rect",tagSave:"Guardar",tagCancle:"Cancelar",tagTip1:"No introduzcas caracteres no permitidos",tagTip2:"La imagen es demasiado grande",tagTip3:"Formato de imagen no válido",tagTip4:"Seleccione una imagen",tagTip5:"Seleccionar",loadError:"Error de carga",tagDensity1:"Completa la densidad",tagDensity2:"Completa con la densidad correcta",expMode:"Modo de vista explosiva",expArea:"Vista explosiva del área",expFree:"Vista explosiva libre",expAdv:"Vista explosiva avanzada",expDirect:"Dirección",expDirectX:"Eje X",expDirectY:"Eje Y",expDirectZ:"Eje Z",expLevel:"Nivel",expLevel1:"1",expLevel2:"2",expLevel3:"3",expLevel4:"4",expLevel5:"5",expSmall:"La parte es más pequeña que el nivel seleccionado actual",expBar:"Arrastra la barra para ver el efecto de explosión",pcNowConfig:"Configuración actual",pcPartName:"Nombre de la Parte",pcAllVolWt:"Entidad total",pcEdit:"Editar",pcInpAttrName:"Introduzca el nombre de la propiedad",pcInpAttrName2:"Introduzca el nombre de la propiedad",pcInpAttrType:"Introduzca el tipo de la propiedad",pcInpAttrValue:"Introduzca el valor de la propiedad",pcDelAttrTips:"Los datos de la propiedad ya no se conservan después de ser eliminados",pcBrepNotEnd:"Algo está incorrecto en la medición, vuelva a intentarlo",pcFileTypeTips:"Formato de imagen no válido",pcTrans:"Transparente",pcCancelTrans:"Cancelar transparente",pcHidePart:"Ocultar",pcShowPart:"Mostrar",pcHideOther:"Ocultar el resto",pcAllShow:"Restaurar todo",pcSingleShow:"Ocultar las otras partes",pcHighLight:"Aislar",pcStructLv:"Jerarquía de diseño",pcStructCon:"Explosión confinada",pcChooseCommonMt:"Elige materiales comunes",pcChooseMtDe:"Elige el material y la densidad",pcChooseMtType:"Elige el tipo del material",pcMtType:"Tipo del material",pcMtName:"Nombre del material",pcSeePlan:"Información",pcSeePlan2:"Información",pcChoosePlan:"Selecciona la sección",pcXcut:"Plano X",pcYcut:"Plano Y",pcZcut:"Plano Z",pcReset:"Reiniciar",pcReset2:"Reiniciar",pcClickSurePart:"Haz clic para seleccionar una parte",chooseMateria2:"Selecciona el tipo de propiedad",pcInpAttrName3:"Nombre duplicado",pcMtxtLineShade:"Sombreado sin bordes",pcMtxtShade:"Sombreado",pcMtxtLineSee:"Bordes ocultos visibles",pcMtxtLineMove:"Bordes ocultos removidos",pcMtxtTagHide:"Ocultar comentario",pcMtxtTagShow:"Mostrar comentario",pcMtxtWireframe:"Marco de alambre",pcMtxtTransparent:"Transparente",pcMtxtPers:"Perspectiva",pcMtxtOrth:"Ortogonalidad",pcMtxtHomeView:"Vista del inicio",pcMtxtTagTxt:"Texto",pcMtxtTagImg:"Imagen",pcMtxtTagTxtImg:"Imagen y Texto",pcMtxtTagImg2:"Imagen",pcMtxtTagLine:"Línea",pcMtxtSmartMeter:"Medición inteligente",pcMtxtDistance:"Distancia",pcMtxtLength:"Longitud",pcMtxtAngle:"Ángulo",pcMtxtRadius:"Radio",pcMtxtArea:"Zona",pcMtxtVolWet:"Volumen y peso",pcMtxtBox:"Cuadro delimitador",pcMtxtP2P:"Punto a punto",pcMtxtP2L:"Punto a línea recta",pcMtxtP2F:"Punto a superficie",pcMtxtL2L:"Línea a línea recta",pcMtxtL2F:"Línea recta a superficie",pcMtxtF2F:"Superficie a superficie",pcMtxtCpoint:"Distancia del centro",pcMtxtX2P:"Orificio axial a punto",pcMtxtX2L:"Orificio axial a línea recta",pcMtxtX2F:"Orificio axial a superficie",pcMtxtLmeter:"Medición de línea",pcMtxtPmeter:"Perímetro",pcMtxtAngleL:"Ángulo entre líneas rectas",pcMtxtAngleF:"Ángulo entre planos",pcMtxtAngleLF:"Ángulo entre línea y plano",pcMtxtToF:"Selecciona una cara",pcMtxtToSingle:"Selecciona una entidad",pcMtxtToAllPart:"Total de entidades",pcMtxtToAllBox:"Cuadro delimitador total",pcMtxtToAllAttr:"Total de propiedades",pcMtxtTolArea:"Área total",pcMtxtIselect:"Selección de caja",pcMtxtIplus:"Zoom a extensiones",pcMtxtIhight:"Resaltar",pcMtxtLasso:"Selección de Lazo",pcCoutTip1:"Rotación en sentido horario",pcCoutTip2:"Contrarrotar",pcCoutTip3:"Maximizar",pcCoutTip4:"Espejo",pcCoutTip5:"Minimizar",pcCursorTip:"Haz clic para seleccionar el objeto",pcAllVol:"Volumen total",pcAllWeight:"Peso total",pcNoPic:"No hay imagen",pcUnitIcon:"Ajustes de la unidad",pcUnitType1:"Por defecto",pcUnitType2:"mm/kg",pcUnitType3:"in/lb",pcUnitType4:"um/g",pcPmiCover:"PMI estéreo",tagAudioTips1:"El tiempo de diálogo es demasiado corto",tagDelConfirm:"¿Deseas borrar el comentario actual?",tagSaveConfirm:"¿Deseas guardar los comentarios actuales?",tagAudioTimeTip:"Introduce el texto",tagAudioCreate:"Deshacer para crear un mensaje de voz",tagAudioPress:"Pulsa para hablar",tagExitSee:"Salir",tagExit:"Salir",tagExit2:"Salir",tagTips:"Introduce el texto",tagDelImg:"Borrar imagen",tagNoRoot:"Permite el acceso a tu micrófono",tagSaveConfirm2:"¿Deseas guardar los comentarios actuales?",tagSeeBigImg:"Ver una imagen más grande",tagSeeSmallImg:"Minimizar",tagSeeVideo:"Ver video",pmiTxt1:"Selecciona la PMI",pmiTxt2:"Mostrar la PMI",pmiTxt3:"Mostrar la PMI del ensamblaje",pmiTxt4:"Mostrar la PMI del producto",colorTxt1:"Colorea todas las partes",colorTxt2:"Cancelar todo el color",colorTxt3:"Seleccionar el color",settings:"Ajustes",bgColorTxt:"Color",bgSceneTxt:"Skybox",bgSetTxt:"Ajustes de fondo",openThisPart:"Previsualizar parte",bgDelColor:"Cancelar el color",measureTimesErr:"Actualmente, hay demasiados datos de medición, elimínalos y vuelva a intentarlo",modelLoadErr:"¡Error del modelo cargado!",modelLimitErr:"Superó el número máximo de usuarios",pcMtxtFull:"Pantalla completa",pcMtxtFullexit:"Salida completa",hideMeasure:"Ocultar medida",showMeasure:"Mostrar medida",pcMtxtMeasureShow:"Mostrar medida",pcMtxtMeasureHide:"Ocultar medida",uploadLoading:"Cargando...",WallThickness:"Grosor de la pared",Lineargauge:"Medición lineal",choosePface:"Selecciona el plano proyectivo",xPface:"Plano proyectivo X",yPface:"Plano proyectivo Y",zPface:"Plano proyectivo Z",sPface:"Personaliza",aniPlayType1:"Normal",aniPlayType2:"Bucle",aniPlayType3:"Reciprocidad",pcCoutUsually:"Clásico",pcCoutBox:"Caja",pcCoutShow:"Vista de sección",pcCoutHide:"Ocultar plano de sección",pcCoutSwitchTxt1:"on",pcCoutSwitchTxt2:"off",pcStruSelect1:"nombre de partes",pcStruSelect2:"Nombre de PPTY",pcStruSelect3:"Valor de PPTY",pcStruSelectAll2:"nombre de la propiedad",pcStruSelectAll3:"valor de la propiedad",otherSetsTxt:"Otros ajustes",setTxt1:"Observaciones",setTxt2:"Medir",setTxt3:"Línea auxiliar",measureDecimal:"Dígitos de precisión",tagListTxt1:"Comentarios",tagListTxt2:"Gráfico",tagListTxt3:"Puntero",tagListTxt4:"Ocultar",tagListTxt5:"Mostrar",tagListTxt6:"Ver dibujo",tagListNo:"No hay comentarios",tagListShowComments:"Mostrar Comentarios",pcTransTips:"Transparente",meterDetail1:"Por favor, rellene la densidad correcta",meterDetail2:"Por favor, rellene la densidad",viewport:"Vista",addViewport:"Agregar vista",deleteThisViewport:"¿Eliminar la vista?",viewportCancel:"Cancelar",viewportDelete:"Borrar",CustomSection:"Sección personalizada",displayHatching:"Mostrar sombreado",displaySectionCover:"Cubierta de sección de visualización",displaySectionOverlap:"Solapamiento de sección de visualización",hideSlicePlane:"Ocultar plano de corte",viewSection:"Ver sección",cuttingRange:"El alcance de corte",excludeParts:"Excluir partes",includedPart:"Parte incluida",clearSection:"Eliminar",deleteSection:"Borrar",UseDefaultColors:"Usar colores predeterminados",UseModelColors:"Usar colores de modelo",CountColoring:"Colorear todas partes",CountColors:"Los colores",vportWindow:"Ventana",vportMenu1:"Ventana gráfica",vportTxt1:"Modelo de vista de conexión",vportTxt2:"Vistas de cuatro componentes",vportTxt3:"Dos vistas verticales",vportTxt4:"Dos vistas horizontales",vportTxt5:"Vista única",revert:"Restaurar",backToBegin:"Volver al inicio",facecheck:"Verificación de interferencias",interference:"Interferencia",noInterference:"Sin interferencias",accuracy:"Precisión",start:"Inicio",facecheckTitle:"Se espera que la verificación de interferencias de este modelo tome",facecheckMin:"minutos",facecheckSec:"segundos",facecheckTip:"Por favor, tenga en cuenta que las verificaciones de interferencia no pueden interrumpirse una vez iniciadas",facecheckContinue:"Continuar",facecheckResult:"resultado",facecheckHideModel:"Ocultar partes no interferentes",facechecking:"Verificación de interferencias...",chooseCoutSubTitle:"Opciones de sección",chooseCoutChange:"Sección de turno",chooseCoutSetting:"Ajuste de sección",chooseCoutAngle:"°",displaySetting:"Display mode"};const Jw={zh:{...Uw},en:{...Ww},french:{...Gw},german:{...Yw},italy:{...Zw},japan:{...Xw},spanish:{...Kw}};let qw="zh";window.nd_viewCtrl&&window.nd_viewCtrl.language&&(qw=nd_viewCtrl.language);const Qw=Object(d["createI18n"])({globalInjection:!0,legacy:!1,locale:qw,messages:Jw});var eS=Qw,tS=(o("93fc"),o("a1e9"));let oS;function iS(e){oS=e.config.globalProperties}function nS(e){oS.$tag.interfaceOpenFlag=!0,gt.onSectionView(!1);const t=w.state.modelStore.allTag,o=w.state.modelStore.configs,i=w.state.modelStore.nowConfigName;let n=t.filter((function(t){return e==t.state.uuid}));if(n=n[0],n.modelName&&n.modelName!=i&&nd_viewCtrl.tagRelateConfig){for(var a=0;a<o.length;a++)if(o[a].Name==n.modelName){w.commit("modelStore/setAnnotationTagId",e),w.commit("modelStore/changeMultipleCfg",a);break}}else gt.selectAnnotation(e),w.commit("menuStore/setTagListMenu",!0)}window.nd_setViewBoxDir=function(e){gt._viewer.setViewBoxDir(e)},window.nd_getBrepMemory=function(){return gt._viewer.getBrepMemory()},window.nd_screenCapture=function(e,t){var o=0!=t;gt._viewer.getScreenCapture2((function(t){e&&e(t)}),!1,o)},window.nd_screenCaptureViewport=function(e){gt._viewer.getScreenCapture2((function(t){e&&e(t)}),!1,!1,!1,!1,!0,!1,!0)},window.nd_screenshot=function(e){e&&e(gt.getScreenCapture())},window.nd_screenTagCap=function(e,t={}){tt(e,t)},window.nd_screenMainContent=function(e){ot(e)},window.nd_screenBounding=function(e){gt._viewer.getScreenCapturethumbnail((function(t){e&&e(t)}))},window.nd_delTags=function(e){w.commit("modelStore/delTagByuuid",e),"sync"==nd_viewCtrl.viewMode?(w.commit("tagStore/setTagshow",!0),gt._viewer.removeAllAnnotations(),setTimeout(()=>{lt(w.state.modelStore.nowTag,w.state.modelStore.allTag),nd_viewCtrl.rtmSDK.isRtmOperate||nd_viewCtrl.rtmSDK.isRtmFreeOper||jt.closeTagChange(w.state.modelStore.allTag||[]),jt.sendCenter(6),jt.sendCenter(2)},100)):(gt.removeAnnotation(e),ut())},window.nd_delTag=window.nd_delTags,window.nd_clearTagStaus=function(){oS.$tag.clearFlag()},window.nd_version=function(){return{info:"DEV-2022-83 3D Viewer v5.5.x(中车接口)、2D Viewer v6.1.x(中车接口)",version:"v5.5.x"}},window.nd_test=function(e){oS.$msgBox.showMsg(oS.$t("tagSaveConfirm2"),(function(){}),(function(){}))},window.nd_updateTagtext=function(e,t){const o=w.state.modelStore.allTag;let i=o.filter((function(t){return e==t.state.uuid}));return!!(i&&i.length>0)&&(w.commit("modelStore/updateTagText",{uuid:e,text:t}),oS.$tag.updateTagText(e,t),i[0])},window.nd_selectTag=function(e,t,o){var i=oS.$tag;o?w.commit("modelStore/setNeedOpenImg",!0):w.commit("modelStore/setNeedOpenImg",!1),i.tcStep1&&i.saveEnable?(t&&t(!1),oS.$msgBox.showMsg(oS.$t("tagSaveConfirm2"),(function(){i.sureSave()}),(function(){nS(e)}))):nS(e)},window.nd_getShareInfo=function(){var e=gt._viewer.getUnvisibleList(),t=gt._viewer.getCameraInfo(),o=gt._viewer.getTransparentList(),i=gt._viewer.getviewState(),n=gt.isPerspective()?"Perspective":"Orthographic",a=U();a={...a,...w.state.modelStore.coutShareInfo};var r=gt._viewer.getClipPlaneInfo(),c=w.state.modelStore.unit,s=w.state.modelStore.bgSetList,l=w.state.modelStore.autoColorHex,d=w.state.modelStore.partAddColor,m=gt._viewer.getBoxClipInfo(),u=-1,p=w.state.modelStore.isModelCfg;p&&(u=gt._nowModel);var h=!1,g=w.state.modelStore.measureData,v=w.state.modelStore.pmiCoverShow,b=w.state.modelStore.auxLineShow,S=w.state.tagStore.tagShow,C=w.state.modelStore.measureShow,O=w.state.modelStore.decimalNum,f=w.state.tagStore.tagHideList,y=w.state.modelStore.transSetShow,j={explodeFactor:0,explodeMode:32,explodeLevel:0,explodeObjects:[],explodeAxis:0},x={multiple:w.state.animationStore.multiple,model:w.state.animationStore.model,currentExample:w.state.animationStore.currentExample};return gt._viewer.isExploded()&&(j.explodeFactor=gt._viewer.getExplodeFactor(),j.explodeMode=gt._viewer.getExplodeMode(),32!=j.explodeMode&&(j.explodeLevel=gt._viewer.getExplodeLevel(),j.explodeObjects=gt._viewer.explodeObjects,j.explodeAxis=w.state.expStore.axis)),{useUnvisibleList:!0,useTransparentList:!0,unvisibleList:e,transparentList:o,camerainfo:t,viewState:i,projectionMode:n,configNum:u,explodeFactor:j.explodeFactor,explodeMode:j.explodeMode,explodeLevel:j.explodeLevel,explodeObjects:j.explodeObjects,explodeAxis:j.explodeAxis,cutInfo:a,clipPlaneInfo:r,clipBoxInfo:m,unitType:c,bgSetList:s,autoColorHex:l,partAddColor:d,pmiVisible:h,pmiSetObj:"",measureSaveData:g,measureShow:C,auxLineShow:b,tagShow:S,pmiCoverShow:v,animationSetObj:x,decimalNum:O,tagHideList:f,transSetShow:y}},window.nd_stopPlayAudio=function(){var e=oS.$tag;e.tcCheckTI&&"checkaudio"==e.tcType&&e.exitChecktag()},window.nd_setBackGroundColor=function(e){var t=P(e);gt._viewer.setEnvMapTextures(),gt._viewer.setBackGroundColor(t);const o=w.state.modelStore.bgSetList||[];if(o.length>0){for(let e=0;e<o.length;e++)o[e]="num:"+String(t);w.commit("modelStore/setBgSetList",o),oS.$settingsCom.bgTag="num:"+String(t)}},window.nd_setBackGroundImage=function(e){gt._viewer.setEnvMapTextures(),gt._viewer.setBackGroundImage(e);const t=w.state.modelStore.bgSetList||[];if(t.length>0){for(let o=0;o<t.length;o++)t[o]="img:"+String(e);w.commit("modelStore/setBgSetList",t),oS.$settingsCom.bgTag="img:"+String(e)}},window.nd_restore=function(){var e=w.state.menuStore.menuChoose,t=!!oS.$attrVolArea.isShowDataBox;oS.$tag.forceExit(),gt.onResetCamera(),gt._viewer.setEnvMapTextures();var o=w.state.modelStore.nowConfig,i=w.state.initParams.nowConfig;let n=w.state.initParams.bgSetList||[];if(n[o])oS.$eventBus.emit("shareBgSetSub",n[o]);else{oS.$eventBus.emit("shareBgSetSub","1");let e=w.state.initParams.bgSetList||[];var a=w.state.initParams.bgColor,r=w.state.initParams.bgImg;r?(gt._viewer.setBackGroundImage(r),e[o]="img:"+r,w.commit("modelStore/setBgSetList",e)):"0x"!=a&&""!=a&&void 0!=a&&(gt._viewer.setBackGroundColor(a),e[o]="num:"+String(a),w.commit("modelStore/setBgSetList",e))}gt._viewer.autoChangeObjectColor();let c=w.state.initParams.autoColorHex,s=w.state.initParams.partAddColor,l=w.state.modelStore.partAddColor;if(c=c||w.state.modelStore.autoColorHex,c&&!L(c)?(c[o]&>._viewer.autoChangeObjectColor(!0,c[o]),w.commit("modelStore/setAutoColorHex",c)):(c=w.state.modelStore.autoColorHex,c&&!L(c)&&(c[o]=!1,w.commit("modelStore/setAutoColorHex",c))),s&&!L(s)){let e=s[o];for(let t in e)gt._viewer.changeObjectColor(t,e[t]);w.commit("modelStore/sertPartAddColor",s)}else l&&l[o]&&(l[o]={}),w.commit("modelStore/sertPartAddColor",l);w.commit("modelStore/setIsShowPmi",!1);const d=gt._viewer.getPMIObject();d&>._viewer.setPmiVisible2(!1);var m=w.state.initParams.viewState,u=w.state.initParams.proMode;m&>._viewer.setRenderMode(m);var p=gt.isPerspective();"Perspective"!=u||p?"Orthographic"==u&&p&&(gt._viewer.camera.toOrthographic(),gt._viewer.render()):(gt._viewer.camera.toPerspective(),gt._viewer.render()),oS.$eventBus.emit("resetPerspectiveSub","Orthographic"==u);var h=w.state.initParams.cutInfo;i==o&&!L(h)&&h.isCutout?oS.$eventBus.emit("shareCoutSub",h):oS.$eventBus.emit("closeCoutState");var g=w.state.initParams.explode;if(i!=o||L(g)?oS.$eventBus.emit("resetExplode"):oS.$eventBus.emit("shareExplodeSub",g),gt._viewer.showAllModel(),i==o){if(w.state.initParams.transparentList.length>0){var v=w.state.initParams.transparentList;gt._viewer.setTransparentState(v,!0)}if(w.state.initParams.unvisibleList.length>0){v=w.state.initParams.unvisibleList;gt._viewer.showObjectbyId(v,!1,!0)}}var b=w.state.modelStore.unit,S=w.state.initParams.unit;S!=b&&(w.commit("modelStore/setUnitType",S),gt._viewer.setDispalyModelUnit(S)),oS.$eventBus.emit("closeDrag"),gt._viewer.restoreAllDraggedObjects(),oS.$eventBus.emit("nodeShowChange"),w.state.menuStore.menuChoose||w.state.menuStore.menuChoose2||("meter"==e?(w.commit("menuStore/setMenuChoose","meter"),oS.$attrVolArea.isShowDataBox=t):w.state.menuStore.showOneMenu||w.commit("menuStore/setShowOneMenu",!0)),w.state.menuStore.menuChoose||("cout"==e&&(w.commit("menuStore/setMenuChoose","cout"),w.commit("menuStore/setShowOneMenu",!1)),"boxselect"==e&&(w.commit("menuStore/setMenuChoose","boxselect"),w.commit("menuStore/setShowOneMenu",!1))),"attrAll"!=w.state.menuStore.menuChoose3&&"attrSingle"!=w.state.menuStore.menuChoose3||w.commit("menuStore/setMenuChoose3",""),oS.$showHideBtn.displayMode=-1;var C=gt._viewer.getCurrentOperatorID();"OpMeasure"==C?setTimeout(()=>{w.commit("menuStore/setShowManyConfig",!1)},1e3):w.state.menuStore.showOneMenu&&"OpOrbit"!=C&>._viewer.setOperatorByID("OpOrbit")},window.nd_addTag=function(){gt.setMeasureOpType(""),w.commit("menuStore/setMenuChoose",""),w.commit("menuStore/setMenuChoose2",""),w.commit("menuStore/setMenuChoose3",""),oS.$eventBus.emit("openTagPointSub"),"meter"!=w.state.menuStore.menuChoose&&"meterDistance"!=w.state.menuStore.menuChoose2||oS.$eventBus.emit("closeMeasure"),oS.$bottomBtn.chooseToTag(null,"out"),w.commit("menuStore/setShowOneMenu",!1),oS.$msgBox.isShow&&(oS.$msgBox.isShow=!1),oS.$showHideBtn.displayMode=-1,oS.$property.saveAttrType="",w.commit("menuStore/setAttrMenu",!1),w.commit("menuStore/setMenuChoose3",""),oS.$drawBtn.dragMode=-1,gt.setOperatorByID("OpOrbit"),gt._viewer.showprompt(!1),oS.$bottomBtn.chooseToTag(),oS.$tagList.tagPicText()},window.nd_getObjectidList=function(){var e=gt._viewer.getModelTotalTree(!0);return De(e)},window.nd_getProperty=async function(e,t){if(e||t&&t(),!Array.isArray(e))return oS.$attrCom.getProperty(e,t);let o=e,i={},n={},a=e=>new Promise((t,o)=>{oS.$attrCom.getProperty(e,(e,o)=>{t({attr:e,attr_self:o})})});await o.map(async e=>{let t=await a(e);i[e]=t.attr,n[e]=t.attr_self}),t&&t(i,n)},window.nd_getTreeByProperty=function(e,t){let o=e,i=t,n=oS.$structureTree.modelTreeData,a=te(n,i[0],o)||[];return a=ie(a,i,o)||[],a=$e(a)||[],a},window.nd_getSelectList=function(){return gt._viewer.getSelectList()},window.nd_setSelectVisibleState=function(e){var t=gt._viewer.getSelectList();gt._viewer.showObjectbyId(t,e,!0),oS.$eventBus.emit("nodeShowChange"),gt._viewer.selectionManager.clearSelection(),gt._viewer.render()},window.nd_setVisibleState=function(e,t){gt._viewer.showObjectbyId(e,t,!0),oS.$eventBus.emit("nodeShowChange"),gt._viewer.selectionManager.clearSelection(),gt._viewer.render()},window.nd_setSelectState=function(e,t,o){gt._viewer.addSelectList(e,t,!0),gt._viewer.render(),oS.$eventBus.emit("VolumnChange");var i=t?"select":"deselect";nd_viewCtrl&&nd_viewCtrl.selectChangeEvent&&nd_viewCtrl.selectChangeEvent(i)},window.nd_setTransparentState=function(e,t){gt._viewer.setTransparentState(e,t),gt._viewer.selectionManager.clearSelection(),gt._viewer.render()},window.nd_setSelectColor=function(e){const t=gt._viewer.selectionManager.getSelectedObjects();if(t&&0!=t.length){var o=P(e),i=[];t.map(e=>{i.push(e.uuid),gt._viewer.changeObjectColor(e.uuid,o)}),gt._viewer.selectionManager.clearSelection(),gt._viewer.render(),w.commit("modelStore/setPartListColor",{uuidList:i,color:o})}},window.nd_getModelTreeBase=function(){var e=gt._viewer.getModelTotalTree(!0);return Le(e)},window.nd_enhancedDisplay=function(e){gt._viewer.selectionManager.clearSelection(),gt._viewer.zoomToObjectById(e),gt._viewer.addSelectList([e],!0,!0),gt._viewer.render()},window.nd_resize=function(){gt._viewer.onWindowResize()},window.nd_render=function(){gt._viewer.render()},window.nd_getWorldMatrixByIds=function(e){return gt._viewer.getObjectWorldMatrixByIds(e)},window.nd_getAllTags=function(){const e=w.state.modelStore.allTag||[];return e.map(e=>{e.state&&e.state.locationObject&&delete e.state.locationObject}),e},window.nd_getScreenCaptureByData=function(e,t){gt._viewer.getScreenCapturethumbnailByData(t=>{e&&e(t)},t)},window.nd_getPmiInfo=function(){return gt._viewer.getPMIInfo()},window.nd_createMeasurePointList=function(e){e.map(e=>{gt._viewer.createPicNote2(e.point,e.notePlace,e.url,e.text,e.inflection,e.picSize)})},window.nd_createMeasurePointNote=function(e){gt._viewer.createPicNote2(e.point,e.notePlace,e.url,e.text,e.inflection,e.picSize)},window.nd_getMeasurePointData=function(){const e=gt._viewer.GetMeasurePointData()||[];return e},window.nd_getMeasureList=function(){let e=w.state.modelStore.allMeasure||[];return e=JSON.parse(JSON.stringify(e)),e},window.nd_getNowMeasureList=function(){let e=w.state.modelStore.nowMeasure||[];return e=JSON.parse(JSON.stringify(e)),e},window.nd_getNowTagsId=function(){return(w.state.modelStore.nowTag||[]).map(e=>e.tagId)},window.nd_getTagHideList=function(){const e=w.state.tagStore.tagHideList||[];return e},window.nd_setCameraInfo=function(e){const t=JSON.parse(e);gt._viewer.setCameraInfo(t,!0)},window.nd_getCameraInfo=function(){const e=gt._viewer.getCameraInfo();return JSON.stringify(e)},window.nd_setPerspectiveCameraInfo=function(e){gt._viewer.setPerspectiveCameraInfo(e),oS.$eventBus.emit("resetPerspectiveSub",!1)},window.nd_setOrthographicCameraInfo=function(e){gt._viewer.setOrthographicCameraInfo(e),oS.$eventBus.emit("resetPerspectiveSub",!0)},window.nd_getAllMatrixByIds=function(e){const t=gt._viewer.getObjectWorldMatrixAndMatrixByIds(e);return t},window.nd_setWorldMatrixById=function(e,t){gt._viewer.setObjectWorldMatrixById(e,t)},window.nd_setMatrixById=function(e,t){gt._viewer.setObjectMatrixById(e,t)},window.nd_hasModelPersistId=function(){const e=gt._viewer.hasModelPersistID();return e},window.nd_setSelectByPersistId=function(e,t){gt._viewer.selectChangeObjectByPersistID(e,t)},window.nd_setOpacityRatio=function(e,t){gt._viewer.setObjectOpacityFromids(e,t)},window.nd_getOpacityRatioById=function(e){const t=gt._viewer.getObjectOpaticFromids(e);return t},window.nd_setObjectColor=function(e,t){gt._viewer.setObjectColorFromids(e,t)},window.nd_getAllObjectColorById=function(e){const t=gt._viewer.getObjectColorFromids(e);return t},window.nd_getHideObjectidList=function(){const e=gt._viewer.getUnvisibleList();return e||[]},window.nd_initAlltag=function(e){try{const t=mt(e);w.commit("modelStore/setAllTag",e),w.commit("modelStore/setNowTag",t),gt._viewer.removeAllAnnotations(),lt(t,e,!0),jt.closeTagChange(e||[])}catch(t){}},window.nd_rtmReceiveAllMsg=function(e){nd_viewCtrl.rtmSDK.rtmGetChannelMsg((function(t){jt.receiveAllMsg(t,e,"fromWindow")}))},window.nd_rtmSendAllMsg=function(){jt.sendAllMsg()},window.nd_rtmReceiveMsg=function(e){jt.receiveCenter(e)},window.nd_rtmSendMemberChangeMsg=function(e){gt._viewer.resendBroadcastInfo(),jt.sendCenter(1)},window.nd_rtmSetMettingMsg=function(e){e.hasOwnProperty("isRtmFreeOper")&&jt.freeOperChange(e.isRtmFreeOper,!!e.init),e.hasOwnProperty("isRtmOperate")&&jt.operateChange(e.isRtmOperate)},window.teamWellOperation=function(){return"meter"==w.state.menuStore.menuChoose||""!=oS.$meterBtn.nowMeterType||(!!("tag"==w.state.menuStore.menuChoose||oS.$tag.tcStep0||oS.$tag.tcStep1||oS.$tag.tcChecktag)||"cout"==w.state.menuStore.menuChoose)},window.nd_setViewExplode=function(e){let t=window.teamWellOperation();if(t)return;if("explode"==w.state.menuStore.menuChoose)return;let o=parseFloat(e);isNaN(o)||o>10||o<-10||(oS.$explodeCom.modeChange(0),gt._viewer.setExplodeMode(NDS.EXPLODEMODE.NORMAL),gt._viewer.onExplode(o/10))},window.nd_setViewScale=function(e,t){let o=window.teamWellOperation();if(o)return;let i=parseFloat(t);if(isNaN(i)&&(i=1),!(i<0||i>1e3))if(e)gt._viewer.zoomCameraByDelta(i);else{while(i>10)i/=10,gt._viewer.zoomCameraByDelta(-10);gt._viewer.zoomCameraByDelta(-i)}},window.nd_setViewTranslate=function(e,t){let o=window.teamWellOperation();if(o)return;let i=parseFloat(e),n=parseFloat(t);isNaN(i)&&(i=0),isNaN(n)&&(n=0),gt._viewer.panCamera(-i,-n)},window.nd_setViewRotate=function(e,t,o){let i=window.teamWellOperation();if(i)return;let n=parseFloat(e),a=parseFloat(t),r=parseFloat(o);isNaN(n)&&(n=0),isNaN(a)&&(a=0),isNaN(r)&&(r=0),n=n>360||n<-360?n%360:n,a=a>360||a<-360?a%360:a,r=r>360||r<-360?r%360:r,0!=e&>._viewer.rotateCam("x",n),0!=t&>._viewer.rotateCam("y",a),0!=o&>._viewer.rotateCam("z",r)},window.nd_getCountData=function(){return We(oS.$coutSelect)},window.nd_setCountData=function(e){return oS.$coutSelectProxy.setDataInfo(e)},window.nd_getExplodeData=function(){const e={modeIndex:w.state.expStore.modeIndex,axis:w.state.expStore.axis,level:w.state.expStore.level},t=We(oS.$explodeData);return{...t,_store:e}},window.nd_setExplodeData=function(e){return oS.$explodeCom.setDataInfo(e)},window.nd_getIsPerspective=function(){return oS.$settingsBtn.isPerspective},window.nd_setIsPerspective=function(e){return oS.$settingsProxy.setDataInfo(e)},window.nd_getSettingData=function(){const e={unit:w.state.modelStore.unit,decimalNum:w.state.modelStore.decimalNum},t=We(oS.$settingsData);return{...t,_store:e}},window.nd_setSettingData=function(e){return oS.$settingsCom.setDataInfo(e)},window.nd_getAnimationData=function(){const e={currentExample:We(w.state.animationStore.currentExample),animateState:w.state.animationStore.animateState,multiple:w.state.animationStore.multiple,model:w.state.animationStore.model},t={...oS.$animationData,animationNDS:null};return{...t,_store:e}},window.nd_setAnimationData=function(e){return oS.$animationProxy.setDataInfo(e)},window.nd_getPmiShow=function(){return oS.$bottomData.isPMIVisible},window.nd_setPmiShow=function(e){return oS.$bottomBtn.setDataInfo(e)},window.nd_getAutoColor=function(){const e=w.state.modelStore.nowConfig,t=w.state.modelStore.autoColorHex,o=t[e];return!!o},window.nd_setAutoColor=function(e){w.state.modelStore.autoColorHex[w.state.modelStore.nowConfig]=!!e||""},window.nd_getNowConfig=function(){return{configNum:w.state.modelStore.nowConfig,configName:w.state.modelStore.nowConfigName}},window.nd_changeSwitchConfig=function(e){oS.$configSwitch.chooseCfg(e,!1,!0)},window.nd_getIsShowTag=function(){const e=We(oS.$tagData);return e.tagShow},window.nd_setIsShowTag=function(e){oS.$tagList.setDataInfo(e)},window.nd_getViewportList=function(){w.state.modelStore.nowConfig;return Object(tS["a"])((w.state.viewStore||{}).viewDataList||[])},window.nd_updateViewportById=function(e,t){e&&(t||0==t)&&(t.toString().length>15&&(t=t.slice(0,15)),w.commit("viewStore/updateViewNameByUUID",{uuid:e,name:t.toString()}))},window.nd_createViewport=function(e){return new Promise((t,o)=>{const i=function(e){t(e)},n=gt.getModelViewInfo();n&&w.dispatch("viewStore/addViewDataAction",{modelViewData:n,name:e,isInterface:!0,cc:i})})},window.nd_deleteViewport=function(e){e&&w.commit("viewStore/deleteViewportByUUID",{uuid:e,isInterface:!0})},window.nd_previewViewport=function(e){e&&w.commit("viewStore/previewViewportByUUID",e)},window.nd_getCurAniInstance=function(){return w.state.animationStore.allExample?w.state.animationStore.allExample.map(e=>({id:e.id,name:e.name})):null},window.nd_setAniParams=function(e={}){if(!w.state.animationStore.allExample||0==w.state.animationStore.allExample.length)return;const t=[.5,1,1.5,2,5],o=[0,1,2],i=e.multiple||1,n=e.mode||0;t.includes(parseFloat(i))&&oS.$animation.multipleChangeHandler(parseFloat(i),!0),o.includes(parseFloat(n))&&oS.$animation.modelChangeHandler(parseFloat(n),!0)},window.nd_animationPlay=function(e){if(!e){if(!w.state.animationStore.allExample||0==w.state.animationStore.allExample.length)return;e=w.state.animationStore.allExample[0].id}const t=["tag","meter","cout","explode"],o=["txtTag","lineTag"],i=["meterDistance","meterLength","meterAngle","meterLineargauge"],n=["coutUsually","coutBox"];if(t.includes(w.state.menuStore.menuChoose)||o.includes(w.state.menuStore.menuChoose3)||i.includes(w.state.menuStore.menuChoose2)||n.includes(w.state.menuStore.menuChoose2))return;if(!oS.$bottomBtn.hasAnimationBtn())return;if(nd_viewCtrl.setBottomToolHide)return;if(!oS.$animation.playEnable)return;const a=oS.$animation.getAllExample(),r=e?a.find(t=>t.id==e):a.find(e=>0==e.index);if(r&&r.id){oS.$showHideBtnProxy.resetStatus(),oS.$drawBtnProxy.resetStatus(),oS.$animation.undoLoad=!0,oS.$bottomBtn.chooseAnimation();var c=!1,s=oS.$animation.getCurAnimation();s.animationID&&s.animationID!=r.id||(c=oS.$animation.setAndPlay(r.id)),c||s.animationID==r.id||oS.$animation.animationPlay(r,!0)}},window.nd_animationPause=function(){"animation"==w.state.menuStore.menuChoose&&oS.$animation.playEnable&&oS.$animation.pauseHandler()},window.nd_animationStop=function(){"animation"==w.state.menuStore.menuChoose&&oS.$animation.playEnable&&oS.$animation.resetHandler()},window.nd_animationExit=function(){"animation"==w.state.menuStore.menuChoose&&oS.$animation.playEnable&&oS.$animation.returnOneMenu()};var aS={install:iS,nd_getShareInfo:nd_getShareInfo,nd_setViewBoxDir:nd_setViewBoxDir,nd_getBrepMemory:nd_getBrepMemory,nd_setCameraInfo:nd_setCameraInfo,nd_getCameraInfo:nd_getCameraInfo,nd_screenCapture:nd_screenCapture,nd_delTags:nd_delTags,nd_delTag:nd_delTag,nd_version:nd_version,nd_selectTag:nd_selectTag,nd_stopPlayAudio:nd_stopPlayAudio,nd_setBackGroundColor:nd_setBackGroundColor,nd_setBackGroundImage:nd_setBackGroundImage,nd_restore:nd_restore,nd_addTag:nd_addTag,nd_updateTagtext:nd_updateTagtext,nd_getObjectidList:nd_getObjectidList,nd_getProperty:nd_getProperty,nd_getSelectList:nd_getSelectList,nd_setSelectVisibleState:nd_setSelectVisibleState,nd_setVisibleState:nd_setVisibleState,nd_setSelectState:nd_setSelectState,nd_setTransparentState:nd_setTransparentState,nd_setSelectColor:nd_setSelectColor,nd_enhancedDisplay:nd_enhancedDisplay,nd_resize:nd_resize,nd_render:nd_render};let rS=function(e){return new Promise(t=>{var o=new Image;o.onload=function(){1==this.complete&&(t(!0),o=null)},o.onerror=function(){t(!1),o=null},o.src=e})};const cS={beforeMount(e,t,o,i){let n=t.value;n&&rS(n).then(t=>{t&&e.setAttribute("src",n)})}};let sS;function lS(e){e.$eventBus=e.config.globalProperties.$eventBus,sS=e}function dS(e){var t,o=e.el.dataset&&e.el.dataset.id;t=o||e.el.id;var i=e.el.attributes["track-name"];if(sS.$eventBus.emit("rigthClickEvent",{showPop:!1}),i){let e=i.value;"showSetting"!=e&&sS.$eventBus.emit("closeShowSetting")}nd_viewCtrl&&nd_viewCtrl.checkEvent?nd_viewCtrl.checkEvent(t,(function(o){0!=o&&(e.args&&e.args.apply(),nd_viewCtrl&&nd_viewCtrl.checkEventAfter&&nd_viewCtrl.checkEventAfter(t))})):e.args&&e.args.apply()}const mS=e=>{e.el.addEventListener("click",(function(t){t.stopPropagation(),t.preventDefault(),dS(e)}))},uS={created(e,t){const o=t.value;mS({el:e,args:o})}};var pS={install:lS,clickDirective:uS};const hS=function(e,t){let i=nd_viewCtrl.language||"zh";const n=t.value[0],a=t.value[1],r=gS(a);let c;const s="",l="",d=nd_viewCtrl.vipBtnCfg||[];d.includes("#"+a)&&(i+="-vip"),r?c=r:l?(c=o("794e")("./ico-"+i+"/"+n+".png"),"true"==e.getAttribute("selected")&&(c=o("7296")("./ico-"+i+"/"+n+"-c.png"))):c=nd_viewCtrl.themeMenu?s+"img/"+nd_viewCtrl.themeMenu+"/"+n+".png":s+"img/ico-"+i+"/"+n+".png",e&&("true"==e.getAttribute("selected")?(c=vS(c),e.classList.add("select-m")):e.classList.remove("select-m"),e.setAttribute("src",c),e.onerror=function(){})},gS=function(e){const t=D();if("show"!=t.type)return!1;const o=t.showbtns||[];if(o.length<1)return!1;let i="";function n(e,t){for(let o=0;o<t.length;o++){let a=t[o];if(e==a.id){i=a.imgUrl||"";break}a.list&&n(e,a.list)}}return n(e,o),i};const vS=function(e){let t=e;return t=t.replace(/.png/,"-c.png"),t=t.replace(/.PNG/,"-c.PNG"),t=t.replace(/.jpg/,"-c.jpg"),t=t.replace(/.JPG/,"-c.JPG"),t=t.replace(/.jpeg/,"-c.jpeg"),t=t.replace(/.JPEG/,"-c.JPEG"),t},bS=function(e,t){nd_viewCtrl&&nd_viewCtrl.language};function wS(e,t,o,i){const n=e.querySelector(".dialog_header"),a=e;n.style.cssText+=";cursor:move;";const r=function(){return window.document.currentStyle?(e,t)=>e.currentStyle[t]:(e,t)=>getComputedStyle(e,!1)[t]}();n.onmousedown=null,n.onmousedown=e=>{const o=e.clientX,i=e.clientY,n=document.getElementById("vueMain").offsetWidth,c=document.getElementById("vueMain").offsetHeight,s=a.offsetWidth,l=a.offsetHeight,d=a.offsetLeft,m=n-a.offsetLeft-s,u=a.offsetTop,p=c-a.offsetTop-l;let h=r(a,"left"),g=r(a,"top");h.includes("%")?(h=+document.getElementById("vueMain").offsetWidth*(+h.replace(/\%/g,"")/100),g=+document.getElementById("vueMain").offsetHeight*(+g.replace(/\%/g,"")/100)):(h=+h.replace(/\px/g,""),g=+g.replace(/\px/g,"")),document.onmousemove=null,document.onmousemove=function(e){let r=e.clientX-o,s=e.clientY-i;"openLimit"!=t.value&&(-r>d?r=-d:r>m&&(r=m),-s>u?s=-u:s>p&&(s=p));let l=(r+h)/n*100,v=(s+g)/c*100;r+h<0&&(l=0),s+g<0&&(v=0),"openLimit"==t.value?a.style.cssText+=`;left:${r+h}px;top:${s+g}px;bottom: auto;right: auto;`:a.style.cssText+=`;left:${l}%;top:${v}%;bottom: auto;right: auto;`},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}const SS=function(e,t){const o="";e.style.backgroundImage=`url(${o+t.value})`,e.style.backgroundSize="100% 100%",e.style.backgroundRepeat="repeat",e.onerror=function(){}},CS=Object(i["createApp"])(Fw);CS.directive("real-img",cS),CS.directive("click-track",pS.clickDirective),CS.directive("img-switch",hS),CS.directive("tooltip",bS),CS.directive("drag",wS),CS.directive("set-bg",SS),CS.config.globalProperties.$eventBus=new Hw["a"],CS.use(Fw),CS.use(aS);const OS=CS.use(w).use(eS).mount("#app");CS.use(pS);var fS=t["default"]=OS},"56da":function(e,t,o){},"56fd":function(e,t,o){},"582e":function(e,t,o){"use strict";o("5a04")},5880:function(e,t){e.exports=Vuex},"58c3":function(e,t,o){},"58d7":function(e,t,o){"use strict";o("0fe9")},"5a04":function(e,t,o){},"5b49":function(e,t,o){"use strict";o("441e")},"5bfa":function(e,t,o){},"5bfa1":function(e,t,o){},"5c79":function(e,t,o){},"5d2b":function(e,t,o){"use strict";o("56fd")},"5e01":function(e,t,o){"use strict";o("8397")},"5e6b":function(e,t,o){"use strict";o("269f")},"5eeb":function(e,t,o){},"5f2e":function(e,t,o){},"5f4f":function(e,t,o){},6074:function(e,t,o){"use strict";o("aacd")},"60ca":function(e,t,o){var i={"./materialDensity":"3992","./materialDensity.js":"3992","./materialDensity_en":"538a","./materialDensity_en.js":"538a"};function n(e){var t=a(e);return o(t)}function a(e){if(!o.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}n.keys=function(){return Object.keys(i)},n.resolve=a,e.exports=n,n.id="60ca"},6264:function(e,t,o){e.exports=o.p+"img/rotate-ccw.61705912.png"},"63bd":function(e,t,o){},"64cb":function(e,t,o){},"67c4":function(e,t,o){"use strict";o("c045")},"6a12":function(e,t,o){"use strict";o("5bfa1")},"6bd3":function(e,t,o){},"6e1e":function(e,t,o){e.exports=o.p+"img/ico-dec.22d924a6.png"},7043:function(e,t,o){},7296:function(e,t){function o(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}o.keys=function(){return[]},o.resolve=o,e.exports=o,o.id="7296"},"743d":function(e,t,o){"use strict";o("2700")},"794e":function(e,t){function o(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}o.keys=function(){return[]},o.resolve=o,e.exports=o,o.id="794e"},7996:function(e,t,o){"use strict";o("e84c")},"7e0f":function(e,t,o){e.exports=o.p+"img/ico-trash.fc4284f6.png"},"7e48":function(e,t,o){"use strict";o("e652")},"7ee4":function(e,t,o){},"82fc":function(e,t,o){e.exports=o.p+"img/pen.16c2a6dd.png"},8397:function(e,t,o){},"86fc":function(e,t,o){e.exports=o.p+"img/radio-nocheck.155cdeac.png"},"870a":function(e,t,o){},"89e3":function(e,t,o){},"8b6c":function(e,t,o){"use strict";o("89e3")},"8bbf":function(e,t){e.exports=Vue},"8f0b":function(e,t,o){},9175:function(e,t,o){e.exports=o.p+"img/nomsg-en.dfbc6e31.png"},"93fc":function(e,t){const o=32;function i(){const e=document.documentElement.clientWidth/2380;document.documentElement.style.fontSize=o*Math.min(e,2)+"px"}i(),window.addEventListener("resize",()=>{i()})},"961b":function(e,t,o){e.exports=o.p+"img/ico-close-red.c75cb6f6.png"},"96af":function(e,t,o){"use strict";o("5f4f")},9718:function(e,t,o){e.exports=o.p+"img/color.ad185a94.png"},"9b4f":function(e,t,o){"use strict";o("870a")},"9d32":function(e,t,o){},"9dfa":function(e,t,o){},a016:function(e,t,o){e.exports=o.p+"img/ico-clear-input.c78ee058.png"},a0f6:function(e,t,o){"use strict";o("da32")},a4da:function(e,t,o){},a55d:function(e,t,o){},a8a3:function(e,t,o){"use strict";o("1f58")},a961:function(e,t,o){e.exports=o.p+"img/icon-arraw-down.6caa90d0.png"},aacd:function(e,t,o){},ac01:function(e,t,o){"use strict";o("25db")},b11c:function(e,t,o){e.exports=o.p+"img/tree-node-open.f45d6681.png"},b364:function(e,t,o){e.exports=o.p+"img/close-icon.0704ab42.png"},b4dc:function(e,t,o){e.exports=o.p+"img/close-menu.3b4f0d6d.png"},b543:function(e,t,o){},b55a:function(e,t,o){},b8d9:function(e,t,o){"use strict";o("5bfa")},b981:function(e,t,o){e.exports=o.p+"img/reset-icon.bfaa2728.png"},bcdb:function(e,t,o){e.exports=o.p+"img/ico-submit-blue.2e6079c2.png"},bdca:function(e,t,o){"use strict";o("e2d1")},c045:function(e,t,o){},c7ac:function(e,t,o){e.exports=o.p+"img/warn.da864e81.png"},c9144:function(e,t,o){},c972:function(e,t,o){e.exports=o.p+"img/ico-add.82124e9b.png"},c9f2:function(e,t,o){e.exports=o.p+"img/ico-anno-del.0ad1074a.png"},cb48:function(e,t,o){e.exports=o.p+"img/arrow_icon_c.8d20c3c0.png"},cc2b:function(e,t,o){},cd10:function(e,t,o){"use strict";o("1502")},cebc:function(e,t,o){"use strict";o("4275")},cfa2:function(e,t,o){"use strict";o("b543")},d206:function(e,t,o){"use strict";o("43a2")},d36d:function(e,t,o){e.exports=o.p+"img/video-mak.d70459d4.png"},d3ee:function(e,t,o){e.exports=o.p+"img/warning.26554b02.png"},d515:function(e,t,o){"use strict";o("5c79")},da32:function(e,t,o){},dbcb:function(e,t,o){e.exports=o.p+"img/icon_cancel.ac605f0d.png"},dc71:function(e,t,o){"use strict";o("e22c")},dd36:function(e,t,o){e.exports=o.p+"img/line.de196a65.png"},ddd8:function(e,t,o){e.exports=o.p+"img/ico-tag-tw.9f3dc513.png"},e1bf:function(e,t,o){"use strict";o("b55a")},e22c:function(e,t,o){},e2d1:function(e,t,o){},e35e:function(e,t,o){},e3e9:function(e,t,o){"use strict";o("1474")},e533:function(e,t,o){"use strict";o("388e")},e5e0:function(e,t,o){e.exports=o.p+"img/nomsg-zh.01650d46.png"},e652:function(e,t,o){},e67b:function(e,t,o){e.exports=o.p+"img/tree-node-close.9d625f70.png"},e84c:function(e,t,o){},ec6b:function(e,t,o){e.exports=o.p+"img/mirror-image.0d38c14a.png"},ef79:function(e,t,o){"use strict";o("3c3a")},f04e:function(e,t,o){e.exports=o.p+"img/anno-close-ico.eb5648a3.png"},f0a0:function(e,t,o){"use strict";o("e35e")},f148:function(e,t,o){e.exports=o.p+"img/ico-water-line.cd05c836.png"},f240:function(e,t,o){e.exports=o.p+"img/arrow_icon.30b57c61.png"},f267:function(e,t,o){"use strict";o("3da7")},f3ac:function(e,t,o){"use strict";o("39d5")},f93b:function(e,t,o){"use strict";o("21ae")},f95c:function(e,t,o){"use strict";o("a4da")},fa30:function(e,t,o){"use strict";o("5f2e")},fa5f:function(e,t,o){e.exports=o.p+"img/ico-water-voice.13a4d903.png"},fa62:function(e,t,o){}});
|