import{H as I,_ as R,r as o,A as W,V as Z,W as j,d as p,o as f,c as b,l as t,m as N,x as z,f as i,e as n,g as y,w as C,C as G,D as K,p as Q,q as X}from"./index.955aa49e.js";import{L as r,i as Y,_ as ee,a as te}from"./mark.a4fa5d3a.js";import"./index.6098b0aa.js";import{V as ae}from"./video.92d64f38.js";import"./install.6cb28b74.js";function oe(s){return I({url:"equipment/treeData",method:"get",params:s})}function le(s){return I({url:"equipment/cameraName",method:"get",params:s})}const w=s=>(Q("data-v-21cafe5e"),s=s(),X(),s),ne={class:"fatherDiv"},se={class:"tabulation"},ie={class:"tabulationCente"},re={class:"left"},ce={style:{color:"rgba(100, 195, 164, 1)"}},de={class:"freckle"},ue={class:"chartModeFather"},pe={class:"tableBox"},_e=["onClick"],me={class:"example-pagination-block"},he={class:"centent"},ve={key:0},ge=w(()=>t("img",{style:{width:"300%"},src:ee},null,-1)),fe=[ge],be={key:1},ye=w(()=>t("img",{style:{width:"300%"},src:te},null,-1)),Ce=[ye],we={class:"cesiumContainersDiv"},xe=w(()=>t("div",{id:"cesiumContainers",class:"detailed"},null,-1)),ke=[xe],Se={class:"myVideo"},De={__name:"index",setup(s){let c=r.Map,_=o([]);o({});let x=o([]);o("");let m=o("\u5168\u90E8"),k=o([]);const h=o(!1);let T=o({yearMonth:"",flag:"",divisions:""}),u=o(!1),A=o(1),L=o(12),S=null;const v=o({}),D=W({videoSrc:"http://cmgw-vpc.lechange.com:8888/LCO/9C023C5FACFE48F/0/1/20230530T033445/a44e6e04b0608347f0209ab2b25aa258.m3u8"});Z(()=>{F(),P(),V()}),j(()=>{window.document.querySelector("#screenfull").style.display="none"});const P=()=>{c=r.map("cesiumContainers",{center:[36.4,119.166326],zoom:7,zoomControl:!1,doubleClickZoom:!1,attributionControl:!1}),r.tileLayer("http://t0.tianditu.com/DataServer?T=img_w&tk=5956e6519f2bb0ae8e57bc834298c9f1&x={x}&y={y}&l={z}").addTo(c),r.tileLayer("http://t0.tianditu.com/DataServer?T=cia_w&tk=5956e6519f2bb0ae8e57bc834298c9f1&x={x}&y={y}&l={z}").addTo(c),c._onResize()},F=()=>{oe().then(e=>{e.data.forEach(l=>{x.value.push(l)})})},V=e=>{le({name:e}).then(l=>{_.value=l.data,console.log(v.value),v.value.children!==null&&(k.value=l.data),l.data.forEach((a,d)=>{S=r.latLng(a.latitude,a.longitude),c.setView(S,17),r.marker([a.latitude,a.longitude],{icon:U}).addTo(c).bindPopup(`${a.cameraName}
\u7ECF\u5EA6:${a.longitude}
\u7EAC\u5EA6:${a.latitude}`).openPopup()})})},M=(e,l,a,d)=>{m.value=e.label,T.value.flag="",v.value=e,V(m.value)},q=e=>{console.log(e),D.videoSrc=e.hdStreaming,h.value=!0},B=e=>{const l=A.value,a=L.value;return e+1+(l-1)*a};var E=r.Icon.extend({options:{iconSize:[50,50],shadowSize:[50,64],iconAnchor:[22,94],shadowAnchor:[4,62],popupAnchor:[0,-86]}}),U=new E({iconUrl:Y});const $=()=>{u.value=!u.value};return(e,l)=>{const a=p("el-tree"),d=p("el-table-column"),H=p("el-table"),J=p("el-pagination"),O=p("el-dialog");return f(),b("div",ne,[t("div",se,[t("div",ie,[t("div",re,[t("p",null,[N(" \u5F53\u524D\u9009\u62E9 \uFF1A "),t("span",ce,z(i(m)),1)]),n(a,{data:i(x),props:e.defaultProps,onNodeClick:M},null,8,["data","props"])]),t("div",de,[y(`