import"./index.2809c208.js";import{_ as e,r as a,a7 as t,x as o,o as s,c as i,q as r,s as l,l as n}from"./index.e5c8b0d6.js";import{ai as c,aj as d}from"./linkSeriesData.e74eae00.js";const f={class:"EchartsBox"},h=[(e=>(r("data-v-14fba62b"),e=e(),l(),e))((()=>n("div",{id:"myChart2"},null,-1)))],m=e({__name:"EchartsHNT",props:{heightArr:{type:Array,default:()=>[]}},setup(e){const r=e;let l=a([]),n=a([]);return t((()=>{r.heightArr.length>0&&(l.value=r.heightArr.map(((e,a)=>({value:e.subregionName||"",textStyle:{fontSize:12,fontWeight:400,width:80,overflow:"break"}}))),n.value=r.heightArr.map(((e,a)=>e.nonFarm||0)))})),o((()=>{var e,a=document.getElementById("myChart2"),t=c(a);window.addEventListener("resize",(function(){t.resize()}));let o=l.value,s=n.value;for(let i=0;i(s(),i("div",f,h))}},[["__scopeId","data-v-14fba62b"]]);export{m as default};